diff options
author | David Bauer <mail@david-bauer.net> | 2022-03-31 22:39:04 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2022-04-17 01:16:58 +0200 |
commit | 75b83e94a395fedeb4d308f42013a72c6fee2df4 (patch) | |
tree | d944f6942016118de9fb7adeed34254929c10eb6 /package/network/services/hostapd/patches | |
parent | fd20720c7125040b090a81d19411ee366d611e98 (diff) | |
download | upstream-75b83e94a395fedeb4d308f42013a72c6fee2df4.tar.gz upstream-75b83e94a395fedeb4d308f42013a72c6fee2df4.tar.bz2 upstream-75b83e94a395fedeb4d308f42013a72c6fee2df4.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.patch | 10 |
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 6a0acbb318..4abb6887f6 100644 --- a/package/network/services/hostapd/patches/600-ubus_support.patch +++ b/package/network/services/hostapd/patches/600-ubus_support.patch @@ -423,6 +423,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/vlan_init.c +++ b/src/ap/vlan_init.c @@ -22,6 +22,7 @@ |