wifi-scripts: change wifi-station's mac option into list
authorRany Hany <[email protected]>
Sat, 8 Nov 2025 16:48:13 +0000 (16:48 +0000)
committerHauke Mehrtens <[email protected]>
Sun, 30 Nov 2025 23:44:12 +0000 (00:44 +0100)
commitc16d83184b42ce2a0bb61a09e6270e2b96c0deb0
tree2e5e0f0440bccab56dbce18090afec13188d065a
parentea6ee930601cfc260e6477f573513850f1806012
wifi-scripts: change wifi-station's mac option into list

In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: https://github.com/openwrt/openwrt/pull/17145
[2]: https://github.com/openwrt/openwrt/pull/17145#issuecomment-2523507953

Signed-off-by: Rany Hany <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17650
Signed-off-by: Hauke Mehrtens <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc
package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
package/network/config/wifi-scripts/files/lib/netifd/netifd-wireless.sh