Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e397bf09 authored by Abhishek Singh's avatar Abhishek Singh Committed by Gerrit - the friendly Code Review server
Browse files

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
parent b8d17dbe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3753,6 +3753,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);