Browse Source

qcacld-3.0: Advertise MU Bfee support only if AP supports MU Bfer

Advertise the MU beamformee capability in association request frame
only if the MU beamformer is supported by AP.

Change-Id: Ib962af73189ace27db40973e065e40913ecb7728
CRs-Fixed: 2095251
Kiran Kumar Lokere 7 years ago
parent
commit
d057b7203b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/sme/src/csr/csr_api_roam.c

+ 2 - 1
core/sme/src/csr/csr_api_roam.c

@@ -15180,7 +15180,8 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId,
 		 * Set MU Bformee only if SU Bformee is enabled and
 		 * MU Bformee is enabled in INI
 		 */
-		if (value && csr_join_req->vht_config.su_beam_formee)
+		if (value && csr_join_req->vht_config.su_beam_formee &&
+				pIes->VHTCaps.muBeamformerCap)
 			csr_join_req->vht_config.mu_beam_formee = 1;
 		else
 			csr_join_req->vht_config.mu_beam_formee = 0;