浏览代码

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
Abhishek Singh 8 年之前
父节点
当前提交
44b271fbfb
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      core/sme/src/csr/csr_api_roam.c

+ 0 - 12
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 */