1 2 #ifndef RRM_H 3 #define RRM_H 4 5 #include "common/defs.h" 6 #include "utils/list.h" 7 #include "esp_wifi_types.h" 8 #define RRM_NEIGHBOR_REPORT_TIMEOUT 1 /* 1 second for AP to send a report */ 9 10 void wpas_rrm_reset(struct wpa_supplicant *wpa_s); 11 void wpas_rrm_process_neighbor_rep(struct wpa_supplicant *wpa_s, 12 const u8 *report, size_t report_len); 13 int wpas_rrm_send_neighbor_rep_request(struct wpa_supplicant *wpa_s, 14 const struct wpa_ssid_value *ssid, 15 int lci, int civic, 16 void (*cb)(void *ctx, 17 const u8 *neighbor_rep, size_t len), 18 void *cb_ctx); 19 void wpas_rrm_handle_radio_measurement_request(struct wpa_supplicant *wpa_s, 20 const u8 *src, const u8 *dst, 21 const u8 *frame, size_t len); 22 void wpas_rrm_handle_link_measurement_request(struct wpa_supplicant *wpa_s, 23 const u8 *src, 24 const u8 *frame, size_t len, 25 int rssi); 26 int wpas_beacon_rep_scan_process(struct wpa_supplicant *wpa_s, 27 u64 scan_start_tsf); 28 void wpas_clear_beacon_rep_data(struct wpa_supplicant *wpa_s); 29 30 #endif 31