Skip to content

introduce individual TWT support in AP mode

Lorenzo Bianconi linux-wireless 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 0 repliesNew
  2. v47 patches 0 repliesSuperseded
  3. v37 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v27 patches2 repliesSuperseded
v17 patches1 replySuperseded

Changes in v5 from the cover letter

- drop mac80211 patches since they are already applied
- fix table_id configuration

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mt76: mt7915: introduce __mt7915_get_tsf routinedrivers/net/wireless/mediatek/mt76/mt7915/main.c drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h+16 -60 replies
2/5mt76: 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+79 -00 replies
3/5mt76: 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+219 -00 replies
4/5mt76: mt7915: enable twt responder capabilitydrivers/net/wireless/mediatek/mt76/mt7915/init.c+2 -00 replies
5/5mt76: mt7915: add twt_stats knob in debugfsdrivers/net/wireless/mediatek/mt76/mt7915/debugfs.c+28 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchPeter ChiuEvelyn Tsai
1/5T-b T-b
2/5T-b T-b
3/5T-b T-b
4/5T-b T-b
5/5T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/5] 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.

Changes since v4:
- drop mac80211 patches since they are already applied
- fix table_id configuration

Changes since v3:
- move twt_setup status management in ieee80211_report_used_skb() in order to consider when the driver drops the frame on the tx path
- minor changes

Changes since v2:
- introduce status_queue for twt status frame parsing
- add tracing for add_twt_setup/twt_teardown_request
- fix routine naming convention
- always reply with reject frames for broadcast agrt requests

Changes since v1:
- fix rcu unbalance in mt7915/debugfs.c

Changes since rfc:
- run ieee80211_s1g_status_h_twt only for failed twt action frames
- change add_twt_setup return value from int to void

Lorenzo Bianconi (5):
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   | 179 ++++++++++++++++++
 .../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    |  42 +++-
 7 files changed, 344 insertions(+), 6 deletions(-)
Signature · 1 line
2.31.1