Lines Matching refs:ifname
758 if (wpa_command(ctx->ifname, cmd) < 0) in remove_sp_creds()
776 if (set_cred_quoted(ctx->ifname, id, "excluded_ssid", txt) < 0) in set_pps_cred_policy_spe()
842 if (set_cred_quoted(ctx->ifname, id, "roaming_partner", val) < 0) in set_pps_cred_policy_prp()
913 set_cred(ctx->ifname, id, "min_dl_bandwidth_home", dl) < 0) in set_pps_cred_policy_min_backhaul()
916 set_cred(ctx->ifname, id, "min_ul_bandwidth_home", ul) < 0) in set_pps_cred_policy_min_backhaul()
920 set_cred(ctx->ifname, id, "min_dl_bandwidth_roaming", dl) < in set_pps_cred_policy_min_backhaul()
924 set_cred(ctx->ifname, id, "min_ul_bandwidth_roaming", ul) < in set_pps_cred_policy_min_backhaul()
999 if (set_cred(ctx->ifname, id, "req_conn_capab", buf) < 0) in set_pps_cred_policy_required_proto_port()
1027 if (set_cred(ctx->ifname, id, "max_bss_load", str) < 0) in set_pps_cred_policy_max_bss_load()
1069 if (set_cred(ctx->ifname, id, "sp_priority", str) < 0) in set_pps_cred_priority()
1166 if (set_cred_quoted(ctx->ifname, id, "domain", str) < 0) in set_pps_cred_home_sp_fqdn()
1168 if (set_cred_quoted(ctx->ifname, id, "domain_suffix_match", str) < 0) in set_pps_cred_home_sp_fqdn()
1212 if (set_cred(ctx->ifname, id, "required_roaming_consortium", in set_pps_cred_home_sp_oi()
1216 if (set_cred_quoted(ctx->ifname, id, "roaming_consortium", in set_pps_cred_home_sp_oi()
1263 if (set_cred_quoted(ctx->ifname, id, "domain", fqdn) < 0) in set_pps_cred_home_sp_other_partner()
1369 if (set_cred_quoted(ctx->ifname, id, "username", str) < 0) in set_pps_cred_username()
1400 if (set_cred(ctx->ifname, id, "password", hex) < 0) in set_pps_cred_password()
1493 if (set_cred_quoted(ctx->ifname, id, "username", "cert") < 0) { in set_pps_cred_digital_cert()
1499 if (set_cred_quoted(ctx->ifname, id, "client_cert", buf) < 0) { in set_pps_cred_digital_cert()
1506 if (set_cred_quoted(ctx->ifname, id, "private_key", buf) < 0) { in set_pps_cred_digital_cert()
1523 if (set_cred_quoted(ctx->ifname, id, "realm", str) < 0) in set_pps_cred_realm()
1534 if (set_cred_quoted(ctx->ifname, id, "ca_cert", buf) < 0) { in set_pps_cred_realm()
1551 set_cred(ctx->ifname, id, "ocsp", "2") < 0) in set_pps_cred_check_aaa_cert_status()
1582 if (set_cred(ctx->ifname, id, "eap", "SIM") < 0) in set_pps_cred_sim()
1586 if (set_cred(ctx->ifname, id, "eap", "AKA") < 0) in set_pps_cred_sim()
1590 if (set_cred(ctx->ifname, id, "eap", "AKA'") < 0) in set_pps_cred_sim()
1636 if (set_cred_quoted(ctx->ifname, id, "imsi", buf) < 0) in set_pps_cred_sim()
1639 if (set_cred_quoted(ctx->ifname, id, "milenage", in set_pps_cred_sim()
1745 id = add_cred(ctx->ifname); in set_pps()
1753 set_cred(ctx->ifname, id, "update_identifier", in set_pps()
1756 if (set_cred_quoted(ctx->ifname, id, "provisioning_sp", fqdn) < in set_pps()
2032 const char *ifname = ctx->ifname; in osu_connect() local
2037 id = add_network(ifname); in osu_connect()
2040 if (set_network_quoted(ifname, id, "ssid", ssid) < 0) in osu_connect()
2048 if (set_network(ifname, id, "proto", "OSEN") < 0 || in osu_connect()
2049 set_network(ifname, id, "key_mgmt", "OSEN") < 0 || in osu_connect()
2050 set_network(ifname, id, "pairwise", "CCMP") < 0 || in osu_connect()
2051 set_network(ifname, id, "group", "GTK_NOT_USED") < 0 || in osu_connect()
2052 set_network(ifname, id, "eap", "WFA-UNAUTH-TLS") < 0 || in osu_connect()
2053 set_network(ifname, id, "ocsp", "2") < 0 || in osu_connect()
2054 set_network_quoted(ifname, id, "identity", osu_nai) < 0 || in osu_connect()
2055 set_network_quoted(ifname, id, "ca_cert", fname) < 0) in osu_connect()
2058 if (set_network(ifname, id, "key_mgmt", "NONE") < 0) in osu_connect()
2062 mon = open_wpa_mon(ifname); in osu_connect()
2069 if (wpa_command(ifname, buf) < 0) in osu_connect()
2083 wpa_command(ifname, buf); in osu_connect()
2088 if (wait_ip_addr(ifname, 15) < 0) { in osu_connect()
2113 wpa_command(ifname, buf); in osu_connect()
2120 if (wpa_command(ctx->ifname, "INTERWORKING_SELECT auto") < 0) { in osu_connect()
2333 const char *ifname; in cmd_signup() local
2336 ifname = ctx->ifname; in cmd_signup()
2349 if (wpa_command(ifname, buf) < 0) { in cmd_signup()
2354 mon = open_wpa_mon(ifname); in cmd_signup()
2360 if (wpa_command(ifname, "FETCH_OSU") < 0) { in cmd_signup()
2408 } else if (get_wpa_status(ctx->ifname, "provisioning_sp", buf, in cmd_sub_rem()
2520 if (wait_ip_addr(ctx->ifname, 15) < 0) { in cmd_sub_rem()
2566 } else if (get_wpa_status(ctx->ifname, "provisioning_sp", buf, in cmd_pol_upd()
2906 ctx->ifname = "wlan0"; in init_ctx()
3062 ctx.ifname = optarg; in main()