hostapd: backport from master, including ucode based reload support
authorFelix Fietkau <nbd@nbd.name>
Tue, 29 Aug 2023 12:32:42 +0000 (14:32 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Sep 2023 14:52:25 +0000 (16:52 +0200)
commit9720b094aef89802327683f25824820581fed0b9
tree1add9555f456586bf676dca47ac674887d6f7cc2
parent263583dc1e569fae3f8e99d73f2fd72376421b17
hostapd: backport from master, including ucode based reload support

This significantly improves config reload behavior and also fixes some
corner cases related to running AP + mesh interfaces at the same time.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
66 files changed:
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/network/services/hostapd/Config.in
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/radius.clients [new file with mode: 0644]
package/network/services/hostapd/files/radius.config [new file with mode: 0644]
package/network/services/hostapd/files/radius.init [new file with mode: 0644]
package/network/services/hostapd/files/radius.users [new file with mode: 0644]
package/network/services/hostapd/files/wdev.uc [new file with mode: 0644]
package/network/services/hostapd/files/wpa_supplicant-basic.config
package/network/services/hostapd/files/wpa_supplicant-full.config
package/network/services/hostapd/files/wpa_supplicant-mini.config
package/network/services/hostapd/files/wpa_supplicant-p2p.config
package/network/services/hostapd/files/wpa_supplicant.uc [new file with mode: 0644]
package/network/services/hostapd/files/wpad_acl.json
package/network/services/hostapd/patches/011-mesh-use-deterministic-channel-on-channel-switch.patch
package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch
package/network/services/hostapd/patches/030-driver_nl80211-rewrite-neigh-code-to-not-depend-on-l.patch
package/network/services/hostapd/patches/040-mesh-allow-processing-authentication-frames-in-block.patch
package/network/services/hostapd/patches/100-daemonize_fix.patch [deleted file]
package/network/services/hostapd/patches/140-tests-Makefile-make-run-tests-with-CONFIG_TLS.patch
package/network/services/hostapd/patches/170-hostapd-update-cfs0-and-cfs1-for-160MHz.patch
package/network/services/hostapd/patches/180-driver_nl80211-fix-setting-QoS-map-on-secondary-BSSs.patch [new file with mode: 0644]
package/network/services/hostapd/patches/181-driver_nl80211-update-drv-ifindex-on-removing-the-fi.patch [new file with mode: 0644]
package/network/services/hostapd/patches/182-nl80211-move-nl80211_put_freq_params-call-outside-of.patch [new file with mode: 0644]
package/network/services/hostapd/patches/200-multicall.patch
package/network/services/hostapd/patches/300-noscan.patch
package/network/services/hostapd/patches/310-rescan_immediately.patch
package/network/services/hostapd/patches/340-reload_freq_change.patch [deleted file]
package/network/services/hostapd/patches/360-ctrl_iface_reload.patch [deleted file]
package/network/services/hostapd/patches/370-ap_sta_support.patch [deleted file]
package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch
package/network/services/hostapd/patches/390-wpa_ie_cap_workaround.patch
package/network/services/hostapd/patches/420-indicate-features.patch
package/network/services/hostapd/patches/432-missing-typedef.patch [deleted file]
package/network/services/hostapd/patches/450-scan_wait.patch [deleted file]
package/network/services/hostapd/patches/460-wpa_supplicant-add-new-config-params-to-be-used-with.patch
package/network/services/hostapd/patches/463-add-mcast_rate-to-11s.patch
package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch
package/network/services/hostapd/patches/500-lto-jobserver-support.patch
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 [deleted file]
package/network/services/hostapd/patches/701-reload_config_inline.patch [new file with mode: 0644]
package/network/services/hostapd/patches/710-vlan_no_bridge.patch
package/network/services/hostapd/patches/720-iface_max_num_sta.patch
package/network/services/hostapd/patches/730-ft_iface.patch
package/network/services/hostapd/patches/740-snoop_iface.patch
package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch
package/network/services/hostapd/patches/760-dynamic_own_ip.patch
package/network/services/hostapd/patches/761-shared_das_port.patch
package/network/services/hostapd/patches/770-radius_server.patch [new file with mode: 0644]
package/network/services/hostapd/patches/990-ctrl-make-WNM_AP-functions-dependant-on-CONFIG_AP.patch
package/network/services/hostapd/patches/991-Fix-OpenWrt-13156.patch
package/network/services/hostapd/src/hostapd/radius.c [new file with mode: 0644]
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]