Lines Matching refs:os_snprintf
67 res = os_snprintf(cmd, sizeof(cmd), "SET %s ", argv[0]); in hostapd_cli_cmd_set()
127 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", in hostapd_cli_cmd_disassociate()
130 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); in hostapd_cli_cmd_disassociate()
145 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", in hostapd_cli_cmd_deauthenticate()
148 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); in hostapd_cli_cmd_deauthenticate()
198 os_snprintf(buf, sizeof(buf), "STA %s %s", argv[0], argv[1]); in hostapd_cli_cmd_sta()
200 os_snprintf(buf, sizeof(buf), "STA %s", argv[0]); in hostapd_cli_cmd_sta()
229 os_snprintf(buf, sizeof(buf), "NEW_STA %s", argv[0]); in hostapd_cli_cmd_new_sta()
252 res = os_snprintf(cmd, sizeof(cmd), "CHAN_SWITCH %s %s", in hostapd_cli_cmd_chan_switch()
262 res = os_snprintf(tmp, sizeof(cmd) - total, " %s", argv[i]); in hostapd_cli_cmd_chan_switch()
289 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); in hostapd_cli_cmd_mib()
306 os_snprintf(buf, sizeof(buf), "SIGNATURE %s", argv[0]); in hostapd_cli_cmd_signature()
321 os_snprintf(buf, sizeof(buf), "SA_QUERY %s", argv[0]); in hostapd_cli_cmd_sa_query()
337 os_snprintf(buf, sizeof(buf), "WPS_PIN %s %s %s %s", in hostapd_cli_cmd_wps_pin()
340 os_snprintf(buf, sizeof(buf), "WPS_PIN %s %s %s", in hostapd_cli_cmd_wps_pin()
343 os_snprintf(buf, sizeof(buf), "WPS_PIN %s %s", argv[0], argv[1]); in hostapd_cli_cmd_wps_pin()
361 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", in hostapd_cli_cmd_wps_check_pin()
364 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", in hostapd_cli_cmd_wps_check_pin()
406 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); in hostapd_cli_cmd_wps_nfc_tag_read()
427 res = os_snprintf(cmd, sizeof(cmd), "WPS_NFC_CONFIG_TOKEN %s", in hostapd_cli_cmd_wps_nfc_config_token()
449 res = os_snprintf(cmd, sizeof(cmd), "WPS_NFC_TOKEN %s", argv[0]); in hostapd_cli_cmd_wps_nfc_token()
470 res = os_snprintf(cmd, sizeof(cmd), "NFC_GET_HANDOVER_SEL %s %s", in hostapd_cli_cmd_nfc_get_handover_sel()
492 os_snprintf(buf, sizeof(buf), "WPS_AP_PIN %s %s %s", in hostapd_cli_cmd_wps_ap_pin()
495 os_snprintf(buf, sizeof(buf), "WPS_AP_PIN %s %s", in hostapd_cli_cmd_wps_ap_pin()
498 os_snprintf(buf, sizeof(buf), "WPS_AP_PIN %s", argv[0]); in hostapd_cli_cmd_wps_ap_pin()
528 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[0][i]); in hostapd_cli_cmd_wps_config()
536 os_snprintf(&key_hex[i * 2], 3, "%02x", in hostapd_cli_cmd_wps_config()
542 os_snprintf(buf, sizeof(buf), "WPS_CONFIG %s %s %s %s", in hostapd_cli_cmd_wps_config()
545 os_snprintf(buf, sizeof(buf), "WPS_CONFIG %s %s %s", in hostapd_cli_cmd_wps_config()
548 os_snprintf(buf, sizeof(buf), "WPS_CONFIG %s %s", in hostapd_cli_cmd_wps_config()
567 res = os_snprintf(buf, sizeof(buf), "DISASSOC_IMMINENT %s %s", in hostapd_cli_cmd_disassoc_imminent()
587 res = os_snprintf(buf, sizeof(buf), "ESS_DISASSOC %s %s %s", in hostapd_cli_cmd_ess_disassoc()
606 res = os_snprintf(buf, sizeof(buf), "BSS_TM_REQ %s", argv[0]); in hostapd_cli_cmd_bss_tm_req()
613 res = os_snprintf(tmp, sizeof(buf) - total, " %s", argv[i]); in hostapd_cli_cmd_bss_tm_req()
670 os_snprintf(cmd, sizeof(cmd), "STA-NEXT %s", addr); in hostapd_cli_cmd_all_sta()
687 os_snprintf(cmd, sizeof(cmd), "STA-NEXT %s", addr); in hostapd_cli_cmd_list_sta()
707 res = os_snprintf(buf, sizeof(buf), "SET_QOS_MAP_SET %s", argv[0]); in hostapd_cli_cmd_set_qos_map_set()
726 res = os_snprintf(buf, sizeof(buf), "SEND_QOS_MAP_CONF %s", argv[0]); in hostapd_cli_cmd_send_qos_map_conf()
745 res = os_snprintf(buf, sizeof(buf), "HS20_WNM_NOTIF %s %s", in hostapd_cli_cmd_hs20_wnm_notif()
765 res = os_snprintf(buf, sizeof(buf), in hostapd_cli_cmd_hs20_deauth_req()
769 res = os_snprintf(buf, sizeof(buf), in hostapd_cli_cmd_hs20_deauth_req()
789 res = os_snprintf(cmd, sizeof(cmd), "GET %s", argv[0]); in hostapd_cli_cmd_get()
836 total = os_snprintf(cmd, sizeof(cmd), "FST-MANAGER"); in hostapd_cli_cmd_fst()
839 res = os_snprintf(cmd + total, sizeof(cmd) - total, " %s", in hostapd_cli_cmd_fst()
863 res = os_snprintf(cmd, sizeof(cmd), "VENDOR %s %s %s%s%s", argv[0], in hostapd_cli_cmd_vendor()
887 res = os_snprintf(cmd, sizeof(cmd), "LOG_LEVEL%s%s%s%s", in hostapd_cli_cmd_log_level()
932 res = os_snprintf(cmd, sizeof(cmd), "SET_NEIGHBOR %s %s %s %s %s %s", in hostapd_cli_cmd_set_neighbor()
968 res = os_snprintf(cmd, sizeof(cmd), "REQ_LCI %s", argv[0]); in hostapd_cli_cmd_req_lci()