Lines Matching refs:atoi

229 			vlan_id = atoi(pos);  in hostapd_config_read_maclist()
675 attr->type = atoi(value); in hostapd_parse_radius_attr()
717 wpabuf_put_be32(attr->val, atoi(pos)); in hostapd_parse_radius_attr()
972 list[count++] = atoi(pos); in hostapd_parse_intlist()
1029 i = atoi(value); in hostapd_config_read_int10()
1089 queue->aifs = atoi(val); in hostapd_config_tx_queue()
1096 queue->cwmin = atoi(val); in hostapd_config_tx_queue()
1103 queue->cwmax = atoi(val); in hostapd_config_tx_queue()
1524 url->venue_number = atoi(pos); in parse_venue_url()
1658 realm->encoding = atoi(pos); in parse_nai_realm()
1699 eap->eap_method = atoi(pos); in parse_nai_realm()
1709 eap->auth_id[eap->num_auths] = atoi(pos); in parse_nai_realm()
1714 eap->auth_val[eap->num_auths] = atoi(pos); in parse_nai_realm()
1765 infoid = atoi(buf); in parse_anqp_elem()
1815 val = atoi(pos); in parse_qos_map_set()
1862 conn_cap[0] = atoi(pos); in hs20_parse_conn_capab()
1867 WPA_PUT_LE16(conn_cap + 1, atoi(pos)); in hs20_parse_conn_capab()
1872 conn_cap[3] = atoi(pos); in hs20_parse_conn_capab()
1901 WPA_PUT_LE32(wan_metrics + 1, atoi(pos)); in hs20_parse_wan_metrics()
1908 WPA_PUT_LE32(wan_metrics + 5, atoi(pos)); in hs20_parse_wan_metrics()
1915 wan_metrics[9] = atoi(pos); in hs20_parse_wan_metrics()
1922 wan_metrics[10] = atoi(pos); in hs20_parse_wan_metrics()
1929 WPA_PUT_LE16(wan_metrics + 11, atoi(pos)); in hs20_parse_wan_metrics()
1970 icon->width = atoi(pos); in hs20_parse_icon()
1976 icon->height = atoi(pos); in hs20_parse_icon()
2200 bias[num].channel = atoi(pos); in hostapd_config_parse_acs_chan_bias()
2341 pw->vlan_id = atoi(pos2); in parse_sae_password()
2416 bss->logger_syslog_level = atoi(pos); in hostapd_config_fill()
2418 bss->logger_stdout_level = atoi(pos); in hostapd_config_fill()
2420 bss->logger_syslog = atoi(pos); in hostapd_config_fill()
2422 bss->logger_stdout = atoi(pos); in hostapd_config_fill()
2450 bss->ssid.utf8_ssid = atoi(pos) > 0; in hostapd_config_fill()
2452 enum macaddr_acl acl = atoi(pos); in hostapd_config_fill()
2477 bss->wds_sta = atoi(pos); in hostapd_config_fill()
2479 bss->start_disabled = atoi(pos); in hostapd_config_fill()
2481 bss->isolate = atoi(pos); in hostapd_config_fill()
2483 bss->ap_max_inactivity = atoi(pos); in hostapd_config_fill()
2485 bss->skip_inactivity_poll = atoi(pos); in hostapd_config_fill()
2491 conf->ieee80211d = atoi(pos); in hostapd_config_fill()
2493 conf->ieee80211h = atoi(pos); in hostapd_config_fill()
2495 bss->ieee802_1x = atoi(pos); in hostapd_config_fill()
2497 int eapol_version = atoi(pos); in hostapd_config_fill()
2509 bss->eap_server = atoi(pos); in hostapd_config_fill()
2512 bss->eap_server = atoi(pos); in hostapd_config_fill()
2539 bss->check_crl = atoi(pos); in hostapd_config_fill()
2541 bss->check_crl_strict = atoi(pos); in hostapd_config_fill()
2543 bss->crl_reload_interval = atoi(pos); in hostapd_config_fill()
2545 bss->tls_session_lifetime = atoi(pos); in hostapd_config_fill()
2564 bss->fragment_size = atoi(pos); in hostapd_config_fill()
2602 bss->eap_fast_prov = atoi(pos); in hostapd_config_fill()
2604 bss->pac_key_lifetime = atoi(pos); in hostapd_config_fill()
2606 bss->pac_key_refresh_time = atoi(pos); in hostapd_config_fill()
2613 bss->eap_sim_db_timeout = atoi(pos); in hostapd_config_fill()
2615 bss->eap_sim_aka_result_ind = atoi(pos); in hostapd_config_fill()
2619 bss->tnc = atoi(pos); in hostapd_config_fill()
2623 bss->pwd_group = atoi(pos); in hostapd_config_fill()
2627 bss->eap_server_erp = atoi(pos); in hostapd_config_fill()
2649 bss->erp_send_reauth_start = atoi(pos); in hostapd_config_fill()
2654 int val = atoi(pos); in hostapd_config_fill()
2664 int val = atoi(pos); in hostapd_config_fill()
2674 bss->wep_rekeying_period = atoi(pos); in hostapd_config_fill()
2681 bss->eap_reauth_period = atoi(pos); in hostapd_config_fill()
2688 bss->eapol_key_index_workaround = atoi(pos); in hostapd_config_fill()
2734 bss->radius->auth_server->port = atoi(pos); in hostapd_config_fill()
2768 bss->radius->acct_server->port = atoi(pos); in hostapd_config_fill()
2782 bss->radius->retry_primary_interval = atoi(pos); in hostapd_config_fill()
2784 bss->acct_interim_interval = atoi(pos); in hostapd_config_fill()
2786 bss->radius_request_cui = atoi(pos); in hostapd_config_fill()
2820 bss->radius_das_port = atoi(pos); in hostapd_config_fill()
2828 bss->radius_das_time_window = atoi(pos); in hostapd_config_fill()
2830 bss->radius_das_require_event_timestamp = atoi(pos); in hostapd_config_fill()
2833 bss->radius_das_require_message_authenticator = atoi(pos); in hostapd_config_fill()
2836 bss->auth_algs = atoi(pos); in hostapd_config_fill()
2843 bss->max_num_sta = atoi(pos); in hostapd_config_fill()
2851 bss->wpa = atoi(pos); in hostapd_config_fill()
2853 bss->wpa_group_rekey = atoi(pos); in hostapd_config_fill()
2856 bss->wpa_strict_rekey = atoi(pos); in hostapd_config_fill()
2858 bss->wpa_gmk_rekey = atoi(pos); in hostapd_config_fill()
2860 bss->wpa_ptk_rekey = atoi(pos); in hostapd_config_fill()
2884 bss->wpa_disable_eapol_key_retries = atoi(pos); in hostapd_config_fill()
2927 bss->wpa_psk_radius = atoi(pos); in hostapd_config_fill()
2972 bss->rsn_preauth = atoi(pos); in hostapd_config_fill()
3000 bss->r0_key_lifetime = atoi(pos) * 60; in hostapd_config_fill()
3002 bss->r0_key_lifetime = atoi(pos); in hostapd_config_fill()
3004 bss->r1_max_key_lifetime = atoi(pos); in hostapd_config_fill()
3006 bss->reassociation_deadline = atoi(pos); in hostapd_config_fill()
3008 bss->rkh_pos_timeout = atoi(pos); in hostapd_config_fill()
3010 bss->rkh_neg_timeout = atoi(pos); in hostapd_config_fill()
3012 bss->rkh_pull_timeout = atoi(pos); in hostapd_config_fill()
3014 bss->rkh_pull_retries = atoi(pos); in hostapd_config_fill()
3028 bss->pmk_r1_push = atoi(pos); in hostapd_config_fill()
3030 bss->ft_over_ds = atoi(pos); in hostapd_config_fill()
3032 bss->ft_psk_generate_local = atoi(pos); in hostapd_config_fill()
3070 bss->radius_server_auth_port = atoi(pos); in hostapd_config_fill()
3072 bss->radius_server_acct_port = atoi(pos); in hostapd_config_fill()
3074 bss->radius_server_ipv6 = atoi(pos); in hostapd_config_fill()
3077 bss->use_pae_group_addr = atoi(pos); in hostapd_config_fill()
3112 conf->acs_exclude_dfs = atoi(pos); in hostapd_config_fill()
3124 conf->channel = atoi(pos); in hostapd_config_fill()
3134 int val = atoi(pos); in hostapd_config_fill()
3149 int val = atoi(pos); in hostapd_config_fill()
3164 int val = atoi(pos); in hostapd_config_fill()
3173 int val = atoi(pos); in hostapd_config_fill()
3183 int val = atoi(pos); in hostapd_config_fill()
3193 conf->rts_threshold = atoi(pos); in hostapd_config_fill()
3201 conf->fragm_threshold = atoi(pos); in hostapd_config_fill()
3212 int val = atoi(pos); in hostapd_config_fill()
3235 val = atoi(pos + 3); in hostapd_config_fill()
3245 val = atoi(pos + 4); in hostapd_config_fill()
3255 val = atoi(pos); in hostapd_config_fill()
3266 if (atoi(pos)) in hostapd_config_fill()
3271 bss->ignore_broadcast_ssid = atoi(pos); in hostapd_config_fill()
3273 bss->no_probe_resp_if_max_sta = atoi(pos); in hostapd_config_fill()
3275 bss->ssid.wep.idx = atoi(pos); in hostapd_config_fill()
3294 bss->ssid.dynamic_vlan = atoi(pos); in hostapd_config_fill()
3296 bss->ssid.per_sta_vif = atoi(pos); in hostapd_config_fill()
3304 bss->ssid.vlan_naming = atoi(pos); in hostapd_config_fill()
3319 conf->ap_table_max_size = atoi(pos); in hostapd_config_fill()
3321 conf->ap_table_expiration_time = atoi(pos); in hostapd_config_fill()
3330 bss->wmm_enabled = atoi(pos); in hostapd_config_fill()
3332 bss->wmm_uapsd = atoi(pos); in hostapd_config_fill()
3353 conf->use_driver_iface_addr = atoi(pos); in hostapd_config_fill()
3356 bss->ieee80211w = atoi(pos); in hostapd_config_fill()
3372 bss->assoc_sa_query_max_timeout = atoi(pos); in hostapd_config_fill()
3379 bss->assoc_sa_query_retry_timeout = atoi(pos); in hostapd_config_fill()
3388 bss->ocv = atoi(pos); in hostapd_config_fill()
3394 conf->ieee80211n = atoi(pos); in hostapd_config_fill()
3402 conf->require_ht = atoi(pos); in hostapd_config_fill()
3404 conf->obss_interval = atoi(pos); in hostapd_config_fill()
3408 conf->ieee80211ac = atoi(pos); in hostapd_config_fill()
3416 conf->require_vht = atoi(pos); in hostapd_config_fill()
3418 conf->vht_oper_chwidth = atoi(pos); in hostapd_config_fill()
3420 conf->vht_oper_centr_freq_seg0_idx = atoi(pos); in hostapd_config_fill()
3422 conf->vht_oper_centr_freq_seg1_idx = atoi(pos); in hostapd_config_fill()
3424 bss->vendor_vht = atoi(pos); in hostapd_config_fill()
3426 bss->use_sta_nsts = atoi(pos); in hostapd_config_fill()
3430 conf->ieee80211ax = atoi(pos); in hostapd_config_fill()
3432 conf->he_phy_capab.he_su_beamformer = atoi(pos); in hostapd_config_fill()
3434 conf->he_phy_capab.he_su_beamformee = atoi(pos); in hostapd_config_fill()
3436 conf->he_phy_capab.he_mu_beamformer = atoi(pos); in hostapd_config_fill()
3438 conf->he_op.he_bss_color = atoi(pos); in hostapd_config_fill()
3440 conf->he_op.he_default_pe_duration = atoi(pos); in hostapd_config_fill()
3442 conf->he_op.he_twt_required = atoi(pos); in hostapd_config_fill()
3444 conf->he_op.he_rts_threshold = atoi(pos); in hostapd_config_fill()
3447 set_he_cap(atoi(pos), HE_QOS_INFO_EDCA_PARAM_SET_COUNT); in hostapd_config_fill()
3450 set_he_cap(atoi(pos), HE_QOS_INFO_Q_ACK); in hostapd_config_fill()
3453 set_he_cap(atoi(pos), HE_QOS_INFO_QUEUE_REQUEST); in hostapd_config_fill()
3456 set_he_cap(atoi(pos), HE_QOS_INFO_TXOP_REQUEST); in hostapd_config_fill()
3459 set_he_cap(atoi(pos), HE_MU_AC_PARAM_AIFSN); in hostapd_config_fill()
3462 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACM); in hostapd_config_fill()
3465 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACI); in hostapd_config_fill()
3468 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMIN); in hostapd_config_fill()
3471 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMAX); in hostapd_config_fill()
3474 atoi(pos) & 0xff; in hostapd_config_fill()
3477 set_he_cap(atoi(pos), HE_MU_AC_PARAM_AIFSN); in hostapd_config_fill()
3480 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACM); in hostapd_config_fill()
3483 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACI); in hostapd_config_fill()
3486 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMIN); in hostapd_config_fill()
3489 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMAX); in hostapd_config_fill()
3492 atoi(pos) & 0xff; in hostapd_config_fill()
3495 set_he_cap(atoi(pos), HE_MU_AC_PARAM_AIFSN); in hostapd_config_fill()
3498 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACM); in hostapd_config_fill()
3501 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACI); in hostapd_config_fill()
3504 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMIN); in hostapd_config_fill()
3507 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMAX); in hostapd_config_fill()
3510 atoi(pos) & 0xff; in hostapd_config_fill()
3513 set_he_cap(atoi(pos), HE_MU_AC_PARAM_AIFSN); in hostapd_config_fill()
3516 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACM); in hostapd_config_fill()
3519 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ACI); in hostapd_config_fill()
3522 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMIN); in hostapd_config_fill()
3525 set_he_cap(atoi(pos), HE_MU_AC_PARAM_ECWMAX); in hostapd_config_fill()
3528 atoi(pos) & 0xff; in hostapd_config_fill()
3531 bss->max_listen_interval = atoi(pos); in hostapd_config_fill()
3533 bss->disable_pmksa_caching = atoi(pos); in hostapd_config_fill()
3535 bss->okc = atoi(pos); in hostapd_config_fill()
3538 bss->wps_state = atoi(pos); in hostapd_config_fill()
3545 bss->wps_independent = atoi(pos); in hostapd_config_fill()
3547 bss->ap_setup_locked = atoi(pos); in hostapd_config_fill()
3615 bss->skip_cred_build = atoi(pos); in hostapd_config_fill()
3625 bss->wps_cred_processing = atoi(pos); in hostapd_config_fill()
3627 bss->wps_cred_add_sae = atoi(pos); in hostapd_config_fill()
3706 bss->pbc_in_m1 = atoi(pos); in hostapd_config_fill()
3712 bss->wps_nfc_dev_pw_id = atoi(pos); in hostapd_config_fill()
3736 if (atoi(pos)) in hostapd_config_fill()
3741 if (atoi(pos)) in hostapd_config_fill()
3747 bss->disassoc_low_ack = atoi(pos); in hostapd_config_fill()
3749 if (atoi(pos)) in hostapd_config_fill()
3754 if (atoi(pos)) in hostapd_config_fill()
3761 rsn_testing = atoi(pos); in hostapd_config_fill()
3764 bss->time_advertisement = atoi(pos); in hostapd_config_fill()
3778 bss->wnm_sleep_mode = atoi(pos); in hostapd_config_fill()
3780 bss->wnm_sleep_mode_no_keys = atoi(pos); in hostapd_config_fill()
3782 bss->bss_transition = atoi(pos); in hostapd_config_fill()
3786 bss->interworking = atoi(pos); in hostapd_config_fill()
3788 bss->access_network_type = atoi(pos); in hostapd_config_fill()
3797 bss->internet = atoi(pos); in hostapd_config_fill()
3799 bss->asra = atoi(pos); in hostapd_config_fill()
3801 bss->esr = atoi(pos); in hostapd_config_fill()
3803 bss->uesa = atoi(pos); in hostapd_config_fill()
3805 bss->venue_group = atoi(pos); in hostapd_config_fill()
3808 bss->venue_type = atoi(pos); in hostapd_config_fill()
3902 int val = atoi(pos); in hostapd_config_fill()
3912 bss->gas_comeback_delay = atoi(pos); in hostapd_config_fill()
3924 bss->proxy_arp = atoi(pos); in hostapd_config_fill()
3928 bss->hs20 = atoi(pos); in hostapd_config_fill()
3930 int val = atoi(pos); in hostapd_config_fill()
3940 bss->disable_dgaf = atoi(pos); in hostapd_config_fill()
3942 bss->na_mcast_to_ucast = atoi(pos); in hostapd_config_fill()
3944 bss->osen = atoi(pos); in hostapd_config_fill()
3946 bss->anqp_domain_id = atoi(pos); in hostapd_config_fill()
3948 bss->hs20_deauth_req_timeout = atoi(pos); in hostapd_config_fill()
4020 bss->subscr_remediation_method = atoi(pos); in hostapd_config_fill()
4035 bss->mbo_enabled = atoi(pos); in hostapd_config_fill()
4037 bss->mbo_cell_data_conn_pref = atoi(pos); in hostapd_config_fill()
4039 bss->oce = atoi(pos); in hostapd_config_fill()
4060 conf->ecsa_ie_only = atoi(pos); in hostapd_config_fill()
4062 WPA_PUT_LE16(bss->bss_load_test, atoi(pos)); in hostapd_config_fill()
4070 bss->bss_load_test[2] = atoi(pos); in hostapd_config_fill()
4078 WPA_PUT_LE16(&bss->bss_load_test[3], atoi(pos)); in hostapd_config_fill()
4085 int val = atoi(pos); in hostapd_config_fill()
4109 bss->sae_reflection_attack = atoi(pos); in hostapd_config_fill()
4129 bss->sae_anti_clogging_threshold = atoi(pos); in hostapd_config_fill()
4131 bss->sae_sync = atoi(pos); in hostapd_config_fill()
4140 bss->sae_require_mfp = atoi(pos); in hostapd_config_fill()
4142 int val = atoi(pos); in hostapd_config_fill()
4150 conf->spectrum_mgmt_required = atoi(pos); in hostapd_config_fill()
4214 conf->track_sta_max_num = atoi(pos); in hostapd_config_fill()
4216 conf->track_sta_max_age = atoi(pos); in hostapd_config_fill()
4238 if (atoi(pos)) in hostapd_config_fill()
4242 if (atoi(pos)) in hostapd_config_fill()
4248 bss->gas_address3 = atoi(pos); in hostapd_config_fill()
4250 conf->stationary_ap = atoi(pos); in hostapd_config_fill()
4252 bss->ftm_responder = atoi(pos); in hostapd_config_fill()
4254 bss->ftm_initiator = atoi(pos); in hostapd_config_fill()
4268 bss->fils_dh_group = atoi(pos); in hostapd_config_fill()
4277 bss->dhcp_rapid_commit_proxy = atoi(pos); in hostapd_config_fill()
4279 bss->fils_hlp_wait_time = atoi(pos); in hostapd_config_fill()
4281 bss->dhcp_server_port = atoi(pos); in hostapd_config_fill()
4283 bss->dhcp_relay_port = atoi(pos); in hostapd_config_fill()
4286 bss->multicast_to_unicast = atoi(pos); in hostapd_config_fill()
4288 bss->broadcast_deauth = atoi(pos); in hostapd_config_fill()
4334 bss->coloc_intf_reporting = atoi(pos); in hostapd_config_fill()
4337 int val = atoi(pos); in hostapd_config_fill()
4347 conf->rssi_reject_assoc_rssi = atoi(pos); in hostapd_config_fill()
4349 conf->rssi_reject_assoc_timeout = atoi(pos); in hostapd_config_fill()
4351 bss->pbss = atoi(pos); in hostapd_config_fill()