diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-05-18 16:08:59 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-05-26 11:48:14 +0200 |
commit | 753a91d1d122434a75e12d2e16568b6dba6bf034 (patch) | |
tree | 5cf0aa03e2668f6abbba92db00b10629ddb6a329 /package/network/services/hostapd/src/src/ap/ubus.h | |
parent | 8e2ca15726bcfcf43051c3a2f7e2f96a51f0f001 (diff) | |
download | upstream-753a91d1d122434a75e12d2e16568b6dba6bf034.tar.gz upstream-753a91d1d122434a75e12d2e16568b6dba6bf034.tar.bz2 upstream-753a91d1d122434a75e12d2e16568b6dba6bf034.zip |
hostapd: report radar detected events via ubus
Events are reported on all BSS interfaces
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/src/src/ap/ubus.h')
-rw-r--r-- | package/network/services/hostapd/src/src/ap/ubus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/network/services/hostapd/src/src/ap/ubus.h b/package/network/services/hostapd/src/src/ap/ubus.h index f746c86e4f..acdac74360 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.h +++ b/package/network/services/hostapd/src/src/ap/ubus.h @@ -52,6 +52,8 @@ void hostapd_ubus_notify_beacon_report(struct hostapd_data *hapd, const u8 *addr, u8 token, u8 rep_mode, struct rrm_measurement_beacon_report *rep, size_t len); +void hostapd_ubus_notify_radar_detected(struct hostapd_iface *iface, int frequency, + int chan_width, int cf1, int cf2); void hostapd_ubus_add(struct hapd_interfaces *interfaces); void hostapd_ubus_free(struct hapd_interfaces *interfaces); @@ -100,6 +102,10 @@ static inline void hostapd_ubus_notify_beacon_report(struct hostapd_data *hapd, size_t len) { } +static inline void hostapd_ubus_notify_radar_detected(struct hostapd_iface *iface, int frequency, + int chan_width, int cf1, int cf2) +{ +} static inline void hostapd_ubus_add(struct hapd_interfaces *interfaces) { |