Lines Matching refs:os_snprintf
217 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(pos, end - pos, "Peer Address: " MACSTR "\n", in hostapd_ctrl_iface_wps_get_status()
1048 ret = os_snprintf(pos, end - pos, "WPA-PSK "); in hostapd_ctrl_iface_get_key_mgmt()
1054 ret = os_snprintf(pos, end - pos, "WPA-EAP "); in hostapd_ctrl_iface_get_key_mgmt()
1061 ret = os_snprintf(pos, end - pos, "FT-PSK "); in hostapd_ctrl_iface_get_key_mgmt()
1067 ret = os_snprintf(pos, end - pos, "FT-EAP "); in hostapd_ctrl_iface_get_key_mgmt()
1074 ret = os_snprintf(pos, end - pos, "FT-EAP-SHA384 "); in hostapd_ctrl_iface_get_key_mgmt()
1082 ret = os_snprintf(pos, end - pos, "FT-SAE "); in hostapd_ctrl_iface_get_key_mgmt()
1090 ret = os_snprintf(pos, end - pos, "FT-FILS-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
1096 ret = os_snprintf(pos, end - pos, "FT-FILS-SHA384 "); in hostapd_ctrl_iface_get_key_mgmt()
1104 ret = os_snprintf(pos, end - pos, "WPA-PSK-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
1110 ret = os_snprintf(pos, end - pos, "WPA-EAP-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
1117 ret = os_snprintf(pos, end - pos, "SAE "); in hostapd_ctrl_iface_get_key_mgmt()
1124 ret = os_snprintf(pos, end - pos, "WPA-EAP-SUITE-B "); in hostapd_ctrl_iface_get_key_mgmt()
1131 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_key_mgmt()
1139 ret = os_snprintf(pos, end - pos, "FILS-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
1145 ret = os_snprintf(pos, end - pos, "FILS-SHA384 "); in hostapd_ctrl_iface_get_key_mgmt()
1154 ret = os_snprintf(pos, end - pos, "OWE "); in hostapd_ctrl_iface_get_key_mgmt()
1163 ret = os_snprintf(pos, end - pos, "DPP "); in hostapd_ctrl_iface_get_key_mgmt()
1188 ret = os_snprintf(pos, end - pos, "bssid=" MACSTR "\n" in hostapd_ctrl_iface_get_config()
1198 ret = os_snprintf(pos, end - pos, "wps_state=%s\n", in hostapd_ctrl_iface_get_config()
1208 ret = os_snprintf(pos, end - pos, "passphrase=%s\n", in hostapd_ctrl_iface_get_config()
1221 ret = os_snprintf(pos, end - pos, "psk=%s\n", hex); in hostapd_ctrl_iface_get_config()
1230 ret = os_snprintf(pos, end - pos, "multi_ap=%d\n", in hostapd_ctrl_iface_get_config()
1237 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_config()
1248 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_config()
1263 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_config()
1275 ret = os_snprintf(pos, end - pos, "wpa=%d\n", hapd->conf->wpa); in hostapd_ctrl_iface_get_config()
1282 ret = os_snprintf(pos, end - pos, "key_mgmt="); in hostapd_ctrl_iface_get_config()
1289 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_config()
1296 ret = os_snprintf(pos, end - pos, "group_cipher=%s\n", in hostapd_ctrl_iface_get_config()
1304 ret = os_snprintf(pos, end - pos, "rsn_pairwise_cipher="); in hostapd_ctrl_iface_get_config()
1315 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_config()
1322 ret = os_snprintf(pos, end - pos, "wpa_pairwise_cipher="); in hostapd_ctrl_iface_get_config()
1333 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_config()
1340 ret = os_snprintf(pos, end - pos, "wpa_deny_ptk0_rekey=%d\n", in hostapd_ctrl_iface_get_config()
1348 ret = os_snprintf(pos, end - pos, "extended_key_id=%d\n", in hostapd_ctrl_iface_get_config()
1581 res = os_snprintf(buf, buflen, "%s", VERSION_STR); in hostapd_ctrl_iface_get()
1999 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in hostapd_data_test_rx()
2194 return os_snprintf(buf, buflen, "%u:%s", wpa_trace_fail_after, in hostapd_ctrl_get_alloc_fail()
2228 return os_snprintf(buf, buflen, "%u:%s", wpa_trace_test_fail_after, in hostapd_ctrl_get_fail()
2884 ret = os_snprintf(pos, end - pos, "Current level: %s\n" in hostapd_ctrl_iface_log_level()
2944 ret = os_snprintf(pos, end - pos, MACSTR " %u %d\n", in hostapd_ctrl_iface_track_sta_list()
3065 ret = os_snprintf(reply, reply_size, "%d", ret); in hostapd_ctrl_iface_req_beacon()
3219 ret = os_snprintf(buf, buflen, "%016llX:\n", in hostapd_ctrl_driver_flags()
3229 ret = os_snprintf(pos, end - pos, "%s\n", in hostapd_ctrl_driver_flags()
3247 ret = os_snprintf(buf, buflen, "%016llX:\n", in hostapd_ctrl_driver_flags2()
3257 ret = os_snprintf(pos, end - pos, "%s\n", in hostapd_ctrl_driver_flags2()
3305 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_acl_show_mac()
3354 res = os_snprintf(buf, buflen, "DPP=2"); in hostapd_ctrl_iface_get_capability()
3356 res = os_snprintf(buf, buflen, "DPP=1"); in hostapd_ctrl_iface_get_capability()
3737 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
3746 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
3755 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
3764 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
3773 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
3789 reply_len = os_snprintf(reply, reply_size, "%s", uri); in hostapd_ctrl_iface_receive_process()
3817 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
3838 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
3988 os_snprintf(buf, len, "%s/%s", in hostapd_ctrl_iface_path()
4051 os_snprintf(p, sizeof(p), "%d", port); in hostapd_ctrl_iface_init()
4077 os_snprintf(port_str, sizeof(port_str), "udp:%d", port); in hostapd_ctrl_iface_init()
4457 os_snprintf(value, HOSTAPD_CLI_DUP_VALUE_MAX_LEN, "%d", in hostapd_ctrl_iface_dup_param()
4481 os_snprintf(value, HOSTAPD_CLI_DUP_VALUE_MAX_LEN, "%s", in hostapd_ctrl_iface_dup_param()
4529 res = os_snprintf(pos, end - pos, in hostapd_global_ctrl_iface_interfaces()
4535 res = os_snprintf(pos, end - pos, "%s\n", in hostapd_global_ctrl_iface_interfaces()
4607 res = os_snprintf(reply, reply_size, "FAIL-NO-IFNAME-MATCH\n"); in hostapd_global_ctrl_iface_ifname()
4733 reply_len = os_snprintf(reply, reply_size, "OK\n"); in hostapd_global_ctrl_iface_receive()
4738 reply_len = os_snprintf(reply, reply_size, "OK\n"); in hostapd_global_ctrl_iface_receive()
4747 reply_len = os_snprintf(reply, reply_size, "OK\n"); in hostapd_global_ctrl_iface_receive()
4791 os_snprintf(buf, len, "%s/%s", interface->global_iface_path, in hostapd_global_ctrl_iface_path()
4840 os_snprintf(p, sizeof(p), "%d", port); in hostapd_global_ctrl_iface_init()
5064 res = os_snprintf(levelstr, sizeof(levelstr), "<%d>", level); in hostapd_ctrl_iface_send_internal()