wpas_rrm_send_neighbor_rep_request() function
wpas_rrm_send_neighbor_rep_request - Request a neighbor report from our AP @wpa_s: Pointer to wpa_supplicant @ssid: if not null, this is sent in the request. Otherwise, no SSID IE is sent in the request. @lci: if set, neighbor request will include LCI request @civic: if set, neighbor request will include civic location request @cb: Callback function to be called once the requested report arrives, or timed out after RRM_NEIGHBOR_REPORT_TIMEOUT seconds. In the former case, 'neighbor_rep' is a newly allocated wpabuf, and it's the requester's responsibility to free it. In the latter case NULL will be sent in 'neighbor_rep'. @cb_ctx: Context value to send the callback function Returns: 0 in case of success, negative error code otherwise In case there is a previous request which has not been answered yet, the new request fails. The caller may retry after RRM_NEIGHBOR_REPORT_TIMEOUT. Request must contain a callback function.
![]()
return wpas_rrm_send_neighbor_rep_request(wpa_s, &wpa_ssid, 0, 0, cb, cb_ctx);![]()
return wpas_rrm_send_neighbor_rep_request(wpa_s, &wpa_ssid, 0, 0, neighbor_report_recvd_cb, NULL);
wpas_rrm_send_neighbor_rep_request() is called by 2 functions and calls 9 functions:
![]()
wpas_rrm_send_neighbor_rep_request()
wpas_rrm_send_neighbor_rep_request() reads 11 variables and writes 3 variables:
![]()
wpas_rrm_send_neighbor_rep_request()