mac80211: introduce channel switch disconnect function
authorNathan Errera <nathan.errera@intel.com>
Mon, 29 Nov 2021 13:32:38 +0000 (15:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Dec 2021 09:36:51 +0000 (10:36 +0100)
commit6d501764288cf7869c7f54f1fcabd77bcd91b90e
tree917231fe02fd89810db31bed70933abec3b87d10
parent28f350a67d291575492057c92ceb8518ecbace95
mac80211: introduce channel switch disconnect function

Introduce a disconnect function that can be used when a
channel switch error occurs. The channel switch can request to
block the tx, and so, we need to make sure we do not send a deauth
frame in this case.

Signed-off-by: Nathan Errera <nathan.errera@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211129152938.cd2a615a0702.I9edb14785586344af17644b610ab5be109dcef00@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c