Lines Matching refs:os_snprintf

223 			ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n");  in hostapd_ctrl_iface_wps_check_pin()
230 ret = os_snprintf(buf, buflen, "%s", pin); in hostapd_ctrl_iface_wps_check_pin()
466 return os_snprintf(buf, buflen, "OK\n"); in hostapd_ctrl_iface_wps_ap_pin()
475 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
482 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
499 return os_snprintf(buf, buflen, "%s", pin); in hostapd_ctrl_iface_wps_ap_pin()
559 ret = os_snprintf(pos, end - pos, "PBC Status: %s\n", in hostapd_ctrl_iface_wps_get_status()
566 ret = os_snprintf(pos, end - pos, "Last WPS result: %s\n", in hostapd_ctrl_iface_wps_get_status()
579 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_wps_get_status()
589 ret = os_snprintf(pos, end - pos, "Peer Address: " MACSTR "\n", in hostapd_ctrl_iface_wps_get_status()
831 ret = os_snprintf(pos, end - pos, "WPA-PSK "); in hostapd_ctrl_iface_get_key_mgmt()
837 ret = os_snprintf(pos, end - pos, "WPA-EAP "); in hostapd_ctrl_iface_get_key_mgmt()
844 ret = os_snprintf(pos, end - pos, "FT-PSK "); in hostapd_ctrl_iface_get_key_mgmt()
850 ret = os_snprintf(pos, end - pos, "FT-EAP "); in hostapd_ctrl_iface_get_key_mgmt()
857 ret = os_snprintf(pos, end - pos, "FT-EAP-SHA384 "); in hostapd_ctrl_iface_get_key_mgmt()
865 ret = os_snprintf(pos, end - pos, "FT-SAE "); in hostapd_ctrl_iface_get_key_mgmt()
871 ret = os_snprintf(pos, end - pos, "FT-SAE-EXT-KEY "); in hostapd_ctrl_iface_get_key_mgmt()
879 ret = os_snprintf(pos, end - pos, "FT-FILS-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
885 ret = os_snprintf(pos, end - pos, "FT-FILS-SHA384 "); in hostapd_ctrl_iface_get_key_mgmt()
893 ret = os_snprintf(pos, end - pos, "WPA-PSK-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
899 ret = os_snprintf(pos, end - pos, "WPA-EAP-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
906 ret = os_snprintf(pos, end - pos, "SAE "); in hostapd_ctrl_iface_get_key_mgmt()
912 ret = os_snprintf(pos, end - pos, "SAE-EXT-KEY "); in hostapd_ctrl_iface_get_key_mgmt()
919 ret = os_snprintf(pos, end - pos, "WPA-EAP-SUITE-B "); in hostapd_ctrl_iface_get_key_mgmt()
926 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_key_mgmt()
934 ret = os_snprintf(pos, end - pos, "FILS-SHA256 "); in hostapd_ctrl_iface_get_key_mgmt()
940 ret = os_snprintf(pos, end - pos, "FILS-SHA384 "); in hostapd_ctrl_iface_get_key_mgmt()
949 ret = os_snprintf(pos, end - pos, "OWE "); in hostapd_ctrl_iface_get_key_mgmt()
958 ret = os_snprintf(pos, end - pos, "DPP "); in hostapd_ctrl_iface_get_key_mgmt()
966 ret = os_snprintf(pos, end - pos, "WPA-EAP-SHA384 "); in hostapd_ctrl_iface_get_key_mgmt()
991 ret = os_snprintf(pos, end - pos, "bssid=" MACSTR "\n" in hostapd_ctrl_iface_get_config()
1001 ret = os_snprintf(pos, end - pos, "config_id=%s\n", in hostapd_ctrl_iface_get_config()
1009 ret = os_snprintf(pos, end - pos, "wps_state=%s\n", in hostapd_ctrl_iface_get_config()
1019 ret = os_snprintf(pos, end - pos, "passphrase=%s\n", in hostapd_ctrl_iface_get_config()
1032 ret = os_snprintf(pos, end - pos, "psk=%s\n", hex); in hostapd_ctrl_iface_get_config()
1041 ret = os_snprintf(pos, end - pos, "multi_ap=%d\n", in hostapd_ctrl_iface_get_config()
1048 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_config()
1059 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_config()
1074 ret = os_snprintf(pos, end - pos, in hostapd_ctrl_iface_get_config()
1086 ret = os_snprintf(pos, end - pos, "wpa=%d\n", hapd->conf->wpa); in hostapd_ctrl_iface_get_config()
1093 ret = os_snprintf(pos, end - pos, "key_mgmt="); in hostapd_ctrl_iface_get_config()
1100 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_config()
1107 ret = os_snprintf(pos, end - pos, "group_cipher=%s\n", in hostapd_ctrl_iface_get_config()
1115 ret = os_snprintf(pos, end - pos, "rsn_pairwise_cipher="); in hostapd_ctrl_iface_get_config()
1126 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_config()
1133 ret = os_snprintf(pos, end - pos, "wpa_pairwise_cipher="); in hostapd_ctrl_iface_get_config()
1144 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_config()
1151 ret = os_snprintf(pos, end - pos, "wpa_deny_ptk0_rekey=%d\n", in hostapd_ctrl_iface_get_config()
1159 ret = os_snprintf(pos, end - pos, "extended_key_id=%d\n", in hostapd_ctrl_iface_get_config()
1370 res = os_snprintf(buf, buflen, "%s", VERSION_STR); in hostapd_ctrl_iface_get()
1498 ret = os_snprintf(pos, end - pos, "r0kh=" MACSTR " ", in hostapd_ctrl_iface_get_rxkhs()
1510 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_rxkhs()
1518 ret = os_snprintf(pos, end - pos, "r1kh=" MACSTR " " MACSTR " ", in hostapd_ctrl_iface_get_rxkhs()
1525 ret = os_snprintf(pos, end - pos, "\n"); in hostapd_ctrl_iface_get_rxkhs()
1917 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in hostapd_data_test_rx()
3137 ret = os_snprintf(pos, end - pos, "Current level: %s\n" in hostapd_ctrl_iface_log_level()
3197 ret = os_snprintf(pos, end - pos, MACSTR " %u %d\n", in hostapd_ctrl_iface_track_sta_list()
3318 ret = os_snprintf(reply, reply_size, "%d", ret); in hostapd_ctrl_iface_req_beacon()
3338 ret = os_snprintf(reply, reply_size, "%d", ret); in hostapd_ctrl_iface_req_link_measurement()
3501 ret = os_snprintf(buf, buflen, "%016llX:\n", in hostapd_ctrl_driver_flags()
3511 ret = os_snprintf(pos, end - pos, "%s\n", in hostapd_ctrl_driver_flags()
3529 ret = os_snprintf(buf, buflen, "%016llX:\n", in hostapd_ctrl_driver_flags2()
3539 ret = os_snprintf(pos, end - pos, "%s\n", in hostapd_ctrl_driver_flags2()
3562 res = os_snprintf(buf, buflen, "DPP=3"); in hostapd_ctrl_iface_get_capability()
3564 res = os_snprintf(buf, buflen, "DPP=2"); in hostapd_ctrl_iface_get_capability()
3566 res = os_snprintf(buf, buflen, "DPP=1"); in hostapd_ctrl_iface_get_capability()
3589 ret = os_snprintf(buf, buflen, "%s\n", "OK"); in hostapd_ctrl_iface_driver_cmd()
3688 ret = os_snprintf(buf, buflen, "%s\n", "OK"); in hostapd_ctrl_iface_link_remove()
3769 ret = os_snprintf(buf, buflen, "%d", publish_id); in hostapd_ctrl_nan_publish()
3893 ret = os_snprintf(buf, buflen, "%d", subscribe_id); in hostapd_ctrl_nan_subscribe()
4408 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
4417 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
4426 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
4435 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
4444 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
4460 reply_len = os_snprintf(reply, reply_size, "%s", uri); in hostapd_ctrl_iface_receive_process()
4488 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
4513 reply_len = os_snprintf(reply, reply_size, "%d", res); in hostapd_ctrl_iface_receive_process()
4716 os_snprintf(buf, len, "%s/%s", in hostapd_ctrl_iface_path()
4781 os_snprintf(p, sizeof(p), "%d", port); in hostapd_ctrl_iface_init()
4807 os_snprintf(port_str, sizeof(port_str), "udp:%d", port); in hostapd_ctrl_iface_init()
5211 os_snprintf(value, HOSTAPD_CLI_DUP_VALUE_MAX_LEN, "%d", in hostapd_ctrl_iface_dup_param()
5235 os_snprintf(value, HOSTAPD_CLI_DUP_VALUE_MAX_LEN, "%s", in hostapd_ctrl_iface_dup_param()
5283 res = os_snprintf(pos, end - pos, in hostapd_global_ctrl_iface_interfaces()
5289 res = os_snprintf(pos, end - pos, "%s\n", in hostapd_global_ctrl_iface_interfaces()
5361 res = os_snprintf(reply, reply_size, "FAIL-NO-IFNAME-MATCH\n"); in hostapd_global_ctrl_iface_ifname()
5487 reply_len = os_snprintf(reply, reply_size, "OK\n"); in hostapd_global_ctrl_iface_receive()
5492 reply_len = os_snprintf(reply, reply_size, "OK\n"); in hostapd_global_ctrl_iface_receive()
5501 reply_len = os_snprintf(reply, reply_size, "OK\n"); in hostapd_global_ctrl_iface_receive()
5545 os_snprintf(buf, len, "%s/%s", interface->global_iface_path, in hostapd_global_ctrl_iface_path()
5594 os_snprintf(p, sizeof(p), "%d", port); in hostapd_global_ctrl_iface_init()
5818 res = os_snprintf(levelstr, sizeof(levelstr), "<%d>", level); in hostapd_ctrl_iface_send_internal()