summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2019-02-06 14:17:09 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-02-22 15:42:54 +0300
commitee145775c1eb84bb76e71639425ec44c654fb868 (patch)
tree9ff24832f0ec8301c1693821161683e17013c025 /include/net
parent4d9ec73d2b78daf70477aadc50eb4d2186c8b62f (diff)
downloadlinux-ee145775c1eb84bb76e71639425ec44c654fb868.tar.xz
mac80211: support max channel switch time element
2018 REVmd of the spec introduces the max channel switch time element which is optionally included in beacons/probes when there is a channel switch / extended channel switch element. The value represents the maximum delay between the time the AP transmitted the last beacon in current channel and the expected time of the first beacon in the new channel, in TU. Parse the value and pass it to the driver. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 97aed7b1ba5d..3fb38d2bdb4f 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1519,6 +1519,9 @@ struct ieee80211_conf {
* scheduled channel switch, as indicated by the AP.
* @chandef: the new channel to switch to
* @count: the number of TBTT's until the channel switch event
+ * @delay: maximum delay between the time the AP transmitted the last beacon in
+ * current channel and the expected time of the first beacon in the new
+ * channel, expressed in TU.
*/
struct ieee80211_channel_switch {
u64 timestamp;
@@ -1526,6 +1529,7 @@ struct ieee80211_channel_switch {
bool block_tx;
struct cfg80211_chan_def chandef;
u8 count;
+ u32 delay;
};
/**