Lines Matching defs:conf
241 if (wpa_s->conf->ap_scan == 0 &&
343 eapol_conf.fast_reauth = wpa_s->conf->fast_reauth;
349 eapol_conf.external_sim = wpa_s->conf->external_sim;
500 if (wpa_s->conf != NULL) {
502 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next)
765 name = wpa_s->conf->bgscan;
888 if (wpa_s->conf->p2p_cli_probe && wpa_s->current_ssid &&
1049 struct wpa_config *conf;
1055 conf = wpa_config_read(wpa_s->confname, NULL);
1056 if (conf == NULL) {
1062 !wpa_config_read(wpa_s->confanother, conf)) {
1069 conf->changed_parameters = (unsigned int) -1;
1071 reconf_ctrl = !!conf->ctrl_interface != !!wpa_s->conf->ctrl_interface
1072 || (conf->ctrl_interface && wpa_s->conf->ctrl_interface &&
1073 os_strcmp(conf->ctrl_interface,
1074 wpa_s->conf->ctrl_interface) != 0);
1105 wpa_sm_set_fast_reauth(wpa_s->wpa, wpa_s->conf->fast_reauth);
1108 old_ap_scan = wpa_s->conf->ap_scan;
1109 wpa_config_free(wpa_s->conf);
1110 wpa_s->conf = conf;
1111 if (old_ap_scan != wpa_s->conf->ap_scan)
1706 if (wpa_s->conf->coloc_intf_reporting) {
1714 if (!wpa_s->conf->disable_btm)
1723 if (wpa_s->conf->interworking)
1735 if (wpa_s->conf->hs20)
1747 if (wpa_s->conf->ftm_responder)
1749 if (wpa_s->conf->ftm_initiator)
1816 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) {
1868 wpa_s->conf->rand_addr_lifetime)) {
1914 !wpa_s->conf->preassoc_mac_addr)
1917 return wpas_update_random_addr(wpa_s, wpa_s->conf->preassoc_mac_addr);
1947 rand_style = wpa_s->conf->mac_addr;
2564 wpa_s->conf->okc :
3087 wpa_s->conf->ap_scan == 2 &&
3186 wpa_s->conf->ap_scan == 2) {
3201 params.beacon_int = wpa_s->conf->beacon_int;
3234 if (wpa_s->conf->key_mgmt_offload) {
3241 wpa_s->conf->okc : ssid->proactive_key_caching;
3370 } else if (wpa_s->conf->ap_scan == 1) {
3530 ssid = wpa_config_add_network(wpa_s->conf);
3559 ssid = wpa_config_get_network(wpa_s->conf, id);
3590 if (wpa_config_remove_network(wpa_s->conf, id) < 0)
3615 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next)
3655 for (other_ssid = wpa_s->conf->ssid; other_ssid;
3726 for (other_ssid = wpa_s->conf->ssid; other_ssid;
3813 os_free(wpa_s->conf->pkcs11_engine_path);
3814 os_free(wpa_s->conf->pkcs11_module_path);
3815 wpa_s->conf->pkcs11_engine_path = pkcs11_engine_path_copy;
3816 wpa_s->conf->pkcs11_module_path = pkcs11_module_path_copy;
3856 if (ap_scan == 2 && ap_scan != wpa_s->conf->ap_scan &&
3860 "associating", wpa_s->conf->ap_scan, ap_scan);
3865 old_ap_scan = wpa_s->conf->ap_scan;
3866 wpa_s->conf->ap_scan = ap_scan;
3868 if (old_ap_scan != wpa_s->conf->ap_scan)
3892 wpa_s->conf->bss_expiration_age = bss_expire_age;
3915 wpa_s->conf->bss_expiration_scan_count = bss_expire_count;
4049 wired = wpa_s->conf->ap_scan == 0 &&
4052 entry = wpa_s->conf->ssid;
4410 if (wpa_s->conf->ap_scan == 2 &&
4840 if (!wpa_s->conf->pcsc_reader)
4843 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader);
4847 if (wpa_s->conf->pcsc_pin &&
4848 scard_set_pin(wpa_s->scard, wpa_s->conf->pcsc_pin) < 0) {
4885 if (!wpa_s->conf->ext_password_backend)
4888 val = os_strdup(wpa_s->conf->ext_password_backend);
5039 if (!wpa_s->conf->wowlan_triggers)
5042 triggers = wpa_get_wowlan_triggers(wpa_s->conf->wowlan_triggers, capa);
5553 if (wpa_drv_set_param(wpa_s, wpa_s->conf->driver_param) < 0) {
5555 "driver_param '%s'", wpa_s->conf->driver_param);
5620 wpa_printf(MSG_DEBUG, "Initializing interface '%s' conf '%s' driver "
5641 wpa_s->conf = wpa_config_read(wpa_s->confname, NULL);
5642 if (wpa_s->conf == NULL) {
5649 !wpa_config_read(wpa_s->confanother, wpa_s->conf)) {
5661 os_free(wpa_s->conf->ctrl_interface);
5662 wpa_s->conf->ctrl_interface =
5667 os_free(wpa_s->conf->driver_param);
5668 wpa_s->conf->driver_param =
5673 os_free(wpa_s->conf->ctrl_interface);
5674 wpa_s->conf->ctrl_interface = NULL;
5677 wpa_s->conf = wpa_config_alloc_empty(iface->ctrl_interface,
5680 if (wpa_s->conf == NULL) {
5724 wpa_sm_set_fast_reauth(wpa_s->wpa, wpa_s->conf->fast_reauth);
5726 if (wpa_s->conf->dot11RSNAConfigPMKLifetime &&
5728 wpa_s->conf->dot11RSNAConfigPMKLifetime)) {
5734 if (wpa_s->conf->dot11RSNAConfigPMKReauthThreshold &&
5736 wpa_s->conf->dot11RSNAConfigPMKReauthThreshold)) {
5742 if (wpa_s->conf->dot11RSNAConfigSATimeout &&
5744 wpa_s->conf->dot11RSNAConfigSATimeout)) {
5833 if (wpa_s->conf->country[0] && wpa_s->conf->country[1] &&
5834 wpa_drv_set_country(wpa_s, wpa_s->conf->country)) {
5840 if (wpa_s->conf->fst_group_id) {
5845 os_strlcpy(cfg.group_id, wpa_s->conf->fst_group_id,
5847 cfg.priority = wpa_s->conf->fst_priority;
5848 cfg.llt = wpa_s->conf->fst_llt;
5891 wpa_s->conf->ctrl_interface);
5948 wpas_sched_scan_plans_set(wpa_s, wpa_s->conf->sched_scan_plans);
5954 if (wpa_s->conf->oce) {
5955 if ((wpa_s->conf->oce & OCE_STA) &&
5958 if ((wpa_s->conf->oce & OCE_STA_CFON) &&
5965 wpas_mbo_update_non_pref_chan(wpa_s, wpa_s->conf->non_pref_chan);
6046 if (wpa_s->conf != NULL) {
6047 wpa_config_free(wpa_s->conf);
6048 wpa_s->conf = NULL;
6184 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next)
6196 !wpa_s->global->p2p_disabled && !wpa_s->conf->p2p_disabled &&
6345 wpa_bss_flush_by_age(wpa_s, wpa_s->conf->bss_expiration_age);
6604 if ((wpa_s->conf->changed_parameters & CFG_CHANGED_COUNTRY) &&
6605 wpa_s->conf->country[0] && wpa_s->conf->country[1]) {
6607 country[0] = wpa_s->conf->country[0];
6608 country[1] = wpa_s->conf->country[1];
6616 if (wpa_s->conf->changed_parameters & CFG_CHANGED_EXT_PW_BACKEND)
6619 if (wpa_s->conf->changed_parameters & CFG_CHANGED_SCHED_SCAN_PLANS)
6620 wpas_sched_scan_plans_set(wpa_s, wpa_s->conf->sched_scan_plans);
6622 if (wpa_s->conf->changed_parameters & CFG_CHANGED_WOWLAN_TRIGGERS) {
6629 wpa_s->conf->wowlan_triggers);
6632 if (wpa_s->conf->changed_parameters & CFG_CHANGED_DISABLE_BTM)
6639 wpa_s->conf->changed_parameters = 0;
6828 return wpa_s->conf->ap_scan == 2 ||
6977 if (wpa_s->conf->pmf == MGMT_FRAME_PROTECTION_OPTIONAL &&
7000 return wpa_s->conf->pmf;