Skip to content

wifi: mac80211: airtime weight op, BSS color during a color change

Andrei-Alexandru Bleortu linux-wireless lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: mac80211: notify driver on airtime weight changesinclude/net/mac80211.h net/mac80211/cfg.c net/mac80211/driver-ops.c +3 more+66 -21 reply
2/2wifi: mac80211: keep the BSS color while a color change is pendingnet/mac80211/cfg.c+6 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH wireless-next 0/2] wifi: mac80211: airtime weight op, BSS color during a color change

Two mac80211 changes an ath11k AP needs; the ath11k patches that use them follow in "[PATCH ath-next 0/2] wifi: ath11k: firmware airtime fairness, BSS color while disabled" (<[email protected]>).

1. Felix Fietkau's sta_set_airtime_weight driver op, carried in OpenWrt, so a driver can program a station's airtime weight into firmware. v2 posted it inside an ath11k series, which is now split by tree.
2. When a BSS color change starts, mac80211 cleared the color along with the enabled flag, so a driver could no longer keep transmitting the color the BSS still uses (IEEE Std 802.11-2024, 26.11.4).

Both run, with the ath11k patches, on the QCN9074 and IPQ5018 radios of two U6 Enterprise access points.

Changes to patch 1 since v2: Felix's Signed-off-by is back in the trailer block.

The patches by me were written with an AI coding assistant (Claude Code), which also drafted the changelogs; the testing described was done on the hardware.

v2 of patch 1: https://lore.kernel.org/all/[email protected]/

Andrei-Alexandru Bleortu (1):
wifi: mac80211: keep the BSS color while a color change is pending

Felix Fietkau (1):
wifi: mac80211: notify driver on airtime weight changes

 include/net/mac80211.h    |  5 +++++
 net/mac80211/cfg.c        | 13 +++++++++++--
 net/mac80211/driver-ops.c |  4 ++++
 net/mac80211/driver-ops.h | 19 +++++++++++++++++++
 net/mac80211/sta_info.c   |  7 ++++++-
 net/mac80211/trace.h      | 27 +++++++++++++++++++++++++++
 6 files changed, 72 insertions(+), 3 deletions(-)

base-commit: f49defea7668d8c68ec19fa085ef3da6075561c7

Signature · 1 line
2.47.3