hostapd: add ucode support, use ucode for the main ubus object
authorFelix Fietkau <nbd@nbd.name>
Fri, 26 May 2023 08:23:59 +0000 (10:23 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 1 Aug 2023 08:08:03 +0000 (10:08 +0200)
commite56c5f7b276a17f4c9b9321e1e6fbef0bf8ca6c6
tree2242a0e4a8c5ff2b5dc8dc4f46b7e99abe6d699a
parent33e4ad767e085f691bf5433d8808b20dfcf63222
hostapd: add ucode support, use ucode for the main ubus object

This implements vastly improved dynamic configuration reload support.
It can handle configuration changes on individual wifi interfaces, as well
as adding/removing interfaces.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
24 files changed:
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/network/services/hostapd/Makefile
package/network/services/hostapd/files/common.uc [new file with mode: 0644]
package/network/services/hostapd/files/hostapd.sh
package/network/services/hostapd/files/hostapd.uc [new file with mode: 0644]
package/network/services/hostapd/files/wdev.uc [new file with mode: 0644]
package/network/services/hostapd/files/wpa_supplicant.uc [new file with mode: 0644]
package/network/services/hostapd/patches/600-ubus_support.patch
package/network/services/hostapd/patches/601-ucode_support.patch [new file with mode: 0644]
package/network/services/hostapd/patches/700-wifi-reload.patch
package/network/services/hostapd/patches/701-reload_config_inline.patch [new file with mode: 0644]
package/network/services/hostapd/patches/720-iface_max_num_sta.patch
package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch
package/network/services/hostapd/patches/761-shared_das_port.patch
package/network/services/hostapd/patches/770-radius_server.patch
package/network/services/hostapd/src/src/ap/ubus.c
package/network/services/hostapd/src/src/ap/ucode.c [new file with mode: 0644]
package/network/services/hostapd/src/src/ap/ucode.h [new file with mode: 0644]
package/network/services/hostapd/src/src/utils/ucode.c [new file with mode: 0644]
package/network/services/hostapd/src/src/utils/ucode.h [new file with mode: 0644]
package/network/services/hostapd/src/wpa_supplicant/ubus.c
package/network/services/hostapd/src/wpa_supplicant/ubus.h
package/network/services/hostapd/src/wpa_supplicant/ucode.c [new file with mode: 0644]
package/network/services/hostapd/src/wpa_supplicant/ucode.h [new file with mode: 0644]