Home
last modified time | relevance | path

Searched refs:wpa_s (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_supplicant.c123 struct wpa_supplicant *wpa_s = eloop_ctx; in wpa_supplicant_scan() local
126 if (wpa_s->conf == NULL) in wpa_supplicant_scan()
129 if (wpa_s->wpa_state == WPA_DISCONNECTED) in wpa_supplicant_scan()
130 wpa_s->wpa_state = WPA_SCANNING; in wpa_supplicant_scan()
132 ssid = wpa_s->conf->ssid; in wpa_supplicant_scan()
140 if (wpa_s->driver->scan(wpa_s->handle, wpa_s->linkid)) { in wpa_supplicant_scan()
146 wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec) in wpa_supplicant_req_scan() argument
150 (void) eloop_cancel_timeout(wpa_supplicant_scan, wpa_s, NULL); in wpa_supplicant_req_scan()
152 wpa_s, NULL); in wpa_supplicant_req_scan()
156 wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s) in wpa_supplicant_cancel_scan() argument
[all …]
H A Dwpa.c213 pmksa_cache_free_entry(struct wpa_supplicant *wpa_s, in pmksa_cache_free_entry() argument
216 wpa_s->pmksa_count--; in pmksa_cache_free_entry()
217 if (wpa_s->cur_pmksa == entry) { in pmksa_cache_free_entry()
219 wpa_s->cur_pmksa = NULL; in pmksa_cache_free_entry()
228 struct wpa_supplicant *wpa_s = eloop_ctx; in pmksa_cache_expire() local
232 while (wpa_s->pmksa && wpa_s->pmksa->expiration <= now) { in pmksa_cache_expire()
233 struct rsn_pmksa_cache *entry = wpa_s->pmksa; in pmksa_cache_expire()
234 wpa_s->pmksa = entry->next; in pmksa_cache_expire()
237 pmksa_cache_free_entry(wpa_s, entry); in pmksa_cache_expire()
240 pmksa_cache_set_expiration(wpa_s); in pmksa_cache_expire()
[all …]