qcacld-3.0: Remove setHDtimTransn ioctl support

The setHDtimTransn ioctl is obsolete, so remove it.

Change-Id: I2745ee2f2bc2f0d33f792c33b57232b146822e33
CRs-Fixed: 2134946
This commit is contained in:
Jeff Johnson 2017-10-28 15:44:34 -07:00
commit fab9b2525c
3 changed files with 1 additions and 30 deletions

View file

@ -1138,7 +1138,6 @@ struct hdd_adapter {
#endif
uint8_t addr_filter_pattern;
bool higherDtimTransition;
bool survey_idx;
struct hdd_scan_info scan_info;

View file

@ -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);

View file

@ -209,7 +209,7 @@ static const struct ccp_freq_chan_map freq_chan_map[] = {
* </ioctl>
*/
#define WE_SET_MAX_TX_POWER 7
#define WE_SET_HIGHER_DTIM_TRANSITION 8
/* 8 is unused */
#define WE_SET_TM_LEVEL 9
/*
* <ioctl>
@ -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,