luci-mod-network: add ppsk option (support for Private PSK)
authorManuel Giganto <mgigantoregistros@gmail.com>
Mon, 12 Oct 2020 15:35:08 +0000 (15:35 +0000)
committerPaul Donald <newtwen@gmail.com>
Sun, 28 Jan 2024 15:26:29 +0000 (16:26 +0100)
commitf99b20773fca5a7546809ad356c35e205182be0e
tree063e6c047b818ac2b90f86d0623d5a7b5e2ec1e9
parent0c2df82a9325669bb18b32451e34e35d8f7153cc
luci-mod-network: add ppsk option (support for Private PSK)

Include support in luci to enable the Private PSK.
When Private PSK is enabled, clients can use a default password (common),
or have their own private password that is associated with the client MAC.

The password is retrieved from RADIUS server, asking for the client MAC,
and when such client MAC is not defined, RADIUS should return a default
password.

RADIUS can also return other parameters like VLANs, which can be used to
put clients dynamically in different VLANs based on their MAC, or the
default configuration.

Private PSK is not compatible yet with SAE encryption, therefore cannot
be used yet with WPA3 or WPA3-mixed.

It implements the UI for the PPSK already in master: https://github.com/openwrt/openwrt/pull/3509

Signed-off-by: Manuel Giganto <mgigantoregistros@gmail.com>
(cherry picked from commit 75a2fd233baabf6fa5bafcb13ccc6d7000a4604d)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js