Skip to content

mac80211: notify the driver when it should enable TWT

John Crispin ath11k linux-wireless 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

* add NLA_POLICY_RANGE for NL80211_ATTR_TWT_RESPONDER

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mac80211: allow turning TWT responder support on and off via netlinkinclude/net/cfg80211.h include/net/mac80211.h include/uapi/linux/nl80211.h +2 more+23 -04 replies
2/3mac80211: dynamically turn TWT requester support on and offnet/mac80211/mlme.c+18 -22 replies
3/3ath11k: add TWT supportdrivers/net/wireless/ath/ath11k/mac.c drivers/net/wireless/ath/ath11k/wmi.c drivers/net/wireless/ath/ath11k/wmi.h+169 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/3] mac80211: notify the driver when it should enable TWT

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(-)
Signature · 1 line
2.11.0