Hi,

> right now luci will force 2

nope, it will not. It calculates the dynamic default according to the logic in
hostapd.sh and will remove the value from uci if the selected user value
matches the dynamic default [1].

So with WPA3 selected and choosing 11w ...
 ... required -> remove option ieee80211w
 ... optional -> write option ieee80211w 1
 ... disabled -> write option ieee80211w 0 [2]

With WPA3 mixed mode selected and choosing 11w ...
 ... required -> write option ieee80211w 2
 ... optional -> remove option ieee80211w
 ... disabled -> write option ieee80211w 0 [2]

With any other WPA mode selected and choosing 11w ...
 ... required -> write option ieee80211w 2
 ... optional -> write option ieee80211w 1
 ... disabled -> remove option ieee80211w


1: See defaults at:
https://github.com/openwrt/luci/blob/master/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js#L1685
2: Disabling (0) is bugged in 21.02.0 and has been fixed in master with:
https://github.com/openwrt/luci/commit/0b49ed45c6e9f4bc10abdcea392125aec3794e58


~ Jo

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to