The ath11k FW has dedicated calls for setting the TWT state. Trigger these via the BSS config changes. In a later step we need to also add calls for manually starting TWT dialogs. Changes in V2 * add NLA_POLICY_RANGE for NL80211_ATTR_TWT_RESPONDER John Crispin (3): mac80211: allow turning TWT responder support on and off via netlink mac80211: dynamically turn TWT requester support on and off ath11k: add TWT support drivers/net/wireless/ath/ath11k/mac.c | 7 +++ drivers/net/wireless/ath/ath11k/wmi.c | 91 +++++++++++++++++++++++++++++++++++ drivers/net/wireless/ath/ath11k/wmi.h | 71 +++++++++++++++++++++++++++ include/net/cfg80211.h | 2 + include/net/mac80211.h | 5 ++ include/uapi/linux/nl80211.h | 4 ++ net/mac80211/cfg.c | 6 +++ net/mac80211/mlme.c | 20 +++++++- net/wireless/nl80211.c | 6 +++ 9 files changed, 210 insertions(+), 2 deletions(-) -- 2.11.0