소스 검색

qcacld-3.0: Fill Chan width for 6Ghz

Incase of non-6ghz, the peer width is
updated while extracting HT and VHT
capability. For 6Ghz, the HT and VHT
capabilities may not be present and
because of which the peer channel width
gets updated as zero (20 Mhz).
To fix this, fill the channel width for
peer if session is 6ghz and peer supports
HE Capabilities.

Change-Id: Ie4d8f3a3a364af2c47e6b3d7309ee1287652ae06
CRs-Fixed: 3010063
Utkarsh Bhatnagar 3 년 전
부모
커밋
075d573c32
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 1
      core/mac/src/pe/lim/lim_process_tdls.c

+ 8 - 1
core/mac/src/pe/lim/lim_process_tdls.c

@@ -1107,9 +1107,16 @@ static void lim_tdls_update_node_he_caps(struct mac_context *mac,
 
 	lim_log_he_cap(mac, &sta->he_config);
 
-	if (lim_is_he_6ghz_band(pe_session))
+	if (lim_is_he_6ghz_band(pe_session)) {
 		lim_tdls_populate_dot11f_6hgz_he_caps(mac, add_sta_req,
 						      &sta->he_6g_band_cap);
+		/*
+		 * In 6Ghz, vht and ht ie may not present, peer channel width
+		 * is populated while extracting HT and VHT cap itself. So,
+		 * incase of 6ghz fill the chan_width.
+		 */
+		lim_update_stads_he_6ghz_op(pe_session, sta);
+	}
 }
 
 #else