[PATCH V2 09/10] ath11k: set beacon tx mode
John Crispin
john at phrozen.org
Mon Jul 6 07:52:18 EDT 2020
The beacon mode needs to be set to bursting when we have multiple bssid
enabled.
Signed-off-by: John Crispin <john at phrozen.org>
---
drivers/net/wireless/ath/ath11k/mac.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 65a77f6c27e1..a07773fd5971 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -1791,6 +1791,9 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw,
if (changed & BSS_CHANGED_BEACON) {
param_id = WMI_PDEV_PARAM_BEACON_TX_MODE;
param_value = WMI_BEACON_STAGGERED_MODE;
+ if (ieee80211_get_multi_bssid_mode(arvif->vif) !=
+ NL80211_MULTIPLE_BSSID_LEGACY)
+ param_value = WMI_BEACON_BURST_MODE;
ret = ath11k_wmi_pdev_set_param(ar, param_id,
param_value, ar->pdev->pdev_id);
if (ret)
--
2.25.1
More information about the ath11k
mailing list