Lines Matching refs:search
30 struct wpa_stsl_search *search = ctx; in wpa_stsl_select_sta() local
31 if (os_memcmp(search->addr, sm->addr, ETH_ALEN) == 0) { in wpa_stsl_select_sta()
32 search->sm = sm; in wpa_stsl_select_sta()
75 struct wpa_stsl_search search; in wpa_smk_m1() local
93 search.addr = kde.mac_addr; in wpa_smk_m1()
94 search.sm = NULL; in wpa_smk_m1()
95 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) == in wpa_smk_m1()
96 0 || search.sm == NULL) { in wpa_smk_m1()
121 wpa_auth_logger(wpa_auth, search.sm->addr, LOGGER_DEBUG, in wpa_smk_m1()
124 __wpa_send_eapol(wpa_auth, search.sm, in wpa_smk_m1()
248 struct wpa_stsl_search search; in wpa_smk_m3() local
267 search.addr = kde.mac_addr; in wpa_smk_m3()
268 search.sm = NULL; in wpa_smk_m3()
269 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) == in wpa_smk_m3()
270 0 || search.sm == NULL) { in wpa_smk_m3()
305 wpa_send_smk_m5(wpa_auth, search.sm, key, &kde, smk, sm->addr); in wpa_smk_m3()
318 struct wpa_stsl_search search; in wpa_smk_error() local
334 search.addr = kde.mac_addr; in wpa_smk_error()
335 search.sm = NULL; in wpa_smk_error()
336 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) == in wpa_smk_error()
337 0 || search.sm == NULL) { in wpa_smk_error()
352 wpa_smk_send_error(wpa_auth, search.sm, sm->addr, mui, error_type); in wpa_smk_error()