mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH ath-next 0/3] wifi: ath10k: WCN3990 station fixes for PMF and failed connections
@ 2026-10-16  0:17 Shunsuke Nagashima via B4 Relay
  2026-10-16  0:17 ` [PATCH ath-next 1/3] wifi: ath10k: set the PMF peer flag on WCN3990 Shunsuke Nagashima via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shunsuke Nagashima via B4 Relay @ 2026-10-16  0:17 UTC (permalink / raw)
  To: Jeff Johnson
  Cc: linux-wireless, ath10k, linux-kernel, David Heidelberg,
	Fabricio Akio, Shunsuke Nagashima

These three patches fix two problems I hit on a comma four (SDM845,
WCN3990 hw1.0 SNOC, firmware WLAN.HL.2.0.c10-00459) in station mode.

Patch 1 sets the PMF peer flag on WCN3990. Without it, the firmware
sends ADDBA Request frames unprotected on PMF connections, no Block Ack
agreement is set up, and throughput on a 5 GHz WPA3 AP was about a
tenth of WPA2 on the same AP. On 5 GHz the protected Deauth also
carried PN 0, which one AP dropped, so the next association got
status 30.

Patches 2 and 3 are about the station vdev after a connection attempt
that failed before the vdev came up. ath10k stops the vdev but does not
bring it down, and this firmware then holds the Auth frames of the
next attempt for about 20 s. Patch 3 sends the down after the stop.
Patch 2 makes ath10k_bss_disassoc() skip its down for a vdev that is
not up, so that the down is not sent while the peer still exists.

Patch 1 does not depend on patches 2 and 3.

All results are from my own device runs on WCN3990 only. The test
kernel is v7.2-based and also carries three out-of-tree ath10k patches
(MAC address, in-order rx A-MSDU, SET_KEY wait).

Patch 3's notes also describe a rare data stall right after an
association. It also happened on a build without patches 2 and 3 and
on builds without patch 1, so no single patch of this series is needed
for it to happen; its cause is not known.

Related patches on the list:

 - David Heidelberg's RFC "wifi: ath10k: skip completion wait for
   pairwise key removal" (patchwork 14827446) adds a hw_params field at
   the same place as patch 1 (the end of the WCN3990 entry and of
   struct ath10k_hw_params). Whichever goes in second needs a small
   rebase in core.c and hw.h (keep both new fields).
 - Fabricio Akio's "wifi: ath10k: don't reset TxBF on disassociation"
   (patchwork 14880772) changes ath10k_bss_disassoc() next to patch 2.
   The two do not depend on each other; either applies on top of the
   other with git am -3.

AI-assistance disclosure:

I worked on this with Claude (mainly claude-opus-5-5 and
claude-fable-5-1) and Codex (gpt-6-astra). They helped go through the
logs and sniffer captures, draft the code changes and the debug builds,
and write the English of the commit messages and this letter. I
reviewed the code. All device tests ran on my own comma four, and the
results come from those runs.

---
Shunsuke Nagashima (3):
      wifi: ath10k: set the PMF peer flag on WCN3990
      wifi: ath10k: skip disassociation down for a station vdev that is not up
      wifi: ath10k: bring down a station vdev that never came up

 drivers/net/wireless/ath/ath10k/core.c |  1 +
 drivers/net/wireless/ath/ath10k/core.h |  2 ++
 drivers/net/wireless/ath/ath10k/hw.h   |  6 +++++
 drivers/net/wireless/ath/ath10k/mac.c  | 45 +++++++++++++++++++++++++++++-----
 4 files changed, 48 insertions(+), 6 deletions(-)
---
base-commit: cd026e68fdbf88b9cc522b76c7a9d92c9a41f709
change-id: 20261016-ath10k-series-v1-send-7761294833dd

Best regards,
--  
Shunsuke Nagashima <shunsuke@nagashi.ma>



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

end of thread, other threads:[~2026-10-19 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16  0:17 [PATCH ath-next 0/3] wifi: ath10k: WCN3990 station fixes for PMF and failed connections Shunsuke Nagashima via B4 Relay
2026-10-16  0:17 ` [PATCH ath-next 1/3] wifi: ath10k: set the PMF peer flag on WCN3990 Shunsuke Nagashima via B4 Relay
2026-10-16  0:17 ` [PATCH ath-next 2/3] wifi: ath10k: skip disassociation down for a station vdev that is not up Shunsuke Nagashima via B4 Relay
2026-10-16  0:17 ` [PATCH ath-next 3/3] wifi: ath10k: bring down a station vdev that never came up Shunsuke Nagashima via B4 Relay
2026-10-19 13:12   ` James Prestwood

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®