openwrt/package/network/services/hostapd/patches
Petr Štetiar 65a10c8230
hostapd: fix broken WPS on broadcom-wl and ath11k
Upgrading wpa_supplicant from 2.9 to 2.10 breaks broadcom-wl/ath11k
based adapters. The reason for it is hostapd tries to install additional
IEs for scanning while the driver does not support this.

The kernel indicates the maximum number of bytes for additional scan IEs
using the NL80211_ATTR_MAX_SCAN_IE_LEN attribute. Save this value and
only add additional scan IEs in case the driver can accommodate these
additional IEs.

Bug: http://lists.infradead.org/pipermail/hostap/2022-January/040178.html
Bug-Debian: https://bugs.debian.org/1004524
Bug-ArchLinux: https://bugs.archlinux.org/task/73495
Upstream-Status: Changes Requested [https://patchwork.ozlabs.org/project/hostap/patch/20220130192200.10883-1-mail@david-bauer.net]
Reported-by: Étienne Morice <neon.emorice@mail.com>
Tested-by: Étienne Morice <neon.emorice@mail.com>
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 6dca88aa4a)
2023-11-02 14:44:48 +00:00
..
001-wolfssl-init-RNG-with-ECC-key.patch hostapd: update to 2022-07-29 2022-09-20 01:15:36 +02:00
010-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch hostapd: update to 2023-06-22 2023-07-20 08:04:11 +02:00
011-mesh-use-deterministic-channel-on-channel-switch.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
021-fix-sta-add-after-previous-connection.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
022-hostapd-fix-use-of-uninitialized-stack-variables.patch hostapd: update to 2023-06-22 2023-07-20 08:04:11 +02:00
023-ndisc_snoop-call-dl_list_del-before-freeing-ipv6-add.patch hostapd: fix a segfault on sta disconnect with proxy arp enabled 2021-07-28 05:55:11 +02:00
030-driver_nl80211-rewrite-neigh-code-to-not-depend-on-l.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
040-mesh-allow-processing-authentication-frames-in-block.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
050-build_fix.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
110-mbedtls-TLS-crypto-option-initial-port.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
120-mbedtls-fips186_2_prf.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
130-mbedtls-annotate-with-TEST_FAIL-for-hwsim-tests.patch hostapd: add mbedtls variant 2022-12-19 12:27:35 +00:00
135-mbedtls-fix-owe-association.patch hostapd: fix OWE association with mbedtls 2023-10-31 21:15:57 +01:00
140-tests-Makefile-make-run-tests-with-CONFIG_TLS.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
150-add-NULL-checks-encountered-during-tests-hwsim.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
160-dpp_pkex-EC-point-mul-w-value-prime.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
170-hostapd-update-cfs0-and-cfs1-for-160MHz.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
180-driver_nl80211-fix-setting-QoS-map-on-secondary-BSSs.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
181-driver_nl80211-update-drv-ifindex-on-removing-the-fi.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
182-nl80211-move-nl80211_put_freq_params-call-outside-of.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
183-hostapd-cancel-channel_list_update_timeout-in-hostap.patch hostapd: fix a crash when disabling an interface during channel list update 2023-09-20 14:11:53 +02:00
200-multicall.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
300-noscan.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
301-mesh-noscan.patch hostapd: update to 2023-06-22 2023-07-20 08:04:11 +02:00
310-rescan_immediately.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
320-optional_rfkill.patch hostapd: update to version 2021-05-21 2021-05-26 11:48:14 +02:00
330-nl80211_fix_set_freq.patch hostapd: update to 2023-06-22 2023-07-20 08:04:11 +02:00
341-mesh-ctrl-iface-channel-switch.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
350-nl80211_del_beacon_bss.patch hostapd: update to 2023-06-22 2023-07-20 08:04:11 +02:00
380-disable_ctrl_iface_mib.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
381-hostapd_cli_UNKNOWN-COMMAND.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
390-wpa_ie_cap_workaround.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
400-wps_single_auth_enc_type.patch hostapd: update to 2022-07-29 2022-09-20 01:15:36 +02:00
410-limit_debug_messages.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
420-indicate-features.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
430-hostapd_cli_ifdef.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
431-wpa_cli_ifdef.patch hostapd: unconditionally enable ap/mesh for wpa-cli 2020-01-28 14:38:43 +01:00
460-wpa_supplicant-add-new-config-params-to-be-used-with.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
463-add-mcast_rate-to-11s.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
464-fix-mesh-obss-check.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
465-hostapd-config-support-random-BSS-color.patch hostapd: add fix for dealing with VHT 160 MHz via ext nss bw 2023-08-15 16:44:58 +02:00
470-survey_data_fallback.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
500-lto-jobserver-support.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
590-rrm-wnm-statistics.patch hostapd: update to 2023-06-22 2023-07-20 08:04:11 +02:00
599-wpa_supplicant-fix-warnings.patch hostapd: declare struct wpa_bss early 2019-09-19 23:43:27 +02:00
600-ubus_support.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
601-ucode_support.patch hostapd: fix patch rebase after a crash fix 2023-09-22 20:01:43 +02:00
610-hostapd_cli_ujail_permission.patch hostapd: allow hostapd under ujail to communicate with hostapd_cli 2021-11-23 18:53:31 +00:00
701-reload_config_inline.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
710-vlan_no_bridge.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
711-wds_bridge_force.patch hostapd: add fix for dealing with VHT 160 MHz via ext nss bw 2023-08-15 16:44:58 +02:00
720-iface_max_num_sta.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
730-ft_iface.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
740-snoop_iface.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
750-qos_map_set_without_interworking.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
751-qos_map_ignore_when_unsupported.patch hostapd: update to 2023-06-22 2023-07-20 08:04:11 +02:00
760-dynamic_own_ip.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
761-shared_das_port.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
770-radius_server.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
990-ctrl-make-WNM_AP-functions-dependant-on-CONFIG_AP.patch hostapd: backport from master, including ucode based reload support 2023-09-18 16:52:25 +02:00
991-Fix-OpenWrt-13156.patch hostapd: use phy name for hostapd interfaces instead of first-bss ifname 2023-09-19 11:57:18 +02:00
992-nl80211-add-extra-ies-only-if-allowed-by-driver.patch hostapd: fix broken WPS on broadcom-wl and ath11k 2023-11-02 14:44:48 +00:00