hostapd: add ubus link-measurements notifications
[openwrt/staging/chunkeey.git] / package / network / services / hostapd / patches / 600-ubus_support.patch
index 6a0acbb31893e5d2cb92e3e6bb96c41606a6536e..4abb6887f68d593594de165a2b55540112c90fc7 100644 (file)
  }
  
  
+@@ -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 @@