Lines Matching refs:rrm
6072 struct rrm_data *rrm = data;
6074 if (!rrm->notify_neighbor_rep) {
6076 "RRM: Unexpected neighbor report timeout");
6080 wpa_printf(MSG_DEBUG, "RRM: Notifying neighbor report - NONE");
6081 rrm->notify_neighbor_rep(rrm->neighbor_rep_cb_ctx, NULL);
6083 rrm->notify_neighbor_rep = NULL;
6084 rrm->neighbor_rep_cb_ctx = NULL;
6089 * wpas_rrm_reset - Clear and reset all RRM data in wpa_supplicant
6094 wpa_s->rrm.rrm_used = 0;
6096 eloop_cancel_timeout(wpas_rrm_neighbor_rep_timeout_handler, &wpa_s->rrm,
6098 if (wpa_s->rrm.notify_neighbor_rep)
6099 wpas_rrm_neighbor_rep_timeout_handler(&wpa_s->rrm, NULL);
6100 wpa_s->rrm.next_neighbor_rep_token = 1;
6115 wpa_hexdump(MSG_DEBUG, "RRM: New Neighbor Report", report, report_len);
6119 if (report[0] != wpa_s->rrm.next_neighbor_rep_token - 1) {
6121 "RRM: Discarding neighbor report with token %d (expected %d)",
6122 report[0], wpa_s->rrm.next_neighbor_rep_token - 1);
6126 eloop_cancel_timeout(wpas_rrm_neighbor_rep_timeout_handler, &wpa_s->rrm,
6129 if (!wpa_s->rrm.notify_neighbor_rep) {
6130 wpa_printf(MSG_ERROR, "RRM: Unexpected neighbor report");
6139 wpa_printf(MSG_DEBUG, "RRM: Notifying neighbor report (token = %d)",
6141 wpa_s->rrm.notify_neighbor_rep(wpa_s->rrm.neighbor_rep_cb_ctx,
6143 wpa_s->rrm.notify_neighbor_rep = NULL;
6144 wpa_s->rrm.neighbor_rep_cb_ctx = NULL;
6182 wpa_printf(MSG_DEBUG, "RRM: No connection, no RRM.");
6186 if (!wpa_s->rrm.rrm_used) {
6187 wpa_printf(MSG_DEBUG, "RRM: No RRM in current connection.");
6196 "RRM: No network support for Neighbor Report.");
6202 "RRM: Neighbor Report request must provide a callback.");
6207 if (wpa_s->rrm.notify_neighbor_rep) {
6209 "RRM: Currently handling previous Neighbor Report.");
6217 "RRM: Failed to allocate Neighbor Report Request");
6221 wpa_printf(MSG_DEBUG, "RRM: Neighbor report request (for %s), token=%d",
6223 wpa_s->rrm.next_neighbor_rep_token);
6227 wpabuf_put_u8(buf, wpa_s->rrm.next_neighbor_rep_token);
6234 wpa_s->rrm.next_neighbor_rep_token++;
6240 "RRM: Failed to send Neighbor Report Request");
6245 wpa_s->rrm.neighbor_rep_cb_ctx = cb_ctx;
6246 wpa_s->rrm.notify_neighbor_rep = cb;
6249 &wpa_s->rrm, NULL);
6267 "RRM: Ignoring link measurement request. Not associated");
6271 if (!wpa_s->rrm.rrm_used) {
6273 "RRM: Ignoring link measurement request. Not RRM network");
6279 "RRM: Measurement report failed. TX power insertion not supported");
6286 "RRM: Link measurement report failed. Request too short");
6315 "RRM: Link measurement report failed. Buffer allocation failed");
6322 wpa_hexdump(MSG_DEBUG, "RRM: Link measurement report:",
6329 "RRM: Link measurement report failed. Send action failed");