Prechádzať zdrojové kódy

Revert "qcacld-3.0: Add check for DBS mode in start bss"

this is not required as the session nss has to be 2, which
is expected, and helps to shift back to 2x2 from 1x1, while
hw mode goes to single MAC mode

This reverts commit I54ead1fd26d705a821160b5bc5d816df1d2ab8f4

Change-Id: I3bdcad1df6cc67de2533c89697b8c17d8ac4f573
CRs-Fixed: 2329616
Gaurank Kathpalia 6 rokov pred
rodič
commit
511634b339

+ 1 - 9
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -571,7 +571,6 @@ __lim_handle_sme_start_bss_request(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 	uint32_t chanwidth;
 	struct vdev_type_nss *vdev_type_nss;
 	QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
-	struct policy_mgr_hw_mode_params hw_mode;
 
 /* FEATURE_WLAN_DIAG_SUPPORT */
 #ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM
@@ -839,14 +838,7 @@ __lim_handle_sme_start_bss_request(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 				session->ch_center_freq_seg1 = 0;
 			}
 		}
-		if (policy_mgr_is_hw_dbs_capable(mac_ctx->psoc) &&
-		    (policy_mgr_get_current_hw_mode(mac_ctx->psoc, &hw_mode) ==
-						    QDF_STATUS_SUCCESS) &&
-		    hw_mode.dbs_cap) {
-			session->nss = 1;
-			pe_debug("HW is in DBS mode. Nss set to [%d]",
-				session->nss);
-		}
+
 		if (session->vhtCapability &&
 			(session->ch_width > CH_WIDTH_80MHZ)) {
 			session->nss = 1;