Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH V2 0/3] mac80211: add code to explicitly enable TWT support inside the driver
@ 2019-04-30  7:03 John Crispin
  2019-04-30  7:03 ` [PATCH V2 1/3] mac80211: dynamically enable the TWT requester support on STA interfaces John Crispin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: John Crispin @ 2019-04-30  7:03 UTC (permalink / raw)
  To: Johannes Berg, Kalle Valo; +Cc: linux-wireless, John Crispin

At least ath11k needs an extra FW call to enable TWT inside the HW. This
series adds code to trigger this from within start_ap() and also STA assoc
events.

Changes in V2
* fix 2 typos
* move from bbs_config to start_ap

John Crispin (3):
  mac80211: dynamically enable the TWT requester support on STA
    interfaces
  mac80211: allow turning TWT responder support on and off via netlink
  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                    |  4 +-
 net/mac80211/mlme.c                   | 18 ++++++-
 net/wireless/nl80211.c                |  5 ++
 9 files changed, 204 insertions(+), 3 deletions(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH V2 0/3] mac80211: notify the driver when it should enable TWT
@ 2019-04-26  9:41 John Crispin
  2019-04-26  9:41 ` [PATCH V2 3/3] ath11k: add TWT support John Crispin
  0 siblings, 1 reply; 7+ messages in thread
From: John Crispin @ 2019-04-26  9:41 UTC (permalink / raw)
  To: Johannes Berg, Kalle Valo
  Cc: Srini Kode, Rajkumar Manoharan, linux-wireless, ath11k,
	John Crispin

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-30  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-30  7:03 [PATCH V2 0/3] mac80211: add code to explicitly enable TWT support inside the driver John Crispin
2019-04-30  7:03 ` [PATCH V2 1/3] mac80211: dynamically enable the TWT requester support on STA interfaces John Crispin
2019-04-30  9:11   ` Kalle Valo
2019-04-30  7:03 ` [PATCH V2 2/3] mac80211: allow turning TWT responder support on and off via netlink John Crispin
2019-04-30  7:03 ` [PATCH V2 3/3] ath11k: add TWT support John Crispin
  -- strict thread matches above, loose matches on Subject: below --
2019-04-26  9:41 [PATCH V2 0/3] mac80211: notify the driver when it should enable TWT John Crispin
2019-04-26  9:41 ` [PATCH V2 3/3] ath11k: add TWT support John Crispin
2019-04-30  6:50   ` Rajkumar Manoharan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox