lede/package/network/services/hostapd/patches
Beginner 03ff629884
hostapd: sync upstream (#8078)
* hostapd: ubus: add notification for BSS transition response

To allow steering daemons to be aware of the STA-decided transition
target, publish WNM transition responses to ubus. This way, steerings
daemons can learn about STA-chosen targets and send a better selection
of transition candidates.

Signed-off-by: David Bauer <mail@david-bauer.net>

* hostapd: ubus: add BSS transtiton request method

The existing wnm_disassoc_imminent ubus method only supports issuing a
bss transition request with the disassoc imminent flag set.
For use-cases, where the client is requested to roam to another BSS
without a pending disassoc, this existing method is not suitable.

Add a new bss_transition_request ubus method, which provides a more
universal way to dispatch a transition request. It takes the following
arguments:

Required:
addr: String - MAC-address of the STA to send the request to (colon-seperated)

Optional:
abridged - Bool - Indicates if the abridged flag is set
disassociation_imminent: Bool - Whether or not the disassoc_imminent
                         flag is set
disassociation_timer: I32 - number of TBTTs after which the client will
                      be disassociated
validity_period: I32 - number of TBTTs after which the beacon
                 candidate list (if included) will be invalid
neighbors: blob-array - Array of strings containing neighbor reports as
           hex-string

Signed-off-by: David Bauer <mail@david-bauer.net>

* hostapd: fix goto loop for ubus assoc handler

When a ubus event handler denies a association with a non-zero return
value, the code jumps to preceeding code, creating an endless loop until
the event handler accepts the assc request.

Move the ubus handler further up the code to avoid creating such a loop.

Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
2021-10-20 17:29:38 +08:00
..
001-wolfssl-init-RNG-with-ECC-key.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
010-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
011-mesh-use-deterministic-channel-on-channel-switch.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
020-mesh-make-forwarding-configurable.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
021-fix-sta-add-after-previous-connection.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
022-hostapd-fix-use-of-uninitialized-stack-variables.patch hostapd: sync upstream (#7361) 2021-07-12 14:06:20 +00:00
023-ndisc_snoop-call-dl_list_del-before-freeing-ipv6-add.patch hostapd: sync upstream (#7549) 2021-07-28 13:41:38 +08:00
030-driver_nl80211-rewrite-neigh-code-to-not-depend-on-l.patch hostapd: sync upstream (#7549) 2021-07-28 13:41:38 +08:00
100-daemonize_fix.patch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
200-multicall.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
300-noscan.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
301-mesh-noscan.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
310-rescan_immediately.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
320-optional_rfkill.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
330-nl80211_fix_set_freq.patch hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00
340-reload_freq_change.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
341-mesh-ctrl-iface-channel-switch.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
350-nl80211_del_beacon_bss.patch hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00
360-ctrl_iface_reload.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
370-ap_sta_support.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
380-disable_ctrl_iface_mib.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
381-hostapd_cli_UNKNOWN-COMMAND.patch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
390-wpa_ie_cap_workaround.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
400-wps_single_auth_enc_type.patch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
410-limit_debug_messages.patch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
420-indicate-features.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
430-hostapd_cli_ifdef.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
431-wpa_cli_ifdef.patch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
432-missing-typedef.patch update source 2017-09-06 19:19:45 +08:00
450-scan_wait.patch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
460-wpa_supplicant-add-new-config-params-to-be-used-with.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
461-driver_nl80211-use-new-parameters-during-ibss-join.patch hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00
463-add-mcast_rate-to-11s.patch hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00
464-fix-mesh-obss-check.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
470-survey_data_fallback.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
500-lto-jobserver-support.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
599-wpa_supplicant-fix-warnings.patch update hostapd 2019-09-25 06:55:30 -07:00
600-ubus_support.patch hostapd: sync upstream (#8078) 2021-10-20 17:29:38 +08:00
700-wifi-reload.patch hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00
710-vlan_no_bridge.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
720-ACS-fix-channel-100-frequency.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
720-iface_max_num_sta.patch hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00
730-ft_iface.patch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
740-snoop_iface.patch hostapd: sync upstream (#7925) 2021-09-25 01:42:07 +08:00
741-proxyarp-fix-compilation-with-Hotspot-2.0-disabled.patch hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00