Home | History | Annotate | Download | only in rsn_supp

Lines Matching defs:candidate

34  * pmksa_candidate_free - Free all entries in PMKSA candidate list
280 * Go through the PMKSA candidates and start pre-authentication if a candidate
286 struct rsn_pmksa_candidate *candidate, *n;
291 /* TODO: drop priority for old candidate entries */
293 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: processing PMKSA candidate "
305 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates,
308 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL);
309 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
312 "candidate " MACSTR
314 MAC2STR(candidate->bssid));
315 dl_list_del(&candidate->list);
316 rsn_preauth_init(sm, candidate->bssid,
318 os_free(candidate);
321 wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: PMKSA candidate "
323 MAC2STR(candidate->bssid));
327 wpa_sm_add_pmkid(sm, candidate->bssid, p->pmkid);
330 dl_list_del(&candidate->list);
331 os_free(candidate);
339 * pmksa_candidate_add - Add a new PMKSA candidate
341 * @bssid: BSSID (authenticator address) of the candidate
343 * @preauth: Whether the candidate AP advertises support for pre-authentication
359 wpa_printf(MSG_DEBUG, "RSN: Ignored PMKID candidate without "
364 /* If BSSID already on candidate list, update the priority of the old
387 /* Add candidate to the list; order by increasing priority value. i.e.,
401 "candidate " MACSTR " prio %d", MAC2STR(bssid), prio);
437 * candidate list.