aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-03-31 22:39:04 +0200
committerDavid Bauer <mail@david-bauer.net>2022-04-27 11:37:39 +0200
commite2030fcfa7494bbc8696f5759838b668a485d922 (patch)
tree52bc4675c676bfdeb36ff0d36dcc7a23953448eb /package/network/services/hostapd/patches
parent1a2940f68e8eec3418034c481f4c53bdf5da8afc (diff)
downloadupstream-e2030fcfa7494bbc8696f5759838b668a485d922.tar.gz
upstream-e2030fcfa7494bbc8696f5759838b668a485d922.tar.bz2
upstream-e2030fcfa7494bbc8696f5759838b668a485d922.zip
hostapd: add ubus link-measurements notifications
Notify external ubus subscribers of received link-measurement reports. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit f6445cfa1acb32676723c49da3e3158b64a4b3d2)
Diffstat (limited to 'package/network/services/hostapd/patches')
-rw-r--r--package/network/services/hostapd/patches/600-ubus_support.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch
index eaf1e420ad..ddcd926fad 100644
--- a/package/network/services/hostapd/patches/600-ubus_support.patch
+++ b/package/network/services/hostapd/patches/600-ubus_support.patch
@@ -424,6 +424,16 @@
}
+@@ -352,6 +355,9 @@ void hostapd_handle_radio_measurement(st
+ mgmt->u.action.u.rrm.action, MAC2STR(mgmt->sa));
+
+ switch (mgmt->u.action.u.rrm.action) {
++ case WLAN_RRM_LINK_MEASUREMENT_REPORT:
++ hostapd_ubus_handle_link_measurement(hapd, buf, len);
++ break;
+ case WLAN_RRM_RADIO_MEASUREMENT_REPORT:
+ hostapd_handle_radio_msmt_report(hapd, buf, len);
+ break;
--- a/src/ap/wnm_ap.c
+++ b/src/ap/wnm_ap.c
@@ -463,7 +463,7 @@ static void ieee802_11_rx_bss_trans_mgmt