Lines Matching refs:os_snprintf
274 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); in hostapd_cli_cmd_mib()
292 os_snprintf(arg, len, "%s %s", arg1, arg2); in hostapd_cli_exec()
378 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", in hostapd_cli_cmd_deauthenticate()
381 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); in hostapd_cli_cmd_deauthenticate()
396 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", in hostapd_cli_cmd_disassociate()
399 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); in hostapd_cli_cmd_disassociate()
414 os_snprintf(buf, sizeof(buf), "SIGNATURE %s", argv[0]); in hostapd_cli_cmd_signature()
469 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", in hostapd_cli_cmd_wps_check_pin()
472 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", in hostapd_cli_cmd_wps_check_pin()
514 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); in hostapd_cli_cmd_wps_nfc_tag_read()
535 res = os_snprintf(cmd, sizeof(cmd), "WPS_NFC_CONFIG_TOKEN %s", in hostapd_cli_cmd_wps_nfc_config_token()
557 res = os_snprintf(cmd, sizeof(cmd), "WPS_NFC_TOKEN %s", argv[0]); in hostapd_cli_cmd_wps_nfc_token()
578 res = os_snprintf(cmd, sizeof(cmd), "NFC_GET_HANDOVER_SEL %s %s", in hostapd_cli_cmd_nfc_get_handover_sel()
636 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[0][i]); in hostapd_cli_cmd_wps_config()
644 os_snprintf(&key_hex[i * 2], 3, "%02x", in hostapd_cli_cmd_wps_config()
675 res = os_snprintf(buf, sizeof(buf), "DISASSOC_IMMINENT %s %s", in hostapd_cli_cmd_disassoc_imminent()
695 res = os_snprintf(buf, sizeof(buf), "ESS_DISASSOC %s %s %s", in hostapd_cli_cmd_ess_disassoc()
714 res = os_snprintf(buf, sizeof(buf), "BSS_TM_REQ %s", argv[0]); in hostapd_cli_cmd_bss_tm_req()
721 res = os_snprintf(tmp, sizeof(buf) - total, " %s", argv[i]); in hostapd_cli_cmd_bss_tm_req()
799 os_snprintf(cmd, sizeof(cmd), "STA-NEXT %s", addr); in hostapd_cli_cmd_list_sta()
849 res = os_snprintf(buf, sizeof(buf), "SET_QOS_MAP_SET %s", argv[0]); in hostapd_cli_cmd_set_qos_map_set()
868 res = os_snprintf(buf, sizeof(buf), "SEND_QOS_MAP_CONF %s", argv[0]); in hostapd_cli_cmd_send_qos_map_conf()
887 res = os_snprintf(buf, sizeof(buf), "HS20_WNM_NOTIF %s %s", in hostapd_cli_cmd_hs20_wnm_notif()
907 res = os_snprintf(buf, sizeof(buf), in hostapd_cli_cmd_hs20_deauth_req()
911 res = os_snprintf(buf, sizeof(buf), in hostapd_cli_cmd_hs20_deauth_req()
956 os_snprintf(cmd, sizeof(cmd), "STA-NEXT %s", addr); in update_stations()
1050 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]); in hostapd_cli_cmd_set()
1108 res = os_snprintf(cmd, sizeof(cmd), "GET %s", argv[0]); in hostapd_cli_cmd_get()
1155 total = os_snprintf(cmd, sizeof(cmd), "FST-MANAGER"); in hostapd_cli_cmd_fst()
1158 res = os_snprintf(cmd + total, sizeof(cmd) - total, " %s", in hostapd_cli_cmd_fst()
1198 res = os_snprintf(cmd, sizeof(cmd), "CHAN_SWITCH %s %s", in hostapd_cli_cmd_chan_switch()
1208 res = os_snprintf(tmp, sizeof(cmd) - total, " %s", argv[i]); in hostapd_cli_cmd_chan_switch()
1300 res = os_snprintf(cmd, sizeof(cmd), "VENDOR %s %s %s%s%s", argv[0], in hostapd_cli_cmd_vendor()
1324 res = os_snprintf(cmd, sizeof(cmd), "LOG_LEVEL%s%s%s%s", in hostapd_cli_cmd_log_level()
1369 res = os_snprintf(cmd, sizeof(cmd), "SET_NEIGHBOR %s %s %s %s %s %s", in hostapd_cli_cmd_set_neighbor()
1405 res = os_snprintf(cmd, sizeof(cmd), "REQ_LCI %s", argv[0]); in hostapd_cli_cmd_req_lci()
2140 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in hostapd_cli_interactive()