Linux-Wireless Archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211 : allow bw change during channel switch in mesh
@ 2022-07-27  6:32 quic_haric
  0 siblings, 0 replies; only message in thread
From: quic_haric @ 2022-07-27  6:32 UTC (permalink / raw
  To: johannes; +Cc: linux-wireless, Hari Chandrakanthan

From: Hari Chandrakanthan <quic_haric@quicinc.com>

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: c6da674aff94 ("{nl,cfg,mac}80211: enable the triggering of CSA frame in mesh")
Signed-off-by: Hari Chandrakanthan <quic_haric@quicinc.com>
---
 net/mac80211/cfg.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index fe6500b..5db2cba 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -3598,9 +3598,6 @@ static int ieee80211_set_csa_beacon(struct ieee80211_sub_if_data *sdata,
 	case NL80211_IFTYPE_MESH_POINT: {
 		struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
 
-		if (params->chandef.width != sdata->vif.bss_conf.chandef.width)
-			return -EINVAL;
-
 		/* changes into another band are not supported */
 		if (sdata->vif.bss_conf.chandef.chan->band !=
 		    params->chandef.chan->band)
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-27  6:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-27  6:32 [PATCH] mac80211 : allow bw change during channel switch in mesh quic_haric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).