cfg80211: include block-tx flag in channel switch started event
authorJohannes Berg <johannes.berg@intel.com>
Sun, 29 Nov 2020 15:30:55 +0000 (17:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 11:59:37 +0000 (12:59 +0100)
commit669b84134a2be14d333d4f82b65943d467404f87
tree445ee3ea4fc682a8736755f42f1582a0ddc63aa4
parent3660944a37ce73890292571f44f04891834f9044
cfg80211: include block-tx flag in channel switch started event

In the NL80211_CMD_CH_SWITCH_STARTED_NOTIFY event, include the
NL80211_ATTR_CH_SWITCH_BLOCK_TX flag attribute if block-tx was
requested by the AP.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201129172929.8953ef22cc64.Ifee9cab337a4369938545920ba5590559e91327a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/mac80211/cfg.c
net/mac80211/mlme.c
net/wireless/nl80211.c