From 65d8b15b238702987c47de1893a5aa2af4b6205d Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Wed, 10 May 2017 17:34:59 +0530 Subject: [PATCH] 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 --- .../src/sys/legacy/src/utils/src/parser_api.c | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/core/mac/src/sys/legacy/src/utils/src/parser_api.c b/core/mac/src/sys/legacy/src/utils/src/parser_api.c index a8e3c83239..2165bcb3b9 100644 --- a/core/mac/src/sys/legacy/src/utils/src/parser_api.c +++ b/core/mac/src/sys/legacy/src/utils/src/parser_api.c @@ -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))