Skip to content

wifi: add S1G response indication configuration with NDP BA support

Ria Thomas 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 8 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fixed kernel docs

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wifi: cfg80211: Add support for S1G Response Indication Configurationinclude/net/cfg80211.h include/uapi/linux/nl80211.h net/wireless/nl80211.c +2 more+73 -08 replies
2/3wifi: mac80211: track S1G Response Indication (RI) and notify driversinclude/linux/ieee80211-s1g.h include/net/mac80211.h net/mac80211/cfg.c +2 more+41 -00 replies
3/3wifi: mac80211: add support for NDP ADDBA/DELBA for S1Ginclude/linux/ieee80211-ht.h include/linux/ieee80211.h include/net/mac80211.h +9 more+112 -130 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH wireless-next v2 0/3] wifi: add S1G response indication configuration with NDP BA support

This patchset adds support for S1G Response Indication configuration; section 10.3.2.17 and NDP ADDBA/DELBA negotiations; section 11.5.2.2 (b), in accordance with IEEE 802.11-2024.

The Response Indication (RI) mechanism is unique to S1G and is used to explicitly signal which type of response frame is expected at SIFS following an eliciting frame. The RI is signaled in management and action frames and must be tracked across session setup, which is very much required in context of Block Ack negotiation.
The NDP-based Block Ack mechanism allows aggregation setup using null data frames, avoiding legacy ADDBA/DELBA exchanges. When negotiation fails due to mismatched support, the responder returns a status code indicating NDP Block Ack is suggested (REJECTED_NDP_BLOCK_ACK_SUGGESTED), as specified in IEEE 802.11-2024.

Trace sample:

IEEE 802.11 Wireless Management

    Fixed parameters
        Category code: Block Ack (3)
        Action code: NDP ADDBA Request (0x80)
        Dialog token: 0x01
        Block Ack Parameters: 0x1003, A-MSDUs, Block Ack Policy
            .... .... .... ...1 = A-MSDUs: Permitted in QoS Data MPDUs
            .... .... .... ..1. = Block Ack Policy: Immediate Block Ack
            .... .... ..00 00.. = Traffic Identifier: 0x0
            0001 0000 00.. .... = Number of Buffers (1 Buffer = 2304 Bytes): 64
        Block Ack Timeout: 0x0000
        Block Ack Starting Sequence Control (SSC): 0x0010
            .... .... .... 0000 = Fragment: 0
            0000 0000 0001 .... = Starting Sequence Number: 1

IEEE 802.11 Wireless Management

    Fixed parameters
        Category code: Block Ack (3)
        Action code: NDP ADDBA Response (0x81)
        Dialog token: 0x02
        Status code: BlockAck negotiation refused because, due to buffer constraints and other unspecified reasons, the recipient prefers to generate only NDP BlockAck frames (0x006d)
        Block Ack Parameters: 0x1002, Block Ack Policy
            .... .... .... ...0 = A-MSDUs: Not Permitted
            .... .... .... ..1. = Block Ack Policy: Immediate Block Ack
            .... .... ..00 00.. = Traffic Identifier: 0x0
            0001 0000 00.. .... = Number of Buffers (1 Buffer = 2304 Bytes): 64
        Block Ack Timeout: 0x0000

This patchset has been tested on S1G capable Morse Micro hardware and verifies correct RI signaling and NDP Block Ack negotiation during association and data exchange.

Changes since v1:
- Fixed kernel docs

Ria Thomas (3):
wifi: cfg80211: Add support for S1G Response Indication Configuration
wifi: mac80211: track S1G Response Indication (RI) and notify drivers
wifi: mac80211: add support for NDP ADDBA/DELBA for S1G

 include/linux/ieee80211-ht.h  |  3 +++
 include/linux/ieee80211-s1g.h | 14 +++++++++++++
 include/linux/ieee80211.h     |  2 ++
 include/net/cfg80211.h        |  3 +++
 include/net/mac80211.h        |  9 +++++++++
 include/uapi/linux/nl80211.h  | 14 +++++++++++++
 net/mac80211/agg-rx.c         | 37 ++++++++++++++++++++++++++++++++---
 net/mac80211/agg-tx.c         | 22 +++++++++++++++++----
 net/mac80211/cfg.c            | 18 +++++++++++++++++
 net/mac80211/debugfs.c        |  1 +
 net/mac80211/ht.c             |  8 +++++---
 net/mac80211/ieee80211_i.h    |  9 ++++++++-
 net/mac80211/iface.c          |  3 +++
 net/mac80211/link.c           |  1 +
 net/mac80211/rx.c             | 11 +++++++++--
 net/mac80211/s1g.c            | 23 ++++++++++++++++++++++
 net/mac80211/sta_info.h       |  2 ++
 net/mac80211/util.c           |  3 +++
 net/wireless/nl80211.c        | 24 +++++++++++++++++++++++
 net/wireless/rdev-ops.h       | 14 +++++++++++++
 net/wireless/trace.h          | 18 +++++++++++++++++
 21 files changed, 226 insertions(+), 13 deletions(-)
Signature · 1 line
2.25.1