Browse Source

qcacld-3.0: Fix Beamformee STS capability Info field

Revert “If26f49386b72864730679e05559b7bba80b5487a” changes
to advertise max value configured as per the WFA certification
requirement 5.2.63 STAUT acting as MU Beamformee.

Change-Id: Ib11f1f5cad89579277eba2e0b9f0cbc3ea26de5c
CRs-Fixed: 1093901
Arif Hussain 8 years ago
parent
commit
b39eab4df0
1 changed files with 4 additions and 14 deletions
  1. 4 14
      core/sme/src/csr/csr_api_roam.c

+ 4 - 14
core/sme/src/csr/csr_api_roam.c

@@ -13814,7 +13814,6 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId,
 	uint32_t dwTmp, ucDot11Mode = 0;
 	/* RSN MAX is bigger than WPA MAX */
 	uint8_t wpaRsnIE[DOT11F_IE_RSN_MAX_LEN];
-	uint8_t txBFCsnValue = 0;
 	tSirSmeJoinReq *csr_join_req;
 	tSirMacCapabilityInfo *pAP_capabilityInfo;
 	tAniBool fTmp;
@@ -14324,19 +14323,10 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId,
 				FL("Failed to get CSN beamformee capability"));
 
 		csr_join_req->vht_config.su_beam_formee = value;
-		if (value) {
-			txBFCsnValue = (uint8_t)value1;
-			if (IS_BSS_VHT_CAPABLE(pIes->VHTCaps) &&
-					pIes->VHTCaps.numSoundingDim)
-				txBFCsnValue = QDF_MIN(txBFCsnValue,
-						pIes->VHTCaps.numSoundingDim);
-			else if (IS_BSS_VHT_CAPABLE(pIes->vendor_vht_ie.VHTCaps)
-				&& pIes->vendor_vht_ie.VHTCaps.numSoundingDim)
-				txBFCsnValue = QDF_MIN(txBFCsnValue,
-					pIes->vendor_vht_ie.
-					VHTCaps.numSoundingDim);
-		}
-		csr_join_req->vht_config.csnof_beamformer_antSup = txBFCsnValue;
+
+		if (value)
+			csr_join_req->vht_config.csnof_beamformer_antSup =
+				(uint8_t)value1;
 
 		if (wlan_cfg_get_int(pMac,
 				WNI_CFG_VHT_MU_BEAMFORMEE_CAP, &value)