]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: allow bw change during channel switch in mesh
authorHari Chandrakanthan <quic_haric@quicinc.com>
Wed, 27 Jul 2022 06:32:29 +0000 (12:02 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 09:03:09 +0000 (11:03 +0200)
commit8c244cac1525281e975199f2ab4f5b221459f8b4
tree0a2d2fd02df36339e7ed6dfbd6c67f870bda0c7a
parent89e33cb8536b7d98647940f5c29e5a7d101de8de
wifi: mac80211: allow bw change during channel switch in mesh

From 'IEEE Std 802.11-2020 section 11.8.8.4.1':
  The mesh channel switch may be triggered by the need to avoid
  interference to a detected radar signal, or to reassign mesh STA
  channels to ensure the MBSS connectivity.

  A 20/40 MHz MBSS may be changed to a 20 MHz MBSS and a 20 MHz
  MBSS may be changed to a 20/40 MHz MBSS.

Since the standard allows the change of bandwidth during
the channel switch in mesh, remove the bandwidth check present in
ieee80211_set_csa_beacon.

Fixes: fa56afac5b63 ("{nl,cfg,mac}80211: enable the triggering of CSA frame in mesh")
Signed-off-by: Hari Chandrakanthan <quic_haric@quicinc.com>
Link: https://lore.kernel.org/r/1658903549-21218-1-git-send-email-quic_haric@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c