Avoid setting beacon during BSS Color Change Announcement (CCA), similar
to Channel Switch Announcement (CSA), as beacon updates to the
corresponding BSSes are not allowed during this period.
Signed-off-by: Mohan Kumar G <mkumarg@qti.qualcomm.com>
return -1;
}
+#ifdef CONFIG_IEEE80211AX
+ if (hapd->cca_in_progress) {
+ wpa_printf(MSG_ERROR,
+ "Cannot set beacons during CCA period");
+ return -1;
+ }
+#endif /* CONFIG_IEEE80211AX */
+
hapd->beacon_set_done = 1;
if (ieee802_11_build_ap_params(hapd, ¶ms) < 0)