mac80211: mesh: mark channel as unusable if a regulatory MESH CSA is received
In the Mesh Channel Switch Parameters (8.4.2.105) the reason is specified to WLAN_REASON_MESH_CHAN_REGULATORY in the case that a regulatory limitation was the cause for the switch. This means another station detected a radar event. Mark the channel as unusable if this happens. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> [sw: style cleanup, rebase] Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
484a54c2e5
commit
5d55371b21
@@ -1440,6 +1440,7 @@ struct ieee80211_csa_ie {
|
||||
u8 count;
|
||||
u8 ttl;
|
||||
u16 pre_value;
|
||||
u16 reason_code;
|
||||
};
|
||||
|
||||
/* Parsed Information Elements */
|
||||
|
Reference in New Issue
Block a user