| /trueos/contrib/wpa/src/ap/ |
| HD | wpa_auth.c | 37 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth, 40 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth, 42 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, 58 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report() argument 60 if (wpa_auth->cb.mic_failure_report) in wpa_auth_mic_failure_report() 61 return wpa_auth->cb.mic_failure_report(wpa_auth->cb.ctx, addr); in wpa_auth_mic_failure_report() 66 static inline void wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, in wpa_auth_set_eapol() argument 70 if (wpa_auth->cb.set_eapol) in wpa_auth_set_eapol() 71 wpa_auth->cb.set_eapol(wpa_auth->cb.ctx, addr, var, value); in wpa_auth_set_eapol() 75 static inline int wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, in wpa_auth_get_eapol() argument [all …]
|
| HD | wpa_auth_ft.c | 25 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, in wpa_ft_rrb_send() argument 28 if (wpa_auth->cb.send_ether == NULL) in wpa_ft_rrb_send() 31 return wpa_auth->cb.send_ether(wpa_auth->cb.ctx, dst, ETH_P_RRB, in wpa_ft_rrb_send() 36 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, in wpa_ft_action_send() argument 39 if (wpa_auth->cb.send_ft_action == NULL) in wpa_ft_action_send() 41 return wpa_auth->cb.send_ft_action(wpa_auth->cb.ctx, dst, in wpa_ft_action_send() 47 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument 49 if (wpa_auth->cb.add_sta == NULL) in wpa_ft_add_sta() 51 return wpa_auth->cb.add_sta(wpa_auth->cb.ctx, sta_addr); in wpa_ft_add_sta() 55 static int wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth, in wpa_ft_add_tspec() argument [all …]
|
| HD | peerkey_auth.c | 25 struct wpa_authenticator *wpa_auth = eloop_ctx; in wpa_stsl_step() 50 static void wpa_smk_send_error(struct wpa_authenticator *wpa_auth, in wpa_smk_send_error() argument 59 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG, in wpa_smk_send_error() 74 __wpa_send_eapol(wpa_auth, sm, in wpa_smk_send_error() 81 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, in wpa_smk_m1() argument 106 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) == in wpa_smk_m1() 111 wpa_smk_send_error(wpa_auth, sm, kde.mac_addr, STK_MUI_SMK, in wpa_smk_m1() 133 wpa_auth_logger(wpa_auth, search.sm->addr, LOGGER_DEBUG, in wpa_smk_m1() 136 __wpa_send_eapol(wpa_auth, search.sm, in wpa_smk_m1() 145 static void wpa_send_smk_m4(struct wpa_authenticator *wpa_auth, in wpa_send_smk_m4() argument [all …]
|
| HD | wpa_auth_ie.c | 298 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument 305 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) { in wpa_auth_gen_wpa_ie() 306 res = wpa_write_rsn_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie() 313 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) { in wpa_auth_gen_wpa_ie() 314 res = wpa_write_mdie(&wpa_auth->conf, pos, in wpa_auth_gen_wpa_ie() 321 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) { in wpa_auth_gen_wpa_ie() 322 res = wpa_write_wpa_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie() 329 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie() 330 wpa_auth->wpa_ie = os_malloc(pos - buf); in wpa_auth_gen_wpa_ie() 331 if (wpa_auth->wpa_ie == NULL) in wpa_auth_gen_wpa_ie() [all …]
|
| HD | wpa_auth.h | 209 int wpa_init_keys(struct wpa_authenticator *wpa_auth); 210 void wpa_deinit(struct wpa_authenticator *wpa_auth); 211 int wpa_reconfig(struct wpa_authenticator *wpa_auth, 221 int wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, 227 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr); 228 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, 232 void wpa_receive(struct wpa_authenticator *wpa_auth, 242 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth); 243 int wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen); 245 void wpa_auth_countermeasures_start(struct wpa_authenticator *wpa_auth); [all …]
|
| HD | wpa_auth_i.h | 25 struct wpa_authenticator *wpa_auth; member 191 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, 193 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, 195 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth, 200 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, 203 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, 208 int wpa_stsl_remove(struct wpa_authenticator *wpa_auth, 210 void wpa_smk_error(struct wpa_authenticator *wpa_auth, 212 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, 214 void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
|
| HD | wpa_auth_glue.c | 300 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 301 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 351 wpa_ft_rrb_rx(hapd->wpa_auth, in hostapd_wpa_auth_ft_iter() 458 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr); in hostapd_wpa_auth_add_sta() 479 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 526 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb); in hostapd_setup_wpa() 527 if (hapd->wpa_auth == NULL) { in hostapd_setup_wpa() 538 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_setup_wpa() 576 wpa_reconfig(hapd->wpa_auth, &wpa_auth_conf); in hostapd_reconfig_wpa() 584 if (hapd->wpa_auth) { in hostapd_deinit_wpa() [all …]
|
| HD | tkip_countermeasures.c | 41 wpa_auth_countermeasures_start(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start() 44 wpa_gtk_rekey(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start()
|
| HD | hostapd.c | 78 if (hapd->conf->wpa && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 80 if (hapd->wpa_auth) in hostapd_reload_bss() 81 wpa_init_keys(hapd->wpa_auth); in hostapd_reload_bss() 86 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_reload_bss() 90 } else if (hapd->wpa_auth) { in hostapd_reload_bss() 91 wpa_deinit(hapd->wpa_auth); in hostapd_reload_bss() 92 hapd->wpa_auth = NULL; in hostapd_reload_bss() 795 if (hapd->wpa_auth && wpa_init_keys(hapd->wpa_auth) < 0) in hostapd_setup_bss() 1394 wpa_auth_sta_associated(hapd->wpa_auth, sta->wpa_sm); in hostapd_new_assoc_sta()
|
| HD | wpa_auth_ie.h | 48 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
|
| HD | drv_callbacks.c | 156 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 163 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 462 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 465 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 732 wpa_ft_rrb_rx(hapd->wpa_auth, data->ft_rrb_rx.src, in wpa_supplicant_event()
|
| HD | hostapd.h | 110 struct wpa_authenticator *wpa_auth; member
|
| HD | preauth_auth.c | 208 if (wpa_auth_pmksa_add_preauth(hapd->wpa_auth, key, len, in rsn_preauth_finished()
|
| HD | ieee802_11.c | 629 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 872 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() 879 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in check_assoc_ies()
|
| HD | beacon.c | 181 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa()
|
| HD | ieee802_1x.c | 810 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive() 1943 wpa_auth_eapol_key_tx_status(hapd->wpa_auth, in ieee802_1x_eapol_tx_status()
|
| /trueos/usr.sbin/wpa/hostapd/ |
| HD | Makefile | 20 wpa_auth.c wpa_auth_glue.c wpa_auth_ie.c wpa_common.c wpa_debug.c \
|
| /trueos/contrib/wpa/hostapd/ |
| HD | ctrl_iface.c | 863 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive()
|