mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-06 16:02:55 +00:00
A BSS with u30_sae_offload=1 that could not start stayed down at every boot: after mu300-update (it keeps /etc/config and replaces the packages, and the stock wpad refuses a configuration with a key it does not know), when the firmware refuses the vendor command, or in a mode the patch rejects. On a device reached only over its hotspot that left USB as the only way in. openwrt-wifi-sae-guard does nothing unless a wifi-iface carries the option. Before the first wifi up (mu300-hw) it looks whether the installed hostapd has the option; about two minutes after boot (mu300-post, after its retry) whether the access point is ENABLED. If not, the BSS becomes psk2 with the same passphrase, the file as it was is kept in /etc/mu300/wireless.sae-offload, and mu300-wifi logs one error line. A hotspot that is off on purpose (disabled, Wi-Fi client, scan mode, the Wi-Fi key) is left alone. Review, in docs/U30AIR-SAE.md and FINDINGS 80: the driver sends the firmware the passphrase only (the group is parsed and never counted, an ACT of 0xffffffff is its "not set"), the gate is the option plus the firmware's soft-AP WPA3 capability and not the device, which kernels have run it (7.2.9), where the passphrase and the PMK travel, what hostapd no longer does. A probe for the open PMK-provenance finding in the handoff. The wiki says the hotspot is WPA2. Tests: the guard under dash, bash and busybox ash with stub uci/ubus; with MU300_WRT_IMAGE the hostapd configuration wifi-scripts write for the opt-in and for the fallback (the fallback is the stock WPA2 configuration). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE