[PATCH v2 0/2] wifi: mac80211: Power-save state and TIM handling fixes
From: Lee Jones
Date: Tue Nov 03 2026 - 06:35:47 EST
Following up on the v1 discussion [0], this two-patch series:
1. Makes AP-side Power Management (PM) bit handling in
ieee80211_rx_h_sta_process() symmetric across both wake-to-doze and
doze-to-wake transitions, ignoring the reserved PM bit in
non-bufferable management frames while still waking sleeping
stations on Authentication and (Re)Association Request frames per
commit 9fef65443388 ("mac80211: always update the PM state of a peer
on MGMT / DATA frames").
2. Ensures an awake client station sends a wake nullfunc frame in
ieee80211_rx_mgmt_beacon() when the Beacon TIM element indicates
buffered unicast traffic for its AID, even when dynamic power-save
is disabled (dynamic_ps_timeout == 0) and IEEE80211_CONF_PS is not
set.
v1 => v2:
- Make non-bufferable MMPDU PM-bit handling symmetric in both
directions and expand the commit description.
- Add client-side wake nullfunc transmission in
ieee80211_rx_mgmt_beacon() when the TIM bit is set while awake.
[0] https://lore.kernel.org/r/20260928100508.3487525-1-lee@xxxxxxxxxx
Cc: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
Cc: Jiri Benc <jbenc@xxxxxxx>
Cc: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
Cc: "John W. Linville" <linville@xxxxxxxxxxxxx>
Cc: Jouni Malinen <j@xxxxx>
Cc: Luca Coelho <luciano.coelho@xxxxxxxxx>
Cc: Michael Wu <flamingice@xxxxxxxxxxxx>
Cc: Rajkumar Manoharan <rmanohar@xxxxxxxxxxxxxxxx>
Cc: linux-wireless@xxxxxxxxxxxxxxx
Lee Jones (2):
wifi: mac80211: ignore PM bit in non-bufferable MMPDUs
wifi: mac80211: send wake nullfunc when TIM bit is set while awake
net/mac80211/mlme.c | 3 ++-
net/mac80211/rx.c | 22 ++++++++++++++++------
2 files changed, 18 insertions(+), 7 deletions(-)
--
2.56.0.313.g2479322e68-goog