mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 21:02:03 -05:00
qcacld-3.0: Set DS params only for 2.4 Ghz channels
If QCA_WIFI_3_0_EMU DS params is set for all channels. To fix set DS params only in 2.4 Ghz channels. Change-Id: I859b56080f55428c27aacf3fea25223c8931c960 CRs-Fixed: 2045226
This commit is contained in:
parent
ad9ebe0b78
commit
65d8b15b23
1 changed files with 0 additions and 24 deletions
|
|
@ -391,29 +391,6 @@ populate_dot11f_country(tpAniSirGlobal pMac,
|
|||
return eSIR_SUCCESS;
|
||||
} /* End populate_dot11f_country. */
|
||||
|
||||
#if defined(QCA_WIFI_3_0_EMU) || defined(QCA_WIFI_NAPIER_EMULATION)
|
||||
/**
|
||||
* populate_dot11f_ds_params() - To populate DS IE params
|
||||
* mac_ctx: Pointer to global mac context
|
||||
* dot11f_param: pointer to DS params IE
|
||||
* channel: channel number
|
||||
*
|
||||
* This routine will populate DS param in management frame like
|
||||
* beacon, probe response, and etc.
|
||||
*
|
||||
* Return: Overall sucess
|
||||
*/
|
||||
tSirRetStatus
|
||||
populate_dot11f_ds_params(tpAniSirGlobal mac_ctx,
|
||||
tDot11fIEDSParams *dot11f_param, uint8_t channel)
|
||||
{
|
||||
/* .11a/11b/g mode PHY => Include the DS Parameter Set IE: */
|
||||
dot11f_param->curr_channel = channel;
|
||||
dot11f_param->present = 1;
|
||||
|
||||
return eSIR_SUCCESS;
|
||||
} /* End populate_dot11f_ds_params. */
|
||||
#else
|
||||
/**
|
||||
* populate_dot11f_ds_params() - To populate DS IE params
|
||||
* mac_ctx: Pointer to global mac context
|
||||
|
|
@ -437,7 +414,6 @@ populate_dot11f_ds_params(tpAniSirGlobal mac_ctx,
|
|||
|
||||
return eSIR_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define SET_AIFSN(aifsn) (((aifsn) < 2) ? 2 : (aifsn))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue