mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] wifi: mac80211: Power-save state and TIM handling fixes
@ 2026-11-03 11:06 Lee Jones
  2026-11-03 11:06 ` [PATCH v2 1/2] wifi: mac80211: ignore PM bit in non-bufferable MMPDUs Lee Jones
  2026-11-03 11:06 ` [PATCH v2 2/2] wifi: mac80211: send wake nullfunc when TIM bit is set while awake Lee Jones
  0 siblings, 2 replies; 4+ messages in thread
From: Lee Jones @ 2026-11-03 11:06 UTC (permalink / raw)
  To: lee
  Cc: linux-kernel, Emmanuel Grumbach, Jiri Benc, Johannes Berg,
	John W. Linville, Jouni Malinen, Luca Coelho, Michael Wu,
	Rajkumar Manoharan, linux-wireless

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@kernel.org

Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Cc: Jiri Benc <jbenc@suse.cz>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Jouni Malinen <j@w1.fi>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: Michael Wu <flamingice@sourmilk.net>
Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Cc: linux-wireless@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-03 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 11:06 [PATCH v2 0/2] wifi: mac80211: Power-save state and TIM handling fixes Lee Jones
2026-11-03 11:06 ` [PATCH v2 1/2] wifi: mac80211: ignore PM bit in non-bufferable MMPDUs Lee Jones
2026-11-03 11:06 ` [PATCH v2 2/2] wifi: mac80211: send wake nullfunc when TIM bit is set while awake Lee Jones
2026-11-03 12:11   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®