Browse Source

qcacld-3.0: Do not disable the Tx bfer capability when Nss is 1

Do not disable the Tx beamformer capability when Nss is set to 1.
FW would check the current chainmask configuration and enables
the Tx beamformer capability accordingly.

Change-Id: I8709147c63f2990f135d098fdf13fc3d9b00d7bc
CRs-Fixed: 2305772
Kiran Kumar Lokere 6 years ago
parent
commit
ad2a36b257
1 changed files with 0 additions and 39 deletions
  1. 0 39
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 0 - 39
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -531,27 +531,6 @@ lim_configure_ap_start_bss_session(tpAniSirGlobal mac_ctx, tpPESession session,
 
 }
 
-/**
- * lim_clear_he_tx_stbc() - Clear tx stbc for a given session
- * @session: Session
- *
- * Clear tx stbc for a given session
- *
- * Return: None
- */
-#ifdef WLAN_FEATURE_11AX
-static void lim_clear_he_tx_stbc(tpPESession session)
-{
-	if (session) {
-		session->he_config.tx_stbc_lt_80mhz = 0;
-		session->he_config.tx_stbc_gt_80mhz = 0;
-	}
-}
-#else
-static void lim_clear_he_tx_stbc(tpPESession session)
-{}
-#endif
-
 /**
  * __lim_handle_sme_start_bss_request() - process SME_START_BSS_REQ message
  *@mac_ctx: Pointer to Global MAC structure
@@ -871,13 +850,6 @@ __lim_handle_sme_start_bss_request(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 		/* Delete pre-auth list if any */
 		lim_delete_pre_auth_list(mac_ctx);
 
-		if (session->nss == 1) {
-			session->vht_config.su_beam_former = 0;
-			session->vht_config.tx_stbc = 0;
-			session->vht_config.num_soundingdim = 0;
-			session->htConfig.ht_tx_stbc = 0;
-			lim_clear_he_tx_stbc(session);
-		}
 		/*
 		 * keep the RSN/WPA IE information in PE Session Entry
 		 * later will be using this to check when received (Re)Assoc req
@@ -1616,17 +1588,6 @@ __lim_process_sme_join_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 			&session->gLimCurrentBssUapsd,
 			&local_power_constraint, session);
 
-		/*
-		 * Once the AP capabilities are available then set the
-		 * beam forming capabilities accordingly.
-		 */
-		if (session->nss == 1) {
-			session->vht_config.su_beam_former = 0;
-			session->vht_config.tx_stbc = 0;
-			session->vht_config.num_soundingdim = 0;
-			session->htConfig.ht_tx_stbc = 0;
-		}
-
 		session->maxTxPower = lim_get_max_tx_power(reg_max,
 					local_power_constraint,
 					mac_ctx->roam.configParam.nTxPowerCap);