[PATCH ath-next] wifi: ath11k: don't create a duplicate peer on the same pdev
Nicolas Escande
nico.escande at gmail.com
Tue Nov 17 00:51:32 PST 2026
On Fri Nov 13, 2026 at 1:03 PM CET, Fernando Tapia wrote:
> ath11k_peer_create() accepts an address that is already a peer on
> another vdev, assuming the station is moving to another band. That holds
> when the old vdev is on another pdev. When both vdevs are on the same
> pdev, for example two AP interfaces on one 2.4 GHz radio, a station that
> moves between the two BSSes is authenticated on the new one while hostapd
> still has it on the old one. The WMI_PEER_CREATE for the second vdev then
> makes the IPQ8074 firmware (WLAN.HK.2.9.0.1-02146) assert:
>
> wal_peer_control.c:2904 Assertion is_graceful_to_handle failed
>
> followed by "failed to find peer ... after creation" on the host, and on
> AHB the whole SoC reboots. Tuya devices in pairing mode, which try both
> BSSes of a radio within a second, cause a reboot loop.
>
> Refuse the peer with -EBUSY while the address is still a peer on another
> vdev of the same pdev, without sending the command to the firmware. The
> station add fails as it already does after the assert, hostapd rejects
> that authentication, and the client succeeds on a retry once its old
> station is removed.
>
> Tested on a Xiaomi AX3600 (OpenWrt 25.12.5, kernel 6.12.94 with ath11k
> backported from 6.18.26) for 8 days. A smart plug moved between the two
> SSIDs of the 2.4 GHz radio in both directions, the sequence that had
> rebooted the router 8 times before: the new warning appears, the client
> connects on the retry about 4 s later, no firmware assert, no reboot.
>
> Assisted-by: LLM
> Signed-off-by: John Macias <dencity7 at gmail.com>
> ---
Guys, I'm all for fixing bugs, but at some point you need to start reading
and searching the mailing list before pointing your LLM to any crashing
target. This is the third time someone posted a fix for this issue:
https://lore.kernel.org/linux-wireless/1316ed692b84f1d956e4854d9e974569a3961795.1784792420.git.repk@triplefau.lt/
https://lore.kernel.org/linux-wireless/20261001164139.370144-1-patricktlawler@gmail.com/
More information about the ath11k
mailing list