Lines Matching defs:candidate
34 * pmksa_candidate_free - Free all entries in PMKSA candidate list
307 * Go through the PMKSA candidates and start pre-authentication if a candidate
313 struct rsn_pmksa_candidate *candidate, *n;
318 /* TODO: drop priority for old candidate entries */
320 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
331 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates,
334 p = pmksa_cache_get(sm->pmksa, candidate->bssid, sm->own_addr,
336 if (!ether_addr_equal(sm->bssid, candidate->bssid) &&
339 "candidate " MACSTR
341 MAC2STR(candidate->bssid));
342 dl_list_del(&candidate->list);
343 rsn_preauth_init(sm, candidate->bssid,
345 os_free(candidate);
348 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: PMKSA candidate "
350 MAC2STR(candidate->bssid));
354 wpa_sm_add_pmkid(sm, NULL, candidate->bssid, p->pmkid,
359 dl_list_del(&candidate->list);
360 os_free(candidate);
368 * pmksa_candidate_add - Add a new PMKSA candidate
370 * @bssid: BSSID (authenticator address) of the candidate
372 * @preauth: Whether the candidate AP advertises support for pre-authentication
388 wpa_printf(MSG_DEBUG, "RSN: Ignored PMKID candidate without "
393 /* If BSSID already on candidate list, update the priority of the old
416 /* Add candidate to the list; order by increasing priority value. i.e.,
442 "candidate " MACSTR " prio %d", MAC2STR(bssid), prio);
478 * candidate list.