From 44b271fbfbc8461c044fe141a60f9abf8e4c972e Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Tue, 23 May 2017 14:53:14 +0530 Subject: [PATCH] qcacld-3.0: Always set SU bformee capability in assoc req If SU beamformee is not set in assoc req when AP is not SU beamformer low throughput is seen with specific AP. To fix this, always set SU bformee capability in assoc request depending on ini value. Change-Id: If1279cf10b45d9e8900dc2eb5021a4603537aaee CRs-Fixed: 2050951 --- core/sme/src/csr/csr_api_roam.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index 729af10a7398..5218503248e5 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -14492,18 +14492,6 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId, QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, ("Failed to get CSN beamformee capability")); - /* - * Set SU Bformee only if SU Bformee is enabled in INI - * and AP is SU Bformer capable - */ - if (value && !((IS_BSS_VHT_CAPABLE(pIes->VHTCaps) && - pIes->VHTCaps.suBeamFormerCap) || - (IS_BSS_VHT_CAPABLE( - pIes->vendor_vht_ie.VHTCaps) - && pIes->vendor_vht_ie.VHTCaps. - suBeamFormerCap))) - value = 0; - csr_join_req->vht_config.su_beam_formee = value; /* Set BF CSN value only if SU Bformee is enabled */