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

Commit 9f440d1d authored by Balaji Pothunoori's avatar Balaji Pothunoori Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: initialize color bss values during channel change

Currently color bss is disabled if color bss is set before
channel change.

This change is to reinitialize color bss values to trigger
color bss detection in firmware.

Change-Id: If5688519e147b2b8a88b622090861ba4cac9067f
CRs-Fixed: 2992617
parent 3c5f60e2
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -7511,7 +7511,6 @@ void lim_log_he_op(struct mac_context *mac, tDot11fIEhe_op *he_ops,
				 he_ops->oper_info_6g.info.dup_bcon,
				 he_ops->oper_info_6g.info.min_rate);
	}

}

void lim_log_he_6g_cap(struct mac_context *mac,
@@ -7606,7 +7605,14 @@ void lim_update_session_he_capable_chan_switch(struct mac_context *mac,
		session->vhtCapability = 0;
	else if (wlan_reg_is_5ghz_ch_freq(new_chan_freq))
		session->vhtCapability = 1;
	/*
	 * Re-initialize color bss parameters during channel change
	 */

	session->he_op.bss_col_disabled = 1;
	session->bss_color_changing = 1;
	session->he_bss_color_change.new_color = session->he_op.bss_color;
	session->he_bss_color_change.countdown = BSS_COLOR_SWITCH_COUNTDOWN;
	pe_debug("he_capable: %d ht %d vht %d 6ghz_band %d new freq %d vht in 2.4gh %d",
		 session->he_capable, session->htCapability,
		 session->vhtCapability, session->he_6ghz_band, new_chan_freq,