Home
last modified time | relevance | path

Searched refs:hapd (Results 1 – 25 of 106) sorted by relevance

12345

/freebsd-13.1/contrib/wpa/src/ap/
H A Dap_drv_ops.h118 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait()
181 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove()
228 return hapd->driver->set_ap(hapd->drv_priv, params); in hostapd_drv_set_ap()
289 return hapd->driver->get_radio_name(hapd->drv_priv); in hostapd_drv_get_radio_name()
305 if (!hapd->driver || !hapd->driver->status || !hapd->drv_priv) in hostapd_drv_status()
365 if (!hapd->driver || !hapd->driver->stop_ap || !hapd->drv_priv) in hostapd_drv_stop_ap()
367 return hapd->driver->stop_ap(hapd->drv_priv); in hostapd_drv_stop_ap()
373 if (!hapd->driver || !hapd->driver->channel_info) in hostapd_drv_channel_info()
382 if (!hapd->driver || !hapd->drv_priv || in hostapd_drv_send_external_auth_status()
391 if (!hapd->driver || !hapd->drv_priv || !hapd->driver->set_band) in hostapd_drv_set_band()
[all …]
H A Dap_drv_ops.c408 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_assoc()
593 if (!hapd->driver || !hapd->drv_priv || !hapd->driver->sta_set_flags) in hostapd_sta_set_flags()
722 if (!hapd->driver || !hapd->driver->send_mlme || !hapd->drv_priv) in hostapd_drv_send_mlme()
732 if (!hapd->driver || !hapd->driver->sta_deauth || !hapd->drv_priv) in hostapd_drv_sta_deauth()
734 return hapd->driver->sta_deauth(hapd->drv_priv, hapd->own_addr, addr, in hostapd_drv_sta_deauth()
742 if (!hapd->driver || !hapd->driver->sta_disassoc || !hapd->drv_priv) in hostapd_drv_sta_disassoc()
744 return hapd->driver->sta_disassoc(hapd->drv_priv, hapd->own_addr, addr, in hostapd_drv_sta_disassoc()
768 if (!hapd->driver || !hapd->driver->send_action || !hapd->drv_priv) in hostapd_drv_send_action()
855 if (!hapd->driver || !hapd->driver->set_qos_map || !hapd->drv_priv) in hostapd_drv_set_qos_map()
987 if (!hapd->driver || !hapd->driver->update_dh_ie || !hapd->drv_priv) in hostapd_drv_update_dh_ie()
[all …]
H A Ddpp_hostapd.c314 hapd->dpp_auth->neg_freq, hapd->iface->freq); in hostapd_dpp_tx_status()
666 DPP_NETROLE_AP, hapd->msg_ctx, hapd, in hostapd_dpp_auth_init()
778 hapd->msg_ctx, hapd->dpp_allowed_roles, in hostapd_dpp_rx_auth_req()
785 hostapd_dpp_set_testing_options(hapd, hapd->dpp_auth); in hostapd_dpp_rx_auth_req()
1726 if (!hapd->dpp_pkex_code || !hapd->dpp_pkex_bi) { in hostapd_dpp_rx_pkex_exchange_req()
1761 hapd->dpp_pkex->own_bi->pkex_t = hapd->dpp_pkex->t; in hostapd_dpp_rx_pkex_exchange_req()
1780 if (!hapd->dpp_pkex || !hapd->dpp_pkex->initiator || in hostapd_dpp_rx_pkex_exchange_resp()
2180 hapd->dpp_pkex = dpp_pkex_init(hapd->msg_ctx, own_bi, in hostapd_dpp_pkex_add()
2411 hapd, hapd->dpp_chirp_freq, 2000, broadcast, in hostapd_dpp_chirp_start()
2570 hapd->dpp_chirp_freq = hapd->dpp_chirp_freqs[0]; in hostapd_dpp_chirp_next()
[all …]
H A Dwpa_auth_kay.c31 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()
158 return hapd->driver->create_receive_sc(hapd->drv_priv, sc, in hapd_create_receive_sc()
169 return hapd->driver->delete_receive_sc(hapd->drv_priv, sc); in hapd_delete_receive_sc()
179 return hapd->driver->create_receive_sa(hapd->drv_priv, sa); in hapd_create_receive_sa()
189 return hapd->driver->delete_receive_sa(hapd->drv_priv, sa); in hapd_delete_receive_sa()
285 if (!hapd->conf || hapd->conf->macsec_policy == 0) in ieee802_1x_alloc_kay_sm_hapd()
332 hapd->conf->mka_priority, hapd->conf->iface, in ieee802_1x_alloc_kay_sm_hapd()
[all …]
H A Dbeacon.c370 if (hapd->iface->cs_oper_class && hapd->iconf->ecsa_ie_only) in hostapd_eid_csa()
602 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_gen_probe_resp()
877 if (hapd->probereq_cb[i].cb(hapd->probereq_cb[i].ctx, in handle_probe_req()
920 if (hapd->p2p && hapd->p2p_group && elems.wps_ie) { in handle_probe_req()
933 if (hapd->p2p && hapd->p2p_group && elems.p2p) { in handle_probe_req()
1059 hapd->num_sta >= hapd->conf->max_num_sta && in handle_probe_req()
1126 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie && in hostapd_probe_resp_offloads()
1243 hapd->iconf->ieee80211n && !hapd->conf->disable_11n) in hostapd_fils_discovery_cap()
1441 if (hapd->conf->wps_state && hapd->wps_beacon_ie) in ieee802_11_build_ap_params()
1625 if (hapd->conf->wps_state && hapd->wps_beacon_ie) { in ieee802_11_build_ap_params()
[all …]
H A Dauthsrv.c112 srv.conf_ctx = hapd; in hostapd_setup_radius_srv()
213 cfg->wps = hapd->wps; in authsrv_eap_config()
234 (hapd->conf->ca_cert || hapd->conf->server_cert || in authsrv_init()
235 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
236 hapd->conf->server_cert2 || hapd->conf->private_key2)) { in authsrv_init()
254 conf.cb_ctx = hapd; in authsrv_init()
310 hapd->eap_cfg = authsrv_eap_config(hapd); in authsrv_init()
311 if (!hapd->eap_cfg) { in authsrv_init()
314 authsrv_deinit(hapd); in authsrv_init()
336 if (hapd->ssl_ctx) { in authsrv_deinit()
[all …]
H A Dsta_info.c220 hapd->num_sta--; in ap_free_sta()
286 hapd->mesh_sta_free_cb(hapd, sta); in ap_free_sta()
304 if (hapd->radius) in ap_free_sta()
541 hostapd_drv_poll_client(hapd, hapd->own_addr, sta->addr, in ap_handle_timer()
614 hapd, sta, in ap_handle_timer()
718 if (hapd->num_sta >= hapd->conf->max_num_sta) { in ap_sta_add()
721 hapd->num_sta, hapd->conf->max_num_sta); in ap_sta_add()
758 hapd->num_sta++; in ap_sta_add()
1297 hapd->sta_authorized_cb(hapd->sta_authorized_cb_ctx, in ap_sta_set_authorized()
1326 hapd->msg_ctx_parent != hapd->msg_ctx) in ap_sta_set_authorized()
[all …]
H A Dieee802_11_shared.c518 if (hapd->conf->asra) in hostapd_eid_interworking()
520 if (hapd->conf->esr) in hostapd_eid_interworking()
522 if (hapd->conf->uesa) in hostapd_eid_interworking()
633 if (hapd->conf->time_advertisement != 2 || !hapd->conf->time_zone) in hostapd_eid_time_zone()
752 !OCE_STA_CFON_ENABLED(hapd) && !OCE_AP_ENABLED(hapd)) in hostapd_eid_mbo()
762 if (hapd->conf->mbo_enabled && hapd->mbo_assoc_disallow) { in hostapd_eid_mbo()
768 if (OCE_STA_CFON_ENABLED(hapd) || OCE_AP_ENABLED(hapd)) { in hostapd_eid_mbo()
772 if (OCE_STA_CFON_ENABLED(hapd) && !OCE_AP_ENABLED(hapd)) in hostapd_eid_mbo()
791 !OCE_STA_CFON_ENABLED(hapd) && !OCE_AP_ENABLED(hapd)) in hostapd_mbo_ie_len()
803 if (OCE_STA_CFON_ENABLED(hapd) || OCE_AP_ENABLED(hapd)) in hostapd_mbo_ie_len()
[all …]
H A Dwps_hostapd.c131 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()
1776 hapd->wps_upnp = upnp_wps_device_init(ctx, wps, hapd, in hostapd_wps_upnp_init()
1788 upnp_wps_device_deinit(hapd->wps_upnp, hapd); in hostapd_wps_upnp_deinit()
1908 if (hapd->wps) in wps_update_ie()
2110 hapd->own_addr, hapd->iface->freq); in hostapd_wps_nfc_hs_cr()
[all …]
H A Dhostapd.c131 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss()
136 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss()
479 hapd->conf ? hapd->conf->iface : "N/A"); in hostapd_cleanup()
555 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown && hapd->conf) { in hostapd_clear_wep()
1315 hapd->gas = gas_query_ap_init(hapd, hapd->msg_ctx); in hostapd_setup_bss()
2368 hapd = os_zalloc(sizeof(*hapd)); in hostapd_alloc_bss_data()
2516 hapd->msg_ctx = hapd; in hostapd_init()
2637 hapd->msg_ctx = hapd; in hostapd_interface_init_bss()
2937 hapd->msg_ctx = hapd; in hostapd_data_alloc()
3131 __func__, hapd, hapd->conf->iface); in hostapd_remove_bss()
[all …]
H A Ddrv_callbacks.c529 if (hapd->conf->mbo_enabled && (hapd->conf->wpa & 2) && in hostapd_notif_assoc()
1184 if (hapd->probereq_cb[i].cb(hapd->probereq_cb[i].ctx, in hostapd_probe_req_rx()
1402 hapd = get_hapd_bssid(hapd->iface, bssid); in hostapd_rx_from_unknown_sta()
1403 if (hapd == NULL || hapd == HAPD_BROADCAST) in hostapd_rx_from_unknown_sta()
1491 if (!hapd) in hostapd_mgmt_tx_cb()
1498 if (!hapd || hapd == HAPD_BROADCAST) in hostapd_mgmt_tx_cb()
1787 if (!hapd || !hapd->wpa_auth) { in hostapd_notif_update_dh_ie()
1877 hapd->iface->scan_cb(hapd->iface); in wpa_supplicant_event()
2042 if (hapd->disabled && hapd->started) { in wpa_supplicant_event()
2101 if (hapd && hapd->driver && hapd->driver->get_ifindex && in wpa_supplicant_event_global()
[all …]
H A Dieee802_11.h26 void hostapd_2040_coex_action(struct hostapd_data *hapd,
46 u16 hostapd_own_capab_info(struct hostapd_data *hapd);
71 void hostapd_get_ht_capab(struct hostapd_data *hapd,
74 void hostapd_get_vht_capab(struct hostapd_data *hapd,
77 void hostapd_get_he_capab(struct hostapd_data *hapd,
111 void ieee802_11_sa_query_action(struct hostapd_data *hapd,
119 int hostapd_update_time_adv(struct hostapd_data *hapd);
125 void sae_clear_retransmit_timer(struct hostapd_data *hapd,
139 u8 hostapd_mbo_ie_len(struct hostapd_data *hapd);
182 void (*cb)(struct hostapd_data *hapd,
[all …]
H A Dwpa_auth_glue.c643 MAC2STR(hapd->own_addr), hapd->conf->iface); in hostapd_wpa_auth_ft_iter()
1396 hapd->oui_pull = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui()
1402 hapd->oui_resp = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui()
1408 hapd->oui_push = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui()
1414 hapd->oui_sreq = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui()
1420 hapd->oui_sresp = eth_p_oui_register(hapd, ft_iface, in hostapd_wpa_register_ft_oui()
1493 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &_conf); in hostapd_setup_wpa()
1531 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb, hapd); in hostapd_setup_wpa()
1568 ft_iface = hapd->conf->bridge[0] ? hapd->conf->bridge : in hostapd_setup_wpa()
1594 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &wpa_auth_conf); in hostapd_reconfig_wpa()
[all …]
H A Dgas_serv.c253 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, 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()
1831 hostapd_drv_send_action(hapd, hapd->iface->freq, 0, sa, in gas_serv_rx_gas_comeback_req()
1835 hostapd_drv_send_action_addr3_ap(hapd, hapd->iface->freq, 0, sa, in gas_serv_rx_gas_comeback_req()
[all …]
H A Dwps_hostapd.h14 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 Dtkip_countermeasures.c26 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 Dvlan_init.c51 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 Dieee802_11.c117 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_supp_rates()
119 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_supp_rates()
172 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_ext_supp_rates()
174 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_ext_supp_rates()
6394 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_set_wds_encryption()
6533 hapd->new_assoc_sta_cb(hapd, sta, !new_assoc); in handle_assoc_cb()
7165 if (!hapd->iface || !hapd->iface->interfaces) in get_colocation_mode()
7200 if (!hapd->iface || !hapd->iface->interfaces) in hostapd_eid_rnr_colocation_len()
7400 if (!hapd->iface || !hapd->iface->interfaces) in hostapd_eid_rnr_colocation()
7436 eid = hostapd_eid_rnr_iface(hapd, hapd, eid, in hostapd_eid_rnr()
[all …]
H A Ddpp_hostapd.h15 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,
27 hostapd_dpp_gas_req_handler(struct hostapd_data *hapd, const u8 *sa,
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);
[all …]
H A Drrm.c30 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()
398 hapd->lci_req_token++; in hostapd_send_lci_req()
401 hapd->lci_req_token++; in hostapd_send_lci_req()
425 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, in hostapd_send_lci_req()
544 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, in hostapd_send_range_req()
[all …]
H A Dieee802_1x.c287 if (hostapd_drv_set_key(hapd->conf->iface, hapd, WPA_ALG_WEP, in ieee802_1x_tx_key()
521 if ((hapd->conf->wpa || hapd->conf->osen) && sta->wpa_sm && in add_common_radius_sta_attr()
1042 if (!hapd->conf->ieee802_1x && !hapd->conf->wpa && !hapd->conf->osen && in ieee802_1x_receive()
1101 if (!hapd->conf->ieee802_1x && !hapd->conf->osen && in ieee802_1x_receive()
1123 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state) { in ieee802_1x_receive()
1287 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state && in ieee802_1x_new_station()
2474 if ((hapd->conf->ieee802_1x || hapd->conf->wpa) && in ieee802_1x_init()
2489 hostapd_drv_set_key(hapd->conf->iface, hapd, in ieee802_1x_init()
2522 if (hapd->driver && hapd->drv_priv && in ieee802_1x_deinit()
2523 (hapd->conf->ieee802_1x || hapd->conf->wpa)) in ieee802_1x_deinit()
[all …]
H A Dieee802_11_he.c171 if (!hapd->iface->current_mode) in hostapd_eid_he_operation()
218 seg0 = hapd->iconf->channel; in hostapd_eid_he_operation()
241 if (hapd->iconf->channel < seg0) in hostapd_eid_he_operation()
296 if (!hapd->iface->conf->spr.sr_control) in hostapd_eid_spatial_reuse()
299 if (hapd->iface->conf->spr.sr_control & in hostapd_eid_spatial_reuse()
303 if (hapd->iface->conf->spr.sr_control & in hostapd_eid_spatial_reuse()
347 !is_6ghz_freq(hapd->iface->freq)) in hostapd_eid_he_6ghz_band_cap()
401 if (!hapd->iface->current_mode) in check_valid_he_mcs()
456 !hapd->iconf->ieee80211ax || hapd->conf->disable_11ax || in copy_sta_he_capab()
486 hapd->conf->disable_11ax || in copy_sta_he_6ghz_capab()
[all …]
H A Dbss_load.c23 unsigned int beacon_int = hapd->iconf->beacon_int; in get_bss_load_update_timeout()
44 struct hostapd_data *hapd = eloop_data; in update_channel_utilization() local
47 struct hostapd_iface *iface = hapd->iface; in update_channel_utilization()
49 if (!(hapd->beacon_set_done && hapd->started)) in update_channel_utilization()
52 err = hostapd_drv_get_survey(hapd, hapd->iface->freq); in update_channel_utilization()
58 ieee802_11_set_beacon(hapd); in update_channel_utilization()
63 if (hapd->conf->chan_util_avg_period) { in update_channel_utilization()
66 hapd->conf->bss_load_update_period; in update_channel_utilization()
68 hapd->conf->chan_util_avg_period) { in update_channel_utilization()
72 hapd->conf->bss_load_update_period); in update_channel_utilization()
[all …]
H A Daccounting.c64 hapd->conf->ieee802_1x ? in accounting_msg()
96 if (add_common_radius_attr(hapd, hapd->conf->radius_acct_req_attr, sta, in accounting_msg()
217 hapd, sta); in accounting_interim_update()
254 hapd, sta); in accounting_sta_start()
277 msg = accounting_msg(hapd, sta, in accounting_sta_report()
434 if (!hapd->conf->radius->acct_server || hapd->radius == NULL) in accounting_report_state()
439 msg = accounting_msg(hapd, NULL, in accounting_report_state()
445 if (hapd->acct_session_id) { in accounting_report_state()
462 struct hostapd_data *hapd = ctx; in accounting_interim_error_cb() local
467 sta = ap_get_sta(hapd, addr); in accounting_interim_error_cb()
[all …]
/freebsd-13.1/contrib/wpa/hostapd/
H A Dctrl_iface.c1212 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1221 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1252 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1262 if (hapd->conf->wps_state && hapd->conf->wpa && in hostapd_ctrl_iface_get_config()
1287 if (hapd->conf->wpa && hapd->conf->wpa_key_mgmt) { in hostapd_ctrl_iface_get_config()
2315 if (hostapd_drv_set_key(hapd->conf->iface, hapd, in hostapd_ctrl_reset_pn()
2341 if (hostapd_drv_set_key(hapd->conf->iface, hapd, in hostapd_ctrl_reset_pn()
2367 if (hostapd_drv_set_key(hapd->conf->iface, hapd, in hostapd_ctrl_reset_pn()
4238 hapd->msg_ctx = hapd; in hostapd_ctrl_iface_init()
4385 hapd->msg_ctx = hapd; in hostapd_ctrl_iface_init()
[all …]

12345