Lines Matching defs:hapd
92 static u8 * hostapd_eid_multi_ap(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_multi_ap()
120 static size_t hostapd_supp_rates(struct hostapd_data *hapd, u8 *buf) in hostapd_supp_rates()
158 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_supp_rates()
180 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_supp_rates()
200 u8 * hostapd_eid_rm_enabled_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_rm_enabled_capab()
221 u16 hostapd_own_capab_info(struct hostapd_data *hapd) in hostapd_own_capab_info()
284 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, in auth_shared_key()
342 static int send_auth_reply(struct hostapd_data *hapd, struct sta_info *sta, in send_auth_reply()
444 struct hostapd_data *hapd = ctx; in handle_auth_ft_finish() local
500 sae_password_find_pw(struct hostapd_data *hapd, struct sta_info *sta) in sae_password_find_pw()
517 static bool is_other_sae_password(struct hostapd_data *hapd, in is_other_sae_password()
543 static bool has_sae_success_seen(struct hostapd_data *hapd, in has_sae_success_seen()
563 static void sae_password_track_success(struct hostapd_data *hapd, in sae_password_track_success()
594 static bool sae_password_track_fail(struct hostapd_data *hapd, in sae_password_track_fail()
627 const char * sae_get_password(struct hostapd_data *hapd, in sae_get_password()
721 static struct wpabuf * auth_build_sae_commit(struct hostapd_data *hapd, in auth_build_sae_commit()
802 static struct wpabuf * auth_build_sae_confirm(struct hostapd_data *hapd, in auth_build_sae_confirm()
827 static int auth_sae_send_commit(struct hostapd_data *hapd, in auth_sae_send_commit()
868 static int auth_sae_send_confirm(struct hostapd_data *hapd, in auth_sae_send_confirm()
893 static int use_anti_clogging(struct hostapd_data *hapd) in use_anti_clogging()
933 static int sae_check_big_sync(struct hostapd_data *hapd, struct sta_info *sta) in sae_check_big_sync()
975 struct hostapd_data *hapd = eloop_ctx; in auth_sae_retransmit_timer() local
1010 void sae_clear_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) in sae_clear_retransmit_timer()
1016 static void sae_set_retransmit_timer(struct hostapd_data *hapd, in sae_set_retransmit_timer()
1028 static void sae_sme_send_external_auth_status(struct hostapd_data *hapd, in sae_sme_send_external_auth_status()
1052 void sae_accept_sta(struct hostapd_data *hapd, struct sta_info *sta) in sae_accept_sta()
1103 static int sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta, in sae_sm_step()
1326 static void sae_pick_next_group(struct hostapd_data *hapd, struct sta_info *sta) in sae_pick_next_group()
1374 static int sae_status_success(struct hostapd_data *hapd, u16 status_code) in sae_status_success()
1408 static int sae_is_group_enabled(struct hostapd_data *hapd, int group) in sae_is_group_enabled()
1432 static int check_sae_rejected_groups(struct hostapd_data *hapd, in check_sae_rejected_groups()
1472 static void handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta, in handle_auth_sae()
1834 int auth_sae_init_committed(struct hostapd_data *hapd, struct sta_info *sta) in auth_sae_init_committed()
1858 struct hostapd_data *hapd = eloop_ctx; in auth_sae_process_commit() local
1881 static void auth_sae_queue(struct hostapd_data *hapd, in auth_sae_queue()
1939 static int auth_sae_queued_addr(struct hostapd_data *hapd, const u8 *addr) in auth_sae_queued_addr()
1997 void handle_auth_fils(struct hostapd_data *hapd, struct sta_info *sta, in handle_auth_fils()
2000 void (*cb)(struct hostapd_data *hapd, in handle_auth_fils()
2241 prepare_auth_resp_fils(struct hostapd_data *hapd, in prepare_auth_resp_fils()
2451 static void handle_auth_fils_finish(struct hostapd_data *hapd, in handle_auth_fils_finish()
2477 void ieee802_11_finish_fils_auth(struct hostapd_data *hapd, in ieee802_11_finish_fils_auth()
2516 static int ieee802_11_allowed_address(struct hostapd_data *hapd, const u8 *addr, in ieee802_11_allowed_address()
2545 int ieee802_11_set_radius_info(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_11_set_radius_info()
2607 static void pasn_fils_auth_resp(struct hostapd_data *hapd, in pasn_fils_auth_resp()
2689 static int pasn_wd_handle_fils(struct hostapd_data *hapd, struct sta_info *sta, in pasn_wd_handle_fils()
2820 struct hostapd_data *hapd = ctx; in hapd_pasn_send_mlme() local
2826 static void hapd_initialize_pasn(struct hostapd_data *hapd, in hapd_initialize_pasn()
2863 static int pasn_set_keys_from_cache(struct hostapd_data *hapd, in pasn_set_keys_from_cache()
2895 static void hapd_pasn_update_params(struct hostapd_data *hapd, in hapd_pasn_update_params()
2984 static void handle_auth_pasn(struct hostapd_data *hapd, struct sta_info *sta, in handle_auth_pasn()
3087 static void handle_auth(struct hostapd_data *hapd, in handle_auth()
3559 static u8 hostapd_max_bssid_indicator(struct hostapd_data *hapd) in hostapd_max_bssid_indicator()
3579 static u32 hostapd_get_aid_word(struct hostapd_data *hapd, in hostapd_get_aid_word()
3615 int hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_get_aid()
3658 static u16 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, in check_ssid()
3677 static u16 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, in check_wmm()
3701 static u16 check_multi_ap(struct hostapd_data *hapd, struct sta_info *sta, in check_multi_ap()
3776 static u16 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, in copy_supp_rates()
3812 static int owe_group_supported(struct hostapd_data *hapd, u16 group) in owe_group_supported()
3832 static u16 owe_process_assoc_req(struct hostapd_data *hapd, in owe_process_assoc_req()
3989 u16 owe_validate_request(struct hostapd_data *hapd, const u8 *peer, in owe_validate_request()
4028 u16 owe_process_rsn_ie(struct hostapd_data *hapd, in owe_process_rsn_ie()
4116 static bool hapd_is_known_sta(struct hostapd_data *hapd, struct sta_info *sta, in hapd_is_known_sta()
4166 static bool check_sa_query(struct hostapd_data *hapd, struct sta_info *sta, in check_sa_query()
4197 static int __check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, in __check_assoc_ies()
4689 static int check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, in check_assoc_ies()
4708 static void ieee80211_ml_build_assoc_resp(struct hostapd_data *hapd, in ieee80211_ml_build_assoc_resp()
4769 static int ieee80211_ml_process_link(struct hostapd_data *hapd, in ieee80211_ml_process_link()
4891 bool hostapd_is_mld_ap(struct hostapd_data *hapd) in hostapd_is_mld_ap()
4906 int hostapd_process_assoc_ml_info(struct hostapd_data *hapd, in hostapd_process_assoc_ml_info()
4962 static void send_deauth(struct hostapd_data *hapd, const u8 *addr, in send_deauth()
4984 static int add_associated_sta(struct hostapd_data *hapd, in add_associated_sta()
5106 static u16 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, in send_assoc_resp()
5442 u8 * owe_assoc_req_process(struct hostapd_data *hapd, struct sta_info *sta, in owe_assoc_req_process()
5504 void fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta) in fils_hlp_finish_assoc()
5537 struct hostapd_data *hapd = eloop_ctx; in fils_hlp_timeout() local
5553 static struct sta_info * handle_mlo_translate(struct hostapd_data *hapd, in handle_mlo_translate()
5594 static void handle_assoc(struct hostapd_data *hapd, in handle_assoc()
6038 static void hostapd_deauth_sta(struct hostapd_data *hapd, in hostapd_deauth_sta()
6062 static void hostapd_disassoc_sta(struct hostapd_data *hapd, in hostapd_disassoc_sta()
6113 static bool hostapd_ml_handle_disconnect(struct hostapd_data *hapd, in hostapd_ml_handle_disconnect()
6169 static void handle_disassoc(struct hostapd_data *hapd, in handle_disassoc()
6196 static void handle_deauth(struct hostapd_data *hapd, in handle_deauth()
6226 static void handle_beacon(struct hostapd_data *hapd, in handle_beacon()
6247 static int hostapd_action_vs(struct hostapd_data *hapd, in hostapd_action_vs()
6295 static int handle_action(struct hostapd_data *hapd, in handle_action()
6521 static void notify_mgmt_frame(struct hostapd_data *hapd, const u8 *buf, in notify_mgmt_frame()
6550 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, in ieee802_11_mgmt()
6693 static void handle_auth_cb(struct hostapd_data *hapd, in handle_auth_cb()
6753 static void hostapd_set_wds_encryption(struct hostapd_data *hapd, in hostapd_set_wds_encryption()
6783 static void ieee80211_ml_link_sta_assoc_cb(struct hostapd_data *hapd, in ieee80211_ml_link_sta_assoc_cb()
6827 static void hostapd_ml_handle_assoc_cb(struct hostapd_data *hapd, in hostapd_ml_handle_assoc_cb()
6864 static void handle_assoc_cb(struct hostapd_data *hapd, in handle_assoc_cb()
7037 static void handle_deauth_cb(struct hostapd_data *hapd, in handle_deauth_cb()
7061 static void handle_disassoc_cb(struct hostapd_data *hapd, in handle_disassoc_cb()
7085 static void handle_action_cb(struct hostapd_data *hapd, in handle_action_cb()
7170 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, in ieee802_11_mgmt_cb()
7227 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) in ieee802_11_get_mib()
7234 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_11_get_mib_sta()
7242 void hostapd_tx_status(struct hostapd_data *hapd, const u8 *addr, in hostapd_tx_status()
7272 void hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr) in hostapd_client_poll_ok()
7300 void ieee802_11_rx_from_unknown(struct hostapd_data *hapd, const u8 *src, in ieee802_11_rx_from_unknown()
7399 u8 * hostapd_eid_txpower_envelope(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_txpower_envelope()
7553 static u8 * hostapd_eid_wb_channel_switch(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_wb_channel_switch()
7619 static u8 * hostapd_eid_bw_indication(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_bw_indication()
7687 u8 * hostapd_eid_chsw_wrapper(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_chsw_wrapper()
7728 static size_t hostapd_eid_nr_db_len(struct hostapd_data *hapd, in hostapd_eid_nr_db_len()
7799 hostapd_eid_rnr_iface_len(struct hostapd_data *hapd, in hostapd_eid_rnr_iface_len()
7901 static enum colocation_mode get_colocation_mode(struct hostapd_data *hapd) in get_colocation_mode()
7934 static size_t hostapd_eid_rnr_colocation_len(struct hostapd_data *hapd, in hostapd_eid_rnr_colocation_len()
7960 static size_t hostapd_eid_rnr_mlo_len(struct hostapd_data *hapd, u32 type, in hostapd_eid_rnr_mlo_len()
7991 size_t hostapd_eid_rnr_len(struct hostapd_data *hapd, u32 type, in hostapd_eid_rnr_len()
8033 static u8 * hostapd_eid_nr_db(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_nr_db()
8088 static bool hostapd_eid_rnr_bss(struct hostapd_data *hapd, in hostapd_eid_rnr_bss()
8185 static u8 * hostapd_eid_rnr_iface(struct hostapd_data *hapd, in hostapd_eid_rnr_iface()
8259 static u8 * hostapd_eid_rnr_colocation(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_rnr_colocation()
8284 static u8 * hostapd_eid_rnr_mlo(struct hostapd_data *hapd, u32 type, in hostapd_eid_rnr_mlo()
8314 u8 * hostapd_eid_rnr(struct hostapd_data *hapd, u8 *eid, u32 type, in hostapd_eid_rnr()
8390 static size_t hostapd_eid_mbssid_elem_len(struct hostapd_data *hapd, in hostapd_eid_mbssid_elem_len()
8476 size_t hostapd_eid_mbssid_len(struct hostapd_data *hapd, u32 frame_type, in hostapd_eid_mbssid_len()
8529 static u8 * hostapd_eid_mbssid_elem(struct hostapd_data *hapd, u8 *eid, u8 *end, in hostapd_eid_mbssid_elem()
8654 u8 * hostapd_eid_mbssid(struct hostapd_data *hapd, u8 *eid, u8 *end, in hostapd_eid_mbssid()