mac80211: support max channel switch time element
authorSara Sharon <sara.sharon@intel.com>
Wed, 6 Feb 2019 11:17:09 +0000 (13:17 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Feb 2021 10:39:41 +0000 (11:39 +0100)
commitcfa45094e799164f2c84adc5d7f1802b0abc3713
tree2c0d1c70e4b60b670e369ec7588f9c3304538daf
parente66598ec1e6fe11b352b5eff182b90ca6537ccd5
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h