Lines Matching defs:sm

280 static inline void wpa_sm_set_ssid(struct wpa_sm *sm, const u8 *ssid, size_t ssid_len)  in wpa_sm_set_ssid()
289 static inline void wpa_sm_deinit(struct wpa_sm *sm) in wpa_sm_deinit()
293 static inline void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) in wpa_sm_notify_assoc()
297 static inline void wpa_sm_notify_disassoc(struct wpa_sm *sm) in wpa_sm_notify_disassoc()
301 static inline void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, in wpa_sm_set_pmk()
307 static inline void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) in wpa_sm_set_pmk_from_pmksa()
311 static inline void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) in wpa_sm_set_fast_reauth()
315 static inline void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) in wpa_sm_set_scard_ctx()
319 static inline void wpa_sm_set_config(struct wpa_sm *sm, in wpa_sm_set_config()
324 static inline void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) in wpa_sm_set_own_addr()
328 static inline void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, in wpa_sm_set_ifname()
333 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
337 static inline int wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_assoc_wpa_ie()
343 static inline int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, in wpa_sm_set_assoc_wpa_ie_default()
350 static inline int wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_wpa_ie()
356 static inline int wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_rsn_ie()
362 static inline int wpa_sm_set_ap_rsnxe(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_rsnxe()
368 static inline int wpa_sm_set_assoc_rsnxe_default(struct wpa_sm *sm, u8 *rsnxe, in wpa_sm_set_assoc_rsnxe_default()
375 static inline int wpa_sm_set_assoc_rsnxe(struct wpa_sm *sm, const u8 *rsnxe, in wpa_sm_set_assoc_rsnxe()
381 static inline int wpa_sm_set_ap_rsne_override(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_rsne_override()
387 static inline int wpa_sm_set_ap_rsne_override_2(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_rsne_override_2()
393 static inline int wpa_sm_set_ap_rsnxe_override(struct wpa_sm *sm, const u8 *ie, in wpa_sm_set_ap_rsnxe_override()
399 static inline int wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) in wpa_sm_get_mib()
404 static inline int wpa_sm_set_param(struct wpa_sm *sm, in wpa_sm_set_param()
411 static inline int wpa_sm_get_status(struct wpa_sm *sm, char *buf, in wpa_sm_get_status()
417 static inline int wpa_sm_pmf_enabled(struct wpa_sm *sm) in wpa_sm_pmf_enabled()
422 static inline int wpa_sm_ext_key_id(struct wpa_sm *sm) in wpa_sm_ext_key_id()
427 static inline int wpa_sm_ext_key_id_active(struct wpa_sm *sm) in wpa_sm_ext_key_id_active()
432 static inline int wpa_sm_ocv_enabled(struct wpa_sm *sm) in wpa_sm_ocv_enabled()
437 static inline void wpa_sm_key_request(struct wpa_sm *sm, int error, in wpa_sm_key_request()
448 static inline void wpa_sm_aborted_cached(struct wpa_sm *sm) in wpa_sm_aborted_cached()
452 static inline void wpa_sm_aborted_external_cached(struct wpa_sm *sm) in wpa_sm_aborted_external_cached()
456 static inline int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol()
463 static inline int wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, in wpa_sm_parse_own_wpa_ie()
469 static inline int wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, in wpa_sm_pmksa_cache_list()
475 static inline void wpa_sm_drop_sa(struct wpa_sm *sm) in wpa_sm_drop_sa()
480 wpa_sm_pmksa_cache_get(struct wpa_sm *sm, const u8 *aa, const u8 *pmkid, in wpa_sm_pmksa_cache_get()
486 static inline int wpa_sm_has_ptk(struct wpa_sm *sm) in wpa_sm_has_ptk()
491 static inline void wpa_sm_update_replay_ctr(struct wpa_sm *sm, in wpa_sm_update_replay_ctr()
496 static inline void wpa_sm_external_pmksa_cache_flush(struct wpa_sm *sm, in wpa_sm_external_pmksa_cache_flush()
501 static inline void wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, in wpa_sm_pmksa_cache_flush()
506 static inline void wpa_sm_set_rx_replay_ctr(struct wpa_sm *sm, in wpa_sm_set_rx_replay_ctr()
511 static inline void wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck, in wpa_sm_set_ptk_kck_kek()
517 static inline int wpa_fils_is_completed(struct wpa_sm *sm) in wpa_fils_is_completed()
522 static inline void wpa_sm_pmksa_cache_reconfig(struct wpa_sm *sm) in wpa_sm_pmksa_cache_reconfig()
526 static inline int wpa_sm_set_mlo_params(struct wpa_sm *sm, in wpa_sm_set_mlo_params()
561 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params()
566 static inline int wpa_ft_prepare_auth_request(struct wpa_sm *sm, in wpa_ft_prepare_auth_request()
572 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie()
579 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response()
585 static inline int wpa_ft_is_completed(struct wpa_sm *sm) in wpa_ft_is_completed()
590 static inline void wpa_reset_ft_completed(struct wpa_sm *sm) in wpa_reset_ft_completed()
595 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp()
604 wpa_pasn_ft_derive_pmk_r1(struct wpa_sm *sm, int akmp, const u8 *r1kh_id, in wpa_pasn_ft_derive_pmk_r1()