소스 검색

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 */