Skip to content
Permalink
Browse files
ath11k: dont enable bss color collision detection on non-transmitting…
… BSS

A none transmitting BSS color collision detection should not be enabled.

This patch depends on the BSS coloring and multiple bssid series.

Signed-off-by: John Crispin <john@phrozen.org>
  • Loading branch information
blogic authored and intel-lab-lkp committed Aug 22, 2020
1 parent 3c45f21 commit d4e470ff25713316c36087602c3ba595eae84ae2
Showing 1 changed file with 2 additions and 1 deletion.
@@ -2080,7 +2080,8 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw,
ret = ath11k_wmi_send_obss_color_collision_cfg_cmd(
ar, arvif->vdev_id, info->he_bss_color.color,
ATH11K_BSS_COLOR_COLLISION_DETECTION_AP_PERIOD_MS,
info->he_bss_color.enabled);
!arvif->vif->multiple_bssid.non_transmitted ?
info->he_bss_color.enabled : 0);
if (ret)
ath11k_warn(ar->ab, "failed to set bss color collision on vdev %i: %d\n",
arvif->vdev_id, ret);

0 comments on commit d4e470f

Please sign in to comment.