]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - include/net/mac80211.h
mac80211: propagate the support for TWT to the driver
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 15 Dec 2018 09:03:04 +0000 (11:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Dec 2018 13:18:49 +0000 (14:18 +0100)
commit55ebd6e6c765cce4697a6fbb97acf6eec9ad7a51
tree634e0339d46f379bbe775cd055946585af1b32c3
parentfdb313e3182094939b34234bdade0fbce28dfb2c
mac80211: propagate the support for TWT to the driver

TWT is a feature that was added in 11ah and enhanced in
11ax. There are two bits that need to be set if we want
to use the feature in 11ax: one in the HE Capability IE
and one in the Extended Capability IE. This is because
of backward compatibility between 11ah and 11ax.

In order to simplify the flow for the low level driver
in managed mode, aggregate the two bits and add a boolean
that tells whether TWT is supported or not, but only if
11ax is supported.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/mlme.c