Skip to content

RFC introduce individual TWT support in AP mode

Lorenzo Bianconi linux-wireless 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mac80211: add twt ie in ieee80211_mgmt structureinclude/linux/ieee80211.h+67 -00 replies
2/7mac80211: introduce individual TWT support in AP mode.include/net/mac80211.h net/mac80211/driver-ops.h net/mac80211/ieee80211_i.h +4 more+316 -10 replies
3/7mt76: mt7915: introduce __mt7915_get_tsf routinedrivers/net/wireless/mediatek/mt76/mt7915/main.c drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h+16 -60 replies
4/7mt76: mt7915: introduce mt7915_mcu_twt_agrt_update mcu commanddrivers/net/wireless/mediatek/mt76/mt7915/mcu.c drivers/net/wireless/mediatek/mt76/mt7915/mcu.h drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h+78 -00 replies
5/7mt76: mt7915: introduce mt7915_mac_add_twt_setup routinedrivers/net/wireless/mediatek/mt76/mt7915/init.c drivers/net/wireless/mediatek/mt76/mt7915/mac.c drivers/net/wireless/mediatek/mt76/mt7915/main.c +1 more+231 -00 replies
6/7mt76: mt7915: enable twt responder capabilitydrivers/net/wireless/mediatek/mt76/mt7915/init.c+2 -00 replies
7/7mt76: mt7915: add twt_stats knob in debugfsdrivers/net/wireless/mediatek/mt76/mt7915/debugfs.c+28 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC mac80211-next 0/7] introduce individual TWT support in AP mode

Introduce TWT action frames parsing support to mac80211. Currently just individual TWT agreement are support in AP mode. Whenever the AP receives a TWT action frame from an associated client, after performing sanity checks, it will notify the underlay driver with requested parameters in order to check if they are supported and if there is enough room for a new agreement. The hw is expected to set agreement result and report it to mac80211.
The two following drv callbacks have been added to mac80211:
- add_twt_setup (mandatory)
- twt_teardown_request (optional)

mac80211 will send an action frame reply according to the result reported by the driver/fw.
Add individual TWT support to mt7915 in AP mode.

Lorenzo Bianconi (7):
mac80211: add twt ie in ieee80211_mgmt structure
mac80211: introduce individual TWT support in AP mode.
mt76: mt7915: introduce __mt7915_get_tsf routine
mt76: mt7915: introduce mt7915_mcu_twt_agrt_update mcu command
mt76: mt7915: introduce mt7915_mac_add_twt_setup routine
mt76: mt7915: enable twt responder capability
mt76: mt7915: add twt_stats knob in debugfs

 .../wireless/mediatek/mt76/mt7915/debugfs.c   |  28 +++
 .../net/wireless/mediatek/mt76/mt7915/init.c  |   3 +
 .../net/wireless/mediatek/mt76/mt7915/mac.c   | 193 ++++++++++++++++++
 .../net/wireless/mediatek/mt76/mt7915/main.c  |  39 +++-
 .../net/wireless/mediatek/mt76/mt7915/mcu.c   |  50 +++++
 .../net/wireless/mediatek/mt76/mt7915/mcu.h   |   9 +
 .../wireless/mediatek/mt76/mt7915/mt7915.h    |  39 +++-
 include/linux/ieee80211.h                     |  67 ++++++
 include/net/mac80211.h                        |  13 ++
 net/mac80211/driver-ops.h                     |  24 +++
 net/mac80211/ieee80211_i.h                    |   3 +
 net/mac80211/iface.c                          |  10 +
 net/mac80211/rx.c                             |  54 +++++
 net/mac80211/s1g.c                            | 183 +++++++++++++++++
 net/mac80211/status.c                         |  30 ++-
 15 files changed, 738 insertions(+), 7 deletions(-)
Signature · 1 line
2.31.1