Home
last modified time | relevance | path

Searched refs:os_snprintf (Results 1 - 25 of 266) sorted by relevance

1234567891011

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
H A Dfst_ctrl_iface.c50 os_snprintf(reject_str, sizeof(reject_str), "%u", in format_session_state_extra()
70 len = os_snprintf(buffer, size, in format_session_state_extra()
183 return os_snprintf(buf, buflen, "FAIL\n"); in session_get()
191 return os_snprintf(buf, buflen, in session_get()
222 return os_snprintf(buf, buflen, "FAIL\n"); in session_set()
226 return os_snprintf(buf, buflen, "FAIL\n"); in session_set()
241 return os_snprintf(buf, buflen, "FAIL\n"); in session_set()
244 return os_snprintf(buf, buflen, "%s\n", ret ? "FAIL" : "OK"); in session_set()
258 return os_snprintf(buf, buflen, "FAIL\n"); in session_add()
266 return os_snprintf(bu in session_add()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
H A Dfst_ctrl_iface.c50 os_snprintf(reject_str, sizeof(reject_str), "%u", in format_session_state_extra()
70 len = os_snprintf(buffer, size, in format_session_state_extra()
183 return os_snprintf(buf, buflen, "FAIL\n"); in session_get()
191 return os_snprintf(buf, buflen, in session_get()
222 return os_snprintf(buf, buflen, "FAIL\n"); in session_set()
226 return os_snprintf(buf, buflen, "FAIL\n"); in session_set()
241 return os_snprintf(buf, buflen, "FAIL\n"); in session_set()
244 return os_snprintf(buf, buflen, "%s\n", ret ? "FAIL" : "OK"); in session_set()
258 return os_snprintf(buf, buflen, "FAIL\n"); in session_add()
266 return os_snprintf(bu in session_add()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dtaxonomy.c145 os_snprintf(wps, sizeof(wps), in ie_to_string()
150 ret = os_snprintf(fpos, fend - fpos, in ie_to_string()
156 os_snprintf(htcap, sizeof(htcap), in ie_to_string()
163 os_snprintf(htagg, sizeof(htagg), in ie_to_string()
168 os_snprintf(htmcs, sizeof(htmcs), in ie_to_string()
174 os_snprintf(vhtcap, sizeof(vhtcap), in ie_to_string()
181 os_snprintf(vhtrxmcs, sizeof(vhtrxmcs), in ie_to_string()
188 os_snprintf(vhttxmcs, sizeof(vhttxmcs), in ie_to_string()
199 p += os_snprintf(extcap, sizeof(extcap), in ie_to_string()
208 p += os_snprintf( in ie_to_string()
[all...]
H A Dctrl_iface_ap.c35 ret = os_snprintf(buf + len, buflen - len, in hostapd_write_ht_mcs_bitmask()
44 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_write_ht_mcs_bitmask()
72 ret = os_snprintf(buf, buflen, "connected_time=%lu\n", secs); in hostapd_get_sta_conn_time()
90 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n" in hostapd_get_sta_info()
100 ret = os_snprintf(buf + len, buflen - len, "rx_rate_info=%lu", in hostapd_get_sta_info()
106 ret = os_snprintf(buf + len, buflen - len, " mcs %u", in hostapd_get_sta_info()
112 ret = os_snprintf(buf + len, buflen - len, " vhtmcs %u", in hostapd_get_sta_info()
118 ret = os_snprintf(buf + len, buflen - len, " vhtnss %u", in hostapd_get_sta_info()
124 ret = os_snprintf(buf + len, buflen - len, " shortGI"); in hostapd_get_sta_info()
128 ret = os_snprintf(bu in hostapd_get_sta_info()
[all...]
H A Dmbo_ap.c67 ret = os_snprintf(pos, end - pos, "%s%u", in mbo_ap_parse_non_pref_chan()
126 ret = os_snprintf(pos, end - pos, "mbo_cell_capa=%u\n", sta->cell_capa); in mbo_ap_get_info()
134 ret = os_snprintf(pos2, end - pos2, in mbo_ap_get_info()
144 ret = os_snprintf(pos2, end - pos2, "%u%s", in mbo_ap_get_info()
157 ret = os_snprintf(pos2, end - pos2, "\n"); in mbo_ap_get_info()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dtaxonomy.c145 os_snprintf(wps, sizeof(wps), in ie_to_string()
150 ret = os_snprintf(fpos, fend - fpos, in ie_to_string()
156 os_snprintf(htcap, sizeof(htcap), in ie_to_string()
163 os_snprintf(htagg, sizeof(htagg), in ie_to_string()
168 os_snprintf(htmcs, sizeof(htmcs), in ie_to_string()
174 os_snprintf(vhtcap, sizeof(vhtcap), in ie_to_string()
181 os_snprintf(vhtrxmcs, sizeof(vhtrxmcs), in ie_to_string()
188 os_snprintf(vhttxmcs, sizeof(vhttxmcs), in ie_to_string()
199 p += os_snprintf(extcap, sizeof(extcap), in ie_to_string()
208 p += os_snprintf( in ie_to_string()
[all...]
H A Dctrl_iface_ap.c35 ret = os_snprintf(buf + len, buflen - len, in hostapd_write_ht_mcs_bitmask()
44 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_write_ht_mcs_bitmask()
64 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n" in hostapd_get_sta_tx_rx()
74 ret = os_snprintf(buf + len, buflen - len, "rx_rate_info=%lu", in hostapd_get_sta_tx_rx()
80 ret = os_snprintf(buf + len, buflen - len, " mcs %u", in hostapd_get_sta_tx_rx()
86 ret = os_snprintf(buf + len, buflen - len, " vhtmcs %u", in hostapd_get_sta_tx_rx()
92 ret = os_snprintf(buf + len, buflen - len, " vhtnss %u", in hostapd_get_sta_tx_rx()
98 ret = os_snprintf(buf + len, buflen - len, " shortGI"); in hostapd_get_sta_tx_rx()
102 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_get_sta_tx_rx()
106 ret = os_snprintf(bu in hostapd_get_sta_tx_rx()
[all...]
H A Dmbo_ap.c67 ret = os_snprintf(pos, end - pos, "%s%u", in mbo_ap_parse_non_pref_chan()
126 ret = os_snprintf(pos, end - pos, "mbo_cell_capa=%u\n", sta->cell_capa); in mbo_ap_get_info()
134 ret = os_snprintf(pos2, end - pos2, in mbo_ap_get_info()
144 ret = os_snprintf(pos2, end - pos2, "%u%s", in mbo_ap_get_info()
157 ret = os_snprintf(pos2, end - pos2, "\n"); in mbo_ap_get_info()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dhostapd_cli.c264 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); in hostapd_cli_cmd_mib()
282 os_snprintf(arg, len, "%s %s", arg1, arg2); in hostapd_cli_exec()
362 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", in hostapd_cli_cmd_deauthenticate()
365 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); in hostapd_cli_cmd_deauthenticate()
380 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", in hostapd_cli_cmd_disassociate()
383 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); in hostapd_cli_cmd_disassociate()
398 os_snprintf(buf, sizeof(buf), "SIGNATURE %s", argv[0]); in hostapd_cli_cmd_signature()
455 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", in hostapd_cli_cmd_wps_check_pin()
458 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", in hostapd_cli_cmd_wps_check_pin()
500 os_snprintf(bu in hostapd_cli_cmd_wps_nfc_tag_read()
[all...]
H A Dap_ctrl_iface.c215 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); in hostapd_ctrl_iface_wps_check_pin()
222 ret = os_snprintf(buf, buflen, "%s", pin); in hostapd_ctrl_iface_wps_check_pin()
458 return os_snprintf(buf, buflen, "OK\n"); in hostapd_ctrl_iface_wps_ap_pin()
467 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
474 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
491 return os_snprintf(buf, buflen, "%s", pin); in hostapd_ctrl_iface_wps_ap_pin()
551 ret = os_snprintf(pos, end - pos, "PBC Status: %s\n", in hostapd_ctrl_iface_wps_get_status()
558 ret = os_snprintf(pos, end - pos, "Last WPS result: %s\n", in hostapd_ctrl_iface_wps_get_status()
571 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_wps_get_status()
581 ret = os_snprintf(po in hostapd_ctrl_iface_wps_get_status()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dhostapd_cli.c267 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); in hostapd_cli_cmd_mib()
285 os_snprintf(arg, len, "%s %s", arg1, arg2); in hostapd_cli_exec()
365 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", in hostapd_cli_cmd_deauthenticate()
368 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); in hostapd_cli_cmd_deauthenticate()
383 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", in hostapd_cli_cmd_disassociate()
386 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); in hostapd_cli_cmd_disassociate()
401 os_snprintf(buf, sizeof(buf), "SIGNATURE %s", argv[0]); in hostapd_cli_cmd_signature()
456 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", in hostapd_cli_cmd_wps_check_pin()
459 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", in hostapd_cli_cmd_wps_check_pin()
501 os_snprintf(bu in hostapd_cli_cmd_wps_nfc_tag_read()
[all...]
H A Dap_ctrl_iface.c217 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); in hostapd_ctrl_iface_wps_check_pin()
224 ret = os_snprintf(buf, buflen, "%s", pin); in hostapd_ctrl_iface_wps_check_pin()
460 return os_snprintf(buf, buflen, "OK\n"); in hostapd_ctrl_iface_wps_ap_pin()
469 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
476 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
493 return os_snprintf(buf, buflen, "%s", pin); in hostapd_ctrl_iface_wps_ap_pin()
553 ret = os_snprintf(pos, end - pos, "PBC Status: %s\n", in hostapd_ctrl_iface_wps_get_status()
560 ret = os_snprintf(pos, end - pos, "Last WPS result: %s\n", in hostapd_ctrl_iface_wps_get_status()
573 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_wps_get_status()
583 ret = os_snprintf(po in hostapd_ctrl_iface_wps_get_status()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Docv.c108 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
114 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
125 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
132 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
141 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
155 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
168 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
H A Dcli.c98 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); in cli_txt_list_del_addr()
147 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); in cli_txt_list_add_addr()
219 res = os_snprintf(pos, end - pos, "%s", cmd); in write_cmd()
225 res = os_snprintf(pos, end - pos, " %s", argv[i]); in write_cmd()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Docv.c105 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
111 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
122 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
129 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
138 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
152 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
165 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), in ocv_verify_tx_params()
H A Dcli.c98 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); in cli_txt_list_del_addr()
147 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); in cli_txt_list_add_addr()
219 res = os_snprintf(pos, end - pos, "%s", cmd); in write_cmd()
225 res = os_snprintf(pos, end - pos, " %s", argv[i]); in write_cmd()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface.c785 res = os_snprintf(buf, buflen, "%s", VERSION_STR); in wpa_supplicant_ctrl_iface_get()
788 res = os_snprintf(buf, buflen, "%c%c", in wpa_supplicant_ctrl_iface_get()
799 res = os_snprintf(buf, buflen, "%d", enabled); in wpa_supplicant_ctrl_iface_get()
948 ret = os_snprintf(buf, buflen, "%s\n", in ctrl_iface_get_capability_tdls()
1076 ret = os_snprintf(buf, buflen, "TDLS link status: %s\n", tdls_status); in wpa_supplicant_ctrl_iface_tdls_link_status()
1263 ret = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ctrl_iface_wps_pin()
1275 ret = os_snprintf(buf, buflen, "%08d", ret); in wpa_supplicant_ctrl_iface_wps_pin()
1312 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); in wpa_supplicant_ctrl_iface_wps_check_pin()
1319 ret = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ctrl_iface_wps_check_pin()
1807 return os_snprintf(bu in wpa_supplicant_ctrl_iface_wps_ap_pin()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_auth/
H A Deapol_auth_dump.c130 ret = os_snprintf(pos, end - pos, "aWhile=%d\nquietWhile=%d\n" in eapol_auth_dump_state()
138 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
180 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
222 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
247 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
258 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
265 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
274 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_auth/
H A Deapol_auth_dump.c130 ret = os_snprintf(pos, end - pos, "aWhile=%d\nquietWhile=%d\n" in eapol_auth_dump_state()
138 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
180 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
222 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
247 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
258 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
265 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
274 ret = os_snprintf(pos, end - pos, in eapol_auth_dump_state()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dctrl_iface.c983 res = os_snprintf(buf, buflen, "%s", VERSION_STR); in wpa_supplicant_ctrl_iface_get()
985 res = os_snprintf(buf, buflen, "%u", CTRL_IFACE_MAX_LEN); in wpa_supplicant_ctrl_iface_get()
988 res = os_snprintf(buf, buflen, "%c%c", in wpa_supplicant_ctrl_iface_get()
999 res = os_snprintf(buf, buflen, "%d", enabled); in wpa_supplicant_ctrl_iface_get()
1017 res = os_snprintf(buf, buflen, "%d", wpa_s->last_tk_key_idx); in wpa_supplicant_ctrl_iface_get()
1150 ret = os_snprintf(buf, buflen, "%s\n", in ctrl_iface_get_capability_tdls()
1278 ret = os_snprintf(buf, buflen, "TDLS link status: %s\n", tdls_status); in wpa_supplicant_ctrl_iface_tdls_link_status()
1465 ret = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ctrl_iface_wps_pin()
1477 ret = os_snprintf(buf, buflen, "%08d", ret); in wpa_supplicant_ctrl_iface_wps_pin()
1514 ret = os_snprintf(bu in wpa_supplicant_ctrl_iface_wps_check_pin()
[all...]
H A Dwpa_cli.c169 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, in wpa_cli_open_connection()
245 os_snprintf(buf, sizeof(buf), "IFNAME=%s %s", in _wpa_ctrl_command()
446 res = os_snprintf(cmd, sizeof(cmd), "SET %s ", argv[0]); in wpa_cli_cmd_set()
709 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH 0"); in wpa_cli_cmd_bss_flush()
711 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH %s", argv[0]); in wpa_cli_cmd_bss_flush()
799 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); in wpa_cli_cmd_wps_nfc_tag_read()
837 res = os_snprintf(cmd, sizeof(cmd), "WPS_REG %s %s", in wpa_cli_cmd_wps_reg()
848 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[2][i]); in wpa_cli_cmd_wps_reg()
856 os_snprintf(&key_hex[i * 2], 3, "%02x", in wpa_cli_cmd_wps_reg()
861 res = os_snprintf(cm in wpa_cli_cmd_wps_reg()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_sim_db.c89 os_snprintf(cmd, sizeof(cmd), "SELECT 1 FROM %s;", name); in db_table_exists()
192 os_snprintf(cmd, sizeof(cmd), "INSERT OR REPLACE INTO pseudonyms " in db_add_pseudonym()
231 os_snprintf(cmd, sizeof(cmd), in db_get_pseudonym()
257 pos += os_snprintf(pos, end - pos, "INSERT OR REPLACE INTO reauth " in db_add_reauth()
268 pos += os_snprintf(pos, end - pos, ", '"); in db_add_reauth()
270 pos += os_snprintf(pos, end - pos, "'"); in db_add_reauth()
274 pos += os_snprintf(pos, end - pos, ", '"); in db_add_reauth()
277 pos += os_snprintf(pos, end - pos, "'"); in db_add_reauth()
281 pos += os_snprintf(pos, end - pos, ", '"); in db_add_reauth()
284 pos += os_snprintf(po in db_add_reauth()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_sim_db.c89 os_snprintf(cmd, sizeof(cmd), "SELECT 1 FROM %s;", name); in db_table_exists()
192 os_snprintf(cmd, sizeof(cmd), "INSERT OR REPLACE INTO pseudonyms " in db_add_pseudonym()
231 os_snprintf(cmd, sizeof(cmd), in db_get_pseudonym()
257 pos += os_snprintf(pos, end - pos, "INSERT OR REPLACE INTO reauth " in db_add_reauth()
268 pos += os_snprintf(pos, end - pos, ", '"); in db_add_reauth()
270 pos += os_snprintf(pos, end - pos, "'"); in db_add_reauth()
274 pos += os_snprintf(pos, end - pos, ", '"); in db_add_reauth()
277 pos += os_snprintf(pos, end - pos, "'"); in db_add_reauth()
281 pos += os_snprintf(pos, end - pos, ", '"); in db_add_reauth()
284 pos += os_snprintf(po in db_add_reauth()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps.c558 ret = os_snprintf(pos, end - pos, in wps_attr_text()
561 ret = os_snprintf(pos, end - pos, in wps_attr_text()
571 ret = os_snprintf(pos, end - pos, in wps_attr_text()
579 ret = os_snprintf(pos, end - pos, in wps_attr_text()
587 ret = os_snprintf(pos, end - pos, in wps_attr_text()
596 ret = os_snprintf(pos, end - pos, in wps_attr_text()
607 ret = os_snprintf(pos, end - pos, in wps_attr_text()
630 ret = os_snprintf(pos, end - pos, "wps_device_name=%s\n", str); in wps_attr_text()
638 ret = os_snprintf(pos, end - pos, in wps_attr_text()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps.c564 ret = os_snprintf(pos, end - pos, in wps_attr_text()
567 ret = os_snprintf(pos, end - pos, in wps_attr_text()
577 ret = os_snprintf(pos, end - pos, in wps_attr_text()
585 ret = os_snprintf(pos, end - pos, in wps_attr_text()
593 ret = os_snprintf(pos, end - pos, in wps_attr_text()
602 ret = os_snprintf(pos, end - pos, in wps_attr_text()
613 ret = os_snprintf(pos, end - pos, in wps_attr_text()
636 ret = os_snprintf(pos, end - pos, "wps_device_name=%s\n", str); in wps_attr_text()
644 ret = os_snprintf(pos, end - pos, in wps_attr_text()

Completed in 35 milliseconds

1234567891011