blob: bc1ec0620bab244f9de256157c2169568f72e6d9 [file] [log] [blame]
#ifndef _DBG_CMD_EVT_H_
#define _DBG_CMD_EVT_H_
#include <wmi.h>
struct dbg_id_str_entry {
A_UINT16 id;
A_CHAR *str;
};
static struct dbg_id_str_entry dbg_wmi_cmd_str[] = {
{WMI_CONNECT_CMDID, "CONNECT"},
{WMI_RECONNECT_CMDID, "RECONNECT"},
{WMI_DISCONNECT_CMDID, "DISCONNECT"},
{WMI_SYNCHRONIZE_CMDID, "SYNCHRONIZE"},
{WMI_CREATE_PSTREAM_CMDID, "CREATE_PSTREAM"},
{WMI_DELETE_PSTREAM_CMDID, "DELETE_PSTREAM"},
{WMI_START_SCAN_CMDID, "START_SCAN"},
{WMI_SET_SCAN_PARAMS_CMDID, "SET_SCAN_PARAMS"},
{WMI_SET_BSS_FILTER_CMDID, "SET_BSS_FILTER"},
{WMI_SET_PROBED_SSID_CMDID, "SET_PROBE_SSID"},
{WMI_SET_LISTEN_INT_CMDID, "SET_LISTEN_INT"},
{WMI_SET_BMISS_TIME_CMDID, "SET_BMISS_TIME"},
{WMI_SET_DISC_TIMEOUT_CMDID, "SET_DISC_TIMEOUT"},
{WMI_GET_CHANNEL_LIST_CMDID, "GET_CHANNEL_LIST"},
{WMI_SET_BEACON_INT_CMDID, "SET_BEACON_INT"},
{WMI_GET_STATISTICS_CMDID, "GET_STATISTICS"},
{WMI_SET_CHANNEL_PARAMS_CMDID, "SET_CHANNEL_PARAMS"},
{WMI_SET_POWER_MODE_CMDID, "SET_POWER_MODE"},
{WMI_SET_IBSS_PM_CAPS_CMDID, "IBSS_PM_CAPS"},
{WMI_SET_POWER_PARAMS_CMDID, "SET_POWER_PARAMS"},
{WMI_SET_POWERSAVE_TIMERS_POLICY_CMDID, "SET_POWERSAVE_TIMERS_POLICY"},
{WMI_ADD_CIPHER_KEY_CMDID, "ADD_CIPHER_KEY"},
{WMI_DELETE_CIPHER_KEY_CMDID, "DELETE_CIPHER_KEY"},
{WMI_ADD_KRK_CMDID, "ADD_KRK"},
{WMI_DELETE_KRK_CMDID, "DELETE_KRK"},
{WMI_SET_PMKID_CMDID, "SET_PMKID"},
{WMI_SET_TX_PWR_CMDID, "SET_TX_PWR"},
{WMI_GET_TX_PWR_CMDID, "GET_TX_PWR"},
{WMI_SET_ASSOC_INFO_CMDID, "SET_ASSOC_INFO"},
{WMI_ADD_BAD_AP_CMDID, "ADD_BAD_AP"},
{WMI_DELETE_BAD_AP_CMDID, "DELETE_BAD_AP"},
{WMI_SET_TKIP_COUNTERMEASURES_CMDID, "SET_TKIP_COUNTERMEASURESS"},
{WMI_RSSI_THRESHOLD_PARAMS_CMDID, "RSSI_THRESHOLD_PARAMS"},
{WMI_TARGET_ERROR_REPORT_BITMASK_CMDID, "TARGET_ERROR_REPORT_BITMASK"},
{WMI_SET_ACCESS_PARAMS_CMDID, "SET_ACCESS_PARAMS"},
{WMI_SET_RETRY_LIMITS_CMDID, "SET_RETRY_LIMITS"},
{WMI_RESERVED1, "SET_OPT_MODE"},
{WMI_RESERVED2, "OPT_TX_FRAME"},
{WMI_SET_VOICE_PKT_SIZE_CMDID, "SET_VOICE_PKT_SIZE"},
{WMI_SET_MAX_SP_LEN_CMDID, "SET_MAX_SP_LEN"},
{WMI_SET_ROAM_CTRL_CMDID, "SET_ROAM_CTRL"},
{WMI_GET_ROAM_TBL_CMDID, "GET_ROAM_TBL"},
{WMI_GET_ROAM_DATA_CMDID, "GET_ROAM_DATA"},
{WMI_ENABLE_RM_CMDID, "ENABLE_RM"},
{WMI_SET_MAX_OFFHOME_DURATION_CMDID, "SET_MAX_OFFHOME_DURATION"},
{WMI_EXTENSION_CMDID, "EXTENSION"},
{WMI_SNR_THRESHOLD_PARAMS_CMDID, "SNR_THRESHOLD_PARAMS"},
{WMI_LQ_THRESHOLD_PARAMS_CMDID, "LQ_THRESHOLD_PARAMS"},
{WMI_SET_LPREAMBLE_CMDID, "SET_LPREAMBLE"},
{WMI_SET_RTS_CMDID, "SET_RTS"},
{WMI_CLR_RSSI_SNR_CMDID, "CLR_RSSI_SNR"},
{WMI_SET_FIXRATES_CMDID, "SET_FIXRATES"},
{WMI_GET_FIXRATES_CMDID, "GET_FIXRATES"},
{WMI_SET_AUTH_MODE_CMDID, "SET_AUTH_MODE"},
{WMI_SET_REASSOC_MODE_CMDID, "SET_REASSOC_MODE"},
{WMI_SET_WMM_CMDID, "SET_WMM"},
{WMI_SET_WMM_TXOP_CMDID, "SET_WMM_TXOP"},
{WMI_TEST_CMDID, "TEST"},
{WMI_SET_BT_STATUS_CMDID, "SET_BT_STATUS"},
{WMI_SET_BT_PARAMS_CMDID, "SET_BT_PARAMS"},
{WMI_SET_KEEPALIVE_CMDID, "SET_KEEPALIVE"},
{WMI_GET_KEEPALIVE_CMDID, "GET_KEEPALIVE"},
{WMI_SET_APPIE_CMDID, "SET_APPIE"},
{WMI_GET_APPIE_CMDID, "GET_APPIE"},
{WMI_SET_WSC_STATUS_CMDID, "SET_WSC_STATUS"},
{WMI_SET_HOST_SLEEP_MODE_CMDID, "SET_HOST_SLEEP_MODE"},
{WMI_SET_WOW_MODE_CMDID, "SET_WOW_MODE"},
{WMI_GET_WOW_LIST_CMDID, "GET_WOW_LIST"},
{WMI_ADD_WOW_PATTERN_CMDID, "ADD_WOW_PATTERN"},
{WMI_DEL_WOW_PATTERN_CMDID, "DEL_WOW_PATTERN"},
{WMI_SET_FRAMERATES_CMDID, "SET_FRAMERATES"},
{WMI_SET_AP_PS_CMDID, "SET_AP_PS"},
{WMI_SET_QOS_SUPP_CMDID, "SET_QOS_SUPP"},
{WMI_THIN_RESERVED_START, "THIN_RESERVED_START"},
{WMI_THIN_RESERVED_END, "THIN_RESERVED_END"},
{WMI_SET_BITRATE_CMDID, "SET_BITRATE"},
{WMI_GET_BITRATE_CMDID, "GET_BITRATE"},
{WMI_SET_WHALPARAM_CMDID, "SET_WHALPARAM"},
{WMI_SET_MAC_ADDRESS_CMDID, "SET_MAC_ADDRESS"},
{WMI_SET_AKMP_PARAMS_CMDID, "SET_AKMP_PARAMS"},
{WMI_SET_PMKID_LIST_CMDID, "SET_PMKID_LIST"},
{WMI_GET_PMKID_LIST_CMDID, "GET_PMKID_LIST"},
{WMI_ABORT_SCAN_CMDID, "ABORT_SCAN"},
{WMI_SET_TARGET_EVENT_REPORT_CMDID, "SET_TARGET_EVENT_REPORT"},
{WMI_UNUSED1, "UNUSED1"},
{WMI_UNUSED2, "UNUSED2"},
{WMI_AP_HIDDEN_SSID_CMDID, "AP_HIDDEN_SSID"},
{WMI_AP_SET_NUM_STA_CMDID, "AP_SET_NUM_STA"},
{WMI_AP_ACL_POLICY_CMDID, "AP_ACL_POLICY"},
{WMI_AP_ACL_MAC_LIST_CMDID, "AP_ACL_MAC_LIST"},
{WMI_AP_CONFIG_COMMIT_CMDID, "AP_CONFIG_COMMIT"},
{WMI_AP_SET_MLME_CMDID, "AP_SET_MLME"},
{WMI_AP_SET_PVB_CMDID, "AP_SET_PVB"},
{WMI_AP_CONN_INACT_CMDID, "AP_CONN_INACT"},
{WMI_AP_PROT_SCAN_TIME_CMDID, "AP_PROT_SCAN_TIME"},
{WMI_AP_SET_COUNTRY_CMDID, "AP_SET_COUNTRY"},
{WMI_AP_SET_DTIM_CMDID, "AP_SET_DTIM"},
{WMI_AP_MODE_STAT_CMDID, "AP_MODE_STAT"},
{WMI_SET_IP_CMDID, "SET_IP"},
{WMI_SET_PARAMS_CMDID, "SET_PARAMS"},
{WMI_SET_MCAST_FILTER_CMDID, "SET_MCAST_FILTER"},
{WMI_DEL_MCAST_FILTER_CMDID, "DEL_MCAST_FILTER"},
{WMI_ALLOW_AGGR_CMDID, "ALLOW_AGGR"},
{WMI_ADDBA_REQ_CMDID, "ADDBA_REQ"},
{WMI_DELBA_REQ_CMDID, "DELBA_REQ"},
{WMI_SET_HT_CAP_CMDID, "SET_HT_CAP"},
{WMI_SET_HT_OP_CMDID, "SET_HT_OP"},
{WMI_SET_TX_SELECT_RATES_CMDID, "SET_TX_SELECT_RATES"},
{WMI_SET_TX_SGI_PARAM_CMDID, "SET_TX_SGI_PARAM"},
{WMI_SET_RATE_POLICY_CMDID, "SET_RATE_POLICY"},
{WMI_HCI_CMD_CMDID, "HCI_CMD"},
{WMI_RX_FRAME_FORMAT_CMDID, "RX_FRAME_FORMAT"},
{WMI_SET_THIN_MODE_CMDID, "SET_THIN_MODE"},
{WMI_SET_BT_WLAN_CONN_PRECEDENCE_CMDID, "SET_BT_WLAN_CONN_PRECEDENCE"},
{WMI_AP_SET_11BG_RATESET_CMDID, "AP_SET_11BG_RATESET"},
{WMI_SET_PMK_CMDID, "SET_PMK"},
{WMI_MCAST_FILTER_CMDID, "MCAST_FILTER"},
{WMI_SET_BTCOEX_FE_ANT_CMDID, "SET_BTCOEX_FE_ANT"},
{WMI_SET_BTCOEX_COLOCATED_BT_DEV_CMDID, "SET_BTCOEX_COLOCATED_BT_DEV"},
{WMI_SET_BTCOEX_SCO_CONFIG_CMDID, "SET_BTCOEX_SCO_CONFIG"},
{WMI_SET_BTCOEX_A2DP_CONFIG_CMDID, "SET_BTCOEX_A2DP_CONFIG"},
{WMI_SET_BTCOEX_ACLCOEX_CONFIG_CMDID, "SET_BTCOEX_ACLCOEX_CONFIG"},
{WMI_SET_BTCOEX_BTINQUIRY_PAGE_CONFIG_CMDID, "SET_BTCOEX_BTINQUIRY_PAGE_CONFIG"},
{WMI_SET_BTCOEX_DEBUG_CMDID, "SET_BTCOEX_DEBUG"},
{WMI_SET_BTCOEX_BT_OPERATING_STATUS_CMDID, "SET_BTCOEX_BT_OPERATING_STATUS"},
{WMI_GET_BTCOEX_STATS_CMDID, "GET_BTCOEX_STATS"},
{WMI_GET_BTCOEX_CONFIG_CMDID, "GET_BTCOEX_CONFIG"},
{WMI_SET_DFS_ENABLE_CMDID, "SET_DFS_ENABLE"},
{WMI_SET_DFS_MINRSSITHRESH_CMDID, "SET_DFS_MINRSSITHRESH"},
{WMI_SET_DFS_MAXPULSEDUR_CMDID, "SET_DFS_MAXPULSEDUR"},
{WMI_DFS_RADAR_DETECTED_CMDID, "DFS_RADAR_DETECTED"},
{WMI_P2P_SET_CONFIG_CMDID, "P2P_SET_CONFIG"},
{WMI_WPS_SET_CONFIG_CMDID, "WPS_SET_CONFIG"},
{WMI_SET_REQ_DEV_ATTR_CMDID, "SET_REQ_DEV_ATTR"},
{WMI_P2P_FIND_CMDID, "P2P_FIND"},
{WMI_P2P_STOP_FIND_CMDID, "P2P_STOP_FIND"},
{WMI_P2P_GO_NEG_START_CMDID, "P2P_GO_NEG_START"},
{WMI_P2P_LISTEN_CMDID, "P2P_LISTEN"},
{WMI_CONFIG_TX_MAC_RULES_CMDID, "CONFIG_TX_MAC_RULES"},
{WMI_SET_PROMISCUOUS_MODE_CMDID, "SET_PROMISCUOUS_MODE"},
{WMI_RX_FRAME_FILTER_CMDID, "RX_FRAME_FILTER"},
{WMI_SET_CHANNEL_CMDID, "SET_CHANNEL"},
{WMI_ENABLE_WAC_CMDID, "ENABLE_WAC"},
{WMI_WAC_SCAN_REPLY_CMDID, "WAC_SCAN_REPLY"},
{WMI_WAC_CTRL_REQ_CMDID, "WAC_CTRL_REQ"},
{WMI_SET_DIV_PARAMS_CMDID, "SET_DIV_PARAMS"},
{WMI_GET_PMK_CMDID, "GET_PMK"},
{WMI_SET_PASSPHRASE_CMDID, "SET_PASSPHRASE"},
{WMI_SEND_ASSOC_RES_CMDID, "SEND_ASSOC_RES"},
{WMI_SET_ASSOC_REQ_RELAY_CMDID, "SET_ASSOC_REQ_RELAY"},
{WMI_GET_RFKILL_MODE_CMDID, "GET_RFKILL_MODE"},
{WMI_SET_RFKILL_MODE_CMDID, "SET_RFKILL_MODE"},
{WMI_ACS_CTRL_CMDID, "ACS_CTRL"},
{WMI_STORERECALL_CONFIGURE_CMDID, "STORERECALL_CONFIGURE"},
{WMI_STORERECALL_RECALL_CMDID, "STORERECALL_RECALL"},
{WMI_STORERECALL_HOST_READY_CMDID, "STORERECALL_HOST_READY"},
{WMI_FORCE_TARGET_ASSERT_CMDID, "FORCE_TARGET_ASSERT"},
{WMI_SET_EXCESS_TX_RETRY_THRES_CMDID, "SET_EXCESS_TX_RETRY_THRES"},
{WMI_P2P_GO_NEG_REQ_RSP_CMDID, "P2P_GO_NEG_REQ_RSP"},
{WMI_P2P_GRP_INIT_CMDID, "P2P_GRP_INIT"},
{WMI_P2P_GRP_FORMATION_DONE_CMDID, "P2P_GRP_FORMATION_DONE"},
{WMI_P2P_INVITE_CMDID, "P2P_INVITE"},
{WMI_P2P_INVITE_REQ_RSP_CMDID, "P2P_INVITE_REQ_RSP"},
{WMI_P2P_PROV_DISC_REQ_CMDID, "P2P_PROV_DISC_REQ"},
{WMI_P2P_SET_CMDID, "P2P_SET"},
{WMI_AP_SET_APSD_CMDID, "AP_SET_APSD"},
{WMI_AP_APSD_BUFFERED_TRAFFIC_CMDID, "AP_APSD_BUFFERED_TRAFFIC"},
{WMI_P2P_SDPD_TX_CMDID, "P2P_SDPD_TX"},
{WMI_P2P_STOP_SDPD_CMDID, "P2P_STOP_SDPD"},
{WMI_P2P_CANCEL_CMDID, "P2P_CANCEL_CMDID"},
};
static struct dbg_id_str_entry dbg_wmi_event_str[] = {
{WMI_GET_CHANNEL_LIST_CMDID, "GET_CHANNEL_LIST"},
{WMI_READY_EVENTID, "READY"},
{WMI_CONNECT_EVENTID, "CONNECT"},
{WMI_DISCONNECT_EVENTID, "DISCONNECT"},
{WMI_BSSINFO_EVENTID, "BSSINFO"},
{WMI_CMDERROR_EVENTID, "CMDERROR"},
{WMI_REGDOMAIN_EVENTID, "REGDOMAIN"},
{WMI_PSTREAM_TIMEOUT_EVENTID, "PSTREAM_TIMEOUT"},
{WMI_NEIGHBOR_REPORT_EVENTID, "NEIGHBOR_REPORT"},
{WMI_TKIP_MICERR_EVENTID, "TKIP_MICERR"},
{WMI_SCAN_COMPLETE_EVENTID, "SCAN_COMPLETE"},
{WMI_REPORT_STATISTICS_EVENTID, "REPORT_STATISTICS"},
{WMI_RSSI_THRESHOLD_EVENTID, "RSSI_THRESHOLD"},
{WMI_ERROR_REPORT_EVENTID, "ERROR_REPORT"},
{WMI_OPT_RX_FRAME_EVENTID, "OPT_RX_FRAME"},
{WMI_REPORT_ROAM_TBL_EVENTID, "REPORT_ROAM_TBL"},
{WMI_EXTENSION_EVENTID, "EXTENSION"},
{WMI_CAC_EVENTID, "CAC"},
{WMI_SNR_THRESHOLD_EVENTID, "SNR_THRESHOLD"},
{WMI_LQ_THRESHOLD_EVENTID, "LQ_THRESHOLD"},
{WMI_TX_RETRY_ERR_EVENTID, "TX_RETRY_ROAM_DATA"},
{WMI_REPORT_ROAM_DATA_EVENTID, "REPORT_ROAM_DATA"},
{WMI_TEST_EVENTID, "TEST"},
{WMI_APLIST_EVENTID, "APLIST"},
{WMI_GET_WOW_LIST_EVENTID, "GET_WOR_LIST"},
{WMI_GET_PMKID_LIST_EVENTID, "GET_PMKID_LIST"},
{WMI_CHANNEL_CHANGE_EVENTID, "CHANNEL_CHANGE"},
{WMI_PEER_NODE_EVENTID, "PEER_NODE"},
{WMI_PSPOLL_EVENTID, "PSPOLL"},
{WMI_DTIMEXPIRY_EVENTID, "DTIMEXPIRY"},
{WMI_WLAN_VERSION_EVENTID, "WLAN_VERSION"},
{WMI_SET_PARAMS_REPLY_EVENTID, "SET_PARAMS_REPLY"},
{WMI_ADDBA_REQ_EVENTID, "ADDBA_REQ"},
{WMI_ADDBA_RESP_EVENTID, "ADDBA_RESP"},
{WMI_DELBA_REQ_EVENTID, "DELBA_REQ"},
{WMI_TX_COMPLETE_EVENTID, "TX_COMPLETE"},
{WMI_HCI_EVENT_EVENTID, "HCI_EVENT"},
{WMI_ACL_DATA_EVENTID, "ACL_DATA"},
{WMI_REPORT_SLEEP_STATE_EVENTID, "REPORT_SLEEP_STATE"},
{WMI_WAPI_REKEY_EVENTID, "WAPI_REKEY"},
{WMI_REPORT_BTCOEX_STATS_EVENTID, "REPORT_BTCOEX_STATS"},
{WMI_REPORT_BTCOEX_CONFIG_EVENTID, "REPORT_BTCOEX_CONFIG"},
{WMI_GET_PMK_EVENTID, "GET_PMK"},
{WMI_DFS_HOST_ATTACH_EVENTID, "DFS_HOST_ATTACH"},
{WMI_DFS_HOST_INIT_EVENTID, "DFS_HOST_INIT"},
{WMI_DFS_RESET_DELAYLINES_EVENTID, "DFS_RESET_DELAYLINES"},
{WMI_DFS_RESET_RADARQ_EVENTID, "DFS_RESET_RADARQ"},
{WMI_DFS_RESET_AR_EVENTID, "DFS_RESET_AR"},
{WMI_DFS_RESET_ARQ_EVENTID, "DFS_RESET_ARQ"},
{WMI_DFS_SET_DUR_MULTIPLIER_EVENTID, "DFS_SET_DUR_MULTIPLIER"},
{WMI_DFS_SET_BANGRADAR_EVENTID, "DFS_SET_BANGRADAR"},
{WMI_DFS_SET_DEBUGLEVEL_EVENTID, "DFS_SET_DEBUGLEVEL"},
{WMI_DFS_PHYERR_EVENTID, "DFS_PHYERR"},
{WMI_CCX_RM_STATUS_EVENTID, "CCX_RM_STATUS"},
{WMI_P2P_GO_NEG_RESULT_EVENTID, "P2P_GO_NEG_RESULT"},
{WMI_WAC_SCAN_DONE_EVENTID, "WAC_SCAN_DONE"},
{WMI_WAC_REPORT_BSS_EVENTID, "WAC_REPORT_BSS"},
{WMI_WAC_START_WPS_EVENTID, "WAC_START_WPS"},
{WMI_WAC_CTRL_REQ_REPLY_EVENTID, "WAC_CTRL_REQ_REPLY"},
{WMI_RFKILL_STATE_CHANGE_EVENTID, "RFKILL_STATE_CHANGE"},
{WMI_RFKILL_GET_MODE_CMD_EVENTID, "RFKILL_GET_MODE_CMD"},
{WMI_P2P_GO_NEG_REQ_EVENTID, "P2P_GO_NEG_REQ"},
{WMI_P2P_INVITE_REQ_EVENTID, "P2P_INVITE_REQ"},
{WMI_P2P_INVITE_RCVD_RESULT_EVENTID, "P2P_INVITE_RCVD_RESULT"},
{WMI_P2P_INVITE_SENT_RESULT_EVENTID, "P2P_INVITE_SENT_RESULT"},
{WMI_P2P_PROV_DISC_RESP_EVENTID, "P2P_PROV_DISC_RESP"},
{WMI_P2P_PROV_DISC_REQ_EVENTID, "P2P_PROV_DISC_REQ"},
{WMI_P2P_START_SDPD_EVENTID, "P2P_START_SDPD"},
{WMI_P2P_SDPD_RX_EVENTID, "P2P_SDPD_RX"},
{WMI_THIN_RESERVED_START_EVENTID, "THIN_RESERVED_START"},
{WMI_THIN_RESERVED_END_EVENTID, "THIN_RESERVED_END"},
{WMI_SET_CHANNEL_EVENTID, "SET_CHANNEL"},
{WMI_ASSOC_REQ_EVENTID, "ASSOC_REQ"},
{WMI_ACS_EVENTID, "ACS"},
{WMI_REPORT_WMM_PARAMS_EVENTID, "REPORT_WMM_PARAMS"},
{WMI_STORERECALL_STORE_EVENTID, "STORERECALL_STORE"},
};
#endif /* _DBG_CMD_EVT_H_ */