| /freebsd-14.2/contrib/wpa/src/ap/ |
| H A D | ap_drv_ops.h | 201 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove() 326 if (!hapd->driver || !hapd->driver->switch_color || !hapd->drv_priv) in hostapd_drv_switch_color() 336 if (!hapd->driver || !hapd->driver->status || !hapd->drv_priv) in hostapd_drv_status() 398 if (!hapd->driver || !hapd->driver->stop_ap || !hapd->drv_priv) in hostapd_drv_stop_ap() 419 if (!hapd->driver || !hapd->drv_priv || in hostapd_drv_send_external_auth_status() 428 if (!hapd->driver || !hapd->drv_priv || !hapd->driver->set_band) in hostapd_drv_set_band() 449 if (!hapd->driver || !hapd->drv_priv || !hapd->driver->register_frame) in hostapd_drv_register_frame() 461 if (!hapd->driver || !hapd->drv_priv || !hapd->driver->link_add) in hostapd_drv_link_add() 464 return hapd->driver->link_add(hapd->drv_priv, link_id, addr, hapd); in hostapd_drv_link_add() 471 if (!hapd->conf->mld_ap || !hapd->driver || !hapd->drv_priv || in hostapd_drv_link_sta_remove() [all …]
|
| H A D | ap_drv_ops.c | 458 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_assoc() 583 if (!hapd->driver || !hapd->drv_priv || !hapd->driver->link_remove) in hostapd_if_link_remove() 636 if (hapd->conf && hapd->conf->mld_ap) in hostapd_flush() 704 if (!hapd->driver || !hapd->drv_priv || !hapd->driver->sta_set_flags) in hostapd_sta_set_flags() 857 if (!hapd->driver || !hapd->driver->send_mlme || !hapd->drv_priv) in hostapd_drv_send_mlme() 881 if (!hapd->driver || !hapd->driver->sta_deauth || !hapd->drv_priv) in hostapd_drv_sta_deauth() 902 if (!hapd->driver || !hapd->driver->sta_disassoc || !hapd->drv_priv) in hostapd_drv_sta_disassoc() 930 if (!hapd->driver || !hapd->driver->send_action || !hapd->drv_priv) in hapd_drv_send_action() 1037 if (!hapd->driver || !hapd->driver->set_qos_map || !hapd->drv_priv || in hostapd_drv_set_qos_map() 1213 if (!hapd->driver || !hapd->driver->update_dh_ie || !hapd->drv_priv) in hostapd_drv_update_dh_ie() [all …]
|
| H A D | wpa_auth_kay.c | 31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init() 41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit() 51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability() 71 return hapd->driver->enable_encrypt(hapd->drv_priv, enabled); in hapd_enable_encrypt() 157 return hapd->driver->create_receive_sc(hapd->drv_priv, sc, in hapd_create_receive_sc() 168 return hapd->driver->delete_receive_sc(hapd->drv_priv, sc); in hapd_delete_receive_sc() 178 return hapd->driver->create_receive_sa(hapd->drv_priv, sa); in hapd_create_receive_sa() 188 return hapd->driver->delete_receive_sa(hapd->drv_priv, sa); in hapd_delete_receive_sa() 198 return hapd->driver->enable_receive_sa(hapd->drv_priv, sa); in hapd_enable_receive_sa() 284 if (!hapd->conf || hapd->conf->macsec_policy == 0) in ieee802_1x_alloc_kay_sm_hapd() [all …]
|
| H A D | authsrv.c | 129 srv.conf_ctx = hapd; in hostapd_setup_radius_srv() 237 cfg->wps = hapd->wps; in authsrv_eap_config() 290 (hapd->conf->ca_cert || hapd->conf->server_cert || in authsrv_init() 291 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init() 292 hapd->conf->server_cert2 || hapd->conf->private_key2)) { in authsrv_init() 310 conf.cb_ctx = hapd; in authsrv_init() 382 hapd->eap_cfg = authsrv_eap_config(hapd); in authsrv_init() 383 if (!hapd->eap_cfg) { in authsrv_init() 386 authsrv_deinit(hapd); in authsrv_init() 430 if (hapd->ssl_ctx) { in authsrv_deinit() [all …]
|
| H A D | dpp_hostapd.c | 285 if (!hapd->dpp_pkex_code && !hapd->dpp_pkex_identifier) in hostapd_dpp_pkex_clear_code() 386 pkex = dpp_pkex_init(hapd->msg_ctx, hapd->dpp_pkex_bi, hapd->own_addr, in hostapd_dpp_pkex_init() 397 hapd->msg_ctx, hapd, in hostapd_dpp_pkex_init() 598 hapd->dpp_auth->neg_freq, hapd->iface->freq); in hostapd_dpp_tx_status() 963 hapd->msg_ctx, hapd, in hostapd_dpp_auth_init() 1113 hapd->msg_ctx, hapd->dpp_allowed_roles, in hostapd_dpp_rx_auth_req() 2181 if (!hapd->dpp_pkex_code || !hapd->dpp_pkex_bi) { in hostapd_dpp_rx_pkex_exchange_req() 2439 pkex = dpp_pkex_init(hapd->msg_ctx, hapd->dpp_pkex_bi, hapd->own_addr, in hostapd_dpp_pb_pkex_init() 3608 hapd, hapd->dpp_chirp_freq, 2000, broadcast, in hostapd_dpp_chirp_start() 3767 hapd->dpp_chirp_freq = hapd->dpp_chirp_freqs[0]; in hostapd_dpp_chirp_next() [all …]
|
| H A D | beacon.c | 859 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_probe_resp_fill_elems() 912 hapd = hostapd_mbssid_get_tx_bss(hapd); in hostapd_gen_probe_resp() 1382 if (hapd->probereq_cb[i].cb(hapd->probereq_cb[i].ctx, in handle_probe_req() 1425 if (hapd->p2p && hapd->p2p_group && elems.wps_ie) { in handle_probe_req() 1438 if (hapd->p2p && hapd->p2p_group && elems.p2p) { in handle_probe_req() 1564 hapd->num_sta >= hapd->conf->max_num_sta && in handle_probe_req() 2113 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_build_ap_params() 2154 hapd == hostapd_mbssid_get_tx_bss(hapd)) in ieee802_11_build_ap_params() 2242 if (hapd->iconf->mbssid && hapd->iconf->num_bss > 1) { in ieee802_11_build_ap_params() 2342 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_build_ap_params() [all …]
|
| H A D | sta_info.c | 259 hapd->num_sta--; in ap_free_sta() 325 hapd->mesh_sta_free_cb(hapd, sta); in ap_free_sta() 359 if (hapd->radius) in ap_free_sta() 627 hostapd_drv_poll_client(hapd, hapd->own_addr, sta->addr, in ap_handle_timer() 700 hapd, sta, in ap_handle_timer() 805 if (hapd->num_sta >= hapd->conf->max_num_sta) { in ap_sta_add() 808 hapd->num_sta, hapd->conf->max_num_sta); in ap_sta_add() 848 hapd->num_sta++; in ap_sta_add() 1568 hapd->msg_ctx_parent != hapd->msg_ctx) in ap_sta_set_authorized_event() 1577 hapd->msg_ctx_parent != hapd->msg_ctx) in ap_sta_set_authorized_event() [all …]
|
| H A D | ieee802_11_shared.c | 560 if (hapd->conf->esr) in hostapd_eid_interworking() 673 if (hapd->conf->time_advertisement != 2 || !hapd->conf->time_zone) in hostapd_eid_time_zone() 798 !OCE_STA_CFON_ENABLED(hapd) && !OCE_AP_ENABLED(hapd)) in hostapd_eid_mbo() 808 if (hapd->conf->mbo_enabled && hapd->mbo_assoc_disallow) { in hostapd_eid_mbo() 814 if (OCE_STA_CFON_ENABLED(hapd) || OCE_AP_ENABLED(hapd)) { in hostapd_eid_mbo() 818 if (OCE_STA_CFON_ENABLED(hapd) && !OCE_AP_ENABLED(hapd)) in hostapd_eid_mbo() 837 !OCE_STA_CFON_ENABLED(hapd) && !OCE_AP_ENABLED(hapd)) in hostapd_mbo_ie_len() 849 if (OCE_STA_CFON_ENABLED(hapd) || OCE_AP_ENABLED(hapd)) in hostapd_mbo_ie_len() 1191 *assoc_hapd = hapd; in hostapd_ml_get_assoc_sta() 1224 ((hapd->iconf->ieee80211n && !hapd->conf->disable_11n) || in hostapd_get_ht_vht_twt_responder() [all …]
|
| H A D | hostapd.c | 111 if (hapd->iface->bss[i] == hapd) in hostapd_mbssid_get_bss_index() 165 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 546 hapd->iface->bss[0] != hapd) in hostapd_free_hapd_data() 633 if (!hapd->started && hapd->iface->bss[0] != hapd) in hostapd_bss_link_deinit() 640 if (hapd->iface->bss[0] == hapd && !hapd->drv_priv) in hostapd_bss_link_deinit() 736 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown && hapd->conf) { in hostapd_clear_wep() 1630 hapd->gas = gas_query_ap_init(hapd, hapd->msg_ctx); in hostapd_setup_bss() 2891 hapd = os_zalloc(sizeof(*hapd)); in hostapd_alloc_bss_data() 3231 hapd->msg_ctx = hapd; in hostapd_init() 3354 hapd->msg_ctx = hapd; in hostapd_interface_init_bss() [all …]
|
| H A D | drv_callbacks.c | 1928 hapd = switch_link_hapd(hapd, link_id); in hostapd_mgmt_tx_cb() 1947 if (!hapd || hapd == HAPD_BROADCAST) in hostapd_mgmt_tx_cb() 2034 hapd = switch_link_hapd(hapd, link_id); in hostapd_event_eapol_rx() 2290 if (!hapd || !hapd->wpa_auth) { in hostapd_notif_update_dh_ie() 2446 hapd = switch_link_scan(hapd, in wpa_supplicant_event() 2450 hapd->iface->scan_cb(hapd->iface); in wpa_supplicant_event() 2737 hapd = switch_link_hapd(hapd, in wpa_supplicant_event() 2745 hapd = switch_link_hapd(hapd, in wpa_supplicant_event() 2751 hapd = switch_link_hapd(hapd, in wpa_supplicant_event() 2758 hapd = switch_link_hapd(hapd, in wpa_supplicant_event() [all …]
|
| H A D | wps_hostapd.c | 131 hapd->new_psk_cb(hapd->new_psk_cb_ctx, mac_addr, p2p_dev_addr, in hostapd_wps_new_psk_cb() 222 if (hapd != data->current_hapd && hapd->wps != NULL) in wps_stop_registrar() 241 hapd->wps_reg_success_cb(hapd->wps_reg_success_cb_ctx, in hostapd_wps_reg_success_cb() 805 if (hapd->conf->ap_pin == NULL || hapd->wps == NULL) in wps_ap_pin_success() 939 hapd->wps_event_cb(hapd->wps_event_cb_ctx, event, data); in hostapd_wps_event_cb() 981 if (hapd->wps && !hapd->conf->wps_independent && in get_uuid_cb() 1777 hapd->wps_upnp = upnp_wps_device_init(ctx, wps, hapd, in hostapd_wps_upnp_init() 1789 upnp_wps_device_deinit(hapd->wps_upnp, hapd); in hostapd_wps_upnp_deinit() 1909 if (hapd->wps) in wps_update_ie() 2111 hapd->own_addr, hapd->iface->freq); in hostapd_wps_nfc_hs_cr() [all …]
|
| H A D | ieee802_11.h | 32 void hostapd_2040_coex_action(struct hostapd_data *hapd, 52 u16 hostapd_own_capab_info(struct hostapd_data *hapd); 78 void hostapd_get_ht_capab(struct hostapd_data *hapd, 81 void hostapd_get_vht_capab(struct hostapd_data *hapd, 84 void hostapd_get_he_capab(struct hostapd_data *hapd, 88 void hostapd_get_eht_capab(struct hostapd_data *hapd, 92 u8 * hostapd_eid_eht_ml_beacon(struct hostapd_data *hapd, 148 int hostapd_update_time_adv(struct hostapd_data *hapd); 169 u8 hostapd_mbo_ie_len(struct hostapd_data *hapd); 213 void (*cb)(struct hostapd_data *hapd, [all …]
|
| H A D | wpa_auth_glue.c | 545 link_id = hapd->conf->mld_ap ? hapd->mld_link_id : -1; in hostapd_wpa_auth_send_eapol() 689 MAC2STR(hapd->own_addr), hapd->conf->iface); in hostapd_wpa_auth_ft_iter() 1456 hapd->oui_pull = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui() 1462 hapd->oui_resp = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui() 1468 hapd->oui_push = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui() 1474 hapd->oui_sreq = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui() 1480 hapd->oui_sresp = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui() 1549 if (!hapd->conf->mld_ap || !hapd->iface || !hapd->iface->interfaces) in hostapd_wpa_auth_get_ml_key_info() 1665 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &_conf); in hostapd_setup_wpa() 1728 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb, hapd); in hostapd_setup_wpa() [all …]
|
| H A D | gas_serv.c | 253 if (hapd->conf->venue_name || get_anqp_elem(hapd, ANQP_VENUE_NAME)) in anqp_add_capab_list() 278 if (hapd->conf->domain_name || get_anqp_elem(hapd, ANQP_DOMAIN_NAME)) in anqp_add_capab_list() 295 if (hapd->conf->venue_url || get_anqp_elem(hapd, ANQP_VENUE_URL)) in anqp_add_capab_list() 813 buf, hapd->conf, in anqp_add_osu_providers_list() 1513 hostapd_drv_send_action(hapd, hapd->iface->freq, 0, sa, in gas_serv_req_local_processing() 1517 hostapd_drv_send_action_addr3_ap(hapd, hapd->iface->freq, 0, sa, in gas_serv_req_local_processing() 1585 hostapd_drv_send_action(hapd, freq ? freq : hapd->iface->freq, 0, sa, in gas_serv_req_dpp_processing() 1661 hostapd_drv_send_action(hapd, hapd->iface->freq, 0, sa, in gas_serv_rx_gas_initial_req() 1832 hostapd_drv_send_action(hapd, hapd->iface->freq, 0, sa, in gas_serv_rx_gas_comeback_req() 1836 hostapd_drv_send_action_addr3_ap(hapd, hapd->iface->freq, 0, sa, in gas_serv_rx_gas_comeback_req() [all …]
|
| H A D | wps_hostapd.h | 14 int hostapd_init_wps(struct hostapd_data *hapd, 16 int hostapd_init_wps_complete(struct hostapd_data *hapd); 17 void hostapd_deinit_wps(struct hostapd_data *hapd); 18 void hostapd_update_wps(struct hostapd_data *hapd); 19 void hostapd_wps_eap_completed(struct hostapd_data *hapd); 22 int hostapd_wps_button_pushed(struct hostapd_data *hapd, 24 int hostapd_wps_cancel(struct hostapd_data *hapd); 27 void hostapd_wps_ap_pin_disable(struct hostapd_data *hapd); 32 void hostapd_wps_update_ie(struct hostapd_data *hapd); 35 int hostapd_wps_nfc_tag_read(struct hostapd_data *hapd, [all …]
|
| H A D | ieee802_11.c | 130 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_supp_rates() 135 if (hapd->iconf->ieee80211ax && hapd->iconf->require_he) in hostapd_eid_supp_rates() 3399 hapd = hostapd_mbssid_get_tx_bss(hapd); in hostapd_get_aid() 6431 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_set_wds_encryption() 7469 if (!hapd->iface || !hapd->iface->interfaces) in get_colocation_mode() 7504 if (!hapd->iface || !hapd->iface->interfaces) in hostapd_eid_rnr_colocation_len() 7531 if (!hapd->iface || !hapd->iface->interfaces || !hapd->conf->mld_ap) in hostapd_eid_rnr_mlo_len() 7828 if (!hapd->iface || !hapd->iface->interfaces) in hostapd_eid_rnr_colocation() 7854 if (!hapd->iface || !hapd->iface->interfaces || !hapd->conf->mld_ap) in hostapd_eid_rnr_mlo() 8075 hapd, hostapd_mbssid_get_tx_bss(hapd), in hostapd_eid_mbssid_len() [all …]
|
| H A D | tkip_countermeasures.c | 26 struct hostapd_data *hapd = eloop_ctx; in ieee80211_tkip_countermeasures_stop() local 27 hapd->tkip_countermeasures = 0; in ieee80211_tkip_countermeasures_stop() 42 hapd->tkip_countermeasures = 1; in ieee80211_tkip_countermeasures_start() 44 wpa_gtk_rekey(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start() 47 hapd, NULL); in ieee80211_tkip_countermeasures_start() 48 while ((sta = hapd->sta_list)) { in ieee80211_tkip_countermeasures_start() 53 hapd, sta, in ieee80211_tkip_countermeasures_start() 58 ap_free_sta(hapd, sta); in ieee80211_tkip_countermeasures_start() 99 hapd->michael_mic_failures = 1; in michael_mic_failure() 101 hapd->michael_mic_failures++; in michael_mic_failure() [all …]
|
| H A D | dpp_hostapd.h | 15 int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd); 16 int hostapd_dpp_nfc_uri(struct hostapd_data *hapd, const char *cmd); 20 int hostapd_dpp_listen(struct hostapd_data *hapd, const char *cmd); 21 void hostapd_dpp_listen_stop(struct hostapd_data *hapd); 22 void hostapd_dpp_rx_action(struct hostapd_data *hapd, const u8 *src, 24 void hostapd_dpp_tx_status(struct hostapd_data *hapd, const u8 *dst, 38 void hostapd_dpp_stop(struct hostapd_data *hapd); 39 int hostapd_dpp_init(struct hostapd_data *hapd); 40 void hostapd_dpp_deinit(struct hostapd_data *hapd); 46 void hostapd_dpp_chirp_stop(struct hostapd_data *hapd); [all …]
|
| H A D | rrm.c | 30 hapd->lci_req_token); in hostapd_lci_rep_timeout_handler() 31 hapd->lci_req_active = 0; in hostapd_lci_rep_timeout_handler() 38 if (!hapd->lci_req_active || hapd->lci_req_token != token) { in hostapd_handle_lci_report() 43 hapd->lci_req_active = 0; in hostapd_handle_lci_report() 62 if (!hapd->range_req_active || hapd->range_req_token != token) { in hostapd_handle_range_report() 272 hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, in hostapd_send_nei_report_resp() 475 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, in hostapd_send_lci_req() 594 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, in hostapd_send_range_req() 706 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, in hostapd_send_beacon_req() 762 hapd, NULL); in hostapd_send_link_measurement_req() [all …]
|
| H A D | nan_usd_ap.c | 32 return hostapd_drv_send_action(hapd, hapd->iface->freq, 0, dst, in hostapd_nan_de_tx() 152 cb.ctx = hapd; in hostapd_nan_usd_init() 161 hapd->nan_de = nan_de_init(hapd->own_addr, true, &cb); in hostapd_nan_usd_init() 162 if (!hapd->nan_de) in hostapd_nan_usd_init() 178 if (!hapd->nan_de) in hostapd_nan_usd_rx_sdf() 186 if (!hapd->nan_de) in hostapd_nan_usd_flush() 200 if (!hapd->nan_de) in hostapd_nan_usd_publish() 212 if (!hapd->nan_de) in hostapd_nan_usd_cancel_publish() 223 if (!hapd->nan_de) in hostapd_nan_usd_update_publish() 239 if (!hapd->nan_de) in hostapd_nan_usd_subscribe() [all …]
|
| H A D | vlan_init.c | 51 if (hapd->wpa_auth) in vlan_if_add() 136 hapd->full_dynamic_vlan = full_dynamic_vlan_init(hapd); in vlan_init() 141 !hapd->conf->vlan) { in vlan_init() 155 hapd->conf->iface); in vlan_init() 165 hapd->conf->vlan = vlan; in vlan_init() 168 if (vlan_dynamic_add(hapd, hapd->conf->vlan)) in vlan_init() 177 vlan_dynamic_remove(hapd, hapd->conf->vlan); in vlan_deinit() 223 n->next = hapd->conf->vlan; in vlan_add_dynamic() 224 hapd->conf->vlan = n; in vlan_add_dynamic() 228 hapd->conf->vlan = n->next; in vlan_add_dynamic() [all …]
|
| H A D | ieee802_11_he.c | 179 if (!hapd->iface->current_mode) in hostapd_eid_he_operation() 207 hapd->cca_in_progress) in hostapd_eid_he_operation() 233 hapd->iconf->channel, in hostapd_eid_he_operation() 239 seg0 = hapd->iconf->channel; in hostapd_eid_he_operation() 273 if (hapd->iconf->channel < seg0) in hostapd_eid_he_operation() 433 if (!hapd->iface->current_mode) in check_valid_he_mcs() 488 !hapd->iconf->ieee80211ax || hapd->conf->disable_11ax || in copy_sta_he_capab() 518 hapd->conf->disable_11ax || in copy_sta_he_6ghz_capab() 546 if (!hapd->iface->current_mode || in hostapd_get_he_twt_responder() 548 !hapd->iconf->ieee80211ax || hapd->conf->disable_11ax) in hostapd_get_he_twt_responder() [all …]
|
| H A D | neighbor_db.c | 234 int ht = hapd->iconf->ieee80211n && !hapd->conf->disable_11n; in hostapd_neighbor_set_own_report() 235 int vht = hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac; in hostapd_neighbor_set_own_report() 236 int he = hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax; in hostapd_neighbor_set_own_report() 237 bool eht = he && hapd->iconf->ieee80211be && !hapd->conf->disable_11be; in hostapd_neighbor_set_own_report() 258 if (hapd->conf->wmm_enabled) { in hostapd_neighbor_set_own_report() 261 if (hapd->conf->wmm_uapsd && in hostapd_neighbor_set_own_report() 290 hapd->iconf); in hostapd_neighbor_set_own_report() 294 hapd->iconf); in hostapd_neighbor_set_own_report() 329 hostapd_neighbor_set(hapd, hapd->own_addr, &ssid, nr, hapd->iconf->lci, in hostapd_neighbor_set_own_report() 330 hapd->iconf->civic, hapd->iconf->stationary_ap, 0); in hostapd_neighbor_set_own_report() [all …]
|
| H A D | ieee802_1x.c | 101 link_id = hapd->conf->mld_ap ? hapd->mld_link_id : -1; in ieee802_1x_send() 586 if ((hapd->conf->wpa || hapd->conf->osen) && sta->wpa_sm && in add_common_radius_sta_attr() 1128 if (!hapd->conf->ieee802_1x && !hapd->conf->wpa && !hapd->conf->osen && in ieee802_1x_receive() 1188 if (!hapd->conf->ieee802_1x && !hapd->conf->osen && in ieee802_1x_receive() 1216 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state) { in ieee802_1x_receive() 1380 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state && in ieee802_1x_new_station() 2600 if ((hapd->conf->ieee802_1x || hapd->conf->wpa) && in ieee802_1x_init() 2615 hostapd_drv_set_key(hapd->conf->iface, hapd, in ieee802_1x_init() 2658 if (hapd->driver && hapd->drv_priv && in ieee802_1x_deinit() 2659 (hapd->conf->ieee802_1x || hapd->conf->wpa)) in ieee802_1x_deinit() [all …]
|
| /freebsd-14.2/contrib/wpa/hostapd/ |
| H A D | ctrl_iface.c | 1014 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config() 1023 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config() 1054 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config() 1064 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config() 1089 if (hapd->conf->wpa && hapd->conf->wpa_key_mgmt) { in hostapd_ctrl_iface_get_config() 2105 if (hostapd_drv_set_key(hapd->conf->iface, hapd, in hostapd_ctrl_reset_pn() 2131 if (hostapd_drv_set_key(hapd->conf->iface, hapd, in hostapd_ctrl_reset_pn() 2157 if (hostapd_drv_set_key(hapd->conf->iface, hapd, in hostapd_ctrl_reset_pn() 4804 hapd->msg_ctx = hapd; in hostapd_ctrl_iface_init() 4951 hapd->msg_ctx = hapd; in hostapd_ctrl_iface_init() [all …]
|