소스 검색

qcacld-3.0: Fix the issue with HE mcs map config

Supported HE Rx MCS map is disabled if the intersected Tx MCS
map has no supported MCS. Derive the Rx MCS map with self Tx and
peer Rx MCS map.

Change-Id: I27281c168dd507edc97b1e6a4085037c508a5b96
CRs-Fixed: 3030433
Kiran Kumar Lokere 3 년 전
부모
커밋
ede9944e73
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      core/mac/src/pe/lim/lim_utils.c

+ 4 - 4
core/mac/src/pe/lim/lim_utils.c

@@ -7929,11 +7929,11 @@ static QDF_STATUS lim_populate_he_mcs_per_bw(struct mac_context *mac_ctx,
 	pe_debug("peer rates: rx_mcs - 0x%04x tx_mcs - 0x%04x",
 		 peer_rx, peer_tx);
 
-	*supp_rx_mcs = rx_mcs;
-	*supp_tx_mcs = tx_mcs;
+	pe_debug("self rates: rx_mcs - 0x%04x tx_mcs - 0x%04x",
+		 rx_mcs, tx_mcs);
 
-	*supp_tx_mcs = HE_INTERSECT_MCS(*supp_rx_mcs, peer_tx);
-	*supp_rx_mcs = HE_INTERSECT_MCS(*supp_tx_mcs, peer_rx);
+	*supp_tx_mcs = HE_INTERSECT_MCS(rx_mcs, peer_tx);
+	*supp_rx_mcs = HE_INTERSECT_MCS(tx_mcs, peer_rx);
 
 	if (nss == NSS_1x1_MODE) {
 		*supp_rx_mcs |= HE_MCS_INV_MSK_4_NSS(1);