Lines Matching refs:resp
851 struct add_network_resp resp = {0}; in wpas_add_and_config_network() local
873 ret = z_wpa_ctrl_add_network(&resp); in wpas_add_and_config_network()
879 wpa_printf(MSG_DEBUG, "NET added: %d", resp.network_id); in wpas_add_and_config_network()
882 if (!wpa_cli_cmd_v("set_network %d mode 2", resp.network_id)) { in wpas_add_and_config_network()
896 resp.network_id, ssid_null_terminated)) { in wpas_add_and_config_network()
900 if (!wpa_cli_cmd_v("set_network %d scan_ssid 1", resp.network_id)) { in wpas_add_and_config_network()
904 if (!wpa_cli_cmd_v("set_network %d key_mgmt NONE", resp.network_id)) { in wpas_add_and_config_network()
908 if (!wpa_cli_cmd_v("set_network %d ieee80211w 0", resp.network_id)) { in wpas_add_and_config_network()
919 if (!wpa_cli_cmd_v("set_network %d scan_freq%s", resp.network_id, in wpas_add_and_config_network()
953 resp.network_id)) { in wpas_add_and_config_network()
973 resp.network_id, sae_null_terminated)) { in wpas_add_and_config_network()
978 resp.network_id, psk_null_terminated)) { in wpas_add_and_config_network()
993 if (!wpa_cli_cmd_v("set_network %d key_mgmt SAE%s", resp.network_id, in wpas_add_and_config_network()
999 resp.network_id, psk_null_terminated)) { in wpas_add_and_config_network()
1004 resp.network_id)) { in wpas_add_and_config_network()
1010 resp.network_id, psk_null_terminated)) { in wpas_add_and_config_network()
1015 resp.network_id, params->ft_used ? " FT-PSK" : "")) { in wpas_add_and_config_network()
1021 resp.network_id)) { in wpas_add_and_config_network()
1026 if (!wpa_cli_cmd_v("set_network %d psk \"%s\"", resp.network_id, in wpas_add_and_config_network()
1033 resp.network_id, sae_null_terminated)) { in wpas_add_and_config_network()
1038 resp.network_id, psk_null_terminated)) { in wpas_add_and_config_network()
1048 resp.network_id)) { in wpas_add_and_config_network()
1074 resp.network_id, in wpas_add_and_config_network()
1080 resp.network_id, &phase1[0])) in wpas_add_and_config_network()
1085 if (!wpa_cli_cmd_v("set_network %d key_mgmt %s", resp.network_id, in wpas_add_and_config_network()
1095 if (!wpa_cli_cmd_v("set_network %d group %s", resp.network_id, in wpas_add_and_config_network()
1100 if (!wpa_cli_cmd_v("set_network %d pairwise %s", resp.network_id, in wpas_add_and_config_network()
1105 if (!wpa_cli_cmd_v("set_network %d group_mgmt %s", resp.network_id, in wpas_add_and_config_network()
1111 resp.network_id)) { in wpas_add_and_config_network()
1116 if (!wpa_cli_cmd_v("set_network %d eap %s", resp.network_id, in wpas_add_and_config_network()
1129 if (!wpa_cli_cmd_v("set_network %d phase1 \"%s\"", resp.network_id, in wpas_add_and_config_network()
1136 if (!wpa_cli_cmd_v("set_network %d phase2 \"%s\"", resp.network_id, in wpas_add_and_config_network()
1144 resp.network_id, params->eap_identity)) { in wpas_add_and_config_network()
1151 resp.network_id, params->eap_password)) { in wpas_add_and_config_network()
1157 resp.network_id, params->anon_id)) { in wpas_add_and_config_network()
1168 resp.network_id)) { in wpas_add_and_config_network()
1179 resp.network_id)) { in wpas_add_and_config_network()
1190 resp.network_id)) { in wpas_add_and_config_network()
1195 resp.network_id, params->key_passwd)) { in wpas_add_and_config_network()
1206 resp.network_id)) { in wpas_add_and_config_network()
1217 resp.network_id)) { in wpas_add_and_config_network()
1228 resp.network_id)) { in wpas_add_and_config_network()
1233 resp.network_id, params->key2_passwd)) { in wpas_add_and_config_network()
1246 resp.network_id, params->mfp)) { in wpas_add_and_config_network()
1272 resp.network_id, freq)) { in wpas_add_and_config_network()
1277 resp.network_id, freq)) { in wpas_add_and_config_network()
1300 resp.network_id, bssid_str)) { in wpas_add_and_config_network()
1306 if (!wpa_cli_cmd_v("enable_network %d", resp.network_id)) { in wpas_add_and_config_network()
1310 if (!wpa_cli_cmd_v("select_network %d", resp.network_id)) { in wpas_add_and_config_network()
1319 if (!wpa_cli_cmd_v("remove_network %d", resp.network_id)) { in wpas_add_and_config_network()
3182 if (zephyr_wpa_cli_cmd_resp(cmd, params->resp)) {
3214 if (zephyr_hostapd_cli_cmd_resp(cmd, params->resp)) {