Lines Matching refs:candidate
40 * pmksa_candidate_free - Free all entries in PMKSA candidate list
290 * Go through the PMKSA candidates and start pre-authentication if a candidate
296 struct rsn_pmksa_candidate *candidate;
301 /* TODO: drop priority for old candidate entries */
303 wpa_msg(sm->ctx->ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
316 candidate = sm->pmksa_candidates;
317 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL);
318 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
321 "candidate " MACSTR
323 MAC2STR(candidate->bssid));
324 sm->pmksa_candidates = candidate->next;
325 rsn_preauth_init(sm, candidate->bssid, sm->cur_ssid);
326 os_free(candidate);
329 wpa_msg(sm->ctx->ctx, MSG_DEBUG, "RSN: PMKSA candidate "
331 MAC2STR(candidate->bssid));
335 wpa_sm_add_pmkid(sm, candidate->bssid, p->pmkid);
338 sm->pmksa_candidates = candidate->next;
339 os_free(candidate);
347 * pmksa_candidate_add - Add a new PMKSA candidate
349 * @bssid: BSSID (authenticator address) of the candidate
351 * @preauth: Whether the candidate AP advertises support for pre-authentication
366 wpa_printf(MSG_DEBUG, "RSN: Ignored PMKID candidate without "
371 /* If BSSID already on candidate list, update the priority of the old
398 /* Add candidate to the list; order by increasing priority value. i.e.,
415 "candidate " MACSTR " prio %d", MAC2STR(bssid), prio);
429 * (Authenticators) into PMKSA candidate list.