The Wiki entry about basic Wi-Fi mentions the option
encryption, of course. However, its description does not mention all possible values. Only at the end of that Wiki entry, there is a list of the possible values.
What about linking that list of values where the option
encryption is described?
One more thing:
The Wiki entry about Wi-Fi encryption mentions WPA (TKIP). However, my recent tests with OpenWrt 19.07 revealed,
psk enables not the cipher TKIP but just CCMP. WPA with CCMP is a possible combination but a bit uncommon. I do not think that was intended by that example. Therefore, what about changing that line to mention TKIP explicitly:
uci set wireless.@wifi-iface.encryption=psk+tkip
For consistency, I would do the same for WPA2 (CCMP):
uci set wireless.@wifi-iface.encryption=psk2+ccmp
However, what about moving the first generation WPA section all the way down to WEP because, as the initial section mentions, only WPA2 (CCMP) is considered secure. Or replacing that WPA-only section with a WPA/WPA2-mixed example:
psk-mixed+tkip+ccmp. I think, that would be more useful for potential readers.
One more, more thing:
The Wiki entry about basic Wi-Fi talks about the abbreviation MPF. I guess that stands for ‘Management Frame Protection’. However, many call it ‘Protected Management Frames’ (PMF). What about mentioning both abbreviations and mention
ieee80211w='1' (optional) in the WPA2-PSK example in the Wiki entry about Wi-Fi encryption? I think, that should be the default starting point nowadays for interested readers.
Yes, all this is explained via the Web interface LuCI. However, both Wiki entries target those without LuCI going directly for UCI.