diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 381b280d72a8..03177f3bee2c 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -1138,7 +1138,6 @@ struct hdd_adapter { #endif uint8_t addr_filter_pattern; - bool higherDtimTransition; bool survey_idx; struct hdd_scan_info scan_info; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index cbf90819725b..1257b6ee1b1e 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -3168,7 +3168,6 @@ static struct hdd_adapter *hdd_alloc_station_adapter(struct hdd_context *hdd_ctx adapter->offloads_configured = false; adapter->is_link_up_service_needed = false; - adapter->higherDtimTransition = true; /* Init the net_device structure */ strlcpy(pWlanDev->name, name, IFNAMSIZ); diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 5bedf4edd1f1..29970388bbbf 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -209,7 +209,7 @@ static const struct ccp_freq_chan_map freq_chan_map[] = { * */ #define WE_SET_MAX_TX_POWER 7 -#define WE_SET_HIGHER_DTIM_TRANSITION 8 +/* 8 is unused */ #define WE_SET_TM_LEVEL 9 /* * @@ -5807,23 +5807,6 @@ static int __iw_setint_getnone(struct net_device *dev, break; } - case WE_SET_HIGHER_DTIM_TRANSITION: - { - if (!((set_value == false) || (set_value == true))) { - hdd_err("Dynamic DTIM Incorrect data:%d", - set_value); - ret = -EINVAL; - } else { - if (adapter->higherDtimTransition != set_value) { - adapter->higherDtimTransition = - set_value; - hdd_debug("higherDtimTransition set to :%d", - adapter->higherDtimTransition); - } - } - - break; - } case WE_SET_TM_LEVEL: { @@ -10993,16 +10976,6 @@ static const struct iw_priv_args we_private_args[] = { 0, "setTxMaxPower"}, - /* set Higher DTIM Transition (DTIM1 to DTIM3) - * 1 = enable and 0 = disable - */ - { - WE_SET_HIGHER_DTIM_TRANSITION, - IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, - 0, - "setHDtimTransn" - }, - {WE_SET_TM_LEVEL, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0,