summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGirish Gowli <c_ggowli@qti.qualcomm.com>2014-06-09 20:05:24 +0530
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-06-27 23:16:19 -0700
commit0eb4730a58dda09bb552150cfcb351bedfcd8b0c (patch)
tree1d9f5b3a4114095b974e453f744a2838a3b400e2
parentabfded1509660f35f5a97b283c39479bfdc0ae99 (diff)
wlan: Featurise "enableAMP" and "disableAMP" ioctls
AMP ioctls WE_ENABLE_AMP, WE_DISABLE_AMP are feature WLAN_BTAMP_FEATURE specific, hence moving them under WLAN_BTAMP_FEATURE macro. Change-Id: I283e24b2f7fddb56da8e67dd102697ef52cca98d CRs-Fixed: 683080
-rw-r--r--CORE/HDD/src/wlan_hdd_wext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c
index 7a04a0e1b404..968c8cc80373 100644
--- a/CORE/HDD/src/wlan_hdd_wext.c
+++ b/CORE/HDD/src/wlan_hdd_wext.c
@@ -355,8 +355,10 @@ static const hdd_freq_chan_map_t freq_chan_map[] = { {2412, 1}, {2417, 2},
#define WE_CLEAR_STATS 1
#define WE_INIT_AP 2
#define WE_STOP_AP 3
+#ifdef WLAN_BTAMP_FEATURE
#define WE_ENABLE_AMP 4
#define WE_DISABLE_AMP 5
+#endif /* WLAN_BTAMP_FEATURE */
#define WE_ENABLE_DXE_STALL_DETECT 6
#define WE_DISPLAY_DXE_SNAP_SHOT 7
#define WE_SET_REASSOC_TRIGGER 8
@@ -10879,6 +10881,7 @@ static const struct iw_priv_args we_private_args[] = {
0,
0,
"exitAP" },
+#ifdef WLAN_BTAMP_FEATURE
{ WE_ENABLE_AMP,
0,
0,
@@ -10887,6 +10890,7 @@ static const struct iw_priv_args we_private_args[] = {
0,
0,
"disableAMP" },
+#endif /* WLAN_BTAMP_FEATURE */
{ WE_ENABLE_DXE_STALL_DETECT,
0,
0,