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>
This commit is contained in:

committed by
Johannes Berg

parent
4d9ec73d2b
commit
ee145775c1
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user