Lines Matching defs:sm

180 			  int (*cb)(struct wpa_state_machine *sm, void *ctx),  in wpa_auth_for_each_sta()
315 struct wpa_state_machine *sm = timeout_ctx; in wpa_rekey_ptk() local
323 void wpa_auth_set_ptk_rekey_timer(struct wpa_state_machine *sm) in wpa_auth_set_ptk_rekey_timer()
336 static int wpa_auth_pmksa_clear_cb(struct wpa_state_machine *sm, void *ctx) in wpa_auth_pmksa_clear_cb()
606 struct wpa_state_machine *sm; in wpa_auth_sta_init() local
627 struct wpa_state_machine *sm) in wpa_auth_sta_associated()
674 void wpa_auth_sta_no_wpa(struct wpa_state_machine *sm) in wpa_auth_sta_no_wpa()
686 static void wpa_free_sta_sm(struct wpa_state_machine *sm) in wpa_free_sta_sm()
719 void wpa_auth_sta_deinit(struct wpa_state_machine *sm) in wpa_auth_sta_deinit()
752 static void wpa_request_new_ptk(struct wpa_state_machine *sm) in wpa_request_new_ptk()
793 struct wpa_state_machine *sm, in ft_check_msg_2_of_4()
842 struct wpa_state_machine *sm, int group) in wpa_receive_error_report()
874 static int wpa_try_alt_snonce(struct wpa_state_machine *sm, u8 *data, in wpa_try_alt_snonce()
945 struct wpa_state_machine *sm, in wpa_receive()
1420 struct wpa_state_machine *sm = timeout_ctx; in wpa_send_eapol_timeout() local
1430 struct wpa_state_machine *sm, int key_info, in __wpa_send_eapol()
1646 struct wpa_state_machine *sm, int key_info, in wpa_send_eapol()
1711 void wpa_remove_ptk(struct wpa_state_machine *sm) in wpa_remove_ptk()
1724 int wpa_auth_sm_event(struct wpa_state_machine *sm, enum wpa_event event) in wpa_auth_sm_event()
1980 static int wpa_auth_sm_ptk_update(struct wpa_state_machine *sm) in wpa_auth_sm_ptk_update()
2209 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce, in wpa_derive_ptk()
2248 int fils_auth_pmk_to_ptk(struct wpa_state_machine *sm, const u8 *pmk, in fils_auth_pmk_to_ptk()
2324 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk, in wpa_aead_decrypt()
2379 const u8 * wpa_fils_validate_fils_session(struct wpa_state_machine *sm, in wpa_fils_validate_fils_session()
2433 int wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies, in wpa_fils_validate_key_confirm()
2476 int fils_decrypt_assoc(struct wpa_state_machine *sm, const u8 *fils_session, in fils_decrypt_assoc()
2564 int fils_encrypt_assoc(struct wpa_state_machine *sm, u8 *buf, in fils_encrypt_assoc()
2642 static struct wpabuf * fils_prepare_plainbuf(struct wpa_state_machine *sm, in fils_prepare_plainbuf()
2731 int fils_set_tk(struct wpa_state_machine *sm) in fils_set_tk()
2760 u8 * hostapd_eid_assoc_fils_session(struct wpa_state_machine *sm, u8 *buf, in hostapd_eid_assoc_fils_session()
2793 int get_sta_tx_parameters(struct wpa_state_machine *sm, int ap_max_chanwidth, in get_sta_tx_parameters()
3050 static int ieee80211w_kde_len(struct wpa_state_machine *sm) in ieee80211w_kde_len()
3062 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) in ieee80211w_kde_add()
3098 static int ieee80211w_kde_len(struct wpa_state_machine *sm) in ieee80211w_kde_len()
3104 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) in ieee80211w_kde_add()
3112 static int ocv_oci_len(struct wpa_state_machine *sm) in ocv_oci_len()
3121 static int ocv_oci_add(struct wpa_state_machine *sm, u8 **argpos) in ocv_oci_add()
3789 static int wpa_group_update_sta(struct wpa_state_machine *sm, void *ctx) in wpa_group_update_sta()
3825 void wpa_wnmsleep_rekey_gtk(struct wpa_state_machine *sm) in wpa_wnmsleep_rekey_gtk()
3834 void wpa_set_wnmsleep(struct wpa_state_machine *sm, int flag) in wpa_set_wnmsleep()
3841 int wpa_wnmsleep_gtk_subelem(struct wpa_state_machine *sm, u8 *pos) in wpa_wnmsleep_gtk_subelem()
3873 int wpa_wnmsleep_igtk_subelem(struct wpa_state_machine *sm, u8 *pos) in wpa_wnmsleep_igtk_subelem()
3971 static int wpa_group_disconnect_cb(struct wpa_state_machine *sm, void *ctx) in wpa_group_disconnect_cb()
4033 static int wpa_sm_step(struct wpa_state_machine *sm) in wpa_sm_step()
4076 struct wpa_state_machine *sm = eloop_ctx; in wpa_sm_call_step() local
4081 void wpa_auth_sm_notify(struct wpa_state_machine *sm) in wpa_auth_sm_notify()
4213 int wpa_get_mib_sta(struct wpa_state_machine *sm, char *buf, size_t buflen) in wpa_get_mib_sta()
4276 int wpa_auth_pairwise_set(struct wpa_state_machine *sm) in wpa_auth_pairwise_set()
4282 int wpa_auth_get_pairwise(struct wpa_state_machine *sm) in wpa_auth_get_pairwise()
4288 const u8 * wpa_auth_get_pmk(struct wpa_state_machine *sm, int *len) in wpa_auth_get_pmk()
4297 int wpa_auth_sta_key_mgmt(struct wpa_state_machine *sm) in wpa_auth_sta_key_mgmt()
4305 int wpa_auth_sta_wpa_version(struct wpa_state_machine *sm) in wpa_auth_sta_wpa_version()
4313 int wpa_auth_sta_ft_tk_already_set(struct wpa_state_machine *sm) in wpa_auth_sta_ft_tk_already_set()
4321 int wpa_auth_sta_fils_tk_already_set(struct wpa_state_machine *sm) in wpa_auth_sta_fils_tk_already_set()
4329 int wpa_auth_sta_clear_pmksa(struct wpa_state_machine *sm, in wpa_auth_sta_clear_pmksa()
4340 wpa_auth_sta_get_pmksa(struct wpa_state_machine *sm) in wpa_auth_sta_get_pmksa()
4346 void wpa_auth_sta_local_mic_failure_report(struct wpa_state_machine *sm) in wpa_auth_sta_local_mic_failure_report()
4362 int wpa_auth_pmksa_add(struct wpa_state_machine *sm, const u8 *pmk, in wpa_auth_pmksa_add()
4434 void wpa_auth_add_sae_pmkid(struct wpa_state_machine *sm, const u8 *pmkid) in wpa_auth_add_sae_pmkid()
4553 struct wpa_state_machine *sm, in wpa_auth_pmksa_set_to_sm()
4737 int wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id) in wpa_auth_sta_set_vlan()
4775 struct wpa_state_machine *sm, int ack) in wpa_auth_eapol_key_tx_status()
4812 int wpa_auth_uses_sae(struct wpa_state_machine *sm) in wpa_auth_uses_sae()
4820 int wpa_auth_uses_ft_sae(struct wpa_state_machine *sm) in wpa_auth_uses_ft_sae()
4829 int wpa_auth_get_ip_addr(struct wpa_state_machine *sm, u8 *addr) in wpa_auth_get_ip_addr()
4912 void wpa_auth_get_fils_aead_params(struct wpa_state_machine *sm, in wpa_auth_get_fils_aead_params()
4923 void wpa_auth_add_fils_pmk_pmkid(struct wpa_state_machine *sm, const u8 *pmk, in wpa_auth_add_fils_pmk_pmkid()
4935 void wpa_auth_set_auth_alg(struct wpa_state_machine *sm, u16 auth_alg) in wpa_auth_set_auth_alg()
4943 void wpa_auth_set_dpp_z(struct wpa_state_machine *sm, const struct wpabuf *z) in wpa_auth_set_dpp_z()
4955 int wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, in wpa_auth_resend_m1()
4977 int wpa_auth_resend_m3(struct wpa_state_machine *sm, in wpa_auth_resend_m3()
5152 int wpa_auth_resend_group_m1(struct wpa_state_machine *sm, in wpa_auth_resend_group_m1()