/*
 * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
 *
 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
 *
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
 * above copyright notice and this permission notice appear in all
 * copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
 */

/*
 * This file was originally distributed by Qualcomm Atheros, Inc.
 * under proprietary terms before Copyright ownership was assigned
 * to the Linux Foundation.
 */

#ifndef _DBGLOG_ID_H_
#define _DBGLOG_ID_H_

#ifdef __cplusplus
extern "C" {
#endif

/*
 * The nomenclature for the debug identifiers is MODULE_DESCRIPTION.
 * Please ensure that the definition of any new debugid introduced is captured
 * between the <MODULE>_DBGID_DEFINITION_START and
 * <MODULE>_DBGID_DEFINITION_END defines. The structure is required for the
 * parser to correctly pick up the values for different debug identifiers.
 */

/*
* The target state machine framework will send dbglog messages on behalf on
* other modules. We do this do avoid each module adding identical dbglog code
* for state transitions and event processing. We also don't want to force each
* module to define the the same XXX_DBGID_SM_MSG with the same value below.
* Instead we use a special ID that the host dbglog code recognizes as a
* message sent by the SM on behalf on another module.
*/
#define DBGLOG_DBGID_SM_FRAMEWORK_PROXY_DBGLOG_MSG 1000

/* RESMGR messageIDs for ML logging */
typedef enum {
	RESMGR_MSGID_DEFINITION_START = 0x0000,
	RESMGR_CHMMGR_CHAINMASK_CHANGE_REQ_MSGID,
	RESMGR_CHMMGR_PROCESS_CHM_CHANGE_REQ_MSGID,
	RESMGR_CHMMGR_DB_UPDATE_MSGID,
	RESMGR_CHMMGR_SEND_HW_MODE_PRE_NOTIF_MSGID,
	RESMGR_OCM_SUSPEND_MSGID,
	RESMGR_OCM_MIGRATE_MSGID,
	RESGMR_OCM_RESUME_MSGID,
	RESMGR_OCS_CHREQ_GRANT_MSGID,
	RESMGR_OCS_CURR_CAT_WINDOW_MSGID,
	RESMGR_OCS_CHREQ_RESTART_MSGID,
	RESMGR_OCS_CHREQ_COMPLETE_MSGID,
	RESMGR_OCS_WIN_CAT_DUR_MSGID,
	RESMGR_OCS_PURGE_CHREQS_MSGID,
	RESMGR_OCS_INVOKED_MSGID,
	RESMGR_OCS_CHREQ_CREATE_MSGID,
	RESMGR_OCS_CHREQ_DELETE_MSGID,
	RESMGR_OCS_RECAL_QUOTAS_MSGID,
	RESMGR_OCS_CHREQ_START_MSGID,
	RESMGR_OCS_CHREQ_STOP_MSGID,
	RESMGR_OCS_CHREQ_UPDATE_MSGID,
	RESMGR_DBSMGR_SET_HW_MODE_MSGID,
	RESMGR_DBSMGR_SET_CONNECTION_IN_PROGRESS_MSGID,
	RESMGR_VCM_LINK_CREATE_MSGID,
	RESMGR_VCM_LINK_DELETE_MSGID,
	RESMGR_VC_INIT_VIR_CHAN_MSGID,
	RESMGR_VC_ADD_LINK_MSGID,
	RESMGR_VC_RMV_LINK_MSGID,
	RESMGR_VC_REGISTER_LINK_MSGID,
	RESMGR_VC_UNREGISTER_LINK_MSGID,
	RESMGR_VC_ARBITRATE_ATTRIBUTES_MSGID,
	RESMGR_DBSMGR_CHANGE_SCAN_STATE_MSGID,
	RESMGR_DBSMGR_RECOMPUTE_SCAN_POLICY_MSGID,
	RESMGR_DBSMGR_UPDATE_SCAN_POLICY_MSGID,
	RESMGR_CHMMGR_INITIATE_VC_OPS_MSGID,
	RESMGR_CHMMGR_INITIATE_WAL_OPS_MSGID,
	RESMGR_EVENT_HANDLER_VDEV_MGR_MSGID,
	RESMGR_EVENT_HANDLER_SCAN_POLICY_MSGID,
	RESMGR_MSGID_DEFINITION_END = 0x7fff,
} RESMGR_MSGID;

/* VDEVMGR messageIDs for ML logging */
typedef enum {
	VDEV_MGR_MSGID_DEFINITION_START = 0x0000,
	VDEV_MGR_RESMGR_CHMMGR_NOTIF_VDEV_UP_MSGID,
	VDEV_MGR_FIRST_BMISS_DETECTED_MSGID,
	VDEV_MGR_FINAL_BMISS_DETECTED_MSGID,
	VDEV_MGR_MY_BEACON_RECEIVED_MSGID,
	VDEV_MGR_VDEV_PAUSE_MSGID,
	VDEV_MGR_VDEV_UNPAUSE_MSGID,
	VDEV_MGR_VDEV_MIGRATE_MSGID,
	VDEV_MGR_REGISTER_RESMGR_EVENT_MSGID,
	VDEV_MGR_EVENT_HANDLER_VDEV_MSGID,
	VDEV_MGR_EVENT_HANDLER_BEACON_MSGID,
	VDEV_MGR_EVENT_HANDLER_MGMT_TXRX,
	VDEV_MGR_EVENT_HANDLER_11D_SCAN_OFFLOAD_MSG_ID,
	VDEV_MGR_EVENT_HANDLER_WOW_KEEPALIVE_MSGID,
	VDEV_MGR_EVENT_HANDLER_EXTSCAN_MSGID,
	VDEV_MGR_EVENT_HANDLER_SWBMISS_MSGID,
	VDEV_MGR_EVENT_HANDLER_BEACON_DTIMSYNC_MSGID,
	VDEV_MGR_EVENT_HANDLER_BEACON_TSFOOR_MSGID,
	VDEV_MGR_THREAD_COMM_BE_FLOW_CTRL_MSGID,
	VDEV_MGR_THREAD_COMM_SYNC_RT_DATA_OFFLOAD_MSGID,
	VDEV_MGR_THREAD_COMM_BE_VDEV_STATE_CHANGE_MSGID,
	VDEV_MGR_THREAD_COMM_VDEV_STATE_CHANGE_CONF_MSGID,
	VDEV_MGR_MSGID_DEFINITION_END = 0x7fff,
} VDEV_MGR_MSGID;

/* SCAN messageIDs for ML logging */
typedef enum {
	SCAN_MSGID_DEFINITION_START = 0x0000,
	SCAN_SCH_START_MSGID,
	SCAN_EVENT_STARTED_MSGID,
	SCAN_EVENT_FOREIGN_CHANNEL_MSGID,
	SCAN_EVENT_FOREIGN_CHANNEL_EXIT_MSGID,
	SCAN_EVENT_BSS_CHANNEL_MSGID,
	SCAN_EVENT_PREEMPTED_MSGID,
	SCAN_EVENT_RESTARTED_MSGID,
	SCAN_EVENT_COMPLETED_MSGID,
	SCAN_EVENT_DEQUEUED_MSGID,
	SCAN_EVENT_SUSPENDED_MSGID,
	SCAN_SCH_CANCEL_MSGID,
	SCAN_SCH_SUSPEND_MSGID,
	SCAN_MGR_EVENT_ASYNC_COMPLETE_MSGID,
	SCAN_MGR_EVENT_COMPLETED_MSGID,
	SCAN_MGR_EVENT_PREEMPTED_MSGID,
	SCAN_MGR_EVENT_SUSPENDED_MSGID,
	SCAN_POLICY_EVENT_MSGID,
	SCAN_MGR_RESUME_EVENT_MSGID,
	SCAN_MGR_SCAN_START_MSGID,
	SCAN_MGR_CANCEL_MSGID,
	SCAN_MGR_BCN_RECV_MSGID,
	SCAN_MGR_CHECK_BAND_CHANNELS_MSGID,
	SCAN_MGR_SCAN_POLICY_RECOMPUTE_MSGID,
	SCAN_MGR_CLIENT_SCAN_POLICY_MSGID,
	SCAN_ENG_START_MSGID,
	SCAN_ENG_CANCEL_MSGID,
	SCAN_SET_CHAN_LIST_MSGID,
	SCAN_SEND_PROBE_REQ_RET_VDEV_MSGID,
	SCAN_SEND_PROBE_REQ_RET_PASSIVE_MSGID,
	SCAN_SEND_PROBE_REQ_2G_RET_MSGID,
	SCAN_SEND_PROBE_REQ_5G_RET_MSGID,
	SCAN_ADPATIVE_DWELL_ENABLED_MSGID,
	SCAN_ADAPTIVE_DWELL_CH_ACTIVITY_START_MSGID,
	SCAN_ADAPTIVE_DWELL_CH_ACTIVITY_END_MSGID,
	SCAN_ADAPTIVE_DWELL_CH_CONGESTION_CHECK_MSGID,
	SCAN_ADAPTIVE_DWELL_ACTIVE_STARTED_MSGID,
	SCAN_ADAPTIVE_DWELL_ALL_PROBE_SENT_MSGID,
	SCAN_ADAPTIVE_DWELL_PASSIVE_STARTED_MSGID,
	SCAN_ADAPTIVE_DWELL_SWITCH_ACTIVE_MSGID,
	SCAN_REGISTER_OFFLDMGR_CH_PREDICTION_MSGID,
	SCAN_DEREGISTER_OFFLDMGR_CH_PREDICTION_MSGID,
	SCAN_REGISTER_OFFLDMGR_ADAPTIVE_BCNPRB_MSGID,
	SCAN_DEREGISTER_OFFLDMGR_ADAPTIVE_BCNPRB_MSGID,
	SCAN_EVENT_HANDLER_MGMT_TXRX_MSGID,
	SCAN_EVENT_HANDLER_NLO_MSGID,
	SCAN_EVENT_HANDLER_SCAN_AUTOCHAN_MSGID,
	SCAN_EVENT_HANDLER_VDEVMGR_MSGID,
	SCAN_EVENT_HANDLER_OFFLOAD_BEACON_MSGID,
	SCAN_EVENT_HANDLER_STA_TWT_MSGID,
	SCAN_EVENT_HANDLER_BATCH_SCAN_MSGID,
	SCAN_MSGID_DEFINITION_END = 0x7fff,
} SCAN_MSGID;

/* MGMT_TXRX messageIDs for ML logging */
typedef enum {
	MGMT_TXRX_MSGID_DEFINITION_START = 0x0000,
	MGMT_TXRX_WAL_LOCAL_FRAME_SEND_MSGID,
	MGMT_TXRX_WAL_FRAME_SEND_MSGID,
	MGMT_TXRX_FORWARD_TO_HOST_MSGID,
	DATA_TXRX_WAL_LOCAL_FRAME_SEND_MSGID,
	MGMT_TXRX_MSGID_DEFINITION_END = 0x7fff,
} MGMT_TXRX_MSGID;

/* OFFLOAD messageIDs for ML logging */
typedef enum {
	OFFLOAD_MSGID_DEFINITION_START = 0x0000,
	OFFLOAD_MGMT_RX_FRAME_ALLOW_MSGID,
	OFFLOAD_MGMT_RX_FRAME_DROP_MSGID,
	OFFLOAD_PROTO_DATA_RX_FRAME_STATUS_MSGID,
	OFFLOAD_PROTO_DATA_RX_FRAME_TYPE_MSGID,
	OFFLOAD_SCAN_CH_PREDICTION_MSGID,
	OFFLOAD_SCAN_ADAPTIVE_BCNPRB_MSGID,
	OFFLOAD_VDEV_OWN_BEACON_MSGID,
	OFFLOAD_VDEV_BEACON_FILTER_MSGID,
	OFFLOAD_VDEV_CONNECTING_MSGID,
	OFFLOAD_11D_SCAN_MSGID,
	OFFLOAD_BATCH_SCAN_MSGID,
	OFFLOAD_OBSS_SCAN_MSGID,
	OFFLOAD_ARP_RECV_MSGID,
	OFFLOAD_ARP_DROP_MSGID,
	OFFLOAD_ARP_REPLY_SUCCESS_MSGID,
	OFFLOAD_ARP_REPLY_FAIL_MSGID,
	OFFLOAD_NS_RECV_MSGID,
	OFFLOAD_NS_DROP_MSGID,
	OFFLOAD_NS_REPLY_SUCCESS_MSGID,
	OFFLOAD_NS_REPLY_FAIL_MSGID,
	OFFLOAD_GTK_PROESS_REKEY_MSGID,
	OFFLOAD_GTK_REPLY_REKEY_MSGID,
	OFFLOAD_GTK_PROESS_REKEY_FAIL_MSGID,
	OFFLOAD_SUPPL_EAP_RECV_MSGID,
	OFFLOAD_SUPPL_EAP_1X_MSGID,
	OFFLOAD_MSGID_DEFINITION_END = 0x7fff,
} OFFLOAD_MSGID;

/* STA_PWRSAVE messageIDs for ML logging */
typedef enum {
	STA_PWRSAVE_MSGID_DEFINITION_START = 0x0000,
	STA_PWRSAVE_ARBITER_REQUEST_MSGID,
	STA_PWRSAVE_MSGID_DEFINITION_END = 0x7fff,
} STA_PWRSAVE_MSGID;

/* COEX messageIDs for ML logging */
typedef enum {
	COEX_MSGID_DEFINITION_START = 0x0000,
	COEX_ASM_ANTENNA_REQUEST_MSGID,
	COEX_ASM_ANTENNA_RELEASE_MSGID,
	COEX_EVENT_HANDLER_RESMGR_MSGID,
	COEX_EVENT_HANDLER_SCAN_ANT_MSGID,
	COEX_EVENT_HANDLER_VDEV_ANT_OP_MSGID,
	COEX_MSGID_DEFINITION_END = 0x7fff,
} COEX_MSGID;

/* STA_SMPS messageIDs for ML logging */
typedef enum {
	STA_SMPS_MSGID_DEFINITION_START = 0x0000,
	STA_SMPS_VC_CFG_NOTIFY_MSGID,
	STA_SMPS_MSGID_EDFINITION_END = 0x7fff,
} STA_SMPS_MSGID;


/* WAL messageIDs for ML logging */
typedef enum {
	WAL_MSGID_DEFINITION_START = 0x0000,
	WAL_PDEV_CHANNEL_CHANGE_MSGID,
	WAL_PDEV_HALPHY_RUN_DPD_CAL_MSGID,
	WAL_TX_MGMT_COMP_MSGID,
	WAL_TX_MGMT_ENQUEUE_MSGID,
	WAL_RX_SUSPEND_START_MSGID,
	WAL_RX_SUSPEND_SUCCESS_MSGID,
	WAL_RX_RESUME_START_MSGID,
	WAL_SOC_SWITCH_MODE_MSGID,
	WAL_CONNECTION_PAUSE_BLOCK_ENABLE_MSGID,
	WAL_CONNECTION_PAUSE_BLOCK_DISABLE_MSGID,
	WAL_VDEV_PAUSE_ENABLE_MSGID,
	WAL_VDEV_PAUSE_DISABLE_MSGID,
	WAL_VDEV_PAUSE_RESET_MSGID,
	WAL_PDEV_PAUSE_ENABLE_MSGID,
	WAL_PDEV_PAUSE_DISABLE_MSGID,
	WAL_PEER_SEND_N_REQ_MSGID,
	WAL_PEER_PS_PRE_REQ_MSGID,
	WAL_CONNECTION_PAUSE_ATTACH_TID_MSGID,
	WAL_PDEV_PAUSE_NOTIFY_VDEV_CREATE_MSGID,
	WAL_CONNECTION_PAUSE_PEER_CREATE_MSGID,
	WAL_CONNECTION_PAUSE_TIDQ_HWQ_EMPTY_MSGID,
	WAL_TX_SEND_ABORT_TX_MSGID,
	WAL_TX_SEND_RESUME_TX_MSGID,
	WAL_TX_FLUSH_TID_MSGID,
	WAL_TX_FLUSH_PEER_MSGID,
	WAL_TX_FLUSH_VDEV_MSGID,
	WAL_VDEV_UP_MSGID,
	WAL_VDEV_START_MSGID,
	WAL_VDEV_DOWN_MSGID,
	WAL_VDEV_STOP_MSGID,
	WAL_VDEV_MIGRATE_MSGID,
	WAL_PEER_CONSECUTIVE_FAILURE_MSGID,
	WAL_PEER_CONSECUTIVE_FAILURE_RESET_MSGID,
	WAL_PEER_STA_KICKOUT_MSGID,
	SM_DISPATCH_EVENT_MSGID,
	SM_STATE_TRANSITION_MSGID,
	WAL_THREAD_COMM_TX_PAUSE_HWQ_EMPTY_MSGID,
	WAL_THREAD_COMM_PEER_TX_PAUSE_REQ_MSGID,
	WAL_THREAD_COMM_PEER_TX_UNPAUSE_REQ_MSGID,
	WAL_THREAD_COMM_VDEV_TX_PAUSE_REQ_MSGID,
	WAL_THREAD_COMM_PDEV_TX_PAUSE_REQ_MSGID,
	WAL_THREAD_COMM_VDEV_TX_UNPAUSE_REQ_MSGID,
	WAL_THREAD_COMM_PDEV_TX_UNPAUSE_REQ_MSGID,
	WAL_THREAD_COMM_VDEV_TX_PAUSE_RESET_IND_MSGID,
	WAL_THREAD_COMM_PEER_TX_BLOCK_REQ_MSGID,
	WAL_THREAD_COMM_PEER_TX_UNBLOCK_REQ_MSGID,
	WAL_THREAD_COMM_PEER_SEND_N_REQ_MSGID,
	WAL_THREAD_COMM_PEER_PS_PRE_REQ_MSGID,
	WAL_THREAD_COMM_TX_PAUSE_TID_CREATE_MSGID,
	WAL_THREAD_COMM_TX_PAUSE_VDEV_CREATE_MSGID,
	WAL_THREAD_COMM_TX_PAUSE_POST_RESPONSE_MSGID,
	WAL_THREAD_COMM_PDEV_EVENT_HANDLER_MSGID,
	WAL_THREAD_COMM_VDEV_EVENT_HANDLER_MSGID,
	WAL_THREAD_COMM_PEER_EVENT_HANDLER_MSGID,
	WAL_THREAD_COMM_POWER_MSGID,
	WAL_THREAD_COMM_RT_POWER_BEACON_TIMEOUT_MSGID,
	WAL_THREAD_COMM_RT_POWER_SUSPEND_FAIL_RESET_MSGID,
	WAL_THREAD_COMM_RT_DATA_NULL_DEAUTH_MSGID,
	WAL_THREAD_COMM_LOCAL_SEND_WITH_RATE_MSGID,
	WAL_THREAD_COMM_LOCAL_SEND_COMPLETION_MSGID,
	WAL_THREAD_COMM_TX_FLUSH_ENTITY_TID_MSGID,
	WAL_THREAD_COMM_TX_FLUSH_ENTITY_PEER_MSGID,
	WAL_THREAD_COMM_TX_FLUSH_ENTITY_VDEV_MSGID,
	WAL_THREAD_COMM_TX_FLUSH_COMPLETE_MSGID,
	WAL_THREAD_COMM_TAC_TID_LIST_OP_MSGID,
	WAL_THREAD_COMM_TAC_TX_SCHED_MSGID,
	WAL_THREAD_COMM_BE_RX_ATTACH_MSGID,
	WAL_THREAD_COMM_TT_CONTROL_MSGID,
	WAL_THREAD_COMM_RT_EXEC_DEV_RESET_MSGID,
	WAL_THREAD_COMM_VDEV_MIGRATION_SYNC_MSGID,
	WAL_THREAD_COMM_BE_SOC_SUSPEND_NOTIFY_MSGID,
	WAL_THREAD_COMM_RT_SOC_SUSPEND_CONF_MSGID,
	WAL_THREAD_COMM_TX_ABORT_MSGID,
	WAL_THREAD_COMM_TX_RESUME_MSGID,
	WAL_THREAD_COMM_RT_WPM_EXIT_HW_DTIM_AWAKE_MSGID,
	WAL_THREAD_COMM_BE_RX_PROC_MSGID,
	WAL_THREAD_COMM_BE_PEER_SET_PARAM_MSGID,
	WAL_THREAD_COMM_PEER_SEND_MSG_MSGID,
	WAL_THREAD_COMM_TID_DEL_MSGID,
	WAL_TX_PAUSE_REQ_HANDLER_MSGID,
	WAL_TX_PAUSE_RSP_HANDLER_MSGID,
	WAL_SW_DTIM_POWER_MSG_HANDLER_MSGID,
	WAL_PEER_KEY_SET_MSGID,
	WAL_PEER_WAPI_EAPOL_TX_SEND_COMPLETE_MSGID,
	WAL_PEER_PTK_M4_SENT_MSGID,
	WAL_PEER_ALLOW_DATA_MSGID,
	WAL_EVENT_HANDLER_VDEV_PAUSE_MSGID,
	WAL_EVENT_HANDLER_STA_SWTIM_MSGID,
	WAL_EVENT_HANDLER_VDEV_RECONFIG_MSGID,
	WAL_MSGID_DEFINITION_END = 0x7fff,
} WAL_MSGID;

/* WPM messageIDs for ML logging */
typedef enum {
	WPM_MSGID_DEFINITION_START = 0x0000,
	WPM_ARBITER_REQUEST_MSGID,
	WPM_MSGID_DEFINITION_END = 0x7fff,
} WPM_MSGID;

/* MLME messageIDs for ML logging */
typedef enum {
	MLME_MSGID_DEFINITION_START = 0x0000,
	MLME_THREAD_COMM_BE_HTT_SVC_VDEV_CHANGE_MSGID,
	MLME_THREAD_COMM_INSTALL_KEY_MSGID,
	MLME_THREAD_COMM_STORE_KEY_MSGID,
	MLME_THREAD_COMM_UPDATE_STATUS_MSGID,
	MLME_THREAD_COMM_CMD_PROXY_MSGID,
	MLME_MSGID_DEFINITION_END = 0x7fff,
} MLME_MSGID;

typedef enum {
	SUPPL_MSGID_DEFINITION_START = 0x0000,
	SUPPL_THREAD_COMM_INIT_AUTH_MSGID,
	SUPPL_THREAD_COMM_STATUS_CHANGE_EVT_MSGID,
	SUPPL_MSGID_DEFINITION_END = 0x7fff,
} SUPPL_MSGID;

typedef enum {
	AP_PWRSAVE_MSGID_DEFINITION_START = 0x0000,
	AP_PWRSAVE_EVENT_HANDLER_SLEEP_STA_UPDATE_MSGID,
	AP_PWRSAVE_MSGID_DEFINITION_END = 0x7fff,
} AP_PWRSAVE_MSGID;


/* INF debug identifier definitions */
#define INF_DBGID_DEFINITION_START                    0
#define INF_ASSERTION_FAILED                          1
#define INF_TARGET_ID                                 2
#define INF_TARGET_MEM_REMAING			              3
#define INF_TARGET_MEM_EXT_REMAING                    4
#define INF_TARGET_MEM_ALLOC_TRACK                    5
#define INF_TARGET_MEM_ALLOC_RAM                      6
#define INF_DBGID_DEFINITION_END                      7

/* WMI debug identifier definitions */
#define WMI_DBGID_DEFINITION_START                    0
#define WMI_CMD_RX_XTND_PKT_TOO_SHORT                 1
#define WMI_EXTENDED_CMD_NOT_HANDLED                  2
#define WMI_CMD_RX_PKT_TOO_SHORT                      3
#define WMI_CALLING_WMI_EXTENSION_FN                  4
#define WMI_CMD_NOT_HANDLED                           5
#define WMI_IN_SYNC                                   6
#define WMI_TARGET_WMI_SYNC_CMD                       7
#define WMI_SET_SNR_THRESHOLD_PARAMS                  8
#define WMI_SET_RSSI_THRESHOLD_PARAMS                 9
#define WMI_SET_LQ_TRESHOLD_PARAMS                   10
#define WMI_TARGET_CREATE_PSTREAM_CMD                11
#define WMI_WI_DTM_INUSE                             12
#define WMI_TARGET_DELETE_PSTREAM_CMD                13
#define WMI_TARGET_IMPLICIT_DELETE_PSTREAM_CMD       14
#define WMI_TARGET_GET_BIT_RATE_CMD                  15
#define WMI_GET_RATE_MASK_CMD_FIX_RATE_MASK_IS       16
#define WMI_TARGET_GET_AVAILABLE_CHANNELS_CMD        17
#define WMI_TARGET_GET_TX_PWR_CMD                    18
#define WMI_FREE_EVBUF_WMIBUF                        19
#define WMI_FREE_EVBUF_DATABUF                       20
#define WMI_FREE_EVBUF_BADFLAG                       21
#define WMI_HTC_RX_ERROR_DATA_PACKET                 22
#define WMI_HTC_RX_SYNC_PAUSING_FOR_MBOX             23
#define WMI_INCORRECT_WMI_DATA_HDR_DROPPING_PKT      24
#define WMI_SENDING_READY_EVENT                      25
#define WMI_SETPOWER_MDOE_TO_MAXPERF                 26
#define WMI_SETPOWER_MDOE_TO_REC                     27
#define WMI_BSSINFO_EVENT_FROM                       28
#define WMI_TARGET_GET_STATS_CMD                     29
#define WMI_SENDING_SCAN_COMPLETE_EVENT              30
#define WMI_SENDING_RSSI_INDB_THRESHOLD_EVENT        31
#define WMI_SENDING_RSSI_INDBM_THRESHOLD_EVENT       32
#define WMI_SENDING_LINK_QUALITY_THRESHOLD_EVENT     33
#define WMI_SENDING_ERROR_REPORT_EVENT               34
#define WMI_SENDING_CAC_EVENT                        35
#define WMI_TARGET_GET_ROAM_TABLE_CMD                36
#define WMI_TARGET_GET_ROAM_DATA_CMD                 37
#define WMI_SENDING_GPIO_INTR_EVENT                  38
#define WMI_SENDING_GPIO_ACK_EVENT                   39
#define WMI_SENDING_GPIO_DATA_EVENT                  40
#define WMI_CMD_RX                                   41
#define WMI_CMD_RX_XTND                              42
#define WMI_EVENT_SEND                               43
#define WMI_EVENT_SEND_XTND                          44
#define WMI_CMD_PARAMS_DUMP_START                    45
#define WMI_CMD_PARAMS_DUMP_END                      46
#define WMI_CMD_PARAMS                               47
#define WMI_EVENT_ALLOC_FAILURE                      48
#define WMI_DBGID_DCS_PARAM_CMD                      49
#define WMI_SEND_EVENT_WRONG_TLV                     50
#define WMI_SEND_EVENT_NO_TLV_DEF                    51
#define WMI_RECV_CMD_WRONG_TLV                              52
#define WMI_CHECK_TLV_PARAM_GET_NUM_TLVS_ERROR              53
#define WMI_CHECK_TLV_PARAM_TLV_LEN_EXCEEDED_BUF_LEN        54
#define WMI_CHECK_TLV_PARAM_NONEXISTING_TAG_ORDER           55
#define WMI_CHECK_TLV_PARAM_WRONG_TAG_ORDER                 56
#define WMI_CHECK_TLV_PARAM_INVALID_TLV_DEF_ARRAY_SIZE      57
#define WMI_CHECK_TLV_PARAM_INVALID_TLV_DEF_VARIED_SIZE     58
#define WMI_CHECK_TLV_PARAM_WRONG_TLV_LENGTH                59
#define WMI_CHECK_TLV_PARAM_UNALIGNED_TLV_LEN               60
#define WMI_CHECK_TLV_PARAM_WRONG_INNER_TLV_LEN             61
#define WMI_CHECK_TLV_PARAM_UNSUPPORTED_ARRAY_TAG           62
#define WMI_CHECK_TLV_PARAM_EXCEEDED_MAX_TLVs               63
#define WMI_CHECK_TLV_PARAM_CMD_BUF_ALLOC_FAILED            64
#define WMI_CHECK_TLV_PARAM_TLV_INFO                        65
#define WMI_DBGID_DEFINITION_END                            66

/*  PM Message definition*/
#define PS_STA_DEFINITION_START                     0
#define PS_STA_PM_ARB_REQUEST                       1
#define PS_STA_DELIVER_EVENT                        2
#define PS_STA_PSPOLL_SEQ_DONE                      3
#define PS_STA_COEX_MODE                            4
#define PS_STA_PSPOLL_ALLOW                         5
#define PS_STA_SET_PARAM                            6
#define PS_STA_SPECPOLL_TIMER_STARTED               7
#define PS_STA_SPECPOLL_TIMER_STOPPED               8
#define PS_STA_AVG_CHANNEL_CONGESTION               9
#define PS_STA_DEFINITION_END                       10

/** RESMGR dbg ids */
/* TODO: 1. Segregate IDs as per sub-module. (Give 100 per sub-module?)
 *       2. Add chmgr IDs over here.
 *       3. Update prints in dbglog_host.c
 *       4. Deprecate WLAN_MODULE_RESMGR_CHAN_MANAGER */
#define RESMGR_DEFINITION_START                     0
#define RESMGR_OCS_ALLOCRAM_SIZE                    1
#define RESMGR_OCS_RESOURCES                        2
#define RESMGR_LINK_CREATE                          3
#define RESMGR_LINK_DELETE                          4
#define RESMGR_OCS_CHREQ_CREATE                     5
#define RESMGR_OCS_CHREQ_DELETE                     6
#define RESMGR_OCS_CHREQ_START                      7
#define RESMGR_OCS_CHREQ_STOP                       8
#define RESMGR_OCS_SCHEDULER_INVOKED                9
#define RESMGR_OCS_CHREQ_GRANT                      10
#define RESMGR_OCS_CHREQ_COMPLETE                   11
#define RESMGR_OCS_NEXT_TSFTIME                     12
#define RESMGR_OCS_TSF_TIMEOUT_US                   13
#define RESMGR_OCS_CURR_CAT_WINDOW                  14
#define RESMGR_OCS_CURR_CAT_WINDOW_REQ              15
#define RESMGR_OCS_CURR_CAT_WINDOW_TIMESLOT         16
#define RESMGR_OCS_CHREQ_RESTART                    17
#define RESMGR_OCS_CLEANUP_CH_ALLOCATORS            18
#define RESMGR_OCS_PURGE_CHREQ                      19
#define RESMGR_OCS_CH_ALLOCATOR_FREE                20
#define RESMGR_OCS_RECOMPUTE_SCHEDULE               21
#define RESMGR_OCS_NEW_CAT_WINDOW_REQ               22
#define RESMGR_OCS_NEW_CAT_WINDOW_TIMESLOT          23
#define RESMGR_OCS_CUR_CH_ALLOC                     24
#define RESMGR_OCS_WIN_CH_ALLOC                     25
#define RESMGR_OCS_SCHED_CH_CHANGE                  26
#define RESMGR_OCS_CONSTRUCT_CAT_WIN                27
#define RESMGR_OCS_CHREQ_PREEMPTED                  28
#define RESMGR_OCS_CH_SWITCH_REQ                    29
#define RESMGR_OCS_CHANNEL_SWITCHED                 30
#define RESMGR_OCS_CLEANUP_STALE_REQS               31
#define RESMGR_OCS_CHREQ_UPDATE                     32
#define RESMGR_OCS_REG_NOA_NOTIF                    33
#define RESMGR_OCS_DEREG_NOA_NOTIF                  34
#define RESMGR_OCS_GEN_PERIODIC_NOA                 35
#define RESMGR_OCS_RECAL_QUOTAS                     36
#define RESMGR_OCS_GRANTED_QUOTA_STATS              37
#define RESMGR_OCS_ALLOCATED_QUOTA_STATS            38
#define RESMGR_OCS_REQ_QUOTA_STATS                  39
#define RESMGR_OCS_TRACKING_TIME_FIRED              40
#define RESMGR_VC_ARBITRATE_ATTRIBUTES              41
#define RESMGR_OCS_LATENCY_STRICT_TIME_SLOT         42
#define RESMGR_OCS_CURR_TSF                         43
#define RESMGR_OCS_QUOTA_REM                        44
#define RESMGR_OCS_LATENCY_CASE_NO                  45
#define RESMGR_OCS_WIN_CAT_DUR                      46
#define RESMGR_VC_UPDATE_CUR_VC                     47
#define RESMGR_VC_REG_UNREG_LINK                    48
#define RESMGR_VC_PRINT_LINK                        49
#define RESMGR_OCS_MISS_TOLERANCE                   50
#define RESMGR_DYN_SCH_ALLOCRAM_SIZE                51
#define RESMGR_DYN_SCH_ENABLE                       52
#define RESMGR_DYN_SCH_ACTIVE                       53
#define RESMGR_DYN_SCH_CH_STATS_START               54
#define RESMGR_DYN_SCH_CH_SX_STATS                  55
#define RESMGR_DYN_SCH_TOT_UTIL_PER                 56
#define RESMGR_DYN_SCH_HOME_CH_QUOTA                57
#define RESMGR_OCS_REG_RECAL_QUOTA_NOTIF            58
#define RESMGR_OCS_DEREG_RECAL_QUOTA_NOTIF          59
#define RESMGR_DYN_SCH_CH_STATS_END                 60
#define RESMGR_DEFINITION_END                       61

/* RESMGR CHNMGR debug ids */
#define RESMGR_CHMGR_DEFINITION_START               0
#define RESMGR_CHMGR_PAUSE_COMPLETE                 1
#define RESMGR_CHMGR_CHANNEL_CHANGE                 2
#define RESMGR_CHMGR_RESUME_COMPLETE                3
#define RESMGR_CHMGR_VDEV_PAUSE                     4
#define RESMGR_CHMGR_VDEV_UNPAUSE                   5
#define RESMGR_CHMGR_CTS2S_TX_COMP                  6
#define RESMGR_CHMGR_CFEND_TX_COMP                  7
#define RESMGR_CHMGR_DEFINITION_END                 8

/* VDEV manager debug ids */
#define VDEV_MGR_DEFINITION_START                   0
#define VDEV_MGR_FIRST_BMISS_DETECTED               1
#define VDEV_MGR_FINAL_BMISS_DETECTED               2
#define VDEV_MGR_BCN_IN_SYNC                        3
#define VDEV_MGR_AP_KEEPALIVE_IDLE                  4
#define VDEV_MGR_AP_KEEPALIVE_INACTIVE              5
#define VDEV_MGR_AP_KEEPALIVE_UNRESPONSIVE          6
#define VDEV_MGR_AP_TBTT_CONFIG                     7
#define VDEV_MGR_FIRST_BCN_RECEIVED                 8
#define VDEV_MGR_VDEV_START                         9
#define VDEV_MGR_VDEV_UP                            10
#define VDEV_MGR_PEER_AUTHORIZED                    11
#define VDEV_MGR_OCS_HP_LP_REQ_POSTED               12
#define VDEV_MGR_VDEV_START_OCS_HP_REQ_COMPLETE     13
#define VDEV_MGR_VDEV_START_OCS_HP_REQ_STOP         14
#define VDEV_MGR_HP_START_TIME                      15
#define VDEV_MGR_VDEV_PAUSE_DELAY_UPDATE            16
#define VDEV_MGR_VDEV_PAUSE_FAIL                    17
#define VDEV_MGR_GEN_PERIODIC_NOA                   18
#define VDEV_MGR_OFF_CHAN_GO_CH_REQ_SETUP           19
#define VDEV_MGR_DEFINITION_END                     20

/* WHAL debug identifier definitions */
#define WHAL_DBGID_DEFINITION_START                 0
#define WHAL_ERROR_ANI_CONTROL                      1
#define WHAL_ERROR_CHIP_TEST1                       2
#define WHAL_ERROR_CHIP_TEST2                       3
#define WHAL_ERROR_EEPROM_CHECKSUM                  4
#define WHAL_ERROR_EEPROM_MACADDR                   5
#define WHAL_ERROR_INTERRUPT_HIU                    6
#define WHAL_ERROR_KEYCACHE_RESET                   7
#define WHAL_ERROR_KEYCACHE_SET                     8
#define WHAL_ERROR_KEYCACHE_TYPE                    9
#define WHAL_ERROR_KEYCACHE_TKIPENTRY              10
#define WHAL_ERROR_KEYCACHE_WEPLENGTH              11
#define WHAL_ERROR_PHY_INVALID_CHANNEL             12
#define WHAL_ERROR_POWER_AWAKE                     13
#define WHAL_ERROR_POWER_SET                       14
#define WHAL_ERROR_RECV_STOPDMA                    15
#define WHAL_ERROR_RECV_STOPPCU                    16
#define WHAL_ERROR_RESET_CHANNF1                   17
#define WHAL_ERROR_RESET_CHANNF2                   18
#define WHAL_ERROR_RESET_PM                        19
#define WHAL_ERROR_RESET_OFFSETCAL                 20
#define WHAL_ERROR_RESET_RFGRANT                   21
#define WHAL_ERROR_RESET_RXFRAME                   22
#define WHAL_ERROR_RESET_STOPDMA                   23
#define WHAL_ERROR_RESET_ERRID                     24
#define WHAL_ERROR_RESET_ADCDCCAL1                 25
#define WHAL_ERROR_RESET_ADCDCCAL2                 26
#define WHAL_ERROR_RESET_TXIQCAL                   27
#define WHAL_ERROR_RESET_RXIQCAL                   28
#define WHAL_ERROR_RESET_CARRIERLEAK               29
#define WHAL_ERROR_XMIT_COMPUTE                    30
#define WHAL_ERROR_XMIT_NOQUEUE                    31
#define WHAL_ERROR_XMIT_ACTIVEQUEUE                32
#define WHAL_ERROR_XMIT_BADTYPE                    33
#define WHAL_ERROR_XMIT_STOPDMA                    34
#define WHAL_ERROR_INTERRUPT_BB_PANIC              35
#define WHAL_ERROR_PAPRD_MAXGAIN_ABOVE_WINDOW      36
#define WHAL_ERROR_QCU_HW_PAUSE_MISMATCH           37
#define WHAL_ERROR_POWER_RFLP_CONFIG               38
#define WHAL_ERROR_POWER_RFLP_SYNTHBYPASS_CONFIG   39
#define WHAL_ERROR_POWER_RFLP_BIAS2X_CONFIG        40
#define WHAL_ERROR_POWER_RFLP_PLLBYPASS_CONFIG     41
#define WHAL_ERROR_POWER_RFLP_OFF1CHAN_CONFIG      42
#define WHAL_ERROR_POWER_ANTENNA_LMIT              43
#define WHAL_ERROR_POWER_REGDMN_TX_LMIT            44
#define WHAL_ERROR_POWER_MODE_SCALED_PWR           45
#define WHAL_ERROR_POWER_EDGE_PWR_TPSCALE          46
#define WHAL_ERROR_POWER_CHAN_REGALLOW             47
#define WHAL_ERROR_WAIT_REG_TIMEOUT                48
#define WHAL_ERROR_XTAL_SET                        49
#define WHAL_DBGID_DEFINITION_END                  50

#define COEX_DEBUGID_START              0
#define BTCOEX_DBG_MCI_1                            1
#define BTCOEX_DBG_MCI_2                            2
#define BTCOEX_DBG_MCI_3                            3
#define BTCOEX_DBG_MCI_4                            4
#define BTCOEX_DBG_MCI_5                            5
#define BTCOEX_DBG_MCI_6                            6
#define BTCOEX_DBG_MCI_7                            7
#define BTCOEX_DBG_MCI_8                            8
#define BTCOEX_DBG_MCI_9                            9
#define BTCOEX_DBG_MCI_10                           10
#define COEX_WAL_BTCOEX_INIT                        11
#define COEX_WAL_PAUSE                              12
#define COEX_WAL_RESUME                             13
#define COEX_UPDATE_AFH                             14
#define COEX_HWQ_EMPTY_CB                           15
#define COEX_MCI_TIMER_HANDLER                      16
#define COEX_MCI_RECOVER                            17
#define ERROR_COEX_MCI_ISR                          18
#define ERROR_COEX_MCI_GPM                          19
#define COEX_ProfileType                            20
#define COEX_LinkID                                 21
#define COEX_LinkState                              22
#define COEX_LinkRole                               23
#define COEX_LinkRate                               24
#define COEX_VoiceType                              25
#define COEX_TInterval                              26
#define COEX_WRetrx                                 27
#define COEX_Attempts                               28
#define COEX_PerformanceState                       29
#define COEX_LinkType                               30
#define COEX_RX_MCI_GPM_VERSION_QUERY               31
#define COEX_RX_MCI_GPM_VERSION_RESPONSE            32
#define COEX_RX_MCI_GPM_STATUS_QUERY                33
#define COEX_STATE_WLAN_VDEV_DOWN                   34
#define COEX_STATE_WLAN_VDEV_START                  35
#define COEX_STATE_WLAN_VDEV_CONNECTED              36
#define COEX_STATE_WLAN_VDEV_SCAN_STARTED           37
#define COEX_STATE_WLAN_VDEV_SCAN_END               38
#define COEX_STATE_WLAN_DEFAULT                     39
#define COEX_CHANNEL_CHANGE                         40
#define COEX_POWER_CHANGE                           41
#define COEX_CONFIG_MGR                             42
#define COEX_TX_MCI_GPM_BT_CAL_REQ                  43
#define COEX_TX_MCI_GPM_BT_CAL_GRANT                44
#define COEX_TX_MCI_GPM_BT_CAL_DONE                 45
#define COEX_TX_MCI_GPM_WLAN_CAL_REQ                46
#define COEX_TX_MCI_GPM_WLAN_CAL_GRANT              47
#define COEX_TX_MCI_GPM_WLAN_CAL_DONE               48
#define COEX_TX_MCI_GPM_BT_DEBUG                    49
#define COEX_TX_MCI_GPM_VERSION_QUERY               50
#define COEX_TX_MCI_GPM_VERSION_RESPONSE            51
#define COEX_TX_MCI_GPM_STATUS_QUERY                52
#define COEX_TX_MCI_GPM_HALT_BT_GPM                 53
#define COEX_TX_MCI_GPM_WLAN_CHANNELS               54
#define COEX_TX_MCI_GPM_BT_PROFILE_INFO             55
#define COEX_TX_MCI_GPM_BT_STATUS_UPDATE            56
#define COEX_TX_MCI_GPM_BT_UPDATE_FLAGS             57
#define COEX_TX_MCI_GPM_UNKNOWN                     58
#define COEX_TX_MCI_SYS_WAKING                      59
#define COEX_TX_MCI_LNA_TAKE                        60
#define COEX_TX_MCI_LNA_TRANS                       61
#define COEX_TX_MCI_SYS_SLEEPING                    62
#define COEX_TX_MCI_REQ_WAKE                        63
#define COEX_TX_MCI_REMOTE_RESET                    64
#define COEX_TX_MCI_TYPE_UNKNOWN                    65
#define COEX_WHAL_MCI_RESET                         66
#define COEX_POLL_BT_CAL_DONE_TIMEOUT               67
#define COEX_WHAL_PAUSE                             68
#define COEX_RX_MCI_GPM_BT_CAL_REQ                  69
#define COEX_RX_MCI_GPM_BT_CAL_DONE                 70
#define COEX_RX_MCI_GPM_BT_CAL_GRANT                71
#define COEX_WLAN_CAL_START                         72
#define COEX_WLAN_CAL_RESULT                        73
#define COEX_BtMciState                             74
#define COEX_BtCalState                             75
#define COEX_WlanCalState                           76
#define COEX_RxReqWakeCount                         77
#define COEX_RxRemoteResetCount                     78
#define COEX_RESTART_CAL                            79
#define COEX_SENDMSG_QUEUE                          80
#define COEX_RESETSEQ_LNAINFO_TIMEOUT               81
#define COEX_MCI_ISR_IntRaw                         82
#define COEX_MCI_ISR_Int1Raw                        83
#define COEX_MCI_ISR_RxMsgRaw                       84
#define COEX_WHAL_COEX_RESET                        85
#define COEX_WAL_COEX_INIT                          86
#define COEX_TXRX_CNT_LIMIT_ISR                     87
#define COEX_CH_BUSY                                88
#define COEX_REASSESS_WLAN_STATE                    89
#define COEX_BTCOEX_WLAN_STATE_UPDATE               90
#define COEX_BT_NUM_OF_PROFILES                     91
#define COEX_BT_NUM_OF_HID_PROFILES                 92
#define COEX_BT_NUM_OF_ACL_PROFILES                 93
#define COEX_BT_NUM_OF_HI_ACL_PROFILES              94
#define COEX_BT_NUM_OF_VOICE_PROFILES               95
#define COEX_WLAN_AGGR_LIMIT                        96
#define COEX_BT_LOW_PRIO_BUDGET                     97
#define COEX_BT_HI_PRIO_BUDGET                      98
#define COEX_BT_IDLE_TIME                           99
#define COEX_SET_COEX_WEIGHT                        100
#define COEX_WLAN_WEIGHT_GROUP                      101
#define COEX_BT_WEIGHT_GROUP                        102
#define COEX_BT_INTERVAL_ALLOC                      103
#define COEX_BT_SCHEME                              104
#define COEX_BT_MGR                                 105
#define COEX_BT_SM_ERROR                            106
#define COEX_SYSTEM_UPDATE                          107
#define COEX_LOW_PRIO_LIMIT                         108
#define COEX_HI_PRIO_LIMIT                          109
#define COEX_BT_INTERVAL_START                      110
#define COEX_WLAN_INTERVAL_START                    111
#define COEX_NON_LINK_BUDGET                        112
#define COEX_CONTENTION_MSG                         113
#define COEX_SET_NSS                                114
#define COEX_SELF_GEN_MASK                          115
#define COEX_PROFILE_ERROR                          116
#define COEX_WLAN_INIT                              117
#define COEX_BEACON_MISS                            118
#define COEX_BEACON_OK                              119
#define COEX_BTCOEX_SCAN_ACTIVITY                   120
#define COEX_SCAN_ACTIVITY                          121
#define COEX_FORCE_QUIETTIME                        122
#define COEX_BT_MGR_QUIETTIME                       123
#define COEX_BT_INACTIVITY_TRIGGER                  124
#define COEX_BT_INACTIVITY_REPORTED                 125
#define COEX_TX_MCI_GPM_WLAN_PRIO                   126
#define COEX_TX_MCI_GPM_BT_PAUSE_PROFILE            127
#define COEX_TX_MCI_GPM_WLAN_SET_ACL_INACTIVITY     128
#define COEX_RX_MCI_GPM_BT_ACL_INACTIVITY_REPORT    129
#define COEX_GENERIC_ERROR                          130
#define COEX_RX_RATE_THRESHOLD                      131
#define COEX_RSSI                                   132

#define COEX_WLAN_VDEV_NOTIF_START                  133
#define COEX_WLAN_VDEV_NOTIF_UP                     134
#define COEX_WLAN_VDEV_NOTIF_DOWN                   135
#define COEX_WLAN_VDEV_NOTIF_STOP                   136
#define COEX_WLAN_VDEV_NOTIF_ADD_PEER               137
#define COEX_WLAN_VDEV_NOTIF_DELETE_PEER            138
#define COEX_WLAN_VDEV_NOTIF_CONNECTED_PEER         139
#define COEX_WLAN_VDEV_NOTIF_PAUSE                  140
#define COEX_WLAN_VDEV_NOTIF_UNPAUSED               141
#define COEX_STATE_WLAN_VDEV_PEER_ADD               142
#define COEX_STATE_WLAN_VDEV_CONNECTED_PEER         143
#define COEX_STATE_WLAN_VDEV_DELETE_PEER            144
#define COEX_STATE_WLAN_VDEV_PAUSE                  145
#define COEX_STATE_WLAN_VDEV_UNPAUSED               146
#define COEX_SCAN_CALLBACK                          147
#define COEX_RC_SET_CHAINMASK                       148
#define COEX_TX_MCI_GPM_WLAN_SET_BT_RXSS_THRES      149
#define COEX_TX_MCI_GPM_BT_RXSS_THRES_QUERY         150
#define COEX_BT_RXSS_THRES                          151
#define COEX_BT_PROFILE_ADD_RMV                     152
#define COEX_BT_SCHED_INFO                          153
#define COEX_TRF_MGMT                               154
#define COEX_SCHED_START                            155
#define COEX_SCHED_RESULT                           156
#define COEX_SCHED_ERROR                            157
#define COEX_SCHED_PRE_OP                           158
#define COEX_SCHED_POST_OP                          159
#define COEX_RX_RATE                                160
#define COEX_ACK_PRIORITY                           161
#define COEX_STATE_WLAN_VDEV_UP                     162
#define COEX_STATE_WLAN_VDEV_PEER_UPDATE            163
#define COEX_STATE_WLAN_VDEV_STOP                   164
#define COEX_WLAN_PAUSE_PEER                        165
#define COEX_WLAN_UNPAUSE_PEER                      166
#define COEX_WLAN_PAUSE_INTERVAL_START              167
#define COEX_WLAN_POSTPAUSE_INTERVAL_START          168
#define COEX_TRF_FREERUN                            169
#define COEX_TRF_SHAPE_PM                           170
#define COEX_TRF_SHAPE_PSP                          171
#define COEX_TRF_SHAPE_S_CTS                        172
#define COEX_CHAIN_CONFIG                           173
#define COEX_SYSTEM_MONITOR                         174
#define COEX_SINGLECHAIN_INIT                       175
#define COEX_MULTICHAIN_INIT                        176
#define COEX_SINGLECHAIN_DBG_1                      177
#define COEX_SINGLECHAIN_DBG_2                      178
#define COEX_SINGLECHAIN_DBG_3                      179
#define COEX_MULTICHAIN_DBG_1                       180
#define COEX_MULTICHAIN_DBG_2                       181
#define COEX_MULTICHAIN_DBG_3                       182
#define COEX_PSP_TX_CB                              183
#define COEX_PSP_RX_CB                              184
#define COEX_PSP_STAT_1                             185
#define COEX_PSP_SPEC_POLL                          186
#define COEX_PSP_READY_STATE                        187
#define COEX_PSP_TX_STATUS_STATE                    188
#define COEX_PSP_RX_STATUS_STATE_1                  189
#define COEX_PSP_NOT_READY_STATE                    190
#define COEX_PSP_DISABLED_STATE                     191
#define COEX_PSP_ENABLED_STATE                      192
#define COEX_PSP_SEND_PSPOLL                        193
#define COEX_PSP_MGR_ENTER                          194
#define COEX_PSP_MGR_RESULT                         195
#define COEX_PSP_NONWLAN_INTERVAL                   196
#define COEX_PSP_STAT_2                             197
#define COEX_PSP_RX_STATUS_STATE_2                  198
#define COEX_PSP_ERROR                              199
#define COEX_T2BT                                   200
#define COEX_BT_DURATION                            201
#define COEX_TX_MCI_GPM_WLAN_SCHED_INFO_TRIG        202
#define COEX_TX_MCI_GPM_WLAN_SCHED_INFO_TRIG_RSP    203
#define COEX_TX_MCI_GPM_SCAN_OP                     204
#define COEX_TX_MCI_GPM_BT_PAUSE_GPM_TX             205
#define COEX_CTS2S_SEND                             206
#define COEX_CTS2S_RESULT                           207
#define COEX_ENTER_OCS                              208
#define COEX_EXIT_OCS                               209
#define COEX_UPDATE_OCS                             210
#define COEX_STATUS_OCS                             211
#define COEX_STATS_BT                               212

#define COEX_MWS_WLAN_INIT                          213
#define COEX_MWS_WBTMR_SYNC                         214
#define COEX_MWS_TYPE2_RX                           215
#define COEX_MWS_TYPE2_TX                           216
#define COEX_MWS_WLAN_CHAVD                         217
#define COEX_MWS_WLAN_CHAVD_INSERT                  218
#define COEX_MWS_WLAN_CHAVD_MERGE                   219
#define COEX_MWS_WLAN_CHAVD_RPT                     220
#define COEX_MWS_CP_MSG_SEND                        221
#define COEX_MWS_CP_ESCAPE                          222
#define COEX_MWS_CP_UNFRAME                         223
#define COEX_MWS_CP_SYNC_UPDATE                     224
#define COEX_MWS_CP_SYNC                            225
#define COEX_MWS_CP_WLAN_STATE_IND                  226
#define COEX_MWS_CP_SYNCRESP_TIMEOUT                227
#define COEX_MWS_SCHEME_UPDATE                      228
#define COEX_MWS_WLAN_EVENT                         229
#define COEX_MWS_UART_UNESCAPE                      230
#define COEX_MWS_UART_ENCODE_SEND                   231
#define COEX_MWS_UART_RECV_DECODE                   232
#define COEX_MWS_UL_HDL                             233
#define COEX_MWS_REMOTE_EVENT                       234
#define COEX_MWS_OTHER                              235
#define COEX_MWS_ERROR                              236
#define COEX_MWS_ANT_DIVERSITY                      237

#define COEX_P2P_GO                                 238
#define COEX_P2P_CLIENT                             239
#define COEX_SCC_1                                  240
#define COEX_SCC_2                                  241
#define COEX_MCC_1                                  242
#define COEX_MCC_2                                  243
#define COEX_TRF_SHAPE_NOA                          244
#define COEX_NOA_ONESHOT                            245
#define COEX_NOA_PERIODIC                           246
#define COEX_LE_1                                   247
#define COEX_LE_2                                   248
#define COEX_ANT_1                                  249
#define COEX_ANT_2                                  250
#define COEX_ENTER_NOA                              251
#define COEX_EXIT_NOA                               252
#define COEX_BT_SCAN_PROTECT                        253

#define COEX_DEBUG_ID_END                           254

#define SCAN_START_COMMAND_FAILED                   0
#define SCAN_STOP_COMMAND_FAILED                    1
#define SCAN_EVENT_SEND_FAILED                      2
#define SCAN_ENGINE_START                           3
#define SCAN_ENGINE_CANCEL_COMMAND                  4
#define SCAN_ENGINE_STOP_DUE_TO_TIMEOUT             5
#define SCAN_EVENT_SEND_TO_HOST                     6
#define SCAN_FWLOG_EVENT_ADD                        7
#define SCAN_FWLOG_EVENT_REM                        8
#define SCAN_FWLOG_EVENT_PREEMPTED                  9
#define SCAN_FWLOG_EVENT_RESTARTED                  10
#define SCAN_FWLOG_EVENT_COMPLETED                  11
#define SCAN_SM_REQ_NEXT_CH                         12
#define SCAN_ENG_START                              13
#define SCAN_ENG_CANCEL                             14
#define SCAN_ENG_SPOOFED_MAC_ADDR                   15
#define SCAN_ENG_PARAM_1                            16
#define SCAN_ENG_PARAM_2                            17
#define SCAN_ENG_MAX_SCAN_TIMEOUT                   18
#define SCAN_ENG_START_IN_PROGRESS                  19
#define SCAN_SM_START_COMMAND_FAILED                20
#define SCAN_SCH_START                              21
#define SCAN_SCH_START_INFO                         22
#define SCAN_SCH_START_NEW_REQ_FAILED               23
#define SCAN_SCH_START_ALLOC_FAIL                   24
#define SCAN_SCH_ENGINE_STOP_DUE_TO_TIMEOUT         25
#define SCAN_SCH_POLICY_EVENT                       26
#define SCAN_SCH_CANCEL                             27
#define SCAN_SCH_STOP_COMMAND_FAILED                28
#define SCAN_SCH_NEXT_SCAN_FAILED                   29
#define SCAN_WMI_SET_CHAN_LIST                      30
#define SCAN_EVENT_STARTED                          31
#define SCAN_EVENT_BSS_CHANNEL                      32
#define SCAN_EVENT_FOREIGN_CHANNEL                  33
#define SCAN_EVENT_DEQUEUED                         34
#define SCAN_EVENT_START_FAILED                     35
#define SCAN_EVENT_FOREIGN_CHANNEL_EXIT             36
#define SCAN_SM_DISPATCH                            37
#define SCAN_SM_TRANSITIONS                         38
#define SCAN_SM_REQ_NEXT_CHAN                       39
#define SCAN_SEND_PROBE_REQ_RET_VDEV                40
#define SCAN_SEND_PROBE_REQ_RET_PLM                 41
#define SCAN_SEND_PROBE_REQ_RET_PASSIVE             42
#define SCAN_SEND_PROBE_REQ_RET_RADAR               43
#define SCAN_SEND_PROBE_REQ_RET_DFS                 44
#define SCAN_SEND_PROBE_REQ_INFO                    45
#define SCAN_SM_CANCEL                              46
#define SCAN_SM_PROBE_REQ_FRAME_SEND_FAILED         47
#define SCAN_SCH_BANNED_MODULE                      48
#define SCAN_SM_STATS_INFO                          49
#define SCAN_DBGID_DEFINITION_END                   50

#define BEACON_EVENT_SWBA_SEND_FAILED               0
#define BEACON_EVENT_EARLY_RX_BMISS_STATUS          1
#define BEACON_EVENT_EARLY_RX_SLEEP_SLOP            2
#define BEACON_EVENT_EARLY_RX_CONT_BMISS_TIMEOUT    3
#define BEACON_EVENT_EARLY_RX_PAUSE_SKIP_BCN_NUM    4
#define BEACON_EVENT_EARLY_RX_CLK_DRIFT             5
#define BEACON_EVENT_EARLY_RX_AP_DRIFT              6
#define BEACON_EVENT_EARLY_RX_BCN_TYPE              7

#define RATECTRL_DBGID_DEFINITION_START             0
#define RATECTRL_DBGID_ASSOC                        1
#define RATECTRL_DBGID_NSS_CHANGE                   2
#define RATECTRL_DBGID_CHAINMASK_ERR                3
#define RATECTRL_DBGID_UNEXPECTED_FRAME             4
#define RATECTRL_DBGID_WAL_RCQUERY                  5
#define RATECTRL_DBGID_WAL_RCUPDATE                 6
#define RATECTRL_DBGID_GTX_UPDATE                   7
#define RATECTRL_DBGID_DEFINITION_END               8

#define AP_PS_DBGID_DEFINITION_START                0
#define AP_PS_DBGID_UPDATE_TIM                      1
#define AP_PS_DBGID_PEER_STATE_CHANGE               2
#define AP_PS_DBGID_PSPOLL                          3
#define AP_PS_DBGID_PEER_CREATE                     4
#define AP_PS_DBGID_PEER_DELETE                     5
#define AP_PS_DBGID_VDEV_CREATE                     6
#define AP_PS_DBGID_VDEV_DELETE                     7
#define AP_PS_DBGID_SYNC_TIM                        8
#define AP_PS_DBGID_NEXT_RESPONSE                   9
#define AP_PS_DBGID_START_SP                        10
#define AP_PS_DBGID_COMPLETED_EOSP                  11
#define AP_PS_DBGID_TRIGGER                         12
#define AP_PS_DBGID_DUPLICATE_TRIGGER               13
#define AP_PS_DBGID_UAPSD_RESPONSE                  14
#define AP_PS_DBGID_SEND_COMPLETE                   15
#define AP_PS_DBGID_SEND_N_COMPLETE                 16
#define AP_PS_DBGID_DETECT_OUT_OF_SYNC_STA          17
#define AP_PS_DBGID_DELIVER_CAB                     18
#define AP_PS_DBGID_NO_CLIENT                       27
#define AP_PS_DBGID_CLIENT_IN_PS_ACTIVE             28
#define AP_PS_DBGID_CLIENT_IN_PS_NON_ACTIVE         29
#define AP_PS_DBGID_CLIENT_IN_AWAKE                 30
/* Enhanced Green AP DBGIDs */
#define AP_PS_DBGID_EGAP_SET_PARAM                  31
#define AP_PS_DBGID_EGAP_VDEV_START                 32
#define AP_PS_DBGID_EGAP_VDEV_STOP                  33
#define AP_PS_DBGID_EGAP_CONN_PEER                  34
#define AP_PS_DBGID_EGAP_DELETE_PEER                35
#define AP_PS_DBGID_EGAP_WAL_PEER_EVENT             36
#define AP_PS_DBGID_EGAP_WAL_PDEV_EVENT             37
#define AP_PS_DBGID_EGAP_NOTIF_STA_SLEEPING         38
#define AP_PS_DBGID_EGAP_PROC_STA_SLEEPING          39
#define AP_PS_DBGID_EGAP_PROC_STA_INACTIVITY        40
#define AP_PS_DBGID_EGAP_CHANGE_CHAINMASK           41
#define AP_PS_DBGID_EGAP_CHANGE_SM_STATE            42

/* WLAN_MODULE_MGMT_TXRX Debugids*/
#define MGMT_TXRX_DBGID_DEFINITION_START            0
#define MGMT_TXRX_FORWARD_TO_HOST                   1
#define MGMT_TXRX_MGMT_FRAME_BUFFER_FULL            2
#define MGMT_TXRX_VDEV_USED_TO_SEND_FRAME_IS_FREE   3
#define MGMT_TXRX_LOCAL_FRAME_SEND_FAILED           4
#define MGMT_TXRX_DBGID_DEFINITION_END              5

#define WAL_DBGID_DEFINITION_START                  0
#define WAL_DBGID_FAST_WAKE_REQUEST                 1
#define WAL_DBGID_FAST_WAKE_RELEASE                 2
#define WAL_DBGID_SET_POWER_STATE                   3
#define WAL_DBGID_CHANNEL_CHANGE_FORCE_RESET        5
#define WAL_DBGID_CHANNEL_CHANGE                    6
#define WAL_DBGID_VDEV_START                        7
#define WAL_DBGID_VDEV_STOP                         8
#define WAL_DBGID_VDEV_UP                           9
#define WAL_DBGID_VDEV_DOWN                         10
#define WAL_DBGID_SW_WDOG_RESET                     11
#define WAL_DBGID_TX_SCH_REGISTER_TIDQ              12
#define WAL_DBGID_TX_SCH_UNREGISTER_TIDQ            13
#define WAL_DBGID_TX_SCH_TICKLE_TIDQ                14


#define WAL_DBGID_XCESS_FAILURES                    15
#define WAL_DBGID_AST_ADD_WDS_ENTRY                 16
#define WAL_DBGID_AST_DEL_WDS_ENTRY                 17
#define WAL_DBGID_AST_WDS_ENTRY_PEER_CHG            18
#define WAL_DBGID_AST_WDS_SRC_LEARN_FAIL            19
#define WAL_DBGID_STA_KICKOUT                       20
#define WAL_DBGID_BAR_TX_FAIL                       21
#define WAL_DBGID_BAR_ALLOC_FAIL                    22
#define WAL_DBGID_LOCAL_DATA_TX_FAIL                23
#define WAL_DBGID_SECURITY_PM4_QUEUED               24
#define WAL_DBGID_SECURITY_GM1_QUEUED               25
#define WAL_DBGID_SECURITY_PM4_SENT                 26
#define WAL_DBGID_SECURITY_ALLOW_DATA               27
#define WAL_DBGID_SECURITY_UCAST_KEY_SET            28
#define WAL_DBGID_SECURITY_MCAST_KEY_SET            29
#define WAL_DBGID_SECURITY_ENCR_EN                  30
#define WAL_DBGID_BB_WDOG_TRIGGERED                 31
#define WAL_DBGID_RX_LOCAL_BUFS_LWM                 32
#define WAL_DBGID_RX_LOCAL_DROP_LARGE_MGMT          33
#define WAL_DBGID_VHT_ILLEGAL_RATE_PHY_ERR_DETECTED 34
#define WAL_DBGID_DEV_RESET                         35
#define WAL_DBGID_TX_BA_SETUP                       36
#define WAL_DBGID_RX_BA_SETUP                       37
#define WAL_DBGID_DEV_TX_TIMEOUT                    38
#define WAL_DBGID_DEV_RX_TIMEOUT                    39
#define WAL_DBGID_STA_VDEV_XRETRY                   40
#define WAL_DBGID_DCS                               41
#define WAL_DBGID_MGMT_TX_FAIL                      42
#define WAL_DBGID_SET_M4_SENT_MANUALLY              43
#define WAL_DBGID_PROCESS_4_WAY_HANDSHAKE           44
#define WAL_DBGID_WAL_CHANNEL_CHANGE_START          45
#define WAL_DBGID_WAL_CHANNEL_CHANGE_COMPLETE       46
#define WAL_DBGID_WHAL_CHANNEL_CHANGE_START         47
#define WAL_DBGID_WHAL_CHANNEL_CHANGE_COMPLETE      48
#define WAL_DBGID_TX_MGMT_DESCID_SEQ_TYPE_LEN       49
#define WAL_DBGID_TX_DATA_MSDUID_SEQ_TYPE_LEN       50
#define WAL_DBGID_TX_DISCARD                        51
#define WAL_DBGID_TX_MGMT_COMP_DESCID_STATUS        52
#define WAL_DBGID_TX_DATA_COMP_MSDUID_STATUS        53
#define WAL_DBGID_RESET_PCU_CYCLE_CNT               54
#define WAL_DBGID_SETUP_RSSI_INTERRUPTS             55
#define WAL_DBGID_BRSSI_CONFIG                      56
#define WAL_DBGID_CURRENT_BRSSI_AVE                 57
#define WAL_DBGID_BCN_TX_COMP                       58
#define WAL_DBGID_RX_REENTRY                        59
#define WAL_DBGID_SET_HW_CHAINMASK                  60
#define WAL_DBGID_SET_HW_CHAINMASK_TXRX_STOP_FAIL   61
#define WAL_DBGID_GET_HW_CHAINMASK                  62
#define WAL_DBGID_SMPS_DISABLE                      63
#define WAL_DBGID_SMPS_ENABLE_HW_CNTRL              64
#define WAL_DBGID_SMPS_SWSEL_CHAINMASK              65
#define WAL_DBGID_SUSPEND                           66
#define WAL_DBGID_RESUME                            67
#define WAL_DBGID_PEER_TX_FAIL_CNT_THRES_EXCEEDED   68
#define WAL_DBGID_RX_FULL_REORDER_SUPPORT           69
#define WAL_DBGID_HCM_BIN                           70
#define WAL_DBGID_HCM_BIN_PENALIZE                  71
#define WAL_DBGID_HCM_BIN_DEPENALIZE                72
#define WAL_DBGID_AST_UPDATE_WDS_ENTRY              73
#define WAL_DBGID_PEER_EXT_STATS                    74
#define WAL_DBGID_TX_AC_BUFFER_SET                  75
#define WAL_DBGID_AST_ENTRY_EXIST                   76
#define WAL_DBGID_AST_ENTRY_FULL                    77
#define WAL_DBGID_WMMAC_TXQ_STATUS                  78
#define WAL_DBGID_PROLONGED_TX_PPDU_TOTAL_US        79
#define WAL_DBGID_UPDATE_USED_TIME                  80
#define WAL_DBGID_PAST_WB_ACK_TIMESTAMP             81
#define WAL_DBGID_WMMAC_ADD_DEL_TSPEC               82
#define WAL_DBGID_WMMAC_TIMER_EXPIRY                83
#define WAL_DBGID_WMMAC_PARAMS                      84
#define WAL_DBGID_TX_MGMT_WAL_PEER_DOES_NOT_EXIST   85
#define WAL_DBGID_TX_MGMT_WAL_PEER_DELETE_IN_PROGRESS 86
#define WAL_DBGID_TX_MGMT_FRAME_DESC_ALLOC_FAILED   87
#define WAL_DBGID_TX_MGMT_TID_STRUCT_NOT_FOUND      88
#define WAL_DBGID_TX_MGMT_ENQUEUE_FAILED            89
#define WAL_DBGID_TX_ARP                            90
#define WAL_DBGID_TX_DHCP                           91
#define WAL_DBGID_DEFINITION_END                    92

#define ANI_DBGID_POLL                               0
#define ANI_DBGID_CONTROL                            1
#define ANI_DBGID_OFDM_PARAMS                        2
#define ANI_DBGID_CCK_PARAMS                         3
#define ANI_DBGID_RESET                              4
#define ANI_DBGID_RESTART                            5
#define ANI_DBGID_OFDM_LEVEL                         6
#define ANI_DBGID_CCK_LEVEL                          7
#define ANI_DBGID_FIRSTEP                            8
#define ANI_DBGID_CYCPWR                             9
#define ANI_DBGID_MRC_CCK                           10
#define ANI_DBGID_SELF_CORR_LOW                     11
#define ANI_DBGID_ENABLE                            12

#define ANI_DBGID_CURRENT_LEVEL                     13
#define ANI_DBGID_POLL_PERIOD                       14
#define ANI_DBGID_LISTEN_PERIOD                     15
#define ANI_DBGID_OFDM_LEVEL_CFG                    16
#define ANI_DBGID_CCK_LEVEL_CFG                     17

/* OFFLOAD Manager Debugids*/
#define OFFLOAD_MGR_DBGID_DEFINITION_START             0
#define OFFLOADMGR_REGISTER_OFFLOAD                    1
#define OFFLOADMGR_DEREGISTER_OFFLOAD                  2
#define OFFLOADMGR_NO_REG_DATA_HANDLERS                3
#define OFFLOADMGR_NO_REG_EVENT_HANDLERS               4
#define OFFLOADMGR_REG_OFFLOAD_FAILED                  5
#define OFFLOADMGR_DEREG_OFFLOAD_FAILED                6
#define OFFLOADMGR_ENTER_FAILED                        7
#define OFFLOADMGR_EXIT_FAILED                         8
#define OFFLOADMGR_GTK_FAILED                          9
#define OFFLOADMGR_GTK_REKEY_FAILED                   10
#define OFFLOADMGR_DBGID_DEFINITION_END               11

/*Resource Debug IDs*/
#define RESOURCE_DBGID_DEFINITION_START             0
#define RESOURCE_PEER_ALLOC                         1
#define RESOURCE_PEER_FREE                          2
#define RESOURCE_PEER_ALLOC_WAL_PEER                3
#define RESOURCE_PEER_NBRHOOD_MGMT_ALLOC            4
#define RESOURCE_PEER_NBRHOOD_MGMT_INFO             5
#define RESOURCE_SMALL_MGMT_BUF_FULL                6
#define RESOURCE_MGMT_AVAIL_BUF_CNT_NOT_ENOUGH      7
#define RESOURCE_MGMT_BUF_FULL                      8
#define RESOURCE_MGMT_BUF_INC                       9
#define RESOURCE_MGMT_BUF_DEC                       10
#define RESOURCE_DBGID_DEFINITION_END               11

/* DCS debug IDs*/
#define WLAN_DCS_DBGID_INIT                         0
#define WLAN_DCS_DBGID_WMI_CWINT                    1
#define WLAN_DCS_DBGID_TIMER                        2
#define WLAN_DCS_DBGID_CMDG                         3
#define WLAN_DCS_DBGID_CMDS                         4
#define WLAN_DCS_DBGID_DINIT                        5

/*P2P Module ids*/
#define P2P_DBGID_DEFINITION_START                          0
#define P2P_DEV_REGISTER                                    1
#define P2P_HANDLE_NOA                                      2
#define P2P_UPDATE_SCHEDULE_OPPS                            3
#define P2P_UPDATE_SCHEDULE                                 4
#define P2P_UPDATE_START_TIME                               5
#define P2P_UPDATE_START_TIME_DIFF_TSF32                    6
#define P2P_UPDATE_START_TIME_FINAL                         7
#define P2P_SETUP_SCHEDULE_TIMER                            8
#define P2P_PROCESS_SCHEDULE_AFTER_CALC                     9
#define P2P_PROCESS_SCHEDULE_STARTED_TIMER                  10
#define P2P_CALC_SCHEDULES_FIRST_CALL_ALL_NEXT_EVENT        11
#define P2P_CALC_SCHEDULES_FIRST_VALUE                      12
#define P2P_CALC_SCHEDULES_EARLIEST_NEXT_EVENT              13
#define P2P_CALC_SCHEDULES_SANITY_COUNT                     14
#define P2P_CALC_SCHEDULES_CALL_ALL_NEXT_EVENT_FROM_WHILE_LOOP 15
#define P2P_CALC_SCHEDULES_TIMEOUT_1                        16
#define P2P_CALC_SCHEDULES_TIMEOUT_2                        17
#define P2P_FIND_ALL_NEXT_EVENTS_REQ_EXPIRED                18
#define P2P_FIND_ALL_NEXT_EVENTS_REQ_ACTIVE                 19
#define P2P_FIND_NEXT_EVENT_REQ_NOT_STARTED                 20
#define P2P_FIND_NEXT_EVENT_REQ_COMPLETE_NON_PERIODIC       21
#define P2P_FIND_NEXT_EVENT_IN_MID_OF_NOA                   22
#define P2P_FIND_NEXT_EVENT_REQ_COMPLETE                    23
#define P2P_SCHEDULE_TIMEOUT                                24
#define P2P_CALC_SCHEDULES_ENTER                            25
#define P2P_PROCESS_SCHEDULE_ENTER                          26
#define P2P_FIND_ALL_NEXT_EVENTS_INDIVIDUAL_REQ_AFTER_CHANGE    27
#define P2P_FIND_ALL_NEXT_EVENTS_INDIVIDUAL_REQ_BEFORE_CHANGE   28
#define P2P_FIND_ALL_NEXT_EVENTS_ENTER                      29
#define P2P_FIND_NEXT_EVENT_ENTER                           30
#define P2P_NOA_GO_PRESENT                                  31
#define P2P_NOA_GO_ABSENT                                   32
#define P2P_GO_NOA_NOTIF                                    33
#define P2P_GO_TBTT_OFFSET                                  34
#define P2P_GO_GET_NOA_INFO                                 35
#define P2P_GO_ADD_ONE_SHOT_NOA                             36
#define P2P_GO_GET_NOA_IE                                   37
#define P2P_GO_BCN_TX_COMP                                  38
#define P2P_DBGID_DEFINITION_END                            39


//CSA modules DBGIDs
#define CSA_DBGID_DEFINITION_START 0
#define CSA_OFFLOAD_POOL_INIT 1
#define CSA_OFFLOAD_REGISTER_VDEV 2
#define CSA_OFFLOAD_DEREGISTER_VDEV 3
#define CSA_DEREGISTER_VDEV_ERROR 4
#define CSA_OFFLOAD_BEACON_RECEIVED 5
#define CSA_OFFLOAD_BEACON_CSA_RECV 6
#define CSA_OFFLOAD_CSA_RECV_ERROR_IE 7
#define CSA_OFFLOAD_CSA_TIMER_ERROR 8
#define CSA_OFFLOAD_CSA_TIMER_EXP 9
#define CSA_OFFLOAD_WMI_EVENT_ERROR 10
#define CSA_OFFLOAD_WMI_EVENT_SENT 11
#define CSA_OFFLOAD_WMI_CHANSWITCH_RECV 12
#define CSA_DBGID_DEFINITION_END 13

/* Chatter module DBGIDs */
#define WLAN_CHATTER_DBGID_DEFINITION_START 0
#define WLAN_CHATTER_ENTER 1
#define WLAN_CHATTER_EXIT 2
#define WLAN_CHATTER_FILTER_HIT 3
#define WLAN_CHATTER_FILTER_MISS 4
#define WLAN_CHATTER_FILTER_FULL 5
#define WLAN_CHATTER_FILTER_TM_ADJ  6
#define WLAN_CHATTER_BUFFER_FULL    7
#define WLAN_CHATTER_TIMEOUT        8
#define WLAN_CHATTER_MC_FILTER_ADD  9
#define WLAN_CHATTER_MC_FILTER_DEL  10
#define WLAN_CHATTER_MC_FILTER_ALLOW  11
#define WLAN_CHATTER_MC_FILTER_DROP  12
#define WLAN_CHATTER_COALESCING_FILTER_ADD      13
#define WLAN_CHATTER_COALESCING_FILTER_DEL      14
#define WLAN_CHATTER_DBGID_DEFINITION_END       15

#define WOW_DBGID_DEFINITION_START 0
#define WOW_ENABLE_CMDID 1
#define WOW_RECV_DATA_PKT 2
#define WOW_WAKE_HOST_DATA 3
#define WOW_RECV_MGMT 4
#define WOW_WAKE_HOST_MGMT 5
#define WOW_RECV_EVENT 6
#define WOW_WAKE_HOST_EVENT 7
#define WOW_INIT 8
#define WOW_RECV_MAGIC_PKT 9
#define WOW_RECV_BITMAP_PATTERN 10
#define WOW_AP_VDEV_DISALLOW    11
#define WOW_STA_VDEV_DISALLOW   12
#define WOW_P2PGO_VDEV_DISALLOW 13
#define WOW_NS_OFLD_ENABLE       14
#define WOW_ARP_OFLD_ENABLE      15
#define WOW_NS_ARP_OFLD_DISABLE  16
#define WOW_NS_RECEIVED          17
#define WOW_NS_REPLIED           18
#define WOW_ARP_RECEIVED         19
#define WOW_ARP_REPLIED          20
#define WOW_BEACON_OFFLOAD_TX    21
#define WOW_BEACON_OFFLOAD_CFG   22
#define WOW_IBSS_VDEV_ALLOW      23
#define WOW_DBGID_DEFINITION_END 24

/* SWBMISS module DBGIDs */
#define SWBMISS_DBGID_DEFINITION_START  0
#define SWBMISS_ENABLED                 1
#define SWBMISS_DISABLED                2
#define SWBMISS_UPDATE_BEACON_RSSI      3
#define SWBMISS_CHECK_RSSI_OUTLIER      4
#define SWBMISS_TIMER_SET               5
#define SWBMISS_DBGID_DEFINITION_END    6

/* WLAN module DBGIDS */
#define ROAM_DBGID_DEFINITION_START 0
#define ROAM_MODULE_INIT           1
#define ROAM_DEV_START             2
#define ROAM_CONFIG_RSSI_THRESH    3
#define ROAM_CONFIG_SCAN_PERIOD    4
#define ROAM_CONFIG_AP_PROFILE     5
#define ROAM_CONFIG_CHAN_LIST      6
#define ROAM_CONFIG_SCAN_PARAMS    7
#define ROAM_CONFIG_RSSI_CHANGE    8
#define ROAM_SCAN_TIMER_START      9
#define ROAM_SCAN_TIMER_EXPIRE    10
#define ROAM_SCAN_TIMER_STOP      11
#define ROAM_SCAN_STARTED         12
#define ROAM_SCAN_COMPLETE        13
#define ROAM_SCAN_CANCELLED       14
#define ROAM_CANDIDATE_FOUND      15
#define ROAM_RSSI_ACTIVE_SCAN     16
#define ROAM_RSSI_ACTIVE_ROAM     17
#define ROAM_RSSI_GOOD            18
#define ROAM_BMISS_FIRST_RECV     19
#define ROAM_DEV_STOP             20
#define ROAM_FW_OFFLOAD_ENABLE    21
#define ROAM_CANDIDATE_SSID_MATCH 22
#define ROAM_CANDIDATE_SECURITY_MATCH 23
#define ROAM_LOW_RSSI_INTERRUPT   24
#define ROAM_HIGH_RSSI_INTERRUPT  25
#define ROAM_SCAN_REQUESTED       26
#define ROAM_BETTER_CANDIDATE_FOUND 27
#define ROAM_BETTER_AP_EVENT 28
#define ROAM_CANCEL_LOW_PRIO_SCAN 29
#define ROAM_FINAL_BMISS_RECVD    30
#define ROAM_CONFIG_SCAN_MODE     31
#define ROAM_BMISS_FINAL_SCAN_ENABLE 32
#define ROAM_SUITABLE_AP_EVENT    33
#define ROAM_RSN_IE_PARSE_ERROR   34
#define ROAM_WPA_IE_PARSE_ERROR   35
#define ROAM_SCAN_CMD_FROM_HOST   36
#define ROAM_HO_SORT_CANDIDATE    37
#define ROAM_HO_SAVE_CANDIDATE    38
#define ROAM_HO_GET_CANDIDATE     39
#define ROAM_HO_OFFLOAD_SET_PARAM 40
#define ROAM_HO_SM                41
#define ROAM_HO_HTT_SAVED         42
#define ROAM_HO_SYNC_START        43
#define ROAM_HO_START             44
#define ROAM_HO_SYNC_COMPLETE     45
#define ROAM_HO_STOP              46
#define ROAM_HO_HTT_FORWARD       47
#define ROAM_CONFIG_SCAN_PARAMS_1 48
#define ROAM_SCAN_COMPLETE_1      49
#define ROAM_SWBMISS_BCN_RECV_VAL 50
#define ROAM_SWBMISS_BCN_RECV_THRE2 51
#define ROAM_SCAN_REQUESTED_1     52
#define ROAM_HO_SORT_CANDIDATE_CUR  53
#define ROAM_HO_SAVE_CANDIDATE_DUP  54
#define ROAM_HO_SM_EVENT          55
#define ROAM_HO_ENTER_CH          56
#define ROAM_HO_MGMT_RX           57
#define ROAM_HO_CANDIDATE_INFO    58
#define ROAM_HO_OFFLD_DATA_STORE  59
#define ROAM_HO_HTT_DATA_STORE    60
#define ROAM_HO_UPDATE_STATUS     61
#define ROAM_HO_OCS_CH_CB         62
#define ROAM_RSSI_INTERRUPT_STATE 63
#define ROAM_INVOKE_PARAM_CHECK   64
#define ROAM_INVOKE_PARAM_CHAN    65
#define ROAM_INVOKE_PARAM_BSSID   66
#define ROAM_INVOKE_STATE_CHECK   67
#define ROAM_INVOKE_START_SUCCESS 68
#define ROAM_INVOKE_START_FAILURE 69
#define ROAM_INVOKE_BSSID_CHECK   70
#define ROAM_CANDIDATE_INFO       71
#define ROAM_CANDIDATE_FILTER_MATCH 72
#define ROAM_CANDIDATE_RSSI_ADJUST  73
#define ROAM_CONFIG_ROAM_FILTER     74
#define ROAM_EXTENDED_RSSI_TRESHOLD_1 75
#define ROAM_EXTENDED_RSSI_TRESHOLD_2 76
#define ROAM_BLACKLIST_BSSID        77
#define ROAM_WHITELIST_SSID         78
#define ROAM_WHITELIST_SSID_2       79
#define ROAM_PREFERRED_BSSID        80
#define ROAM_PREFERRED_FACTOR       81
#define ROAM_SCAN_HIRSSI_THRESHOLD      82
#define ROAM_SCAN_HIRSSI_CHECK          83
#define ROAM_SCAN_HIRSSI_TIMER_EXPIRED  84
#define ROAM_SCAN_EXTSCAN_CHECK         85
#define ROAM_DBGID_DEFINITION_END   86

/* DATA_TXRX module DBGIDs*/
#define DATA_TXRX_DBGID_DEFINITION_START         0
#define DATA_TXRX_DBGID_RX_DATA_SEQ_LEN_INFO     1
#define DATA_TXRX_DBGID_REPLAY_CHECK             2
#define DATA_TXRX_DBGID_DUP_CHECK                3
#define DATA_TXRX_INVALID_PEER_AST_STA           4
#define DATA_TXRX_INVALID_PEER_AST_P2P           5
#define DATA_TXRX_INVALID_ADDR1_STA              6
#define DATA_TXRX_INVALID_ADDR1_P2P              7
#define DATA_TXRX_MULTICAST_BROADCAST_FRAME      8
#define DATA_TXRX_INVALID_FRAME_CTRL_OR_ADDR     9
#define DATA_TXRX_DBGID_DEFINITION_END          10

/* HTT module DBGIDs */
#define HTT_DBGID_DEFINITION_START               0
#define HTT_DBGID_INVALID_VDEVID_OR_GROUP        1
#define HTT_DBGID_DISCARD_INTERNAL_PKTS          2
#define HTT_DBGID_DISCARD_TX_PKTS                3
#define HTT_DBGID_GROUP_CHANGE                   4
#define HTT_DBGID_GROUP_CREDIT_STATS             5
#define HTT_DBGID_DISCARD_INTERNAL_PKTS_NUM      6
#define HTT_DBGID_DEFINITION_END                 7

/* TDLS module DBGIDs*/
#define TDLS_DBGID_DEFINITION_START             0
#define TDLS_DBGID_VDEV_CREATE                  1
#define TDLS_DBGID_VDEV_DELETE                  2
#define TDLS_DBGID_ENABLED_PASSIVE              3
#define TDLS_DBGID_ENABLED_ACTIVE               4
#define TDLS_DBGID_DISABLED                     5
#define TDLS_DBGID_CONNTRACK_TIMER              6
#define TDLS_DBGID_WAL_SET                      7
#define TDLS_DBGID_WAL_GET                      8
#define TDLS_DBGID_WAL_PEER_UPDATE_SET          9
#define TDLS_DBGID_WAL_PEER_UPDATE_EVT         10
#define TDLS_DBGID_WAL_VDEV_CREATE             11
#define TDLS_DBGID_WAL_VDEV_DELETE             12
#define TDLS_DBGID_WLAN_EVENT                  13
#define TDLS_DBGID_WLAN_PEER_UPDATE_SET        14
#define TDLS_DBGID_PEER_EVT_DRP_THRESH         15
#define TDLS_DBGID_PEER_EVT_DRP_RATE           16
#define TDLS_DBGID_PEER_EVT_DRP_RSSI           17
#define TDLS_DBGID_PEER_EVT_DISCOVER           18
#define TDLS_DBGID_PEER_EVT_DELETE             19
#define TDLS_DBGID_PEER_CAP_UPDATE             20
#define TDLS_DBGID_UAPSD_SEND_PTI_FRAME        21
#define TDLS_DBGID_UAPSD_SEND_PTI_FRAME2PEER   22
#define TDLS_DBGID_UAPSD_START_PTR_TIMER       23
#define TDLS_DBGID_UAPSD_CANCEL_PTR_TIMER      24
#define TDLS_DBGID_UAPSD_PTR_TIMER_TIMEOUT     25
#define TDLS_DBGID_UAPSD_STA_PS_EVENT_HANDLER  26
#define TDLS_DBGID_UAPSD_PEER_EVENT_HANDLER    27
#define TDLS_DBGID_UAPSD_PS_DEFAULT_SETTINGS   28
#define TDLS_DBGID_UAPSD_GENERIC               29


/* TXBF Module IDs */
#define TXBFEE_DBGID_START                      0
#define TXBFEE_DBGID_NDPA_RECEIVED              1
#define TXBFEE_DBGID_HOST_CONFIG_TXBFEE_TYPE    2
#define TXBFER_DBGID_SEND_NDPA                  3
#define TXBFER_DBGID_GET_NDPA_BUF_FAIL          4
#define TXBFER_DBGID_SEND_NDPA_FAIL             5
#define TXBFER_DBGID_GET_NDP_BUF_FAIL           6
#define TXBFER_DBGID_SEND_NDP_FAIL              7
#define TXBFER_DBGID_GET_BRPOLL_BUF_FAIL        8
#define TXBFER_DBGID_SEND_BRPOLL_FAIL           9
#define TXBFER_DBGID_HOST_CONFIG_CMDID         10
#define TXBFEE_DBGID_HOST_CONFIG_CMDID         11
#define TXBFEE_DBGID_ENABLE_UPLOAD_H           12
#define TXBFEE_DBGID_UPLOADH_CV_TAG            13
#define TXBFEE_DBGID_UPLOADH_H_TAG             14
#define TXBFEE_DBGID_CAPTUREH_RECEIVED         15
#define TXBFEE_DBGID_PACKET_IS_STEERED         16
#define TXBFEE_UPLOADH_EVENT_ALLOC_MEM_FAIL    17
#define TXBFEE_DBGID_SW_WAR_AID_ZERO           18
#define TXBFEE_DBGID_BRPOLL_RECEIVED           19
#define TXBFEE_DBGID_GID_RECEIVED              20
#define TXBFEE_DBGID_END                       21

/* SMPS module DBGIDs */
#define STA_SMPS_DBGID_DEFINITION_START                 0
#define STA_SMPS_DBGID_CREATE_PDEV_INSTANCE             1
#define STA_SMPS_DBGID_CREATE_VIRTUAL_CHAN_INSTANCE     2
#define STA_SMPS_DBGID_DELETE_VIRTUAL_CHAN_INSTANCE     3
#define STA_SMPS_DBGID_CREATE_STA_INSTANCE              4
#define STA_SMPS_DBGID_DELETE_STA_INSTANCE              5
#define STA_SMPS_DBGID_VIRTUAL_CHAN_SMPS_START          6
#define STA_SMPS_DBGID_VIRTUAL_CHAN_SMPS_STOP           7
#define STA_SMPS_DBGID_SEND_SMPS_ACTION_FRAME           8
#define STA_SMPS_DBGID_HOST_FORCED_MODE                 9
#define STA_SMPS_DBGID_FW_FORCED_MODE                   10
#define STA_SMPS_DBGID_RSSI_THRESHOLD_CROSSED           11
#define STA_SMPS_DBGID_SMPS_ACTION_FRAME_COMPLETION     12
#define STA_SMPS_DBGID_DTIM_EBT_EVENT_CHMASK_UPDATE     13
#define STA_SMPS_DBGID_DTIM_CHMASK_UPDATE               14
#define STA_SMPS_DBGID_DTIM_BEACON_EVENT_CHMASK_UPDATE  15
#define STA_SMPS_DBGID_DTIM_POWER_STATE_CHANGE          16
#define STA_SMPS_DBGID_DTIM_CHMASK_UPDATE_SLEEP         17
#define STA_SMPS_DBGID_DTIM_CHMASK_UPDATE_AWAKE         18

#define STA_SMPS_DBGID_DEFINITION_END                   18

/* RTT module DBGIDs*/
#define RTT_CALL_FLOW                 0
#define RTT_REQ_SUB_TYPE              1
#define RTT_MEAS_REQ_HEAD             2
#define RTT_MEAS_REQ_BODY             3
#define RTT_INIT_GLOBAL_STATE         6
#define RTT_REPORT                    8
#define RTT_ERROR_REPORT              10
#define RTT_TIMER_STOP                11
#define RTT_SEND_TM_FRAME             12
#define RTT_V3_RESP_CNT               13
#define RTT_V3_RESP_FINISH            14
#define RTT_CHANNEL_SWITCH_REQ        15
#define RTT_CHANNEL_SWITCH_GRANT      16
#define RTT_CHANNEL_SWITCH_COMPLETE   17
#define RTT_CHANNEL_SWITCH_PREEMPT    18
#define RTT_CHANNEL_SWITCH_STOP       19
#define RTT_TIMER_START               20
#define RTT_FTM_PARAM_INFO            21
#define RTT_RX_TM_FRAME               22
#define RTT_INITR_TSTAMP              23
#define RTT_RSPDR_TSTAMP              24
#define RTT_TX_COMP_STATUS            25
#define RTT_ERROR_WMI_EVENT           26
#define RTT_MEASUREMENT_VALUES        27

/* WLAN HB module DBGIDs */
#define WLAN_HB_DBGID_DEFINITION_START                  0
#define WLAN_HB_DBGID_INIT                              1
#define WLAN_HB_DBGID_TCP_GET_TXBUF_FAIL                2
#define WLAN_HB_DBGID_TCP_SEND_FAIL                     3
#define WLAN_HB_DBGID_BSS_PEER_NULL                     4
#define WLAN_HB_DBGID_UDP_GET_TXBUF_FAIL                5
#define WLAN_HB_DBGID_UDP_SEND_FAIL                     6
#define WLAN_HB_DBGID_WMI_CMD_INVALID_PARAM             7
#define WLAN_HB_DBGID_WMI_CMD_INVALID_OP                8
#define WLAN_HB_DBGID_WOW_NOT_ENTERED                   9
#define WLAN_HB_DBGID_ALLOC_SESS_FAIL                   10
#define WLAN_HB_DBGID_CTX_NULL                          11
#define WLAN_HB_DBGID_CHKSUM_ERR                        12
#define WLAN_HB_DBGID_UDP_TX                            13
#define WLAN_HB_DBGID_TCP_TX                            14
/* WLAN DHCP Renew DBGIDs */
#define WLAN_HB_DBGID_DHCP_RENEW_ALLOC_SESS_FAIL        15
#define WLAN_HB_DBGID_DHCP_RENEW_CTX_NULL               16
#define WLAN_HB_DBGID_DHCP_RENEW_CHKSUM_ERR             17
#define WLAN_HB_DBGID_DHCP_RENEW_BSS_PEER_NULL          18
#define WLAN_HB_DBGID_DHCP_RENEW_TCP_GET_TXBUF_FAIL     19
#define WLAN_HB_DBGID_DHCP_RENEW_UDP_SEND_FAIL          20
/* WLAN OIC Ping DBGIDs */
#define WLAN_HB_DBGID_OIC_PING_INIT                     21
#define WLAN_HB_DBGID_OIC_PING_HOST_WAKEUP              22
#define WLAN_HB_DBGID_OIC_PING_INVALID_PARAM            23
#define WLAN_HB_DBGID_OIC_PING_WMI_CMD_PARAM            24
#define WLAN_HB_DBGID_OIC_PING_ALLOC_SESS_FAIL          25
#define WLAN_HB_DBGID_OIC_PING_WOW_NOT_ENTERED          26
#define WLAN_HB_DBGID_OIC_PING_TCP_TIMEOUT              27
#define WLAN_HB_DBGID_OIC_PING_TLS_ERROR                28
#define WLAN_HB_DBGID_OIC_PING_ENABLE                   29

#define WLAN_HB_DBGID_DEFINITION_END                    30
/* Thermal Manager DBGIDs*/
#define THERMAL_MGR_DBGID_DEFINITION_START   0
#define THERMAL_MGR_NEW_THRESH               1
#define THERMAL_MGR_THRESH_CROSSED           2
#define THERMAL_MGR_DBGID_DEFINITION_END     3

/* WLAN PHYERR DFS(parse/filter) DBGIDs */
#define WLAN_PHYERR_DFS_DBGID_DEFINITION_START    0
#define WLAN_PHYERR_DFS_PHYERR_INFO_CHAN_BUFLEN   1
#define WLAN_PHYERR_DFS_PHYERR_INFO_PPDU          2
#define WLAN_PHYERR_DFS_DBDID_RADAR_SUMMARY       3
#define WLAN_PHYERR_DFS_DBDID_SEARCH_FFT          4
#define WLAN_PHTERR_DFS_DBDID_FILTER_STATUS       5
#define WLAN_PHYERR_DFS_DBGID_DEFINITION_END      6

/* RMC DBGIDs */
#define RMC_DBGID_DEFINITION_START             0
#define RMC_SM_INIT_ERR                        1
#define RMC_VDEV_ALLOC_ERR                     2
#define RMC_CREATE_INSTANCE                    3
#define RMC_DELETE_INSTANCE                    4
#define RMC_NEW_PRI_LEADER                     5
#define RMC_NEW_SEC_LEADER                     6
#define RMC_NO_LDR_CHANGE                      7
#define RMC_LDR_INFORM_SENT                    8
#define RMC_PEER_ADD                           9
#define RMC_PEER_DELETE                        10
#define RMC_PEER_UNKNOWN                       11
#define RMC_PRI_LDR_RSSI_UPDATE                12
#define RMC_SEC_LDR_RSSI_UPDATE                13
#define RMC_SET_MODE                           14
#define RMC_SET_ACTION_PERIOD                  15
#define RMC_DBGID_DEFINITION_END               16

/* UNIT_TEST module DBGIDs */
#define UNIT_TEST_GEN                 0

/* MLME module DBGIDs */
#define MLME_DEBUG_CMN                0
#define MLME_DEBUG_IF                 1
#define MLME_DEBUG_AUTH               2
#define MLME_DEBUG_REASSOC            3
#define MLME_DEBUG_DEAUTH             4
#define MLME_DEBUG_DISASSOC           5
#define MLME_DEBUG_ROAM               6
#define MLME_DEBUG_RETRY              7
#define MLME_DEBUG_TIMER              8
#define MLME_DEBUG_FRAMEPARSE         9

/* SUPPL module DBGIDs */
#define SUPPL_DBGID_INIT                        0
#define SUPPL_DBGID_RECV_EAPOL                  1
#define SUPPL_DBGID_RECV_EAPOL_TIMEOUT          2
#define SUPPL_DBGID_SEND_EAPOL                  3
#define SUPPL_DBGID_MIC_MISMATCH                4
#define SUPPL_DBGID_FINISH                      5
#define SUPPL_DBGID_GET_FRM_INFO                6
#define SUPPL_DBGID_DUMP_TYPE                   7
#define SUPPL_DBGID_DUMP_HEX                    8
#define SUPPL_DBGID_NODE_NOT_FOUND              9
#define SUPPL_DBGID_GET_EAPOL_BUF               10
#define SUPPL_DBGID_GET_BUF_FAIL                11
#define SUPPL_DBGID_RECV_EAPOL_ERROR            12

/* Stats Module DBGIDs */
#define WLAN_STATS_DBGID_DEFINITION_START                0
#define WLAN_STATS_DBGID_EST_LINKSPEED_VDEV_EN_DIS       1
#define WLAN_STATS_DBGID_EST_LINKSPEED_CHAN_TIME_START   2
#define WLAN_STATS_DBGID_EST_LINKSPEED_CHAN_TIME_END     3
#define WLAN_STATS_DBGID_EST_LINKSPEED_CALC              4
#define WLAN_STATS_DBGID_EST_LINKSPEED_UPDATE_HOME_CHAN  5
#define WLAN_STATS_DBGID_RSSI                            6
#define WLAN_STATS_DBGID_CNE_RSSI                        7
#define WLAN_STATS_DBGID_DEFINITION_END                  8

/* NAN DBGIDs */
#define NAN_DBGID_START                             0

/* Debug IDs for debug logs. 3 args max, not fixed. */
#define NAN_DBGID_DBG_LOG_FIRST                     1
#define NAN_DBGID_FUNC_BEGIN                        NAN_DBGID_DBG_LOG_FIRST
#define NAN_DBGID_FUNC_END                          2
#define NAN_DBGID_MAIN_DEBUG                        3
#define NAN_DBGID_MAC_DEBUG                         4
#define NAN_DBGID_BLOOM_FILTER_DEBUG                5
#define NAN_DBGID_MAC_ADDR                          6
#define NAN_DBGID_PARAM_UPDATED                     7
#define NAN_DBGID_NULL_PTR                          8
#define NAN_DBGID_INVALID_FUNC_ARG                  9
#define NAN_DBGID_INVALID_MSG_PARAM                 10
#define NAN_DBGID_MISSING_MSG_PARAM                 11
#define NAN_DBGID_DEPRECATED_MSG_PARAM              12
#define NAN_DBGID_UNSUPPORTED_MSG_PARAM             13
#define NAN_DBGID_INVALID_PKT_DATA                  14
#define NAN_DBGID_LOG_PKT_DATA                      15
#define NAN_DBGID_INVALID_VALUE                     16
#define NAN_DBGID_INVALID_OPERATION                 17
#define NAN_DBGID_INVALID_STATE                     18
#define NAN_DBGID_FUNCTION_ENABLED                  19
#define NAN_DBGID_FUNCTION_DISABLED                 20
#define NAN_DBGID_INVALID_FUNCTION_STATE            21
#define NAN_DBGID_READ_ERROR                        22
#define NAN_DBGID_WRITE_ERROR                       23
#define NAN_DBGID_RECEIVE_ERROR                     24
#define NAN_DBGID_TRANSMIT_ERROR                    25
#define NAN_DBGID_PARSE_ERROR                       26
#define NAN_DBGID_RES_ALLOC_ERROR                   27
/* PLEASE KEEP THIS ONE AT THE END */
#define NAN_DBGID_DBG_LOG_LAST                      28

/* Debug IDs for event logs. */

#define NAN_DBGID_EVT_BASE                          NAN_DBGID_DBG_LOG_LAST
/* args: <none> */
#define NAN_DBGID_NAN_ENABLED                       (NAN_DBGID_EVT_BASE + 0)
/* args: <none> */
#define NAN_DBGID_NAN_DISABLED                      (NAN_DBGID_EVT_BASE + 1)
/* args: <none> */
#define NAN_DBGID_CONFIG_RESTORED                   (NAN_DBGID_EVT_BASE + 2)
/* args: framesQueued */
#define NAN_DBGID_SDF_QUEUED                        (NAN_DBGID_EVT_BASE + 3)
/* args: old, new */
#define NAN_DBGID_TW_CHANGED                        (NAN_DBGID_EVT_BASE + 4)
/* args: <none> */
#define NAN_DBGID_DW_START                          (NAN_DBGID_EVT_BASE + 5)
/* args: busyDiff */
#define NAN_DBGID_DW_END                            (NAN_DBGID_EVT_BASE + 6)
/* args: oldClusterId, newClusterId */
#define NAN_DBGID_CLUSTER_ID_CHANGED                (NAN_DBGID_EVT_BASE + 7)
/* args: cmd, buffer, length */
#define NAN_DBGID_WMI_CMD_RECEIVED                  (NAN_DBGID_EVT_BASE + 8)
/* args: pEventPkt, pEventBuf, eventSize, dataSize */
#define NAN_DBGID_WMI_EVT_SENT                      (NAN_DBGID_EVT_BASE + 9)
/* args: type length, readLen */
#define NAN_DBGID_TLV_READ                          (NAN_DBGID_EVT_BASE + 10)
/* args: type length, writeLen */
#define NAN_DBGID_TLV_WRITE                         (NAN_DBGID_EVT_BASE + 11)
/* args: handle */
#define NAN_DBGID_PUBSUB_UPDATED                    (NAN_DBGID_EVT_BASE + 12)
/* args: handle */
#define NAN_DBGID_PUBSUB_REMOVE_DEFERED             (NAN_DBGID_EVT_BASE + 13)
/* args: handle */
#define NAN_DBGID_PUBSUB_REMOVE_PENDING             (NAN_DBGID_EVT_BASE + 14)
/* args: handle */
#define NAN_DBGID_PUBSUB_REMOVED                    (NAN_DBGID_EVT_BASE + 15)
/* args: handle */
#define NAN_DBGID_PUBSUB_PROCESSED                  (NAN_DBGID_EVT_BASE + 16)
/* args: handle, sid1, sid2, svcCtrl, length */
#define NAN_DBGID_PUBSUB_MATCHED                    (NAN_DBGID_EVT_BASE + 17)
/* args: handle, flags */
#define NAN_DBGID_PUBSUB_PREPARED                   (NAN_DBGID_EVT_BASE + 18)
/* args: handle, mac1, mac2 */
#define NAN_DBGID_PUBSUB_FOLLOWUP_TRANSMIT          (NAN_DBGID_EVT_BASE + 19)
/* args: handle, mac1, mac2 */
#define NAN_DBGID_PUBSUB_FOLLOWUP_RECEIVED          (NAN_DBGID_EVT_BASE + 20)
/* args: subscribeHandle, matchHandle, oldTimeout, newTimeout */
#define NAN_DBGID_SUBSCRIBE_UNMATCH_TIMEOUT_UPDATE  (NAN_DBGID_EVT_BASE + 21)
/* args: subscribeHandle, matchHandle, timestamp*/
#define NAN_DBGID_SUBSCRIBE_MATCH_NEW               (NAN_DBGID_EVT_BASE + 22)
/* args: subscribeHandle, matchHandle, timestamp*/
#define NAN_DBGID_SUBSCRIBE_MATCH_REPEAT            (NAN_DBGID_EVT_BASE + 23)
/* args: subscribeHandle, matchHandle, matchTimestamp, timestamp*/
#define NAN_DBGID_SUBSCRIBE_MATCH_EXPIRED           (NAN_DBGID_EVT_BASE + 24)
/* args: subscribeHandle, matchHandle, matchTimestamp, timestamp */
#define NAN_DBGID_SUBSCRIBE_MATCH_LOG               (NAN_DBGID_EVT_BASE + 25)
/* args: sid1, sid2 */
#define NAN_DBGID_SERVICE_ID_CREATED                (NAN_DBGID_EVT_BASE + 26)
/* args: size */
#define NAN_DBGID_SD_ATTR_BUILT                     (NAN_DBGID_EVT_BASE + 27)
/* args: offset */
#define NAN_DBGID_SERVICE_RSP_OFFSET                (NAN_DBGID_EVT_BASE + 28)
/* args: offset */
#define NAN_DBGID_SERVICE_INFO_OFFSET               (NAN_DBGID_EVT_BASE + 29)
/* args: chan, interval, start_time */
#define NAN_DBGID_CHREQ_CREATE                      (NAN_DBGID_EVT_BASE + 30)
/* args: start_time, status */
#define NAN_DBGID_CHREQ_UPDATE                      (NAN_DBGID_EVT_BASE + 31)
/* args: chan, interval, status */
#define NAN_DBGID_CHREQ_REMOVE                      (NAN_DBGID_EVT_BASE + 32)
/* args: type, timestamp */
#define NAN_DBGID_CHREQ_GRANT                       (NAN_DBGID_EVT_BASE + 33)
/* args: type, timestamp */
#define NAN_DBGID_CHREQ_END                         (NAN_DBGID_EVT_BASE + 34)
/* args: type, timestamp */
#define NAN_DBGID_CHREQ_ERROR                       (NAN_DBGID_EVT_BASE + 35)
/* args: type, length, timestamp, rssi */
#define NAN_DBGID_RX_CALLBACK                       (NAN_DBGID_EVT_BASE + 36)
/* args: type, handle, bufp, status, timestamp  */
#define NAN_DBGID_TX_COMPLETE                       (NAN_DBGID_EVT_BASE + 37)
/* args: tsf, tsf */
#define NAN_DBGID_TSF_TIMEOUT                       (NAN_DBGID_EVT_BASE + 38)
/* args: clusterId, clusterStart */
#define NAN_DBGID_SYNC_START                        (NAN_DBGID_EVT_BASE + 39)
/* args: clusterId */
#define NAN_DBGID_SYNC_STOP                         (NAN_DBGID_EVT_BASE + 40)
/* args: enable, scanType, rval */
#define NAN_DBGID_NAN_SCAN                          (NAN_DBGID_EVT_BASE + 41)
/* args: scanType */
#define NAN_DBGID_NAN_SCAN_COMPLETE                 (NAN_DBGID_EVT_BASE + 42)
/* args: masterPref */
#define NAN_DBGID_MPREF_CHANGE                      (NAN_DBGID_EVT_BASE + 43)
/* args: masterPref, randFactor */
#define NAN_DBGID_WARMUP_EXPIRE                     (NAN_DBGID_EVT_BASE + 44)
/* args: randFactor */
#define NAN_DBGID_RANDOM_FACTOR_EXPIRE              (NAN_DBGID_EVT_BASE + 45)
/* args: tsf, tsf */
#define NAN_DBGID_DW_SKIP                           (NAN_DBGID_EVT_BASE + 46)
/* args: type, tsfDiff */
#define NAN_DBGID_DB_SKIP                           (NAN_DBGID_EVT_BASE + 47)
/* args: TBD */
#define NAN_DBGID_BEACON_RX                         (NAN_DBGID_EVT_BASE + 48)
/* args: TBD */
#define NAN_DBGID_BEACON_TX                         (NAN_DBGID_EVT_BASE + 49)
/* args: clusterId */
#define NAN_DBGID_CLUSTER_MERGE                     (NAN_DBGID_EVT_BASE + 50)
/* args: cmd, status, value */
#define NAN_DBGID_TEST_CMD_EXEC                     (NAN_DBGID_EVT_BASE + 51)
/* args: tsfHi, tsfLo, age */
#define NAN_DBGID_APPLY_BEACON_TSF                  (NAN_DBGID_EVT_BASE + 52)
/* args: behindFlag, diff */
#define NAN_DBGID_TSF_UPDATE                        (NAN_DBGID_EVT_BASE + 53)
/* args: argc==4 (rawTsfHi, rawTsfLo, nanTsfHi, nanTsfLo), argc==2(offsetHi, offsetLo) */
#define NAN_DBGID_SET_TSF                           (NAN_DBGID_EVT_BASE + 54)
/* args: rankHi, rankLo, mp, rf */
#define NAN_DBGID_NEW_MASTERRANK                    (NAN_DBGID_EVT_BASE + 55)
/* args: amRankHi, amRankLo, mp, rf */
#define NAN_DBGID_NEW_ANCHORMASTER                  (NAN_DBGID_EVT_BASE + 56)
/* args: amRankHi, amRankLo, HC, BTT */
#define NAN_DBGID_ANCHORMASTER_RECORD_UPDATE        (NAN_DBGID_EVT_BASE + 57)
/* args: amRankHi, amRankLo, HC, BTT */
#define NAN_DBGID_ANCHORMASTER_RECORD_EXPIRED       (NAN_DBGID_EVT_BASE + 58)
/* args: reason, transitionsToAM */
#define NAN_DBGID_BECOMING_ANCHORMASTER             (NAN_DBGID_EVT_BASE + 59)
/* args: oldRole, newRole */
#define NAN_DBGID_ROLE_CHANGE                       (NAN_DBGID_EVT_BASE + 60)
/* args: TBD */
#define NAN_DBGID_SYNC_BEACON_DW_STATS              (NAN_DBGID_EVT_BASE + 61)
/* args: attrId */
#define NAN_DBGID_RX_UNSUPPORTED_SDF_ATTR_ID        (NAN_DBGID_EVT_BASE + 62)
/* args: handle, sid1, sid2, svcCtrl, length */
#define NAN_DBGID_PUBSUB_MATCHED_SKIPPED_SSI        (NAN_DBGID_EVT_BASE + 63)
/* args: offset */
#define NAN_DBGID_MATCH_FILTER_OFFSET               (NAN_DBGID_EVT_BASE + 64)
/* args: twSize, n, twIndex */
#define NAN_DBGID_TW_PARAMS                         (NAN_DBGID_EVT_BASE + 65)
/* args: */
#define NAN_DBGID_BEACON_SENDER                     (NAN_DBGID_EVT_BASE + 66)
/* args: currTsf, nextDwTsf */
#define NAN_DBGID_TSF_DUMP                          (NAN_DBGID_EVT_BASE + 67)
/* args: chan, startSlot, numSlots, repeat */
#define NAN_DBGID_FAW_CONFIG                        (NAN_DBGID_EVT_BASE + 68)
/* args: */
#define NAN_DBGID_FAW_START                         (NAN_DBGID_EVT_BASE + 69)
/* args: */
#define NAN_DBGID_FAW_END                           (NAN_DBGID_EVT_BASE + 70)
/* args: offset, oldval, newval */
#define NAN_DBGID_CONFIG_PARAM_CHANGED              (NAN_DBGID_EVT_BASE + 71)
/* args: <none> */
#define NAN_DBGID_CONN_CAP_ATTR_CLEARED             (NAN_DBGID_EVT_BASE + 72)
/* args: connType */
#define NAN_DBGID_POST_DISC_ATTR_CLEARED            (NAN_DBGID_EVT_BASE + 73)
/* args: <none> */
#define NAN_DBGID_VENDOR_SPECIFIC_ATTR_CLEARED      (NAN_DBGID_EVT_BASE + 74)
/* args: offset */
#define NAN_DBGID_WLAN_INFRA_MAP_CTRL_OFFSET        (NAN_DBGID_EVT_BASE + 75)
/* args: offset */
#define NAN_DBGID_WLAN_INFRA_AI_BITMAP_OFFSET       (NAN_DBGID_EVT_BASE + 76)
/* args: offset */
#define NAN_DBGID_WLAN_INFRA_DEVICE_ROLE_OFFSET     (NAN_DBGID_EVT_BASE + 77)
/* args: offset */
#define NAN_DBGID_MESH_ID_OFFSET                    (NAN_DBGID_EVT_BASE + 78)
/* args: */
#define NAN_DBGID_SPARE_79                          (NAN_DBGID_EVT_BASE + 79)
/* args: */
#define NAN_DBGID_SPARE_80                          (NAN_DBGID_EVT_BASE + 80)
/* args: */
#define NAN_DBGID_SPARE_81                          (NAN_DBGID_EVT_BASE + 81)
/* args: */
#define NAN_DBGID_SPARE_82                          (NAN_DBGID_EVT_BASE + 82)
/* args: */
#define NAN_DBGID_SPARE_83                          (NAN_DBGID_EVT_BASE + 83)
/* PLEASE KEEP THIS ONE AT THE END */
#define NAN_DBGID_EVT_LOG_LAST                      (NAN_DBGID_EVT_BASE + 84)

/* Debug IDs for message logs. */
#define NAN_DBGID_API_MSG_BASE                      NAN_DBGID_EVT_LOG_LAST
#define NAN_DBGID_API_MSG_HEADER                    (NAN_DBGID_API_MSG_BASE + 0)
#define NAN_DBGID_API_MSG_DATA                      (NAN_DBGID_API_MSG_BASE + 1)
#define NAN_DBGID_API_MSG_LAST                      (NAN_DBGID_API_MSG_BASE + 2)

/* Debug IDs for packet logs. */
#define NAN_DBGID_OTA_PKT_BASE                      NAN_DBGID_API_MSG_LAST
#define NAN_DBGID_OTA_PKT_HEADER                    (NAN_DBGID_OTA_PKT_BASE + 0)
#define NAN_DBGID_OTA_PKT_DATA                      (NAN_DBGID_OTA_PKT_BASE + 1)
#define NAN_DBGID_OTA_PKT_LAST                      (NAN_DBGID_OTA_PKT_BASE + 2) /*  not really the last! */

#define NAN_DBGID_BEACON_RX_TIMES               (NAN_DBGID_OTA_PKT_LAST + 0)
#define NAN_DBGID_BEACON_RX_MANDATORY_ATTRS     (NAN_DBGID_OTA_PKT_LAST + 1)
#define NAN_DBGID_BEACON_RX_SID_ATTR            (NAN_DBGID_OTA_PKT_LAST + 2)
#define NAN_DBGID_BEACON_RX_VSA_ATTR            (NAN_DBGID_OTA_PKT_LAST + 3)
#define NAN_DBGID_BEACON_RX_AVG_RSSI            (NAN_DBGID_OTA_PKT_LAST + 4)
#define NAN_DBGID_CANDIDATE_BEACONS             (NAN_DBGID_OTA_PKT_LAST + 5)
#define NAN_DBGID_TSF_OFFSET                    (NAN_DBGID_OTA_PKT_LAST + 6)
#define NAN_DBGID_ANCHORMASTER_RECORD_UPDATE_LAST       (NAN_DBGID_OTA_PKT_LAST + 7)
#define NAN_DBGID_ANCHORMASTER_RECORD_EXPIRED2  (NAN_DBGID_OTA_PKT_LAST + 8)
#define NAN_DBGID_BEACON_TX_SEND                (NAN_DBGID_OTA_PKT_LAST + 9)
#define NAN_DBGID_BEACON_TX_CANCEL              (NAN_DBGID_OTA_PKT_LAST + 10)
#define NAN_DBGID_NAN_SCAN_EVENT                (NAN_DBGID_OTA_PKT_LAST + 11)
#define NAN_DBGID_NAN_SDF_QUEUED                (NAN_DBGID_OTA_PKT_LAST + 12)
#define NAN_DBGID_NAN_BEACON_QUEUED             (NAN_DBGID_OTA_PKT_LAST + 13)
#define NAN_DBGID_NAN_NOT_ALLOWED               (NAN_DBGID_OTA_PKT_LAST + 14)
#define NAN_DBGID_NAN_TX_FOLLOWUP_REQ_TR_ID     (NAN_DBGID_OTA_PKT_LAST + 15)
#define NAN_DBGID_NAN_TX_FOLLOWUP_RESP_TR_ID    (NAN_DBGID_OTA_PKT_LAST + 16)
#define NAN_DBGID_PUBSUB_TERM_IND_DISABLE_FLAG  (NAN_DBGID_OTA_PKT_LAST + 17)
#define NAN_DBGID_UNMATCH_IND_DISABLE_FLAG      (NAN_DBGID_OTA_PKT_LAST + 18)
#define NAN_DBGID_FOLLOWUP_RX_IND_DISABLE_FLAG  (NAN_DBGID_OTA_PKT_LAST + 19)
#define NAN_DBGID_BEACON_RX_LAST                (NAN_DBGID_OTA_PKT_LAST + 20)

/* NaN Datapath Timekeeper debug IDs */
#define NAN_DBGID_TMKR_BASE                        NAN_DBGID_BEACON_RX_LAST   /* 116 + 20 = 136 */
#define NAN_DBGID_TMKR_INIT                        (NAN_DBGID_TMKR_BASE + 0)  /* 136 */
#define NAN_DBGID_TMKR_OPEN                        (NAN_DBGID_TMKR_BASE + 1)  /* 137 */
#define NAN_DBGID_TMKR_CLOSE                       (NAN_DBGID_TMKR_BASE + 2)  /* 138 */
#define NAN_DBGID_TMKR_NEGOTIATE                   (NAN_DBGID_TMKR_BASE + 3)  /* 139 */
#define NAN_DBGID_TMKR_TMR_HNDLR                   (NAN_DBGID_TMKR_BASE + 4)  /* 140 */
#define NAN_DBGID_TMKR_UNITTEST                    (NAN_DBGID_TMKR_BASE + 5)  /* 141 */
#define NAN_DBGID_TMKR_LF_TMR_HNDLR                (NAN_DBGID_TMKR_BASE + 6)  /* 142 */
#define NAN_DBGID_TMKR_DEINIT                      (NAN_DBGID_TMKR_BASE + 7)  /* 143 */
#define NAN_DBGID_TMKR_SLOTBITMAP                  (NAN_DBGID_TMKR_BASE + 8)  /* 144 */
#define NAN_DBGID_TMKR_CANCEL_SLOTBITMAP           (NAN_DBGID_TMKR_BASE + 9)  /* 145 */
#define NAN_DBGID_TMKR_CONFIRM_SLOTBITMAP          (NAN_DBGID_TMKR_BASE + 10) /* 146 */
#define NAN_DBGID_TMKR_RESOLVE_SLOTBITMAP          (NAN_DBGID_TMKR_BASE + 11) /* 147 */
#define NAN_DBGID_TMKR_ADD_CHAN_ELEMENT            (NAN_DBGID_TMKR_BASE + 12) /* 148 */
#define NAN_DBGID_TMKR_REMOVE_CHAN_ELEMENT         (NAN_DBGID_TMKR_BASE + 13) /* 149 */
#define NAN_DBGID_TMKR_FIND_CHAN_ELEMENT           (NAN_DBGID_TMKR_BASE + 14) /* 150 */
#define NAN_DBGID_TMKR_QUERY_COMMITTED_SLOTBITMAP  (NAN_DBGID_TMKR_BASE + 15) /* 151 */
#define NAN_DBGID_TMKR_ENCODE_SLOTBITMAP           (NAN_DBGID_TMKR_BASE + 16) /* 152 */
#define NAN_DBGID_TMKR_SLOT_ARRAY_DBG              (NAN_DBGID_TMKR_BASE + 17) /* 153 */
#define NAN_DBGID_TMKR_POPULATE_MASTER             (NAN_DBGID_TMKR_BASE + 18) /* 154 */
#define NAN_DBGID_TMKR_ALLOCATE_SLOTS              (NAN_DBGID_TMKR_BASE + 19) /* 155 */
#define NAN_DBGID_TMKR_RELEASE_SLOTS               (NAN_DBGID_TMKR_BASE + 20) /* 156 */
#define NAN_DBGID_TMKR_ENABLE                      (NAN_DBGID_TMKR_BASE + 21) /* 157 */
#define NAN_DBGID_TMKR_DISABLE                     (NAN_DBGID_TMKR_BASE + 22) /* 158 */
#define NAN_DBGID_TMKR_GET_NEXT_SLOTWINDOW         (NAN_DBGID_TMKR_BASE + 23) /* 159 */
#define NAN_DBGID_TMKR_RESUME_TIMEKEEPING          (NAN_DBGID_TMKR_BASE + 24) /* 160 */
#define NAN_DBGID_TMKR_RESYNC_TO_DISCOVERY_WINDOW  (NAN_DBGID_TMKR_BASE + 25) /* 161 */
#define NAN_DBGID_TMKR_SUSPEND_TIMEKEEPING         (NAN_DBGID_TMKR_BASE + 26) /* 162 */
#define NAN_DBGID_TMKR_SYNC_TO_DISCOVERY_WINDOW    (NAN_DBGID_TMKR_BASE + 27) /* 163 */
#define NAN_DBGID_TMKR_GET_NEXT_TSFTIME            (NAN_DBGID_TMKR_BASE + 28) /* 164 */
#define NAN_DBGID_TMKR_SETUP_NEXT_INTERVAL         (NAN_DBGID_TMKR_BASE + 29) /* 165 */
#define NAN_DBGID_TMKR_SCHEDULE_EVENT              (NAN_DBGID_TMKR_BASE + 30) /* 166 */
#define NAN_DBGID_TMKR_ENABLE_TIMEKEEPING_EVENT    (NAN_DBGID_TMKR_BASE + 31) /* 167 */
#define NAN_DBGID_TMKR_DISABLE_TIMEKEEPING_EVENT   (NAN_DBGID_TMKR_BASE + 32) /* 168 */
#define NAN_DBGID_TMKR_SYNC_WITH_DW_EVENT          (NAN_DBGID_TMKR_BASE + 33) /* 169 */
#define NAN_DBGID_TMKR_INTERVAL_EXPIRED_EVENT      (NAN_DBGID_TMKR_BASE + 34) /* 170 */
#define NAN_DBGID_TMKR_PAUSE_TIMEKEEPING_EVENT     (NAN_DBGID_TMKR_BASE + 35) /* 171 */
#define NAN_DBGID_TMKR_RESUME_TIMEKEEPING_EVENT    (NAN_DBGID_TMKR_BASE + 36) /* 172 */
#define NAN_DBGID_TMKR_RESYNC_TO_DW_EVENT          (NAN_DBGID_TMKR_BASE + 37) /* 173 */
#define NAN_DBGID_TMKR_LAST                        (NAN_DBGID_TMKR_BASE + 38) /* 174 */

#define NAN_DBGID_END                              (NAN_DBGID_TMKR_LAST)

/* IBSS PS module DBGIDs*/
#define IBSS_PS_DBGID_DEFINITION_START           0
#define IBSS_PS_DBGID_PEER_CREATE                1
#define IBSS_PS_DBGID_PEER_DELETE                2
#define IBSS_PS_DBGID_VDEV_CREATE                3
#define IBSS_PS_DBGID_VDEV_DELETE                4
#define IBSS_PS_DBGID_VDEV_EVENT                 5
#define IBSS_PS_DBGID_PEER_EVENT                 6
#define IBSS_PS_DBGID_DELIVER_CAB                7
#define IBSS_PS_DBGID_DELIVER_UC_DATA            8
#define IBSS_PS_DBGID_DELIVER_UC_DATA_ERROR      9
#define IBSS_PS_DBGID_UC_INACTIVITY_TMR_RESTART 10
#define IBSS_PS_DBGID_MC_INACTIVITY_TMR_RESTART 11
#define IBSS_PS_DBGID_NULL_TX_COMPLETION        12
#define IBSS_PS_DBGID_ATIM_TIMER_START          13
#define IBSS_PS_DBGID_UC_ATIM_SEND              14
#define IBSS_PS_DBGID_BC_ATIM_SEND              15
#define IBSS_PS_DBGID_UC_TIMEOUT                16
#define IBSS_PS_DBGID_PWR_COLLAPSE_ALLOWED      17
#define IBSS_PS_DBGID_PWR_COLLAPSE_NOT_ALLOWED  18
#define IBSS_PS_DBGID_SET_PARAM                 19
#define IBSS_PS_DBGID_HOST_TX_PAUSE             20
#define IBSS_PS_DBGID_HOST_TX_UNPAUSE           21
#define IBSS_PS_DBGID_PS_DESC_BIN_HWM           22
#define IBSS_PS_DBGID_PS_DESC_BIN_LWM           23
#define IBSS_PS_DBGID_PS_KICKOUT_PEER           24
#define IBSS_PS_DBGID_SET_PEER_PARAM            25
#define IBSS_PS_DBGID_BCN_ATIM_WIN_MISMATCH     26
#define IBSS_PS_DBGID_RX_CHAINMASK_CHANGE       27

/* HIF UART Interface DBGIDs */
#define HIF_UART_DBGID_START               0
#define HIF_UART_DBGID_POWER_STATE         1
#define HIF_UART_DBGID_TXRX_FLOW           2
#define HIF_UART_DBGID_TXRX_CTRL_CHAR      3
#define HIF_UART_DBGID_TXRX_BUF_DUMP       4

/* EXTSCAN DBGIDs */
#define EXTSCAN_START                                    0
#define EXTSCAN_STOP                                     1
#define EXTSCAN_CLEAR_ENTRY_CONTENT                      2
#define EXTSCAN_GET_FREE_ENTRY_SUCCESS                   3
#define EXTSCAN_GET_FREE_ENTRY_INCONSISTENT              4
#define EXTSCAN_GET_FREE_ENTRY_NO_MORE_ENTRIES           5
#define EXTSCAN_CREATE_ENTRY_SUCCESS                     6
#define EXTSCAN_CREATE_ENTRY_ERROR                       7
#define EXTSCAN_SEARCH_SCAN_ENTRY_QUEUE                  8
#define EXTSCAN_SEARCH_SCAN_ENTRY_KEY_FOUND              9
#define EXTSCAN_SEARCH_SCAN_ENTRY_KEY_NOT_FOUND         10
#define EXTSCAN_ADD_ENTRY                               11
#define EXTSCAN_BUCKET_SEND_OPERATION_EVENT             12
#define EXTSCAN_BUCKET_SEND_OPERATION_EVENT_FAILED      13
#define EXTSCAN_BUCKET_START_SCAN_CYCLE                 14
#define EXTSCAN_BUCKET_PERIODIC_TIMER                   15
#define EXTSCAN_SEND_START_STOP_EVENT                   16
#define EXTSCAN_NOTIFY_WLAN_CHANGE                      17
#define EXTSCAN_NOTIFY_WLAN_HOTLIST_MATCH               18
#define EXTSCAN_MAIN_RECEIVED_FRAME                     19
#define EXTSCAN_MAIN_NO_SSID_IE                         20
#define EXTSCAN_MAIN_MALFORMED_FRAME                    21
#define EXTSCAN_FIND_BSSID_BY_REFERENCE                 22
#define EXTSCAN_FIND_BSSID_BY_REFERENCE_ERROR           23
#define EXTSCAN_NOTIFY_TABLE_USAGE                      24
#define EXTSCAN_FOUND_RSSI_ENTRY                        25
#define EXTSCAN_BSSID_FOUND_RSSI_SAMPLE                 26
#define EXTSCAN_BSSID_ADDED_RSSI_SAMPLE                 27
#define EXTSCAN_BSSID_REPLACED_RSSI_SAMPLE              28
#define EXTSCAN_BSSID_TRANSFER_CURRENT_SAMPLES          29
#define EXTSCAN_BUCKET_PROCESS_SCAN_EVENT               30
#define EXTSCAN_BUCKET_CANNOT_FIND_BUCKET               31
#define EXTSCAN_START_SCAN_REQUEST_FAILED               32
#define EXTSCAN_BUCKET_STOP_CURRENT_SCANS               33
#define EXTSCAN_BUCKET_SCAN_STOP_REQUEST                34
#define EXTSCAN_BUCKET_PERIODIC_TIMER_ERROR             35
#define EXTSCAN_BUCKET_START_OPERATION                  36
#define EXTSCAN_START_INTERNAL_ERROR                    37
#define EXTSCAN_NOTIFY_HOTLIST_MATCH                    38
#define EXTSCAN_CONFIG_HOTLIST_TABLE                    39
#define EXTSCAN_CONFIG_WLAN_CHANGE_TABLE                40
#define EXTSCAN_EVENT_SEND_FAILED                       41

/* ERE DBGIDs */
#define ERE_DBGID_DEFINITION_START                       0
#define ERE_DBGID_VDEV_ATTACH                            1
#define ERE_DBGID_VDEV_DETACH                            2
#define ERE_DBGID_ENABLE_CMD                             3
#define ERE_DBGID_STATUS_ENABLED                         4
#define ERE_DBGID_STATUS_DISABLED                        5
#define ERE_DBGID_ISROUTE_TABLE_EMPTY                    6
#define ERE_DBGID_HASH_VALUE                             7
#define ERE_DBGID_MATCH_REQ                              8
#define ERE_DBGID_ADD_ROUTE_DBG                          9
#define ERE_DBGID_ADD_ROUTE_ENTRY                       10
#define ERE_DBGID_STATS_TX                              11
#define ERE_DBGID_STATS_RX                              12
#define ERE_DBGID_DEFINITION_END                        13
/* IDs 14 - 251 reserved for ERE */

/* Timekeeper debug IDs */
#define TIMEKEEPER_INIT                                 252
#define TIMEKEEPER_OPEN                                 253
#define TIMEKEEPER_CLOSE                                254
#define TIMEKEEPER_NEGOTIATE                            255
#define TIMEKEEPER_TMR_HNDLR                            256
#define TIMEKEEPER_UNITTEST                             257
#define TIMEKEEPER_LF_TMR_HNDLR                         258
#define TIMEKEEPER_DEINIT                               259
#define TIMEKEEPER_SLOTBITMAP                           260
#define TIMEKEEPER_CANCEL_SLOTBITMAP                    261
#define TIMEKEEPER_CONFIRM_SLOTBITMAP                   262
#define TIMEKEEPER_RESOLVE_SLOTBITMAP                   263
#define TIMEKEEPER_ADD_CHAN_ELEMENT                     264
#define TIMEKEEPER_REMOVE_CHAN_ELEMENT                  265
#define TIMEKEEPER_FIND_CHAN_ELEMENT                    266
#define TIMEKEEPER_QUERY_COMMITTED_SLOTBITMAP           267
#define TIMEKEEPER_ENCODE_SLOTBITMAP                    268
#define TIMEKEEPER_SLOT_ARRAY_DBG                       269
#define TIMEKEEPER_POPULATE_MASTER                      270

/* NLO DBGIDs */
#define NLO_DBGID_SSID_TO_BE_SCANNED_LIST 0
#define NLO_DBGID_SSID_TO_BE_SKIPPED_LIST 1

/* Channel prediction/reduction DBGIDs */
#define SCAN_CH_PREDICT_DBGID_DEFINITION_START          0
#define SCAN_CH_PREDICT_CALCULATE                       1
#define SCAN_CH_PREDICT_CALCULATE_SAMPLE                2
#define SCAN_CH_PREDICT_CALCULATE_RESULT                3
#define SCAN_CH_PREDICT_FOUND_BSS                       4
#define SCAN_CH_PREDICT_SCAN_START                      5
#define SCAN_CH_PREDICT_START                           6
#define SCAN_CH_PREDICT_STOP                            7
#define SCAN_CH_PREDICT_DBGID_DEFINITION_END            8

/* DSRC DBGIDs */
#define  OCB_DBGID_VDEV_CREATE                          0
#define  OCB_DBGID_VDEV_DELETE                          1
#define  OCB_DBGID_CHAN_PAUSE                           2
#define  OCB_DBGID_CHAN_UNPAUSE                         3
#define  OCB_DBGID_PEER_CREATE                          4
#define  OCB_DBGID_PEER_DELETE                          5
#define  OCB_DBGID_DCC_START                            6
#define  OCB_DBGID_DCC_STOP                             7
#define  OCB_DBGID_SET_CONFIG_CMD                       8
#define  OCB_DBGID_SET_UTC_TIME_CMD                     9
#define  OCB_DBGID_START_TIMING_ADVERT_CMD              10
#define  OCB_DBGID_STOP_TIMING_ADVERT_CMD               11
#define  OCB_DBGID_GET_TSF_TIMER_CMD                    12
#define  OCB_DBGID_GET_DCC_STATS_CMD                    13
#define  OCB_DBGID_UPDATE_DCC_NDL_CMD                   14
#define  OCB_DBGID_SET_CONFIG_RESP_EVENT                15
#define  OCB_DBGID_GET_TSF_TIMER_RESP_EVENT             16
#define  OCB_DBGID_GET_DCC_STATS_RESP_EVENT             17
#define  OCB_DBGID_DCC_STATS_EVENT                      18
#define  OCB_UPDATE_DCC_NDL_RESP_EVENT                  19
#define  OCB_DBGID_GENERIC                              20
#define  OCB_DBGID_VDEV_START                           21
#define  OCB_DBGID_CHANNEL_SCHED_EVENT                  22
#define  OCB_DBGID_GPS_EVENT_START                      23
#define  OCB_DBGID_GPS_EVENT_END                        24
#define  OCB_DBGID_TX_TA_FRAME                          25
#define  OCB_DBGID_RX_TA_FRAME                          26

/* Up to 255 reserved for OCB debug IDs */

#define  DCC_DBGID_START                                256
#define  DCC_DBGID_STOP                                 257
#define  DCC_DBGID_DCC_STATS_EVENT                      258
#define  DCC_DBGID_SM_INIT                              259
#define  DCC_DBGID_SM_EVENT                             260
#define  DCC_DBGID_SM_CHANGE                            261
#define  DCC_DBGID_GET_TX_ALLOWED                       262
#define  DCC_DBGID_NOTIFY_TX_COMPLETION                 263
#define  DCC_DBGID_NOTIFY_RX                            264
#define  DCC_DBGID_GET_TX_POWER                         265
#define  DCC_DBGID_GET_TX_RATE                          266
#define  DCC_DBGID_TICKLE_SCHED                         267
#define  DCC_DBGID_GENERIC                              268
#define  DCC_DBGID_RX_PATH                              269
#define  DCC_DBGID_TX_PATH                              270

/* RSSI Threshold Monitor DBGIDs */
#define RSSI_MONITOR_DBGID_DEFINITION_START               0
#define RSSI_MONITOR_VDEV_INIT                            1
#define RSSI_MONITOR_VDEV_FREE                            2
#define RSSI_MONITOR_VDEV_EVENT                           3
#define RSSI_MONITOR_HW_EVENT                             4
#define RSSI_MONITOR_ENABLE_THRESHOLDS_CLIENT_REQ         5
#define RSSI_MONITOR_ENABLE_THRESHOLDS_CLIENT_REQ_ERR     6
#define RSSI_MONITOR_DISABLE_THRESHOLDS_CLIENT_REQ        7
#define RSSI_MONITOR_DISABLE_THRESHOLDS_CLIENT_REQ_ERR    8
#define RSSI_MONITOR_ARBITER                              9
#define RSSI_MONITOR_ARBITER_CONFIG_HW                   10
#define RSSI_MONITOR_CHECK_AND_DELIVER_EVENT             11
#define RSSI_MONITOR_DELIVER_EVENT                       12
#define RSSI_MONITOR_UPDATE_BEACON_RSSI                  13
#define RSSI_MONITOR_DBGID_DEFINITION_END                14

/* QBOOST DBGIDs */
#define WLAN_MODULE_QBOOST_DEFINITION_START               0
#define WLAN_MODULE_QBOOST_DBGID_WLAN_PEER_NOT_FOUND      1
#define WLAN_MODULE_QBOOST_DEFINITION_END                 2

#ifdef __cplusplus
}
#endif

#endif /* _DBGLOG_ID_H_ */
