wifi-scripts: ucode: create wpa_psk_file and sae_password_file when needed
authorRany Hany <[email protected]>
Fri, 14 Nov 2025 16:22:08 +0000 (16:22 +0000)
committerRobert Marko <[email protected]>
Sat, 15 Nov 2025 10:13:36 +0000 (11:13 +0100)
commit6df060ba4acdcc85308b0d9ec09a4ccdd69f1f3a
tree0f606759cb952cba5ae16cd5557eadc44381dfd3
parent27c9b706e76b77b7dce2bba03e984f8b3394904f
wifi-scripts: ucode: create wpa_psk_file and sae_password_file when needed

This handles the case when 'wpad' or 'wpad-mini' package is used which is
missing WPA3 support. This makes it impossible to use ucode wifi-scripts
on such APs as it will raise an error:

   daemon.err hostapd: Line 87: unknown configuration item 'sae_password_file'

This also achieves parity with what is currently happening with old wifi-scripts.
The behavior now matches.

Fixes: https://github.com/openwrt/openwrt/issues/20781
Signed-off-by: Rany Hany <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20784
Signed-off-by: Robert Marko <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc