Lines Matching refs:conf

190 	struct hostapd_config *conf;  in hostapd_config_defaults()  local
213 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults()
215 if (conf == NULL || bss == NULL) { in hostapd_config_defaults()
218 os_free(conf); in hostapd_config_defaults()
222 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
223 if (conf->bss == NULL) { in hostapd_config_defaults()
224 os_free(conf); in hostapd_config_defaults()
228 conf->bss[0] = bss; in hostapd_config_defaults()
232 os_free(conf->bss); in hostapd_config_defaults()
233 os_free(conf); in hostapd_config_defaults()
240 conf->num_bss = 1; in hostapd_config_defaults()
242 conf->beacon_int = 100; in hostapd_config_defaults()
243 conf->rts_threshold = -2; /* use driver default: 2347 */ in hostapd_config_defaults()
244 conf->fragm_threshold = -2; /* user driver default: 2346 */ in hostapd_config_defaults()
246 conf->local_pwr_constraint = -1; in hostapd_config_defaults()
248 conf->wmm_ac_params[0] = ac_be; in hostapd_config_defaults()
249 conf->wmm_ac_params[1] = ac_bk; in hostapd_config_defaults()
250 conf->wmm_ac_params[2] = ac_vi; in hostapd_config_defaults()
251 conf->wmm_ac_params[3] = ac_vo; in hostapd_config_defaults()
253 conf->tx_queue[0] = txq_vo; in hostapd_config_defaults()
254 conf->tx_queue[1] = txq_vi; in hostapd_config_defaults()
255 conf->tx_queue[2] = txq_be; in hostapd_config_defaults()
256 conf->tx_queue[3] = txq_bk; in hostapd_config_defaults()
258 conf->ht_capab = HT_CAP_INFO_SMPS_DISABLED; in hostapd_config_defaults()
260 conf->ap_table_max_size = 255; in hostapd_config_defaults()
261 conf->ap_table_expiration_time = 60; in hostapd_config_defaults()
262 conf->track_sta_max_age = 180; in hostapd_config_defaults()
265 conf->ignore_probe_probability = 0.0; in hostapd_config_defaults()
266 conf->ignore_auth_probability = 0.0; in hostapd_config_defaults()
267 conf->ignore_assoc_probability = 0.0; in hostapd_config_defaults()
268 conf->ignore_reassoc_probability = 0.0; in hostapd_config_defaults()
269 conf->corrupt_gtk_rekey_mic_probability = 0.0; in hostapd_config_defaults()
270 conf->ecsa_ie_only = 0; in hostapd_config_defaults()
273 conf->acs = 0; in hostapd_config_defaults()
274 conf->acs_ch_list.num = 0; in hostapd_config_defaults()
276 conf->acs_num_scans = 5; in hostapd_config_defaults()
280 conf->he_op.he_rts_threshold = HE_OPERATION_RTS_THRESHOLD_MASK >> in hostapd_config_defaults()
283 conf->he_op.he_basic_mcs_nss_set = 0xfffc; in hostapd_config_defaults()
284 conf->he_op.he_bss_color_disabled = 1; in hostapd_config_defaults()
285 conf->he_op.he_bss_color_partial = 0; in hostapd_config_defaults()
286 conf->he_op.he_bss_color = os_random() % 63 + 1; in hostapd_config_defaults()
287 conf->he_op.he_twt_responder = 1; in hostapd_config_defaults()
288 conf->he_6ghz_max_mpdu = 2; in hostapd_config_defaults()
289 conf->he_6ghz_max_ampdu_len_exp = 7; in hostapd_config_defaults()
290 conf->he_6ghz_rx_ant_pat = 1; in hostapd_config_defaults()
291 conf->he_6ghz_tx_ant_pat = 1; in hostapd_config_defaults()
292 conf->he_6ghz_reg_pwr_type = HE_REG_INFO_6GHZ_AP_TYPE_VLP; in hostapd_config_defaults()
293 conf->reg_def_cli_eirp_psd = -1; in hostapd_config_defaults()
294 conf->reg_sub_cli_eirp_psd = -1; in hostapd_config_defaults()
295 conf->reg_def_cli_eirp = -1; in hostapd_config_defaults()
301 conf->country[2] = ' '; in hostapd_config_defaults()
303 conf->rssi_reject_assoc_rssi = 0; in hostapd_config_defaults()
304 conf->rssi_reject_assoc_timeout = 30; in hostapd_config_defaults()
307 conf->airtime_update_interval = AIRTIME_DEFAULT_UPDATE_INTERVAL; in hostapd_config_defaults()
310 hostapd_set_and_check_bw320_offset(conf, 0); in hostapd_config_defaults()
312 return conf; in hostapd_config_defaults()
492 int hostapd_setup_sae_pt(struct hostapd_bss_config *conf) in hostapd_setup_sae_pt() argument
495 struct hostapd_ssid *ssid = &conf->ssid; in hostapd_setup_sae_pt()
498 if ((conf->sae_pwe == SAE_PWE_HUNT_AND_PECK && in hostapd_setup_sae_pt()
499 !hostapd_sae_pw_id_in_use(conf) && in hostapd_setup_sae_pt()
500 !wpa_key_mgmt_sae_ext_key(conf->wpa_key_mgmt | in hostapd_setup_sae_pt()
501 conf->rsn_override_key_mgmt | in hostapd_setup_sae_pt()
502 conf->rsn_override_key_mgmt_2) && in hostapd_setup_sae_pt()
503 !hostapd_sae_pk_in_use(conf)) || in hostapd_setup_sae_pt()
504 conf->sae_pwe == SAE_PWE_FORCE_HUNT_AND_PECK || in hostapd_setup_sae_pt()
505 !wpa_key_mgmt_sae(conf->wpa_key_mgmt | in hostapd_setup_sae_pt()
506 conf->rsn_override_key_mgmt | in hostapd_setup_sae_pt()
507 conf->rsn_override_key_mgmt_2)) in hostapd_setup_sae_pt()
513 ssid->pt = sae_derive_pt(conf->sae_groups, ssid->ssid, in hostapd_setup_sae_pt()
522 for (pw = conf->sae_passwords; pw; pw = pw->next) { in hostapd_setup_sae_pt()
524 pw->pt = sae_derive_pt(conf->sae_groups, ssid->ssid, in hostapd_setup_sae_pt()
538 int hostapd_setup_wpa_psk(struct hostapd_bss_config *conf) in hostapd_setup_wpa_psk() argument
540 struct hostapd_ssid *ssid = &conf->ssid; in hostapd_setup_wpa_psk()
542 if (hostapd_setup_sae_pt(conf) < 0) in hostapd_setup_wpa_psk()
558 return hostapd_config_read_wpa_psk(ssid->wpa_psk_file, &conf->ssid); in hostapd_setup_wpa_psk()
720 void hostapd_config_clear_rxkhs(struct hostapd_bss_config *conf) in hostapd_config_clear_rxkhs() argument
725 r0kh = conf->r0kh_list; in hostapd_config_clear_rxkhs()
726 conf->r0kh_list = NULL; in hostapd_config_clear_rxkhs()
733 r1kh = conf->r1kh_list; in hostapd_config_clear_rxkhs()
734 conf->r1kh_list = NULL; in hostapd_config_clear_rxkhs()
745 static void hostapd_config_free_anqp_elem(struct hostapd_bss_config *conf) in hostapd_config_free_anqp_elem() argument
749 while ((elem = dl_list_first(&conf->anqp_elem, struct anqp_element, in hostapd_config_free_anqp_elem()
758 static void hostapd_config_free_fils_realms(struct hostapd_bss_config *conf) in hostapd_config_free_fils_realms() argument
763 while ((realm = dl_list_first(&conf->fils_realms, struct fils_realm, in hostapd_config_free_fils_realms()
772 static void hostapd_config_free_sae_passwords(struct hostapd_bss_config *conf) in hostapd_config_free_sae_passwords() argument
776 pw = conf->sae_passwords; in hostapd_config_free_sae_passwords()
777 conf->sae_passwords = NULL; in hostapd_config_free_sae_passwords()
795 static void hostapd_dpp_controller_conf_free(struct dpp_controller_conf *conf) in hostapd_dpp_controller_conf_free() argument
799 while (conf) { in hostapd_dpp_controller_conf_free()
800 prev = conf; in hostapd_dpp_controller_conf_free()
801 conf = conf->next; in hostapd_dpp_controller_conf_free()
808 void hostapd_config_free_bss(struct hostapd_bss_config *conf) in hostapd_config_free_bss() argument
814 if (conf == NULL) in hostapd_config_free_bss()
817 hostapd_config_clear_wpa_psk(&conf->ssid.wpa_psk); in hostapd_config_free_bss()
819 str_clear_free(conf->ssid.wpa_passphrase); in hostapd_config_free_bss()
820 os_free(conf->ssid.wpa_psk_file); in hostapd_config_free_bss()
822 hostapd_config_free_wep(&conf->ssid.wep); in hostapd_config_free_bss()
825 os_free(conf->ssid.vlan_tagged_interface); in hostapd_config_free_bss()
828 sae_deinit_pt(conf->ssid.pt); in hostapd_config_free_bss()
831 hostapd_config_free_eap_users(conf->eap_user); in hostapd_config_free_bss()
832 os_free(conf->eap_user_sqlite); in hostapd_config_free_bss()
834 os_free(conf->eap_req_id_text); in hostapd_config_free_bss()
835 os_free(conf->erp_domain); in hostapd_config_free_bss()
836 os_free(conf->accept_mac); in hostapd_config_free_bss()
837 os_free(conf->deny_mac); in hostapd_config_free_bss()
838 os_free(conf->nas_identifier); in hostapd_config_free_bss()
839 if (conf->radius) { in hostapd_config_free_bss()
840 hostapd_config_free_radius(conf->radius->auth_servers, in hostapd_config_free_bss()
841 conf->radius->num_auth_servers); in hostapd_config_free_bss()
842 hostapd_config_free_radius(conf->radius->acct_servers, in hostapd_config_free_bss()
843 conf->radius->num_acct_servers); in hostapd_config_free_bss()
844 os_free(conf->radius->force_client_dev); in hostapd_config_free_bss()
846 hostapd_config_free_radius_attr(conf->radius_auth_req_attr); in hostapd_config_free_bss()
847 hostapd_config_free_radius_attr(conf->radius_acct_req_attr); in hostapd_config_free_bss()
848 os_free(conf->radius_req_attr_sqlite); in hostapd_config_free_bss()
849 os_free(conf->rsn_preauth_interfaces); in hostapd_config_free_bss()
850 os_free(conf->ctrl_interface); in hostapd_config_free_bss()
851 os_free(conf->config_id); in hostapd_config_free_bss()
852 os_free(conf->ca_cert); in hostapd_config_free_bss()
853 os_free(conf->server_cert); in hostapd_config_free_bss()
854 os_free(conf->server_cert2); in hostapd_config_free_bss()
855 os_free(conf->private_key); in hostapd_config_free_bss()
856 os_free(conf->private_key2); in hostapd_config_free_bss()
857 os_free(conf->private_key_passwd); in hostapd_config_free_bss()
858 os_free(conf->private_key_passwd2); in hostapd_config_free_bss()
859 os_free(conf->check_cert_subject); in hostapd_config_free_bss()
860 os_free(conf->ocsp_stapling_response); in hostapd_config_free_bss()
861 os_free(conf->ocsp_stapling_response_multi); in hostapd_config_free_bss()
862 os_free(conf->dh_file); in hostapd_config_free_bss()
863 os_free(conf->openssl_ciphers); in hostapd_config_free_bss()
864 os_free(conf->openssl_ecdh_curves); in hostapd_config_free_bss()
865 os_free(conf->pac_opaque_encr_key); in hostapd_config_free_bss()
866 os_free(conf->eap_fast_a_id); in hostapd_config_free_bss()
867 os_free(conf->eap_fast_a_id_info); in hostapd_config_free_bss()
868 os_free(conf->eap_sim_db); in hostapd_config_free_bss()
869 os_free(conf->imsi_privacy_key); in hostapd_config_free_bss()
870 os_free(conf->radius_server_clients); in hostapd_config_free_bss()
871 os_free(conf->radius); in hostapd_config_free_bss()
872 os_free(conf->radius_das_shared_secret); in hostapd_config_free_bss()
873 hostapd_config_free_vlan(conf); in hostapd_config_free_bss()
874 os_free(conf->time_zone); in hostapd_config_free_bss()
877 hostapd_config_clear_rxkhs(conf); in hostapd_config_free_bss()
878 os_free(conf->rxkh_file); in hostapd_config_free_bss()
879 conf->rxkh_file = NULL; in hostapd_config_free_bss()
883 os_free(conf->wps_pin_requests); in hostapd_config_free_bss()
884 os_free(conf->device_name); in hostapd_config_free_bss()
885 os_free(conf->manufacturer); in hostapd_config_free_bss()
886 os_free(conf->model_name); in hostapd_config_free_bss()
887 os_free(conf->model_number); in hostapd_config_free_bss()
888 os_free(conf->serial_number); in hostapd_config_free_bss()
889 os_free(conf->config_methods); in hostapd_config_free_bss()
890 os_free(conf->ap_pin); in hostapd_config_free_bss()
891 os_free(conf->extra_cred); in hostapd_config_free_bss()
892 os_free(conf->ap_settings); in hostapd_config_free_bss()
893 hostapd_config_clear_wpa_psk(&conf->multi_ap_backhaul_ssid.wpa_psk); in hostapd_config_free_bss()
894 str_clear_free(conf->multi_ap_backhaul_ssid.wpa_passphrase); in hostapd_config_free_bss()
895 os_free(conf->upnp_iface); in hostapd_config_free_bss()
896 os_free(conf->friendly_name); in hostapd_config_free_bss()
897 os_free(conf->manufacturer_url); in hostapd_config_free_bss()
898 os_free(conf->model_description); in hostapd_config_free_bss()
899 os_free(conf->model_url); in hostapd_config_free_bss()
900 os_free(conf->upc); in hostapd_config_free_bss()
902 wpabuf_free(conf->wps_vendor_ext[i]); in hostapd_config_free_bss()
903 wpabuf_free(conf->wps_application_ext); in hostapd_config_free_bss()
904 wpabuf_free(conf->wps_nfc_dh_pubkey); in hostapd_config_free_bss()
905 wpabuf_free(conf->wps_nfc_dh_privkey); in hostapd_config_free_bss()
906 wpabuf_free(conf->wps_nfc_dev_pw); in hostapd_config_free_bss()
909 os_free(conf->roaming_consortium); in hostapd_config_free_bss()
910 os_free(conf->venue_name); in hostapd_config_free_bss()
911 os_free(conf->venue_url); in hostapd_config_free_bss()
912 os_free(conf->nai_realm_data); in hostapd_config_free_bss()
913 os_free(conf->network_auth_type); in hostapd_config_free_bss()
914 os_free(conf->anqp_3gpp_cell_net); in hostapd_config_free_bss()
915 os_free(conf->domain_name); in hostapd_config_free_bss()
916 hostapd_config_free_anqp_elem(conf); in hostapd_config_free_bss()
919 os_free(conf->dump_msk_file); in hostapd_config_free_bss()
923 os_free(conf->hs20_oper_friendly_name); in hostapd_config_free_bss()
924 os_free(conf->hs20_wan_metrics); in hostapd_config_free_bss()
925 os_free(conf->hs20_connection_capability); in hostapd_config_free_bss()
926 os_free(conf->hs20_operating_class); in hostapd_config_free_bss()
927 os_free(conf->hs20_icons); in hostapd_config_free_bss()
928 if (conf->hs20_osu_providers) { in hostapd_config_free_bss()
929 for (i = 0; i < conf->hs20_osu_providers_count; i++) { in hostapd_config_free_bss()
932 p = &conf->hs20_osu_providers[i]; in hostapd_config_free_bss()
943 os_free(conf->hs20_osu_providers); in hostapd_config_free_bss()
945 if (conf->hs20_operator_icon) { in hostapd_config_free_bss()
946 for (i = 0; i < conf->hs20_operator_icon_count; i++) in hostapd_config_free_bss()
947 os_free(conf->hs20_operator_icon[i]); in hostapd_config_free_bss()
948 os_free(conf->hs20_operator_icon); in hostapd_config_free_bss()
950 os_free(conf->subscr_remediation_url); in hostapd_config_free_bss()
951 os_free(conf->hs20_sim_provisioning_url); in hostapd_config_free_bss()
952 os_free(conf->t_c_filename); in hostapd_config_free_bss()
953 os_free(conf->t_c_server_url); in hostapd_config_free_bss()
956 wpabuf_free(conf->vendor_elements); in hostapd_config_free_bss()
957 wpabuf_free(conf->assocresp_elements); in hostapd_config_free_bss()
959 os_free(conf->sae_groups); in hostapd_config_free_bss()
961 os_free(conf->owe_groups); in hostapd_config_free_bss()
964 os_free(conf->wowlan_triggers); in hostapd_config_free_bss()
966 os_free(conf->server_id); in hostapd_config_free_bss()
969 wpabuf_free(conf->own_ie_override); in hostapd_config_free_bss()
970 wpabuf_free(conf->rsne_override); in hostapd_config_free_bss()
971 wpabuf_free(conf->rsnoe_override); in hostapd_config_free_bss()
972 wpabuf_free(conf->rsno2e_override); in hostapd_config_free_bss()
973 wpabuf_free(conf->rsnxe_override); in hostapd_config_free_bss()
974 wpabuf_free(conf->rsnxoe_override); in hostapd_config_free_bss()
975 wpabuf_free(conf->sae_commit_override); in hostapd_config_free_bss()
976 wpabuf_free(conf->rsne_override_eapol); in hostapd_config_free_bss()
977 wpabuf_free(conf->rsnxe_override_eapol); in hostapd_config_free_bss()
978 wpabuf_free(conf->rsne_override_ft); in hostapd_config_free_bss()
979 wpabuf_free(conf->rsnxe_override_ft); in hostapd_config_free_bss()
980 wpabuf_free(conf->gtk_rsc_override); in hostapd_config_free_bss()
981 wpabuf_free(conf->igtk_rsc_override); in hostapd_config_free_bss()
982 wpabuf_free(conf->eapol_m1_elements); in hostapd_config_free_bss()
983 wpabuf_free(conf->eapol_m3_elements); in hostapd_config_free_bss()
984 wpabuf_free(conf->presp_elements); in hostapd_config_free_bss()
987 os_free(conf->no_probe_resp_if_seen_on); in hostapd_config_free_bss()
988 os_free(conf->no_auth_if_seen_on); in hostapd_config_free_bss()
990 hostapd_config_free_fils_realms(conf); in hostapd_config_free_bss()
993 os_free(conf->dpp_name); in hostapd_config_free_bss()
994 os_free(conf->dpp_mud_url); in hostapd_config_free_bss()
995 os_free(conf->dpp_extra_conf_req_name); in hostapd_config_free_bss()
996 os_free(conf->dpp_extra_conf_req_value); in hostapd_config_free_bss()
997 os_free(conf->dpp_connector); in hostapd_config_free_bss()
998 wpabuf_free(conf->dpp_netaccesskey); in hostapd_config_free_bss()
999 wpabuf_free(conf->dpp_csign); in hostapd_config_free_bss()
1001 hostapd_dpp_controller_conf_free(conf->dpp_controller); in hostapd_config_free_bss()
1005 hostapd_config_free_sae_passwords(conf); in hostapd_config_free_bss()
1011 wt = conf->airtime_weight_list; in hostapd_config_free_bss()
1012 conf->airtime_weight_list = NULL; in hostapd_config_free_bss()
1022 os_free(conf->pasn_groups); in hostapd_config_free_bss()
1025 os_free(conf); in hostapd_config_free_bss()
1033 void hostapd_config_free(struct hostapd_config *conf) in hostapd_config_free() argument
1037 if (conf == NULL) in hostapd_config_free()
1040 for (i = 0; i < conf->num_bss; i++) in hostapd_config_free()
1041 hostapd_config_free_bss(conf->bss[i]); in hostapd_config_free()
1042 os_free(conf->bss); in hostapd_config_free()
1043 os_free(conf->supported_rates); in hostapd_config_free()
1044 os_free(conf->basic_rates); in hostapd_config_free()
1045 os_free(conf->acs_ch_list.range); in hostapd_config_free()
1046 os_free(conf->acs_freq_list.range); in hostapd_config_free()
1047 os_free(conf->driver_params); in hostapd_config_free()
1049 os_free(conf->acs_chan_bias); in hostapd_config_free()
1051 wpabuf_free(conf->lci); in hostapd_config_free()
1052 wpabuf_free(conf->civic); in hostapd_config_free()
1054 os_free(conf); in hostapd_config_free()
1148 const u8 * hostapd_get_psk(const struct hostapd_bss_config *conf, in hostapd_get_psk() argument
1169 for (psk = conf->ssid.wpa_psk; psk != NULL; psk = psk->next) { in hostapd_get_psk()
1268 struct hostapd_config *conf, in hostapd_config_check_bss() argument
1271 if (full_config && is_6ghz_op_class(conf->op_class) && in hostapd_config_check_bss()
1326 for (i = 0; i < conf->num_bss; i++) { in hostapd_config_check_bss()
1327 if (conf->bss[i] != bss && in hostapd_config_check_bss()
1328 (hostapd_mac_comp(conf->bss[i]->bssid, in hostapd_config_check_bss()
1333 conf->bss[i]->iface, bss->iface); in hostapd_config_check_bss()
1351 if (full_config && conf->ieee80211n && in hostapd_config_check_bss()
1352 conf->hw_mode == HOSTAPD_MODE_IEEE80211B) { in hostapd_config_check_bss()
1359 if (full_config && conf->ieee80211n && in hostapd_config_check_bss()
1367 if (full_config && conf->ieee80211n && bss->wpa && in hostapd_config_check_bss()
1380 if (full_config && conf->ieee80211ac && in hostapd_config_check_bss()
1388 if (full_config && conf->ieee80211ac && bss->wpa && in hostapd_config_check_bss()
1401 if (full_config && conf->ieee80211ax && in hostapd_config_check_bss()
1409 if (full_config && conf->ieee80211ax && bss->wpa && in hostapd_config_check_bss()
1489 (!conf->ieee80211ax || bss->disable_11ax)) { in hostapd_config_check_bss()
1511 if (full_config && bss->ignore_broadcast_ssid && conf->mbssid) { in hostapd_config_check_bss()
1521 static int hostapd_config_check_cw(struct hostapd_config *conf, int queue) in hostapd_config_check_cw() argument
1523 int tx_cwmin = conf->tx_queue[queue].cwmin; in hostapd_config_check_cw()
1524 int tx_cwmax = conf->tx_queue[queue].cwmax; in hostapd_config_check_cw()
1525 int ac_cwmin = conf->wmm_ac_params[queue].cwmin; in hostapd_config_check_cw()
1526 int ac_cwmax = conf->wmm_ac_params[queue].cwmax; in hostapd_config_check_cw()
1544 int hostapd_config_check(struct hostapd_config *conf, int full_config) in hostapd_config_check() argument
1548 if (full_config && is_6ghz_op_class(conf->op_class) && in hostapd_config_check()
1549 !conf->hw_mode_set) { in hostapd_config_check()
1552 conf->hw_mode = HOSTAPD_MODE_IEEE80211A; in hostapd_config_check()
1555 if (full_config && conf->ieee80211d && in hostapd_config_check()
1556 (!conf->country[0] || !conf->country[1])) { in hostapd_config_check()
1562 if (full_config && conf->ieee80211h && !conf->ieee80211d) { in hostapd_config_check()
1568 if (full_config && conf->local_pwr_constraint != -1 && in hostapd_config_check()
1569 !conf->ieee80211d) { in hostapd_config_check()
1574 if (full_config && conf->spectrum_mgmt_required && in hostapd_config_check()
1575 conf->local_pwr_constraint == -1) { in hostapd_config_check()
1581 if (full_config && conf->airtime_mode > AIRTIME_MODE_STATIC && in hostapd_config_check()
1582 !conf->airtime_update_interval) { in hostapd_config_check()
1588 if (hostapd_config_check_cw(conf, i)) in hostapd_config_check()
1593 if (full_config && conf->ieee80211be && !conf->ieee80211ax) { in hostapd_config_check()
1600 hostapd_set_and_check_bw320_offset(conf, in hostapd_config_check()
1601 conf->eht_bw320_offset); in hostapd_config_check()
1604 if (full_config && conf->mbssid && !conf->ieee80211ax) { in hostapd_config_check()
1610 for (i = 0; i < conf->num_bss; i++) { in hostapd_config_check()
1611 if (hostapd_config_check_bss(conf->bss[i], conf, full_config)) in hostapd_config_check()
1700 int hostapd_sae_pw_id_in_use(struct hostapd_bss_config *conf) in hostapd_sae_pw_id_in_use() argument
1705 if (conf->ssid.wpa_passphrase) in hostapd_sae_pw_id_in_use()
1708 for (pw = conf->sae_passwords; pw; pw = pw->next) { in hostapd_sae_pw_id_in_use()
1723 bool hostapd_sae_pk_in_use(struct hostapd_bss_config *conf) in hostapd_sae_pk_in_use() argument
1728 for (pw = conf->sae_passwords; pw; pw = pw->next) { in hostapd_sae_pk_in_use()
1739 bool hostapd_sae_pk_exclusively(struct hostapd_bss_config *conf) in hostapd_sae_pk_exclusively() argument
1744 if (conf->ssid.wpa_passphrase) in hostapd_sae_pk_exclusively()
1747 for (pw = conf->sae_passwords; pw; pw = pw->next) { in hostapd_sae_pk_exclusively()