diff options
author | Thomas Pedersen <thomas@adapt-ip.com> | 2020-09-21 19:28:10 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-09-28 13:55:58 +0200 |
commit | 05d109576a36fd498e5db2d905eb50c7dd844b83 (patch) | |
tree | b7c14dd63add19a589de96ff9ff6e74a1200440c /net/mac80211/ethtool.c | |
parent | 80ca25711380c8eabe51eed875ca9432b4f8939e (diff) |
mac80211: encode listen interval for S1G
S1G allows listen interval up to 2^14 * 10000 beacon
intervals. In order to do this listen interval needs a
scaling factor applied to the lower 14 bits. Calculate
this and properly encode the listen interval for S1G STAs.
See IEEE802.11ah-2016 Table 9-44a for reference.
Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-10-thomas@adapt-ip.com
[move listen_int_usf into function using it]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ethtool.c')
0 files changed, 0 insertions, 0 deletions