Skip to content

wifi: mt7932: ask for the listed SSIDs and the wildcard in directed scans - #802

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
wifi/mt7932-directed-scan-type
Nov 1, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
wifi/mt7932-directed-scan-type

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

One byte in the mt7932 directed-scan request. Byte 3, the SSID type, goes from 8 to 4, the "specified SSIDs plus wildcard" type that the other connac firmware uses.

With type 8, the firmware matched its results against the SSID it remembered for each BSSID. A BSSID that changed its SSID stayed invisible to directed scans until a wildcard scan refreshed it. NetworkManager and wpa_supplicant scan with the target SSID, so such a network took several rounds to join, or failed as "network could not be found". That was the intermittent NM "channel 36 miss" in our WPA3/PMF matrix, where every test SSID shares one access point BSSID.

Testing

All on J700 (fleet14g), against hostapd 2.12 on an MT7925, with module overrides on the stock kernel:

check type 8 (stock) type 4
first directed scan after the BSSID switches SSID 4 of 8 8 of 8
hidden 5 GHz network, directed scan found found; directed probe requests for the hidden SSID seen in a capture at the AP
visible 6 GHz network, wildcard and directed found found
NM join right after an SSID switch, WPA2 no PMF and PMF optional 17 to 23 s on earlier kernels pass in 13 to 14 s (measured with type 4 plus 2 probe requests per SSID, an earlier variant)

Gates on f717c7f: W=1 0 warnings with clang and GCC, mt7932 KUnit 80/80, run-host-tests 161/161. The KUnit and host-test expectations for byte 3 are updated.

Found on the way, not changed here: right after boot, the first directed scans for a hidden 5 GHz network miss with either type, and later ones find it. A hidden 6 GHz network was not found on stock (type 8) and wasn't tried with type 4. Both stay open in the Wi-Fi notes.

🤖 Generated with Claude Code

…cans

Directed scans set SSID type 8. With that type the firmware matched
what it reported against the SSID it remembered for each BSSID, so a
BSSID that changed its SSID stayed invisible to directed scans until a
wildcard scan refreshed it. NetworkManager and wpa_supplicant scan
with the target SSID, so such a network took several rounds to join or
failed as "network could not be found".

Use type 4, the specified-plus-wildcard SSID type the other connac
firmware takes. Directed probe requests are still sent: a capture at
the access point shows them for a hidden network.

Tested on J700 against hostapd 2.12 with one BSSID switching between
two SSIDs: the first directed scan after a switch found the new SSID
8 of 8 times, against 4 of 8 with type 8. Hidden 5 GHz networks and
visible 6 GHz networks are found as before.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide merged commit bd937a7 into aurora-wip Nov 1, 2026
@RyanTheTide
RyanTheTide deleted the wifi/mt7932-directed-scan-type branch November 1, 2026 17:57
notmysegv pushed a commit to notmysegv/linux that referenced this pull request Nov 4, 2026
…tion/aurora

Bring integration/aurora up to aurora-wip 52f0a6b, the source of
7.3.0-aurora-fleet14h, promoted on all four machines on 2026-11-02.
The range also covers the fleet14g source b35adc7. It adds aurora-silicon#792,
aurora-silicon#750, aurora-silicon#783, aurora-silicon#784, aurora-silicon#793, aurora-silicon#774, aurora-silicon#794, aurora-silicon#796, aurora-silicon#798, aurora-silicon#800, aurora-silicon#802 and aurora-silicon#801.
No conflicts.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant