wifi-scripts: add DPP encryption support
authorFelix Fietkau <nbd@nbd.name>
Wed, 4 Feb 2026 05:46:53 +0000 (05:46 +0000)
committerFelix Fietkau <nbd@nbd.name>
Sat, 7 Feb 2026 09:23:22 +0000 (09:23 +0000)
commit6e25c8bd785e72b8a03b1f1f6bacc21d077cc372
treea7a451af8bb0f447d06f609d376d7f98c1997415
parent706c416a30e3849764bd16dfd02062687d58d5ec
wifi-scripts: add DPP encryption support

Add support for DPP (Device Provisioning Protocol) as both a primary
encryption type and as an optional addition to existing authentication.

Primary DPP mode (encryption=dpp):
- Sets WPA2 with key_mgmt=DPP
- Requires Management Frame Protection (ieee80211w=2)
- Supports dpp_connector, dpp_csign, dpp_netaccesskey options

Optional DPP mode (dpp=1 boolean on AP):
- Adds DPP to existing key management methods
- Allows AP to accept both DPP and other auth types
- Supports the same connector options

Both ucode and legacy shell implementations are updated for AP and STA
modes.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc
package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
package/network/config/wifi-scripts/files/lib/netifd/netifd-wireless.sh