瀏覽代碼

qcacld-3.0: Update htSupportedChannelWidthSet on HT BW change

Currently if STA is connected to HT only AP and if BW change
due to OBSS scan the htSupportedChannelWidthSet is not updated
and thus TDLS peer which use htSupportedChannelWidthSet to get
BW may not consider the vdev BW for HT and thus peer's BW can
go beyond VDEV's BW.

Fix this by updating htSupportedChannelWidthSet on vdev restart
on HT BW change

Change-Id: I7253fd240206ec27eac3e2b1de8debf8705a8234
CRs-Fixed: 2920539
Abhishek Singh 4 年之前
父節點
當前提交
7ef6d77f40
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/mac/src/pe/lim/lim_utils.c

+ 2 - 0
core/mac/src/pe/lim/lim_utils.c

@@ -3760,6 +3760,8 @@ void lim_update_sta_run_time_ht_switch_chnl_params(struct mac_context *mac,
 			(ePhyChanBondState) pHTInfo->secondaryChannelOffset;
 		pe_session->htRecommendedTxWidthSet =
 			(uint8_t) pHTInfo->recommendedTxWidthSet;
+		pe_session->htSupportedChannelWidthSet =
+			pe_session->htRecommendedTxWidthSet;
 
 		/* Before restarting vdev, delete the tdls peers */
 		lim_update_tdls_set_state_for_fw(pe_session, false);