• Home
  • Raw
  • Download

Lines Matching refs:cmd

389         DebugCommand *cmd = new DebugCommand(iface, buffer, &buffer_size, GET_FW_VER);  in wifi_get_firmware_version()  local
390 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_firmware_version()
391 wifi_error result = (wifi_error)cmd->start(); in wifi_get_firmware_version()
392 cmd->releaseRef(); in wifi_get_firmware_version()
404 DebugCommand *cmd = new DebugCommand(iface, buffer, &buffer_size, GET_DRV_VER); in wifi_get_driver_version() local
405 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_driver_version()
406 wifi_error result = (wifi_error)cmd->start(); in wifi_get_driver_version()
407 cmd->releaseRef(); in wifi_get_driver_version()
418 DebugCommand *cmd = new DebugCommand(iface, ring_name, GET_RING_DATA); in wifi_get_ring_data() local
419 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_ring_data()
420 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_data()
421 cmd->releaseRef(); in wifi_get_ring_data()
430 DebugCommand *cmd = new DebugCommand(iface, num_rings, status, GET_RING_STATUS); in wifi_get_ring_buffers_status() local
431 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_ring_buffers_status()
432 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_buffers_status()
433 cmd->releaseRef(); in wifi_get_ring_buffers_status()
446 DebugCommand *cmd = new DebugCommand(iface, support, GET_FEATURE); in wifi_get_logger_supported_feature_set() local
447 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_logger_supported_feature_set()
448 wifi_error result = (wifi_error)cmd->start(); in wifi_get_logger_supported_feature_set()
449 cmd->releaseRef(); in wifi_get_logger_supported_feature_set()
461 DebugCommand *cmd = new DebugCommand(iface, verbose_level, flags, max_interval_sec, in wifi_start_logging() local
463 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_start_logging()
464 wifi_error result = (wifi_error)cmd->start(); in wifi_start_logging()
465 cmd->releaseRef(); in wifi_start_logging()
564 SetLogHandler *cmd = new SetLogHandler(iface, id, handler); in wifi_set_log_handler() local
565 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_set_log_handler()
566 wifi_error result = wifi_register_cmd(handle, id, cmd); in wifi_set_log_handler()
568 cmd->releaseRef(); in wifi_set_log_handler()
571 result = (wifi_error)cmd->start(); in wifi_set_log_handler()
574 cmd->releaseRef(); in wifi_set_log_handler()
589 SetLogHandler *cmd = new SetLogHandler(iface, id, handler); in wifi_reset_log_handler() local
590 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_reset_log_handler()
591 cmd->cancel(); in wifi_reset_log_handler()
592 cmd->releaseRef(); in wifi_reset_log_handler()
747 SetAlertHandler *cmd = new SetAlertHandler(iface, id, handler); in wifi_set_alert_handler() local
748 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_set_alert_handler()
749 wifi_error result = wifi_register_cmd(handle, id, cmd); in wifi_set_alert_handler()
751 cmd->releaseRef(); in wifi_set_alert_handler()
754 result = (wifi_error)cmd->start(); in wifi_set_alert_handler()
757 cmd->releaseRef(); in wifi_set_alert_handler()
772 SetAlertHandler *cmd = new SetAlertHandler(iface, id, handler); in wifi_reset_alert_handler() local
773 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_reset_alert_handler()
774 cmd->cancel(); in wifi_reset_alert_handler()
775 cmd->releaseRef(); in wifi_reset_alert_handler()
892 MemoryDumpCommand *cmd = new MemoryDumpCommand(iface, handler); in wifi_get_firmware_memory_dump() local
893 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_firmware_memory_dump()
894 wifi_error result = (wifi_error)cmd->start(); in wifi_get_firmware_memory_dump()
895 cmd->releaseRef(); in wifi_get_firmware_memory_dump()
1063 PacketFateCommand *cmd = new PacketFateCommand(handle); in wifi_start_pkt_fate_monitoring() local
1064 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_start_pkt_fate_monitoring()
1065 wifi_error result = (wifi_error)cmd->start(); in wifi_start_pkt_fate_monitoring()
1066 cmd->releaseRef(); in wifi_start_pkt_fate_monitoring()
1074 PacketFateCommand *cmd = new PacketFateCommand(handle, tx_report_bufs, in wifi_get_tx_pkt_fates() local
1076 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_tx_pkt_fates()
1077 wifi_error result = (wifi_error)cmd->start(); in wifi_get_tx_pkt_fates()
1078 cmd->releaseRef(); in wifi_get_tx_pkt_fates()
1086 PacketFateCommand *cmd = new PacketFateCommand(handle, rx_report_bufs, in wifi_get_rx_pkt_fates() local
1088 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_rx_pkt_fates()
1089 wifi_error result = (wifi_error)cmd->start(); in wifi_get_rx_pkt_fates()
1090 cmd->releaseRef(); in wifi_get_rx_pkt_fates()