summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Puligilla <spuligil@qca.qualcomm.com>2015-06-10 18:23:42 -0700
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-06-17 15:11:34 +0530
commit1d91c8cdcaccd03086f4ed7bffbf5fd3ad18cee4 (patch)
tree287a69725bf9082cda53abb1d6a661bc8033da57
parent2723b82a18157257125565d010135a0523563415 (diff)
qcacld: HT20 protection mode is not set in beacon
HT protection mode is not getting set when HT20 STA associates to SAP. Identified issue in HT20 protection handler where SAP is forced to use no protection mode due to legacy issues.Modified handler to set the protection mode when HT20 STA associates to SAP. Change-Id: Id3e4d945b7081b3c89f9f1c9cc8175f6b19a479a CRs-Fixed: 852147
-rw-r--r--CORE/MAC/src/pe/lim/limUtils.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/CORE/MAC/src/pe/lim/limUtils.c b/CORE/MAC/src/pe/lim/limUtils.c
index 0170441fed90..ebf8d7deacca 100644
--- a/CORE/MAC/src/pe/lim/limUtils.c
+++ b/CORE/MAC/src/pe/lim/limUtils.c
@@ -1556,7 +1556,8 @@ limDecideApProtection(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, tpUpdateBeac
gfSupported = eHAL_CLEAR;
}
//Station joining is HT 20Mhz
- if(eHT_CHANNEL_WIDTH_20MHZ == pStaDs->htSupportedChannelWidthSet)
+ if((eHT_CHANNEL_WIDTH_20MHZ == pStaDs->htSupportedChannelWidthSet)&&
+ (eHT_CHANNEL_WIDTH_20MHZ != psessionEntry->htSupportedChannelWidthSet))
{
protStaCacheType = eLIM_PROT_STA_CACHE_TYPE_HT20;
limEnableHT20Protection(pMac, true, false, pBeaconParams, psessionEntry);
@@ -4078,9 +4079,7 @@ limEnableHT20Protection(tpAniSirGlobal pMac, tANI_U8 enable,
psessionEntry->gLimHt20Params.protectionEnabled = true;
if(eSIR_HT_OP_MODE_PURE == psessionEntry->htOperMode)
{
- //Commenting because of CR 258588 WFA cert
- //psessionEntry->htOperMode = eSIR_HT_OP_MODE_NO_LEGACY_20MHZ_HT;
- psessionEntry->htOperMode = eSIR_HT_OP_MODE_PURE;
+ psessionEntry->htOperMode = eSIR_HT_OP_MODE_NO_LEGACY_20MHZ_HT;
limEnableHtRifsProtection(pMac, false, overlap, pBeaconParams,psessionEntry);
limEnableHtOBSSProtection(pMac, false, overlap, pBeaconParams,psessionEntry);
}