Home | History | Annotate | Download | only in rsn_supp

Lines Matching defs:candidate

41  * pmksa_candidate_free - Free all entries in PMKSA candidate list
287 * Go through the PMKSA candidates and start pre-authentication if a candidate
293 struct rsn_pmksa_candidate *candidate, *n;
298 /* TODO: drop priority for old candidate entries */
300 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
312 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates,
315 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL);
316 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
319 "candidate " MACSTR
321 MAC2STR(candidate->bssid));
322 dl_list_del(&candidate->list);
323 rsn_preauth_init(sm, candidate->bssid,
325 os_free(candidate);
328 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: PMKSA candidate "
330 MAC2STR(candidate->bssid));
334 wpa_sm_add_pmkid(sm, candidate->bssid, p->pmkid);
337 dl_list_del(&candidate->list);
338 os_free(candidate);
346 * pmksa_candidate_add - Add a new PMKSA candidate
348 * @bssid: BSSID (authenticator address) of the candidate
350 * @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
394 /* Add candidate to the list; order by increasing priority value. i.e.,
408 "candidate " MACSTR " prio %d", MAC2STR(bssid), prio);
444 * candidate list.