lede/package
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
..
base-files base-files: switch the banner to lede 2021-10-08 11:40:18 +08:00
boot treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
devel add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
firmware update hash code (#7972) 2021-10-01 23:24:11 +08:00
kernel kernel: drop kmod-gpio-dev (#8015) 2021-10-13 17:29:11 +08:00
lean luci-app-serverchan: sync upstream (#8080) 2021-10-20 12:55:36 +08:00
libs openssl: Refresh patch (#7765) 2021-08-29 13:33:31 +08:00
network hostapd: sync upstream (#8078) 2021-10-20 17:29:38 +08:00
qca shortcut-fe: update to QSDK11.4 HEAD (#7832) 2021-09-09 00:42:58 +08:00
system Revert "procd: update to git HEAD (#7676)" 2021-08-26 16:46:06 +08:00
utils util-linux: update to 2.37 (#7427) 2021-07-19 12:50:07 +00:00
Makefile add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00