From: Lee Jones <lee@kernel.org>
To: lee@kernel.org
Cc: linux-kernel@vger.kernel.org,
Emmanuel Grumbach <emmanuel.grumbach@intel.com>,
Jiri Benc <jbenc@suse.cz>,
Johannes Berg <johannes@sipsolutions.net>,
"John W. Linville" <linville@tuxdriver.com>,
Jouni Malinen <j@w1.fi>, Luca Coelho <luciano.coelho@intel.com>,
Michael Wu <flamingice@sourmilk.net>,
Rajkumar Manoharan <rmanohar@qca.qualcomm.com>,
linux-wireless@vger.kernel.org
Subject: [PATCH v2 0/2] wifi: mac80211: Power-save state and TIM handling fixes
Date: Tue, 3 Nov 2026 11:06:31 +0000 [thread overview]
Message-ID: <20261103110642.260244-1-lee@kernel.org> (raw)
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
next reply other threads:[~2026-11-03 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 11:06 Lee Jones [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261103110642.260244-1-lee@kernel.org \
--to=lee@kernel.org \
--cc=emmanuel.grumbach@intel.com \
--cc=flamingice@sourmilk.net \
--cc=j@w1.fi \
--cc=jbenc@suse.cz \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=luciano.coelho@intel.com \
--cc=rmanohar@qca.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox