Lines Matching refs:os_snprintf
235 res = os_snprintf(pos, end - pos, "%s", cmd); in write_cmd()
241 res = os_snprintf(pos, end - pos, " %s", argv[i]); in write_cmd()
296 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); in hostapd_cli_cmd_mib()
314 os_snprintf(arg, len, "%s %s", arg1, arg2); in hostapd_cli_exec()
379 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", in hostapd_cli_cmd_deauthenticate()
382 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); in hostapd_cli_cmd_deauthenticate()
397 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", in hostapd_cli_cmd_disassociate()
400 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); in hostapd_cli_cmd_disassociate()
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(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); in hostapd_cli_cmd_wps_nfc_tag_read()
522 res = os_snprintf(cmd, sizeof(cmd), "WPS_NFC_CONFIG_TOKEN %s", in hostapd_cli_cmd_wps_nfc_config_token()
544 res = os_snprintf(cmd, sizeof(cmd), "WPS_NFC_TOKEN %s", argv[0]); in hostapd_cli_cmd_wps_nfc_token()
565 res = os_snprintf(cmd, sizeof(cmd), "NFC_GET_HANDOVER_SEL %s %s", in hostapd_cli_cmd_nfc_get_handover_sel()
623 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[0][i]); in hostapd_cli_cmd_wps_config()
631 os_snprintf(&key_hex[i * 2], 3, "%02x", in hostapd_cli_cmd_wps_config()
662 res = os_snprintf(buf, sizeof(buf), "DISASSOC_IMMINENT %s %s", in hostapd_cli_cmd_disassoc_imminent()
682 res = os_snprintf(buf, sizeof(buf), "ESS_DISASSOC %s %s %s", in hostapd_cli_cmd_ess_disassoc()
701 res = os_snprintf(buf, sizeof(buf), "BSS_TM_REQ %s", argv[0]); in hostapd_cli_cmd_bss_tm_req()
708 res = os_snprintf(tmp, sizeof(buf) - total, " %s", argv[i]); in hostapd_cli_cmd_bss_tm_req()
803 res = os_snprintf(buf, sizeof(buf), "SET_QOS_MAP_SET %s", argv[0]); in hostapd_cli_cmd_set_qos_map_set()
822 res = os_snprintf(buf, sizeof(buf), "SEND_QOS_MAP_CONF %s", argv[0]); in hostapd_cli_cmd_send_qos_map_conf()
841 res = os_snprintf(buf, sizeof(buf), "HS20_WNM_NOTIF %s %s", in hostapd_cli_cmd_hs20_wnm_notif()
861 res = os_snprintf(buf, sizeof(buf), in hostapd_cli_cmd_hs20_deauth_req()
865 res = os_snprintf(buf, sizeof(buf), in hostapd_cli_cmd_hs20_deauth_req()
960 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]); in hostapd_cli_cmd_set()
980 res = os_snprintf(cmd, sizeof(cmd), "GET %s", argv[0]); in hostapd_cli_cmd_get()
1002 total = os_snprintf(cmd, sizeof(cmd), "FST-MANAGER"); in hostapd_cli_cmd_fst()
1005 res = os_snprintf(cmd + total, sizeof(cmd) - total, " %s", in hostapd_cli_cmd_fst()
1036 res = os_snprintf(cmd, sizeof(cmd), "CHAN_SWITCH %s %s", in hostapd_cli_cmd_chan_switch()
1046 res = os_snprintf(tmp, sizeof(cmd) - total, " %s", argv[i]); in hostapd_cli_cmd_chan_switch()
1089 res = os_snprintf(cmd, sizeof(cmd), "VENDOR %s %s %s", argv[0], argv[1], in hostapd_cli_cmd_vendor()
1112 res = os_snprintf(cmd, sizeof(cmd), "LOG_LEVEL%s%s%s%s", in hostapd_cli_cmd_log_level()