1 /*
2  * Copyright (c) 2010-2017 The Linux Foundation. All rights reserved.
3  *
4  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5  *
6  *
7  * Permission to use, copy, modify, and/or distribute this software for
8  * any purpose with or without fee is hereby granted, provided that the
9  * above copyright notice and this permission notice appear in all
10  * copies.
11  *
12  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19  * PERFORMANCE OF THIS SOFTWARE.
20  */
21 
22 /*
23  * This file was originally distributed by Qualcomm Atheros, Inc.
24  * under proprietary terms before Copyright ownership was assigned
25  * to the Linux Foundation.
26  */
27 
28 #ifndef _DBGLOG_ID_H_
29 #define _DBGLOG_ID_H_
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /*
36  * The nomenclature for the debug identifiers is MODULE_DESCRIPTION.
37  * Please ensure that the definition of any new debugid introduced is captured
38  * between the <MODULE>_DBGID_DEFINITION_START and
39  * <MODULE>_DBGID_DEFINITION_END defines. The structure is required for the
40  * parser to correctly pick up the values for different debug identifiers.
41  */
42 
43 /*
44 * The target state machine framework will send dbglog messages on behalf on
45 * other modules. We do this do avoid each module adding identical dbglog code
46 * for state transitions and event processing. We also don't want to force each
47 * module to define the the same XXX_DBGID_SM_MSG with the same value below.
48 * Instead we use a special ID that the host dbglog code recognizes as a
49 * message sent by the SM on behalf on another module.
50 */
51 #define DBGLOG_DBGID_SM_FRAMEWORK_PROXY_DBGLOG_MSG 1000
52 
53 /* RESMGR messageIDs for ML logging */
54 typedef enum {
55     RESMGR_MSGID_DEFINITION_START = 0x0000,
56     RESMGR_CHMMGR_CHAINMASK_CHANGE_REQ_MSGID,
57     RESMGR_CHMMGR_PROCESS_CHM_CHANGE_REQ_MSGID,
58     RESMGR_CHMMGR_DB_UPDATE_MSGID,
59     RESMGR_CHMMGR_SEND_HW_MODE_PRE_NOTIF_MSGID,
60     RESMGR_OCM_SUSPEND_MSGID,
61     RESMGR_OCM_MIGRATE_MSGID,
62     RESGMR_OCM_RESUME_MSGID,
63     RESMGR_OCS_CHREQ_GRANT_MSGID,
64     RESMGR_OCS_CURR_CAT_WINDOW_MSGID,
65     RESMGR_OCS_CHREQ_RESTART_MSGID,
66     RESMGR_OCS_CHREQ_COMPLETE_MSGID,
67     RESMGR_OCS_WIN_CAT_DUR_MSGID,
68     RESMGR_OCS_PURGE_CHREQS_MSGID,
69     RESMGR_OCS_INVOKED_MSGID,
70     RESMGR_OCS_CHREQ_CREATE_MSGID,
71     RESMGR_OCS_CHREQ_DELETE_MSGID,
72     RESMGR_OCS_RECAL_QUOTAS_MSGID,
73     RESMGR_OCS_CHREQ_START_MSGID,
74     RESMGR_OCS_CHREQ_STOP_MSGID,
75     RESMGR_OCS_CHREQ_UPDATE_MSGID,
76     RESMGR_DBSMGR_SET_HW_MODE_MSGID,
77     RESMGR_DBSMGR_SET_CONNECTION_IN_PROGRESS_MSGID,
78     RESMGR_VCM_LINK_CREATE_MSGID,
79     RESMGR_VCM_LINK_DELETE_MSGID,
80     RESMGR_VC_INIT_VIR_CHAN_MSGID,
81     RESMGR_VC_ADD_LINK_MSGID,
82     RESMGR_VC_RMV_LINK_MSGID,
83     RESMGR_VC_REGISTER_LINK_MSGID,
84     RESMGR_VC_UNREGISTER_LINK_MSGID,
85     RESMGR_VC_ARBITRATE_ATTRIBUTES_MSGID,
86     RESMGR_DBSMGR_CHANGE_SCAN_STATE_MSGID,
87     RESMGR_DBSMGR_RECOMPUTE_SCAN_POLICY_MSGID,
88     RESMGR_DBSMGR_UPDATE_SCAN_POLICY_MSGID,
89     RESMGR_CHMMGR_INITIATE_VC_OPS_MSGID,
90     RESMGR_CHMMGR_INITIATE_WAL_OPS_MSGID,
91     RESMGR_EVENT_HANDLER_VDEV_MGR_MSGID,
92     RESMGR_EVENT_HANDLER_SCAN_POLICY_MSGID,
93     RESMGR_MSGID_DEFINITION_END = 0x7fff,
94 } RESMGR_MSGID;
95 
96 /* VDEVMGR messageIDs for ML logging */
97 typedef enum {
98     VDEV_MGR_MSGID_DEFINITION_START = 0x0000,
99     VDEV_MGR_RESMGR_CHMMGR_NOTIF_VDEV_UP_MSGID,
100     VDEV_MGR_FIRST_BMISS_DETECTED_MSGID,
101     VDEV_MGR_FINAL_BMISS_DETECTED_MSGID,
102     VDEV_MGR_MY_BEACON_RECEIVED_MSGID,
103     VDEV_MGR_VDEV_PAUSE_MSGID,
104     VDEV_MGR_VDEV_UNPAUSE_MSGID,
105     VDEV_MGR_VDEV_MIGRATE_MSGID,
106     VDEV_MGR_REGISTER_RESMGR_EVENT_MSGID,
107     VDEV_MGR_EVENT_HANDLER_VDEV_MSGID,
108     VDEV_MGR_EVENT_HANDLER_BEACON_MSGID,
109     VDEV_MGR_EVENT_HANDLER_MGMT_TXRX,
110     VDEV_MGR_EVENT_HANDLER_11D_SCAN_OFFLOAD_MSG_ID,
111     VDEV_MGR_EVENT_HANDLER_WOW_KEEPALIVE_MSGID,
112     VDEV_MGR_EVENT_HANDLER_EXTSCAN_MSGID,
113     VDEV_MGR_EVENT_HANDLER_SWBMISS_MSGID,
114     VDEV_MGR_EVENT_HANDLER_BEACON_DTIMSYNC_MSGID,
115     VDEV_MGR_EVENT_HANDLER_BEACON_TSFOOR_MSGID,
116     VDEV_MGR_THREAD_COMM_BE_FLOW_CTRL_MSGID,
117     VDEV_MGR_THREAD_COMM_SYNC_RT_DATA_OFFLOAD_MSGID,
118     VDEV_MGR_THREAD_COMM_BE_VDEV_STATE_CHANGE_MSGID,
119     VDEV_MGR_THREAD_COMM_VDEV_STATE_CHANGE_CONF_MSGID,
120     VDEV_MGR_MSGID_DEFINITION_END = 0x7fff,
121 } VDEV_MGR_MSGID;
122 
123 /* SCAN messageIDs for ML logging */
124 typedef enum {
125     SCAN_MSGID_DEFINITION_START = 0x0000,
126     SCAN_SCH_START_MSGID,
127     SCAN_EVENT_STARTED_MSGID,
128     SCAN_EVENT_FOREIGN_CHANNEL_MSGID,
129     SCAN_EVENT_FOREIGN_CHANNEL_EXIT_MSGID,
130     SCAN_EVENT_BSS_CHANNEL_MSGID,
131     SCAN_EVENT_PREEMPTED_MSGID,
132     SCAN_EVENT_RESTARTED_MSGID,
133     SCAN_EVENT_COMPLETED_MSGID,
134     SCAN_EVENT_DEQUEUED_MSGID,
135     SCAN_EVENT_SUSPENDED_MSGID,
136     SCAN_SCH_CANCEL_MSGID,
137     SCAN_SCH_SUSPEND_MSGID,
138     SCAN_MGR_EVENT_ASYNC_COMPLETE_MSGID,
139     SCAN_MGR_EVENT_COMPLETED_MSGID,
140     SCAN_MGR_EVENT_PREEMPTED_MSGID,
141     SCAN_MGR_EVENT_SUSPENDED_MSGID,
142     SCAN_POLICY_EVENT_MSGID,
143     SCAN_MGR_RESUME_EVENT_MSGID,
144     SCAN_MGR_SCAN_START_MSGID,
145     SCAN_MGR_CANCEL_MSGID,
146     SCAN_MGR_BCN_RECV_MSGID,
147     SCAN_MGR_CHECK_BAND_CHANNELS_MSGID,
148     SCAN_MGR_SCAN_POLICY_RECOMPUTE_MSGID,
149     SCAN_MGR_CLIENT_SCAN_POLICY_MSGID,
150     SCAN_ENG_START_MSGID,
151     SCAN_ENG_CANCEL_MSGID,
152     SCAN_SET_CHAN_LIST_MSGID,
153     SCAN_SEND_PROBE_REQ_RET_VDEV_MSGID,
154     SCAN_SEND_PROBE_REQ_RET_PASSIVE_MSGID,
155     SCAN_SEND_PROBE_REQ_2G_RET_MSGID,
156     SCAN_SEND_PROBE_REQ_5G_RET_MSGID,
157     SCAN_ADPATIVE_DWELL_ENABLED_MSGID,
158     SCAN_ADAPTIVE_DWELL_CH_ACTIVITY_START_MSGID,
159     SCAN_ADAPTIVE_DWELL_CH_ACTIVITY_END_MSGID,
160     SCAN_ADAPTIVE_DWELL_CH_CONGESTION_CHECK_MSGID,
161     SCAN_ADAPTIVE_DWELL_ACTIVE_STARTED_MSGID,
162     SCAN_ADAPTIVE_DWELL_ALL_PROBE_SENT_MSGID,
163     SCAN_ADAPTIVE_DWELL_PASSIVE_STARTED_MSGID,
164     SCAN_ADAPTIVE_DWELL_SWITCH_ACTIVE_MSGID,
165     SCAN_REGISTER_OFFLDMGR_CH_PREDICTION_MSGID,
166     SCAN_DEREGISTER_OFFLDMGR_CH_PREDICTION_MSGID,
167     SCAN_REGISTER_OFFLDMGR_ADAPTIVE_BCNPRB_MSGID,
168     SCAN_DEREGISTER_OFFLDMGR_ADAPTIVE_BCNPRB_MSGID,
169     SCAN_EVENT_HANDLER_MGMT_TXRX_MSGID,
170     SCAN_EVENT_HANDLER_NLO_MSGID,
171     SCAN_EVENT_HANDLER_SCAN_AUTOCHAN_MSGID,
172     SCAN_EVENT_HANDLER_VDEVMGR_MSGID,
173     SCAN_EVENT_HANDLER_OFFLOAD_BEACON_MSGID,
174     SCAN_EVENT_HANDLER_STA_TWT_MSGID,
175     SCAN_EVENT_HANDLER_BATCH_SCAN_MSGID,
176     SCAN_MSGID_DEFINITION_END = 0x7fff,
177 } SCAN_MSGID;
178 
179 /* MGMT_TXRX messageIDs for ML logging */
180 typedef enum {
181     MGMT_TXRX_MSGID_DEFINITION_START = 0x0000,
182     MGMT_TXRX_WAL_LOCAL_FRAME_SEND_MSGID,
183     MGMT_TXRX_WAL_FRAME_SEND_MSGID,
184     MGMT_TXRX_FORWARD_TO_HOST_MSGID,
185     DATA_TXRX_WAL_LOCAL_FRAME_SEND_MSGID,
186     MGMT_TXRX_MSGID_DEFINITION_END = 0x7fff,
187 } MGMT_TXRX_MSGID;
188 
189 /* OFFLOAD messageIDs for ML logging */
190 typedef enum {
191     OFFLOAD_MSGID_DEFINITION_START = 0x0000,
192     OFFLOAD_MGMT_RX_FRAME_ALLOW_MSGID,
193     OFFLOAD_MGMT_RX_FRAME_DROP_MSGID,
194     OFFLOAD_PROTO_DATA_RX_FRAME_STATUS_MSGID,
195     OFFLOAD_PROTO_DATA_RX_FRAME_TYPE_MSGID,
196     OFFLOAD_SCAN_CH_PREDICTION_MSGID,
197     OFFLOAD_SCAN_ADAPTIVE_BCNPRB_MSGID,
198     OFFLOAD_VDEV_OWN_BEACON_MSGID,
199     OFFLOAD_VDEV_BEACON_FILTER_MSGID,
200     OFFLOAD_VDEV_CONNECTING_MSGID,
201     OFFLOAD_11D_SCAN_MSGID,
202     OFFLOAD_BATCH_SCAN_MSGID,
203     OFFLOAD_OBSS_SCAN_MSGID,
204     OFFLOAD_ARP_RECV_MSGID,
205     OFFLOAD_ARP_DROP_MSGID,
206     OFFLOAD_ARP_REPLY_SUCCESS_MSGID,
207     OFFLOAD_ARP_REPLY_FAIL_MSGID,
208     OFFLOAD_NS_RECV_MSGID,
209     OFFLOAD_NS_DROP_MSGID,
210     OFFLOAD_NS_REPLY_SUCCESS_MSGID,
211     OFFLOAD_NS_REPLY_FAIL_MSGID,
212     OFFLOAD_GTK_PROESS_REKEY_MSGID,
213     OFFLOAD_GTK_REPLY_REKEY_MSGID,
214     OFFLOAD_GTK_PROESS_REKEY_FAIL_MSGID,
215     OFFLOAD_SUPPL_EAP_RECV_MSGID,
216     OFFLOAD_SUPPL_EAP_1X_MSGID,
217     OFFLOAD_MSGID_DEFINITION_END = 0x7fff,
218 } OFFLOAD_MSGID;
219 
220 /* STA_PWRSAVE messageIDs for ML logging */
221 typedef enum {
222     STA_PWRSAVE_MSGID_DEFINITION_START = 0x0000,
223     STA_PWRSAVE_ARBITER_REQUEST_MSGID,
224     STA_PWRSAVE_MSGID_DEFINITION_END = 0x7fff,
225 } STA_PWRSAVE_MSGID;
226 
227 /* COEX messageIDs for ML logging */
228 typedef enum {
229     COEX_MSGID_DEFINITION_START = 0x0000,
230     COEX_ASM_ANTENNA_REQUEST_MSGID,
231     COEX_ASM_ANTENNA_RELEASE_MSGID,
232     COEX_EVENT_HANDLER_RESMGR_MSGID,
233     COEX_EVENT_HANDLER_SCAN_ANT_MSGID,
234     COEX_EVENT_HANDLER_VDEV_ANT_OP_MSGID,
235     COEX_MSGID_DEFINITION_END = 0x7fff,
236 } COEX_MSGID;
237 
238 /* STA_SMPS messageIDs for ML logging */
239 typedef enum {
240     STA_SMPS_MSGID_DEFINITION_START = 0x0000,
241     STA_SMPS_VC_CFG_NOTIFY_MSGID,
242     STA_SMPS_MSGID_EDFINITION_END = 0x7fff,
243 } STA_SMPS_MSGID;
244 
245 /* WAL messageIDs for ML logging */
246 typedef enum {
247     WAL_MSGID_DEFINITION_START = 0x0000,
248     WAL_PDEV_CHANNEL_CHANGE_MSGID,
249     WAL_PDEV_HALPHY_RUN_DPD_CAL_MSGID,
250     WAL_TX_MGMT_COMP_MSGID,
251     WAL_TX_MGMT_ENQUEUE_MSGID,
252     WAL_RX_SUSPEND_START_MSGID,
253     WAL_RX_SUSPEND_SUCCESS_MSGID,
254     WAL_RX_RESUME_START_MSGID,
255     WAL_SOC_SWITCH_MODE_MSGID,
256     WAL_CONNECTION_PAUSE_BLOCK_ENABLE_MSGID,
257     WAL_CONNECTION_PAUSE_BLOCK_DISABLE_MSGID,
258     WAL_VDEV_PAUSE_ENABLE_MSGID,
259     WAL_VDEV_PAUSE_DISABLE_MSGID,
260     WAL_VDEV_PAUSE_RESET_MSGID,
261     WAL_PDEV_PAUSE_ENABLE_MSGID,
262     WAL_PDEV_PAUSE_DISABLE_MSGID,
263     WAL_PEER_SEND_N_REQ_MSGID,
264     WAL_PEER_PS_PRE_REQ_MSGID,
265     WAL_CONNECTION_PAUSE_ATTACH_TID_MSGID,
266     WAL_PDEV_PAUSE_NOTIFY_VDEV_CREATE_MSGID,
267     WAL_CONNECTION_PAUSE_PEER_CREATE_MSGID,
268     WAL_CONNECTION_PAUSE_TIDQ_HWQ_EMPTY_MSGID,
269     WAL_TX_SEND_ABORT_TX_MSGID,
270     WAL_TX_SEND_RESUME_TX_MSGID,
271     WAL_TX_FLUSH_TID_MSGID,
272     WAL_TX_FLUSH_PEER_MSGID,
273     WAL_TX_FLUSH_VDEV_MSGID,
274     WAL_VDEV_UP_MSGID,
275     WAL_VDEV_START_MSGID,
276     WAL_VDEV_DOWN_MSGID,
277     WAL_VDEV_STOP_MSGID,
278     WAL_VDEV_MIGRATE_MSGID,
279     WAL_PEER_CONSECUTIVE_FAILURE_MSGID,
280     WAL_PEER_CONSECUTIVE_FAILURE_RESET_MSGID,
281     WAL_PEER_STA_KICKOUT_MSGID,
282     SM_DISPATCH_EVENT_MSGID,
283     SM_STATE_TRANSITION_MSGID,
284     WAL_THREAD_COMM_TX_PAUSE_HWQ_EMPTY_MSGID,
285     WAL_THREAD_COMM_PEER_TX_PAUSE_REQ_MSGID,
286     WAL_THREAD_COMM_PEER_TX_UNPAUSE_REQ_MSGID,
287     WAL_THREAD_COMM_VDEV_TX_PAUSE_REQ_MSGID,
288     WAL_THREAD_COMM_PDEV_TX_PAUSE_REQ_MSGID,
289     WAL_THREAD_COMM_VDEV_TX_UNPAUSE_REQ_MSGID,
290     WAL_THREAD_COMM_PDEV_TX_UNPAUSE_REQ_MSGID,
291     WAL_THREAD_COMM_VDEV_TX_PAUSE_RESET_IND_MSGID,
292     WAL_THREAD_COMM_PEER_TX_BLOCK_REQ_MSGID,
293     WAL_THREAD_COMM_PEER_TX_UNBLOCK_REQ_MSGID,
294     WAL_THREAD_COMM_PEER_SEND_N_REQ_MSGID,
295     WAL_THREAD_COMM_PEER_PS_PRE_REQ_MSGID,
296     WAL_THREAD_COMM_TX_PAUSE_TID_CREATE_MSGID,
297     WAL_THREAD_COMM_TX_PAUSE_VDEV_CREATE_MSGID,
298     WAL_THREAD_COMM_TX_PAUSE_POST_RESPONSE_MSGID,
299     WAL_THREAD_COMM_PDEV_EVENT_HANDLER_MSGID,
300     WAL_THREAD_COMM_VDEV_EVENT_HANDLER_MSGID,
301     WAL_THREAD_COMM_PEER_EVENT_HANDLER_MSGID,
302     WAL_THREAD_COMM_POWER_MSGID,
303     WAL_THREAD_COMM_RT_POWER_BEACON_TIMEOUT_MSGID,
304     WAL_THREAD_COMM_RT_POWER_SUSPEND_FAIL_RESET_MSGID,
305     WAL_THREAD_COMM_RT_DATA_NULL_DEAUTH_MSGID,
306     WAL_THREAD_COMM_LOCAL_SEND_WITH_RATE_MSGID,
307     WAL_THREAD_COMM_LOCAL_SEND_COMPLETION_MSGID,
308     WAL_THREAD_COMM_TX_FLUSH_ENTITY_TID_MSGID,
309     WAL_THREAD_COMM_TX_FLUSH_ENTITY_PEER_MSGID,
310     WAL_THREAD_COMM_TX_FLUSH_ENTITY_VDEV_MSGID,
311     WAL_THREAD_COMM_TX_FLUSH_COMPLETE_MSGID,
312     WAL_THREAD_COMM_TAC_TID_LIST_OP_MSGID,
313     WAL_THREAD_COMM_TAC_TX_SCHED_MSGID,
314     WAL_THREAD_COMM_BE_RX_ATTACH_MSGID,
315     WAL_THREAD_COMM_TT_CONTROL_MSGID,
316     WAL_THREAD_COMM_RT_EXEC_DEV_RESET_MSGID,
317     WAL_THREAD_COMM_VDEV_MIGRATION_SYNC_MSGID,
318     WAL_THREAD_COMM_BE_SOC_SUSPEND_NOTIFY_MSGID,
319     WAL_THREAD_COMM_RT_SOC_SUSPEND_CONF_MSGID,
320     WAL_THREAD_COMM_TX_ABORT_MSGID,
321     WAL_THREAD_COMM_TX_RESUME_MSGID,
322     WAL_THREAD_COMM_RT_WPM_EXIT_HW_DTIM_AWAKE_MSGID,
323     WAL_THREAD_COMM_BE_RX_PROC_MSGID,
324     WAL_THREAD_COMM_BE_PEER_SET_PARAM_MSGID,
325     WAL_THREAD_COMM_PEER_SEND_MSG_MSGID,
326     WAL_THREAD_COMM_TID_DEL_MSGID,
327     WAL_TX_PAUSE_REQ_HANDLER_MSGID,
328     WAL_TX_PAUSE_RSP_HANDLER_MSGID,
329     WAL_SW_DTIM_POWER_MSG_HANDLER_MSGID,
330     WAL_PEER_KEY_SET_MSGID,
331     WAL_PEER_WAPI_EAPOL_TX_SEND_COMPLETE_MSGID,
332     WAL_PEER_PTK_M4_SENT_MSGID,
333     WAL_PEER_ALLOW_DATA_MSGID,
334     WAL_EVENT_HANDLER_VDEV_PAUSE_MSGID,
335     WAL_EVENT_HANDLER_STA_SWTIM_MSGID,
336     WAL_EVENT_HANDLER_VDEV_RECONFIG_MSGID,
337     WAL_MSGID_DEFINITION_END = 0x7fff,
338 } WAL_MSGID;
339 
340 /* WPM messageIDs for ML logging */
341 typedef enum {
342     WPM_MSGID_DEFINITION_START = 0x0000,
343     WPM_ARBITER_REQUEST_MSGID,
344     WPM_MSGID_DEFINITION_END = 0x7fff,
345 } WPM_MSGID;
346 
347 /* MLME messageIDs for ML logging */
348 typedef enum {
349     MLME_MSGID_DEFINITION_START = 0x0000,
350     MLME_THREAD_COMM_BE_HTT_SVC_VDEV_CHANGE_MSGID,
351     MLME_THREAD_COMM_INSTALL_KEY_MSGID,
352     MLME_THREAD_COMM_STORE_KEY_MSGID,
353     MLME_THREAD_COMM_UPDATE_STATUS_MSGID,
354     MLME_THREAD_COMM_CMD_PROXY_MSGID,
355     MLME_MSGID_DEFINITION_END = 0x7fff,
356 } MLME_MSGID;
357 
358 typedef enum {
359     SUPPL_MSGID_DEFINITION_START = 0x0000,
360     SUPPL_THREAD_COMM_INIT_AUTH_MSGID,
361     SUPPL_THREAD_COMM_STATUS_CHANGE_EVT_MSGID,
362     SUPPL_MSGID_DEFINITION_END = 0x7fff,
363 } SUPPL_MSGID;
364 
365 typedef enum {
366     AP_PWRSAVE_MSGID_DEFINITION_START = 0x0000,
367     AP_PWRSAVE_EVENT_HANDLER_SLEEP_STA_UPDATE_MSGID,
368     AP_PWRSAVE_MSGID_DEFINITION_END = 0x7fff,
369 } AP_PWRSAVE_MSGID;
370 
371 
372 /* INF debug identifier definitions */
373 #define INF_DBGID_DEFINITION_START                    0
374 #define INF_ASSERTION_FAILED                          1
375 #define INF_TARGET_ID                                 2
376 #define INF_TARGET_MEM_REMAING                3
377 #define INF_TARGET_MEM_EXT_REMAING                    4
378 #define INF_TARGET_MEM_ALLOC_TRACK                    5
379 #define INF_TARGET_MEM_ALLOC_RAM                      6
380 #define INF_DBGID_DEFINITION_END                      7
381 
382 /* WMI debug identifier definitions */
383 #define WMI_DBGID_DEFINITION_START                    0
384 #define WMI_CMD_RX_XTND_PKT_TOO_SHORT                 1
385 #define WMI_EXTENDED_CMD_NOT_HANDLED                  2
386 #define WMI_CMD_RX_PKT_TOO_SHORT                      3
387 #define WMI_CALLING_WMI_EXTENSION_FN                  4
388 #define WMI_CMD_NOT_HANDLED                           5
389 #define WMI_IN_SYNC                                   6
390 #define WMI_TARGET_WMI_SYNC_CMD                       7
391 #define WMI_SET_SNR_THRESHOLD_PARAMS                  8
392 #define WMI_SET_RSSI_THRESHOLD_PARAMS                 9
393 #define WMI_SET_LQ_TRESHOLD_PARAMS                   10
394 #define WMI_TARGET_CREATE_PSTREAM_CMD                11
395 #define WMI_WI_DTM_INUSE                             12
396 #define WMI_TARGET_DELETE_PSTREAM_CMD                13
397 #define WMI_TARGET_IMPLICIT_DELETE_PSTREAM_CMD       14
398 #define WMI_TARGET_GET_BIT_RATE_CMD                  15
399 #define WMI_GET_RATE_MASK_CMD_FIX_RATE_MASK_IS       16
400 #define WMI_TARGET_GET_AVAILABLE_CHANNELS_CMD        17
401 #define WMI_TARGET_GET_TX_PWR_CMD                    18
402 #define WMI_FREE_EVBUF_WMIBUF                        19
403 #define WMI_FREE_EVBUF_DATABUF                       20
404 #define WMI_FREE_EVBUF_BADFLAG                       21
405 #define WMI_HTC_RX_ERROR_DATA_PACKET                 22
406 #define WMI_HTC_RX_SYNC_PAUSING_FOR_MBOX             23
407 #define WMI_INCORRECT_WMI_DATA_HDR_DROPPING_PKT      24
408 #define WMI_SENDING_READY_EVENT                      25
409 #define WMI_SETPOWER_MDOE_TO_MAXPERF                 26
410 #define WMI_SETPOWER_MDOE_TO_REC                     27
411 #define WMI_BSSINFO_EVENT_FROM                       28
412 #define WMI_TARGET_GET_STATS_CMD                     29
413 #define WMI_SENDING_SCAN_COMPLETE_EVENT              30
414 #define WMI_SENDING_RSSI_INDB_THRESHOLD_EVENT        31
415 #define WMI_SENDING_RSSI_INDBM_THRESHOLD_EVENT       32
416 #define WMI_SENDING_LINK_QUALITY_THRESHOLD_EVENT     33
417 #define WMI_SENDING_ERROR_REPORT_EVENT               34
418 #define WMI_SENDING_CAC_EVENT                        35
419 #define WMI_TARGET_GET_ROAM_TABLE_CMD                36
420 #define WMI_TARGET_GET_ROAM_DATA_CMD                 37
421 #define WMI_SENDING_GPIO_INTR_EVENT                  38
422 #define WMI_SENDING_GPIO_ACK_EVENT                   39
423 #define WMI_SENDING_GPIO_DATA_EVENT                  40
424 #define WMI_CMD_RX                                   41
425 #define WMI_CMD_RX_XTND                              42
426 #define WMI_EVENT_SEND                               43
427 #define WMI_EVENT_SEND_XTND                          44
428 #define WMI_CMD_PARAMS_DUMP_START                    45
429 #define WMI_CMD_PARAMS_DUMP_END                      46
430 #define WMI_CMD_PARAMS                               47
431 #define WMI_EVENT_ALLOC_FAILURE                      48
432 #define WMI_DBGID_DCS_PARAM_CMD                      49
433 #define WMI_SEND_EVENT_WRONG_TLV                     50
434 #define WMI_SEND_EVENT_NO_TLV_DEF                    51
435 #define WMI_RECV_CMD_WRONG_TLV                              52
436 #define WMI_CHECK_TLV_PARAM_GET_NUM_TLVS_ERROR              53
437 #define WMI_CHECK_TLV_PARAM_TLV_LEN_EXCEEDED_BUF_LEN        54
438 #define WMI_CHECK_TLV_PARAM_NONEXISTING_TAG_ORDER           55
439 #define WMI_CHECK_TLV_PARAM_WRONG_TAG_ORDER                 56
440 #define WMI_CHECK_TLV_PARAM_INVALID_TLV_DEF_ARRAY_SIZE      57
441 #define WMI_CHECK_TLV_PARAM_INVALID_TLV_DEF_VARIED_SIZE     58
442 #define WMI_CHECK_TLV_PARAM_WRONG_TLV_LENGTH                59
443 #define WMI_CHECK_TLV_PARAM_UNALIGNED_TLV_LEN               60
444 #define WMI_CHECK_TLV_PARAM_WRONG_INNER_TLV_LEN             61
445 #define WMI_CHECK_TLV_PARAM_UNSUPPORTED_ARRAY_TAG           62
446 #define WMI_CHECK_TLV_PARAM_EXCEEDED_MAX_TLVs               63
447 #define WMI_CHECK_TLV_PARAM_CMD_BUF_ALLOC_FAILED            64
448 #define WMI_CHECK_TLV_PARAM_TLV_INFO                        65
449 #define WMI_DBGID_DEFINITION_END                            66
450 
451 /*  PM Message definition*/
452 #define PS_STA_DEFINITION_START                     0
453 #define PS_STA_PM_ARB_REQUEST                       1
454 #define PS_STA_DELIVER_EVENT                        2
455 #define PS_STA_PSPOLL_SEQ_DONE                      3
456 #define PS_STA_COEX_MODE                            4
457 #define PS_STA_PSPOLL_ALLOW                         5
458 #define PS_STA_SET_PARAM                            6
459 #define PS_STA_SPECPOLL_TIMER_STARTED               7
460 #define PS_STA_SPECPOLL_TIMER_STOPPED               8
461 #define PS_STA_AVG_CHANNEL_CONGESTION               9
462 #define PS_STA_DEFINITION_END                       10
463 
464 /** RESMGR dbg ids */
465 /* TODO: 1. Segregate IDs as per sub-module. (Give 100 per sub-module?)
466  *       2. Add chmgr IDs over here.
467  *       3. Update prints in dbglog_host.c
468  *       4. Deprecate WLAN_MODULE_RESMGR_CHAN_MANAGER */
469 #define RESMGR_DEFINITION_START                     0
470 #define RESMGR_OCS_ALLOCRAM_SIZE                    1
471 #define RESMGR_OCS_RESOURCES                        2
472 #define RESMGR_LINK_CREATE                          3
473 #define RESMGR_LINK_DELETE                          4
474 #define RESMGR_OCS_CHREQ_CREATE                     5
475 #define RESMGR_OCS_CHREQ_DELETE                     6
476 #define RESMGR_OCS_CHREQ_START                      7
477 #define RESMGR_OCS_CHREQ_STOP                       8
478 #define RESMGR_OCS_SCHEDULER_INVOKED                9
479 #define RESMGR_OCS_CHREQ_GRANT                      10
480 #define RESMGR_OCS_CHREQ_COMPLETE                   11
481 #define RESMGR_OCS_NEXT_TSFTIME                     12
482 #define RESMGR_OCS_TSF_TIMEOUT_US                   13
483 #define RESMGR_OCS_CURR_CAT_WINDOW                  14
484 #define RESMGR_OCS_CURR_CAT_WINDOW_REQ              15
485 #define RESMGR_OCS_CURR_CAT_WINDOW_TIMESLOT         16
486 #define RESMGR_OCS_CHREQ_RESTART                    17
487 #define RESMGR_OCS_CLEANUP_CH_ALLOCATORS            18
488 #define RESMGR_OCS_PURGE_CHREQ                      19
489 #define RESMGR_OCS_CH_ALLOCATOR_FREE                20
490 #define RESMGR_OCS_RECOMPUTE_SCHEDULE               21
491 #define RESMGR_OCS_NEW_CAT_WINDOW_REQ               22
492 #define RESMGR_OCS_NEW_CAT_WINDOW_TIMESLOT          23
493 #define RESMGR_OCS_CUR_CH_ALLOC                     24
494 #define RESMGR_OCS_WIN_CH_ALLOC                     25
495 #define RESMGR_OCS_SCHED_CH_CHANGE                  26
496 #define RESMGR_OCS_CONSTRUCT_CAT_WIN                27
497 #define RESMGR_OCS_CHREQ_PREEMPTED                  28
498 #define RESMGR_OCS_CH_SWITCH_REQ                    29
499 #define RESMGR_OCS_CHANNEL_SWITCHED                 30
500 #define RESMGR_OCS_CLEANUP_STALE_REQS               31
501 #define RESMGR_OCS_CHREQ_UPDATE                     32
502 #define RESMGR_OCS_REG_NOA_NOTIF                    33
503 #define RESMGR_OCS_DEREG_NOA_NOTIF                  34
504 #define RESMGR_OCS_GEN_PERIODIC_NOA                 35
505 #define RESMGR_OCS_RECAL_QUOTAS                     36
506 #define RESMGR_OCS_GRANTED_QUOTA_STATS              37
507 #define RESMGR_OCS_ALLOCATED_QUOTA_STATS            38
508 #define RESMGR_OCS_REQ_QUOTA_STATS                  39
509 #define RESMGR_OCS_TRACKING_TIME_FIRED              40
510 #define RESMGR_VC_ARBITRATE_ATTRIBUTES              41
511 #define RESMGR_OCS_LATENCY_STRICT_TIME_SLOT         42
512 #define RESMGR_OCS_CURR_TSF                         43
513 #define RESMGR_OCS_QUOTA_REM                        44
514 #define RESMGR_OCS_LATENCY_CASE_NO                  45
515 #define RESMGR_OCS_WIN_CAT_DUR                      46
516 #define RESMGR_VC_UPDATE_CUR_VC                     47
517 #define RESMGR_VC_REG_UNREG_LINK                    48
518 #define RESMGR_VC_PRINT_LINK                        49
519 #define RESMGR_OCS_MISS_TOLERANCE                   50
520 #define RESMGR_DYN_SCH_ALLOCRAM_SIZE                51
521 #define RESMGR_DYN_SCH_ENABLE                       52
522 #define RESMGR_DYN_SCH_ACTIVE                       53
523 #define RESMGR_DYN_SCH_CH_STATS_START               54
524 #define RESMGR_DYN_SCH_CH_SX_STATS                  55
525 #define RESMGR_DYN_SCH_TOT_UTIL_PER                 56
526 #define RESMGR_DYN_SCH_HOME_CH_QUOTA                57
527 #define RESMGR_OCS_REG_RECAL_QUOTA_NOTIF            58
528 #define RESMGR_OCS_DEREG_RECAL_QUOTA_NOTIF          59
529 #define RESMGR_DYN_SCH_CH_STATS_END                 60
530 #define RESMGR_DEFINITION_END                       61
531 
532 /* RESMGR CHNMGR debug ids */
533 #define RESMGR_CHMGR_DEFINITION_START               0
534 #define RESMGR_CHMGR_PAUSE_COMPLETE                 1
535 #define RESMGR_CHMGR_CHANNEL_CHANGE                 2
536 #define RESMGR_CHMGR_RESUME_COMPLETE                3
537 #define RESMGR_CHMGR_VDEV_PAUSE                     4
538 #define RESMGR_CHMGR_VDEV_UNPAUSE                   5
539 #define RESMGR_CHMGR_CTS2S_TX_COMP                  6
540 #define RESMGR_CHMGR_CFEND_TX_COMP                  7
541 #define RESMGR_CHMGR_DEFINITION_END                 8
542 
543 /* VDEV manager debug ids */
544 #define VDEV_MGR_DEFINITION_START                   0
545 #define VDEV_MGR_FIRST_BMISS_DETECTED               1
546 #define VDEV_MGR_FINAL_BMISS_DETECTED               2
547 #define VDEV_MGR_BCN_IN_SYNC                        3
548 #define VDEV_MGR_AP_KEEPALIVE_IDLE                  4
549 #define VDEV_MGR_AP_KEEPALIVE_INACTIVE              5
550 #define VDEV_MGR_AP_KEEPALIVE_UNRESPONSIVE          6
551 #define VDEV_MGR_AP_TBTT_CONFIG                     7
552 #define VDEV_MGR_FIRST_BCN_RECEIVED                 8
553 #define VDEV_MGR_VDEV_START                         9
554 #define VDEV_MGR_VDEV_UP                            10
555 #define VDEV_MGR_PEER_AUTHORIZED                    11
556 #define VDEV_MGR_OCS_HP_LP_REQ_POSTED               12
557 #define VDEV_MGR_VDEV_START_OCS_HP_REQ_COMPLETE     13
558 #define VDEV_MGR_VDEV_START_OCS_HP_REQ_STOP         14
559 #define VDEV_MGR_HP_START_TIME                      15
560 #define VDEV_MGR_VDEV_PAUSE_DELAY_UPDATE            16
561 #define VDEV_MGR_VDEV_PAUSE_FAIL                    17
562 #define VDEV_MGR_GEN_PERIODIC_NOA                   18
563 #define VDEV_MGR_OFF_CHAN_GO_CH_REQ_SETUP           19
564 #define VDEV_MGR_DEFINITION_END                     20
565 
566 /* WHAL debug identifier definitions */
567 #define WHAL_DBGID_DEFINITION_START                 0
568 #define WHAL_ERROR_ANI_CONTROL                      1
569 #define WHAL_ERROR_CHIP_TEST1                       2
570 #define WHAL_ERROR_CHIP_TEST2                       3
571 #define WHAL_ERROR_EEPROM_CHECKSUM                  4
572 #define WHAL_ERROR_EEPROM_MACADDR                   5
573 #define WHAL_ERROR_INTERRUPT_HIU                    6
574 #define WHAL_ERROR_KEYCACHE_RESET                   7
575 #define WHAL_ERROR_KEYCACHE_SET                     8
576 #define WHAL_ERROR_KEYCACHE_TYPE                    9
577 #define WHAL_ERROR_KEYCACHE_TKIPENTRY              10
578 #define WHAL_ERROR_KEYCACHE_WEPLENGTH              11
579 #define WHAL_ERROR_PHY_INVALID_CHANNEL             12
580 #define WHAL_ERROR_POWER_AWAKE                     13
581 #define WHAL_ERROR_POWER_SET                       14
582 #define WHAL_ERROR_RECV_STOPDMA                    15
583 #define WHAL_ERROR_RECV_STOPPCU                    16
584 #define WHAL_ERROR_RESET_CHANNF1                   17
585 #define WHAL_ERROR_RESET_CHANNF2                   18
586 #define WHAL_ERROR_RESET_PM                        19
587 #define WHAL_ERROR_RESET_OFFSETCAL                 20
588 #define WHAL_ERROR_RESET_RFGRANT                   21
589 #define WHAL_ERROR_RESET_RXFRAME                   22
590 #define WHAL_ERROR_RESET_STOPDMA                   23
591 #define WHAL_ERROR_RESET_ERRID                     24
592 #define WHAL_ERROR_RESET_ADCDCCAL1                 25
593 #define WHAL_ERROR_RESET_ADCDCCAL2                 26
594 #define WHAL_ERROR_RESET_TXIQCAL                   27
595 #define WHAL_ERROR_RESET_RXIQCAL                   28
596 #define WHAL_ERROR_RESET_CARRIERLEAK               29
597 #define WHAL_ERROR_XMIT_COMPUTE                    30
598 #define WHAL_ERROR_XMIT_NOQUEUE                    31
599 #define WHAL_ERROR_XMIT_ACTIVEQUEUE                32
600 #define WHAL_ERROR_XMIT_BADTYPE                    33
601 #define WHAL_ERROR_XMIT_STOPDMA                    34
602 #define WHAL_ERROR_INTERRUPT_BB_PANIC              35
603 #define WHAL_ERROR_PAPRD_MAXGAIN_ABOVE_WINDOW      36
604 #define WHAL_ERROR_QCU_HW_PAUSE_MISMATCH           37
605 #define WHAL_ERROR_POWER_RFLP_CONFIG               38
606 #define WHAL_ERROR_POWER_RFLP_SYNTHBYPASS_CONFIG   39
607 #define WHAL_ERROR_POWER_RFLP_BIAS2X_CONFIG        40
608 #define WHAL_ERROR_POWER_RFLP_PLLBYPASS_CONFIG     41
609 #define WHAL_ERROR_POWER_RFLP_OFF1CHAN_CONFIG      42
610 #define WHAL_ERROR_POWER_ANTENNA_LMIT              43
611 #define WHAL_ERROR_POWER_REGDMN_TX_LMIT            44
612 #define WHAL_ERROR_POWER_MODE_SCALED_PWR           45
613 #define WHAL_ERROR_POWER_EDGE_PWR_TPSCALE          46
614 #define WHAL_ERROR_POWER_CHAN_REGALLOW             47
615 #define WHAL_ERROR_WAIT_REG_TIMEOUT                48
616 #define WHAL_ERROR_XTAL_SET                        49
617 #define WHAL_DBGID_DEFINITION_END                  50
618 
619 #define COEX_DEBUGID_START                          0
620 #define BTCOEX_DBG_MCI_1                            1
621 #define BTCOEX_DBG_MCI_2                            2
622 #define BTCOEX_DBG_MCI_3                            3
623 #define BTCOEX_DBG_MCI_4                            4
624 #define BTCOEX_DBG_MCI_5                            5
625 #define BTCOEX_DBG_MCI_6                            6
626 #define BTCOEX_DBG_MCI_7                            7
627 #define BTCOEX_DBG_MCI_8                            8
628 #define BTCOEX_DBG_MCI_9                            9
629 #define BTCOEX_DBG_MCI_10                           10
630 #define COEX_WAL_BTCOEX_INIT                        11
631 #define COEX_WAL_PAUSE                              12
632 #define COEX_WAL_RESUME                             13
633 #define COEX_UPDATE_AFH                             14
634 #define COEX_HWQ_EMPTY_CB                           15
635 #define COEX_MCI_TIMER_HANDLER                      16
636 #define COEX_MCI_RECOVER                            17
637 #define ERROR_COEX_MCI_ISR                          18
638 #define ERROR_COEX_MCI_GPM                          19
639 #define COEX_ProfileType                            20
640 #define COEX_LinkID                                 21
641 #define COEX_LinkState                              22
642 #define COEX_LinkRole                               23
643 #define COEX_LinkRate                               24
644 #define COEX_VoiceType                              25
645 #define COEX_TInterval                              26
646 #define COEX_WRetrx                                 27
647 #define COEX_Attempts                               28
648 #define COEX_PerformanceState                       29
649 #define COEX_LinkType                               30
650 #define COEX_RX_MCI_GPM_VERSION_QUERY               31
651 #define COEX_RX_MCI_GPM_VERSION_RESPONSE            32
652 #define COEX_RX_MCI_GPM_STATUS_QUERY                33
653 #define COEX_STATE_WLAN_VDEV_DOWN                   34
654 #define COEX_STATE_WLAN_VDEV_START                  35
655 #define COEX_STATE_WLAN_VDEV_CONNECTED              36
656 #define COEX_STATE_WLAN_VDEV_SCAN_STARTED           37
657 #define COEX_STATE_WLAN_VDEV_SCAN_END               38
658 #define COEX_STATE_WLAN_DEFAULT                     39
659 #define COEX_CHANNEL_CHANGE                         40
660 #define COEX_POWER_CHANGE                           41
661 #define COEX_CONFIG_MGR                             42
662 #define COEX_TX_MCI_GPM_BT_CAL_REQ                  43
663 #define COEX_TX_MCI_GPM_BT_CAL_GRANT                44
664 #define COEX_TX_MCI_GPM_BT_CAL_DONE                 45
665 #define COEX_TX_MCI_GPM_WLAN_CAL_REQ                46
666 #define COEX_TX_MCI_GPM_WLAN_CAL_GRANT              47
667 #define COEX_TX_MCI_GPM_WLAN_CAL_DONE               48
668 #define COEX_TX_MCI_GPM_BT_DEBUG                    49
669 #define COEX_TX_MCI_GPM_VERSION_QUERY               50
670 #define COEX_TX_MCI_GPM_VERSION_RESPONSE            51
671 #define COEX_TX_MCI_GPM_STATUS_QUERY                52
672 #define COEX_TX_MCI_GPM_HALT_BT_GPM                 53
673 #define COEX_TX_MCI_GPM_WLAN_CHANNELS               54
674 #define COEX_TX_MCI_GPM_BT_PROFILE_INFO             55
675 #define COEX_TX_MCI_GPM_BT_STATUS_UPDATE            56
676 #define COEX_TX_MCI_GPM_BT_UPDATE_FLAGS             57
677 #define COEX_TX_MCI_GPM_UNKNOWN                     58
678 #define COEX_TX_MCI_SYS_WAKING                      59
679 #define COEX_TX_MCI_LNA_TAKE                        60
680 #define COEX_TX_MCI_LNA_TRANS                       61
681 #define COEX_TX_MCI_SYS_SLEEPING                    62
682 #define COEX_TX_MCI_REQ_WAKE                        63
683 #define COEX_TX_MCI_REMOTE_RESET                    64
684 #define COEX_TX_MCI_TYPE_UNKNOWN                    65
685 #define COEX_WHAL_MCI_RESET                         66
686 #define COEX_POLL_BT_CAL_DONE_TIMEOUT               67
687 #define COEX_WHAL_PAUSE                             68
688 #define COEX_RX_MCI_GPM_BT_CAL_REQ                  69
689 #define COEX_RX_MCI_GPM_BT_CAL_DONE                 70
690 #define COEX_RX_MCI_GPM_BT_CAL_GRANT                71
691 #define COEX_WLAN_CAL_START                         72
692 #define COEX_WLAN_CAL_RESULT                        73
693 #define COEX_BtMciState                             74
694 #define COEX_BtCalState                             75
695 #define COEX_WlanCalState                           76
696 #define COEX_RxReqWakeCount                         77
697 #define COEX_RxRemoteResetCount                     78
698 #define COEX_RESTART_CAL                            79
699 #define COEX_SENDMSG_QUEUE                          80
700 #define COEX_RESETSEQ_LNAINFO_TIMEOUT               81
701 #define COEX_MCI_ISR_IntRaw                         82
702 #define COEX_MCI_ISR_Int1Raw                        83
703 #define COEX_MCI_ISR_RxMsgRaw                       84
704 #define COEX_WHAL_COEX_RESET                        85
705 #define COEX_WAL_COEX_INIT                          86
706 #define COEX_TXRX_CNT_LIMIT_ISR                     87
707 #define COEX_CH_BUSY                                88
708 #define COEX_REASSESS_WLAN_STATE                    89
709 #define COEX_BTCOEX_WLAN_STATE_UPDATE               90
710 #define COEX_BT_NUM_OF_PROFILES                     91
711 #define COEX_BT_NUM_OF_HID_PROFILES                 92
712 #define COEX_BT_NUM_OF_ACL_PROFILES                 93
713 #define COEX_BT_NUM_OF_HI_ACL_PROFILES              94
714 #define COEX_BT_NUM_OF_VOICE_PROFILES               95
715 #define COEX_WLAN_AGGR_LIMIT                        96
716 #define COEX_BT_LOW_PRIO_BUDGET                     97
717 #define COEX_BT_HI_PRIO_BUDGET                      98
718 #define COEX_BT_IDLE_TIME                           99
719 #define COEX_SET_COEX_WEIGHT                        100
720 #define COEX_WLAN_WEIGHT_GROUP                      101
721 #define COEX_BT_WEIGHT_GROUP                        102
722 #define COEX_BT_INTERVAL_ALLOC                      103
723 #define COEX_BT_SCHEME                              104
724 #define COEX_BT_MGR                                 105
725 #define COEX_BT_SM_ERROR                            106
726 #define COEX_SYSTEM_UPDATE                          107
727 #define COEX_LOW_PRIO_LIMIT                         108
728 #define COEX_HI_PRIO_LIMIT                          109
729 #define COEX_BT_INTERVAL_START                      110
730 #define COEX_WLAN_INTERVAL_START                    111
731 #define COEX_NON_LINK_BUDGET                        112
732 #define COEX_CONTENTION_MSG                         113
733 #define COEX_SET_NSS                                114
734 #define COEX_SELF_GEN_MASK                          115
735 #define COEX_PROFILE_ERROR                          116
736 #define COEX_WLAN_INIT                              117
737 #define COEX_BEACON_MISS                            118
738 #define COEX_BEACON_OK                              119
739 #define COEX_BTCOEX_SCAN_ACTIVITY                   120
740 #define COEX_SCAN_ACTIVITY                          121
741 #define COEX_FORCE_QUIETTIME                        122
742 #define COEX_BT_MGR_QUIETTIME                       123
743 #define COEX_BT_INACTIVITY_TRIGGER                  124
744 #define COEX_BT_INACTIVITY_REPORTED                 125
745 #define COEX_TX_MCI_GPM_WLAN_PRIO                   126
746 #define COEX_TX_MCI_GPM_BT_PAUSE_PROFILE            127
747 #define COEX_TX_MCI_GPM_WLAN_SET_ACL_INACTIVITY     128
748 #define COEX_RX_MCI_GPM_BT_ACL_INACTIVITY_REPORT    129
749 #define COEX_GENERIC_ERROR                          130
750 #define COEX_RX_RATE_THRESHOLD                      131
751 #define COEX_RSSI                                   132
752 
753 #define COEX_WLAN_VDEV_NOTIF_START                  133
754 #define COEX_WLAN_VDEV_NOTIF_UP                     134
755 #define COEX_WLAN_VDEV_NOTIF_DOWN                   135
756 #define COEX_WLAN_VDEV_NOTIF_STOP                   136
757 #define COEX_WLAN_VDEV_NOTIF_ADD_PEER               137
758 #define COEX_WLAN_VDEV_NOTIF_DELETE_PEER            138
759 #define COEX_WLAN_VDEV_NOTIF_CONNECTED_PEER         139
760 #define COEX_WLAN_VDEV_NOTIF_PAUSE                  140
761 #define COEX_WLAN_VDEV_NOTIF_UNPAUSED               141
762 #define COEX_STATE_WLAN_VDEV_PEER_ADD               142
763 #define COEX_STATE_WLAN_VDEV_CONNECTED_PEER         143
764 #define COEX_STATE_WLAN_VDEV_DELETE_PEER            144
765 #define COEX_STATE_WLAN_VDEV_PAUSE                  145
766 #define COEX_STATE_WLAN_VDEV_UNPAUSED               146
767 #define COEX_SCAN_CALLBACK                          147
768 #define COEX_RC_SET_CHAINMASK                       148
769 #define COEX_TX_MCI_GPM_WLAN_SET_BT_RXSS_THRES      149
770 #define COEX_TX_MCI_GPM_BT_RXSS_THRES_QUERY         150
771 #define COEX_BT_RXSS_THRES                          151
772 #define COEX_BT_PROFILE_ADD_RMV                     152
773 #define COEX_BT_SCHED_INFO                          153
774 #define COEX_TRF_MGMT                               154
775 #define COEX_SCHED_START                            155
776 #define COEX_SCHED_RESULT                           156
777 #define COEX_SCHED_ERROR                            157
778 #define COEX_SCHED_PRE_OP                           158
779 #define COEX_SCHED_POST_OP                          159
780 #define COEX_RX_RATE                                160
781 #define COEX_ACK_PRIORITY                           161
782 #define COEX_STATE_WLAN_VDEV_UP                     162
783 #define COEX_STATE_WLAN_VDEV_PEER_UPDATE            163
784 #define COEX_STATE_WLAN_VDEV_STOP                   164
785 #define COEX_WLAN_PAUSE_PEER                        165
786 #define COEX_WLAN_UNPAUSE_PEER                      166
787 #define COEX_WLAN_PAUSE_INTERVAL_START              167
788 #define COEX_WLAN_POSTPAUSE_INTERVAL_START          168
789 #define COEX_TRF_FREERUN                            169
790 #define COEX_TRF_SHAPE_PM                           170
791 #define COEX_TRF_SHAPE_PSP                          171
792 #define COEX_TRF_SHAPE_S_CTS                        172
793 #define COEX_CHAIN_CONFIG                           173
794 #define COEX_SYSTEM_MONITOR                         174
795 #define COEX_SINGLECHAIN_INIT                       175
796 #define COEX_MULTICHAIN_INIT                        176
797 #define COEX_SINGLECHAIN_DBG_1                      177
798 #define COEX_SINGLECHAIN_DBG_2                      178
799 #define COEX_SINGLECHAIN_DBG_3                      179
800 #define COEX_MULTICHAIN_DBG_1                       180
801 #define COEX_MULTICHAIN_DBG_2                       181
802 #define COEX_MULTICHAIN_DBG_3                       182
803 #define COEX_PSP_TX_CB                              183
804 #define COEX_PSP_RX_CB                              184
805 #define COEX_PSP_STAT_1                             185
806 #define COEX_PSP_SPEC_POLL                          186
807 #define COEX_PSP_READY_STATE                        187
808 #define COEX_PSP_TX_STATUS_STATE                    188
809 #define COEX_PSP_RX_STATUS_STATE_1                  189
810 #define COEX_PSP_NOT_READY_STATE                    190
811 #define COEX_PSP_DISABLED_STATE                     191
812 #define COEX_PSP_ENABLED_STATE                      192
813 #define COEX_PSP_SEND_PSPOLL                        193
814 #define COEX_PSP_MGR_ENTER                          194
815 #define COEX_PSP_MGR_RESULT                         195
816 #define COEX_PSP_NONWLAN_INTERVAL                   196
817 #define COEX_PSP_STAT_2                             197
818 #define COEX_PSP_RX_STATUS_STATE_2                  198
819 #define COEX_PSP_ERROR                              199
820 #define COEX_T2BT                                   200
821 #define COEX_BT_DURATION                            201
822 #define COEX_TX_MCI_GPM_WLAN_SCHED_INFO_TRIG        202
823 #define COEX_TX_MCI_GPM_WLAN_SCHED_INFO_TRIG_RSP    203
824 #define COEX_TX_MCI_GPM_SCAN_OP                     204
825 #define COEX_TX_MCI_GPM_BT_PAUSE_GPM_TX             205
826 #define COEX_CTS2S_SEND                             206
827 #define COEX_CTS2S_RESULT                           207
828 #define COEX_ENTER_OCS                              208
829 #define COEX_EXIT_OCS                               209
830 #define COEX_UPDATE_OCS                             210
831 #define COEX_STATUS_OCS                             211
832 #define COEX_STATS_BT                               212
833 
834 #define COEX_MWS_WLAN_INIT                          213
835 #define COEX_MWS_WBTMR_SYNC                         214
836 #define COEX_MWS_TYPE2_RX                           215
837 #define COEX_MWS_TYPE2_TX                           216
838 #define COEX_MWS_WLAN_CHAVD                         217
839 #define COEX_MWS_WLAN_CHAVD_INSERT                  218
840 #define COEX_MWS_WLAN_CHAVD_MERGE                   219
841 #define COEX_MWS_WLAN_CHAVD_RPT                     220
842 #define COEX_MWS_CP_MSG_SEND                        221
843 #define COEX_MWS_CP_ESCAPE                          222
844 #define COEX_MWS_CP_UNFRAME                         223
845 #define COEX_MWS_CP_SYNC_UPDATE                     224
846 #define COEX_MWS_CP_SYNC                            225
847 #define COEX_MWS_CP_WLAN_STATE_IND                  226
848 #define COEX_MWS_CP_SYNCRESP_TIMEOUT                227
849 #define COEX_MWS_SCHEME_UPDATE                      228
850 #define COEX_MWS_WLAN_EVENT                         229
851 #define COEX_MWS_UART_UNESCAPE                      230
852 #define COEX_MWS_UART_ENCODE_SEND                   231
853 #define COEX_MWS_UART_RECV_DECODE                   232
854 #define COEX_MWS_UL_HDL                             233
855 #define COEX_MWS_REMOTE_EVENT                       234
856 #define COEX_MWS_OTHER                              235
857 #define COEX_MWS_ERROR                              236
858 #define COEX_MWS_ANT_DIVERSITY                      237
859 
860 #define COEX_P2P_GO                                 238
861 #define COEX_P2P_CLIENT                             239
862 #define COEX_SCC_1                                  240
863 #define COEX_SCC_2                                  241
864 #define COEX_MCC_1                                  242
865 #define COEX_MCC_2                                  243
866 #define COEX_TRF_SHAPE_NOA                          244
867 #define COEX_NOA_ONESHOT                            245
868 #define COEX_NOA_PERIODIC                           246
869 #define COEX_LE_1                                   247
870 #define COEX_LE_2                                   248
871 #define COEX_ANT_1                                  249
872 #define COEX_ANT_2                                  250
873 #define COEX_ENTER_NOA                              251
874 #define COEX_EXIT_NOA                               252
875 #define COEX_BT_SCAN_PROTECT                        253
876 
877 #define COEX_DEBUG_ID_END                           254
878 
879 #define SCAN_START_COMMAND_FAILED                   0
880 #define SCAN_STOP_COMMAND_FAILED                    1
881 #define SCAN_EVENT_SEND_FAILED                      2
882 #define SCAN_ENGINE_START                           3
883 #define SCAN_ENGINE_CANCEL_COMMAND                  4
884 #define SCAN_ENGINE_STOP_DUE_TO_TIMEOUT             5
885 #define SCAN_EVENT_SEND_TO_HOST                     6
886 #define SCAN_EVENT_ADD                              7
887 #define SCAN_EVENT_REM                              8
888 #define SCAN_EVENT_PREEMPTED                        9
889 #define SCAN_EVENT_RESTARTED                        10
890 #define SCAN_EVENT_COMPLETED                        11
891 #define SCAN_SM_REQ_NEXT_CH                         12
892 #define SCAN_ENG_START                              13
893 #define SCAN_ENG_CANCEL                             14
894 #define SCAN_ENG_SPOOFED_MAC_ADDR                   15
895 #define SCAN_ENG_PARAM_1                            16
896 #define SCAN_ENG_PARAM_2                            17
897 #define SCAN_ENG_MAX_SCAN_TIMEOUT                   18
898 #define SCAN_ENG_START_IN_PROGRESS                  19
899 #define SCAN_SM_START_COMMAND_FAILED                20
900 #define SCAN_SCH_START                              21
901 #define SCAN_SCH_START_INFO                         22
902 #define SCAN_SCH_START_NEW_REQ_FAILED               23
903 #define SCAN_SCH_START_ALLOC_FAIL                   24
904 #define SCAN_SCH_ENGINE_STOP_DUE_TO_TIMEOUT         25
905 #define SCAN_SCH_POLICY_EVENT                       26
906 #define SCAN_SCH_CANCEL                             27
907 #define SCAN_SCH_STOP_COMMAND_FAILED                28
908 #define SCAN_SCH_NEXT_SCAN_FAILED                   29
909 #define SCAN_WMI_SET_CHAN_LIST                      30
910 #define SCAN_EVENT_STARTED                          31
911 #define SCAN_EVENT_BSS_CHANNEL                      32
912 #define SCAN_EVENT_FOREIGN_CHANNEL                  33
913 #define SCAN_EVENT_DEQUEUED                         34
914 #define SCAN_EVENT_START_FAILED                     35
915 #define SCAN_EVENT_FOREIGN_CHANNEL_EXIT             36
916 #define SCAN_SM_DISPATCH                            37
917 #define SCAN_SM_TRANSITIONS                         38
918 #define SCAN_SM_REQ_NEXT_CHAN                       39
919 #define SCAN_SEND_PROBE_REQ_RET_VDEV                40
920 #define SCAN_SEND_PROBE_REQ_RET_PLM                 41
921 #define SCAN_SEND_PROBE_REQ_RET_PASSIVE             42
922 #define SCAN_SEND_PROBE_REQ_RET_RADAR               43
923 #define SCAN_SEND_PROBE_REQ_RET_DFS                 44
924 #define SCAN_SEND_PROBE_REQ_INFO                    45
925 #define SCAN_SM_CANCEL                              46
926 #define SCAN_SM_PROBE_REQ_FRAME_SEND_FAILED         47
927 #define SCAN_SCH_BANNED_MODULE                      48
928 #define SCAN_SM_STATS_INFO                          49
929 #define SCAN_DBGID_DEFINITION_END                   50
930 
931 #define BEACON_EVENT_SWBA_SEND_FAILED               0
932 #define BEACON_EVENT_EARLY_RX_BMISS_STATUS          1
933 #define BEACON_EVENT_EARLY_RX_SLEEP_SLOP            2
934 #define BEACON_EVENT_EARLY_RX_CONT_BMISS_TIMEOUT    3
935 #define BEACON_EVENT_EARLY_RX_PAUSE_SKIP_BCN_NUM    4
936 #define BEACON_EVENT_EARLY_RX_CLK_DRIFT             5
937 #define BEACON_EVENT_EARLY_RX_AP_DRIFT              6
938 #define BEACON_EVENT_EARLY_RX_BCN_TYPE              7
939 
940 #define RATECTRL_DBGID_DEFINITION_START             0
941 #define RATECTRL_DBGID_ASSOC                        1
942 #define RATECTRL_DBGID_NSS_CHANGE                   2
943 #define RATECTRL_DBGID_CHAINMASK_ERR                3
944 #define RATECTRL_DBGID_UNEXPECTED_FRAME             4
945 #define RATECTRL_DBGID_WAL_RCQUERY                  5
946 #define RATECTRL_DBGID_WAL_RCUPDATE                 6
947 #define RATECTRL_DBGID_GTX_UPDATE                   7
948 #define RATECTRL_DBGID_DEFINITION_END               8
949 
950 #define AP_PS_DBGID_DEFINITION_START                0
951 #define AP_PS_DBGID_UPDATE_TIM                      1
952 #define AP_PS_DBGID_PEER_STATE_CHANGE               2
953 #define AP_PS_DBGID_PSPOLL                          3
954 #define AP_PS_DBGID_PEER_CREATE                     4
955 #define AP_PS_DBGID_PEER_DELETE                     5
956 #define AP_PS_DBGID_VDEV_CREATE                     6
957 #define AP_PS_DBGID_VDEV_DELETE                     7
958 #define AP_PS_DBGID_SYNC_TIM                        8
959 #define AP_PS_DBGID_NEXT_RESPONSE                   9
960 #define AP_PS_DBGID_START_SP                        10
961 #define AP_PS_DBGID_COMPLETED_EOSP                  11
962 #define AP_PS_DBGID_TRIGGER                         12
963 #define AP_PS_DBGID_DUPLICATE_TRIGGER               13
964 #define AP_PS_DBGID_UAPSD_RESPONSE                  14
965 #define AP_PS_DBGID_SEND_COMPLETE                   15
966 #define AP_PS_DBGID_SEND_N_COMPLETE                 16
967 #define AP_PS_DBGID_DETECT_OUT_OF_SYNC_STA          17
968 #define AP_PS_DBGID_DELIVER_CAB                     18
969 #define AP_PS_DBGID_NO_CLIENT                       27
970 #define AP_PS_DBGID_CLIENT_IN_PS_ACTIVE             28
971 #define AP_PS_DBGID_CLIENT_IN_PS_NON_ACTIVE         29
972 #define AP_PS_DBGID_CLIENT_IN_AWAKE                 30
973 /* Enhanced Green AP DBGIDs */
974 #define AP_PS_DBGID_EGAP_SET_PARAM                  31
975 #define AP_PS_DBGID_EGAP_VDEV_START                 32
976 #define AP_PS_DBGID_EGAP_VDEV_STOP                  33
977 #define AP_PS_DBGID_EGAP_CONN_PEER                  34
978 #define AP_PS_DBGID_EGAP_DELETE_PEER                35
979 #define AP_PS_DBGID_EGAP_WAL_PEER_EVENT             36
980 #define AP_PS_DBGID_EGAP_WAL_PDEV_EVENT             37
981 #define AP_PS_DBGID_EGAP_NOTIF_STA_SLEEPING         38
982 #define AP_PS_DBGID_EGAP_PROC_STA_SLEEPING          39
983 #define AP_PS_DBGID_EGAP_PROC_STA_INACTIVITY        40
984 #define AP_PS_DBGID_EGAP_CHANGE_CHAINMASK           41
985 #define AP_PS_DBGID_EGAP_CHANGE_SM_STATE            42
986 
987 /* WLAN_MODULE_MGMT_TXRX Debugids*/
988 #define MGMT_TXRX_DBGID_DEFINITION_START            0
989 #define MGMT_TXRX_FORWARD_TO_HOST                   1
990 #define MGMT_TXRX_MGMT_FRAME_BUFFER_FULL            2
991 #define MGMT_TXRX_VDEV_USED_TO_SEND_FRAME_IS_FREE   3
992 #define MGMT_TXRX_LOCAL_FRAME_SEND_FAILED           4
993 #define MGMT_TXRX_DBGID_DEFINITION_END              5
994 
995 #define WAL_DBGID_DEFINITION_START                  0
996 #define WAL_DBGID_FAST_WAKE_REQUEST                 1
997 #define WAL_DBGID_FAST_WAKE_RELEASE                 2
998 #define WAL_DBGID_SET_POWER_STATE                   3
999 #define WAL_DBGID_CHANNEL_CHANGE_FORCE_RESET        5
1000 #define WAL_DBGID_CHANNEL_CHANGE                    6
1001 #define WAL_DBGID_VDEV_START                        7
1002 #define WAL_DBGID_VDEV_STOP                         8
1003 #define WAL_DBGID_VDEV_UP                           9
1004 #define WAL_DBGID_VDEV_DOWN                         10
1005 #define WAL_DBGID_SW_WDOG_RESET                     11
1006 #define WAL_DBGID_TX_SCH_REGISTER_TIDQ              12
1007 #define WAL_DBGID_TX_SCH_UNREGISTER_TIDQ            13
1008 #define WAL_DBGID_TX_SCH_TICKLE_TIDQ                14
1009 #define WAL_DBGID_XCESS_FAILURES                    15
1010 #define WAL_DBGID_AST_ADD_WDS_ENTRY                 16
1011 #define WAL_DBGID_AST_DEL_WDS_ENTRY                 17
1012 #define WAL_DBGID_AST_WDS_ENTRY_PEER_CHG            18
1013 #define WAL_DBGID_AST_WDS_SRC_LEARN_FAIL            19
1014 #define WAL_DBGID_STA_KICKOUT                       20
1015 #define WAL_DBGID_BAR_TX_FAIL                       21
1016 #define WAL_DBGID_BAR_ALLOC_FAIL                    22
1017 #define WAL_DBGID_LOCAL_DATA_TX_FAIL                23
1018 #define WAL_DBGID_SECURITY_PM4_QUEUED               24
1019 #define WAL_DBGID_SECURITY_GM1_QUEUED               25
1020 #define WAL_DBGID_SECURITY_PM4_SENT                 26
1021 #define WAL_DBGID_SECURITY_ALLOW_DATA               27
1022 #define WAL_DBGID_SECURITY_UCAST_KEY_SET            28
1023 #define WAL_DBGID_SECURITY_MCAST_KEY_SET            29
1024 #define WAL_DBGID_SECURITY_ENCR_EN                  30
1025 #define WAL_DBGID_BB_WDOG_TRIGGERED                 31
1026 #define WAL_DBGID_RX_LOCAL_BUFS_LWM                 32
1027 #define WAL_DBGID_RX_LOCAL_DROP_LARGE_MGMT          33
1028 #define WAL_DBGID_VHT_ILLEGAL_RATE_PHY_ERR_DETECTED 34
1029 #define WAL_DBGID_DEV_RESET                         35
1030 #define WAL_DBGID_TX_BA_SETUP                       36
1031 #define WAL_DBGID_RX_BA_SETUP                       37
1032 #define WAL_DBGID_DEV_TX_TIMEOUT                    38
1033 #define WAL_DBGID_DEV_RX_TIMEOUT                    39
1034 #define WAL_DBGID_STA_VDEV_XRETRY                   40
1035 #define WAL_DBGID_DCS                               41
1036 #define WAL_DBGID_MGMT_TX_FAIL                      42
1037 #define WAL_DBGID_SET_M4_SENT_MANUALLY              43
1038 #define WAL_DBGID_PROCESS_4_WAY_HANDSHAKE           44
1039 #define WAL_DBGID_WAL_CHANNEL_CHANGE_START          45
1040 #define WAL_DBGID_WAL_CHANNEL_CHANGE_COMPLETE       46
1041 #define WAL_DBGID_WHAL_CHANNEL_CHANGE_START         47
1042 #define WAL_DBGID_WHAL_CHANNEL_CHANGE_COMPLETE      48
1043 #define WAL_DBGID_TX_MGMT_DESCID_SEQ_TYPE_LEN       49
1044 #define WAL_DBGID_TX_DATA_MSDUID_SEQ_TYPE_LEN       50
1045 #define WAL_DBGID_TX_DISCARD                        51
1046 #define WAL_DBGID_TX_MGMT_COMP_DESCID_STATUS        52
1047 #define WAL_DBGID_TX_DATA_COMP_MSDUID_STATUS        53
1048 #define WAL_DBGID_RESET_PCU_CYCLE_CNT               54
1049 #define WAL_DBGID_SETUP_RSSI_INTERRUPTS             55
1050 #define WAL_DBGID_BRSSI_CONFIG                      56
1051 #define WAL_DBGID_CURRENT_BRSSI_AVE                 57
1052 #define WAL_DBGID_BCN_TX_COMP                       58
1053 #define WAL_DBGID_RX_REENTRY                        59
1054 #define WAL_DBGID_SET_HW_CHAINMASK                  60
1055 #define WAL_DBGID_SET_HW_CHAINMASK_TXRX_STOP_FAIL   61
1056 #define WAL_DBGID_GET_HW_CHAINMASK                  62
1057 #define WAL_DBGID_SMPS_DISABLE                      63
1058 #define WAL_DBGID_SMPS_ENABLE_HW_CNTRL              64
1059 #define WAL_DBGID_SMPS_SWSEL_CHAINMASK              65
1060 #define WAL_DBGID_SUSPEND                           66
1061 #define WAL_DBGID_RESUME                            67
1062 #define WAL_DBGID_PEER_TX_FAIL_CNT_THRES_EXCEEDED   68
1063 #define WAL_DBGID_RX_FULL_REORDER_SUPPORT           69
1064 #define WAL_DBGID_HCM_BIN                           70
1065 #define WAL_DBGID_HCM_BIN_PENALIZE                  71
1066 #define WAL_DBGID_HCM_BIN_DEPENALIZE                72
1067 #define WAL_DBGID_AST_UPDATE_WDS_ENTRY              73
1068 #define WAL_DBGID_PEER_EXT_STATS                    74
1069 #define WAL_DBGID_TX_AC_BUFFER_SET                  75
1070 #define WAL_DBGID_AST_ENTRY_EXIST                   76
1071 #define WAL_DBGID_AST_ENTRY_FULL                    77
1072 #define WAL_DBGID_WMMAC_TXQ_STATUS                  78
1073 #define WAL_DBGID_PROLONGED_TX_PPDU_TOTAL_US        79
1074 #define WAL_DBGID_UPDATE_USED_TIME                  80
1075 #define WAL_DBGID_PAST_WB_ACK_TIMESTAMP             81
1076 #define WAL_DBGID_WMMAC_ADD_DEL_TSPEC               82
1077 #define WAL_DBGID_WMMAC_TIMER_EXPIRY                83
1078 #define WAL_DBGID_WMMAC_PARAMS                      84
1079 #define WAL_DBGID_TX_MGMT_WAL_PEER_DOES_NOT_EXIST   85
1080 #define WAL_DBGID_TX_MGMT_WAL_PEER_DELETE_IN_PROGRESS 86
1081 #define WAL_DBGID_TX_MGMT_FRAME_DESC_ALLOC_FAILED   87
1082 #define WAL_DBGID_TX_MGMT_TID_STRUCT_NOT_FOUND      88
1083 #define WAL_DBGID_TX_MGMT_ENQUEUE_FAILED            89
1084 #define WAL_DBGID_TX_ARP                            90
1085 #define WAL_DBGID_TX_DHCP                           91
1086 #define WAL_DBGID_DEV_WMM_PARAM                     92
1087 #define WAL_DBGID_CE_SYNC_SEND                      93
1088 #define WAL_DBGID_CE_FAKE_HANG                      94
1089 #define WAL_DBGID_DEFINITION_END                    95
1090 
1091 #define ANI_DBGID_POLL                               0
1092 #define ANI_DBGID_CONTROL                            1
1093 #define ANI_DBGID_OFDM_PARAMS                        2
1094 #define ANI_DBGID_CCK_PARAMS                         3
1095 #define ANI_DBGID_RESET                              4
1096 #define ANI_DBGID_RESTART                            5
1097 #define ANI_DBGID_OFDM_LEVEL                         6
1098 #define ANI_DBGID_CCK_LEVEL                          7
1099 #define ANI_DBGID_FIRSTEP                            8
1100 #define ANI_DBGID_CYCPWR                             9
1101 #define ANI_DBGID_MRC_CCK                           10
1102 #define ANI_DBGID_SELF_CORR_LOW                     11
1103 #define ANI_DBGID_ENABLE                            12
1104 #define ANI_DBGID_CURRENT_LEVEL                     13
1105 #define ANI_DBGID_POLL_PERIOD                       14
1106 #define ANI_DBGID_LISTEN_PERIOD                     15
1107 #define ANI_DBGID_OFDM_LEVEL_CFG                    16
1108 #define ANI_DBGID_CCK_LEVEL_CFG                     17
1109 
1110 /* OFFLOAD Manager Debugids*/
1111 #define OFFLOAD_MGR_DBGID_DEFINITION_START             0
1112 #define OFFLOADMGR_REGISTER_OFFLOAD                    1
1113 #define OFFLOADMGR_DEREGISTER_OFFLOAD                  2
1114 #define OFFLOADMGR_NO_REG_DATA_HANDLERS                3
1115 #define OFFLOADMGR_NO_REG_EVENT_HANDLERS               4
1116 #define OFFLOADMGR_REG_OFFLOAD_FAILED                  5
1117 #define OFFLOADMGR_DEREG_OFFLOAD_FAILED                6
1118 #define OFFLOADMGR_ENTER_FAILED                        7
1119 #define OFFLOADMGR_EXIT_FAILED                         8
1120 #define OFFLOADMGR_GTK_FAILED                          9
1121 #define OFFLOADMGR_GTK_REKEY_FAILED                   10
1122 #define OFFLOADMGR_DBGID_DEFINITION_END               11
1123 
1124 /*Resource Debug IDs*/
1125 #define RESOURCE_DBGID_DEFINITION_START             0
1126 #define RESOURCE_PEER_ALLOC                         1
1127 #define RESOURCE_PEER_FREE                          2
1128 #define RESOURCE_PEER_ALLOC_WAL_PEER                3
1129 #define RESOURCE_PEER_NBRHOOD_MGMT_ALLOC            4
1130 #define RESOURCE_PEER_NBRHOOD_MGMT_INFO             5
1131 #define RESOURCE_SMALL_MGMT_BUF_FULL                6
1132 #define RESOURCE_MGMT_AVAIL_BUF_CNT_NOT_ENOUGH      7
1133 #define RESOURCE_MGMT_BUF_FULL                      8
1134 #define RESOURCE_MGMT_BUF_INC                       9
1135 #define RESOURCE_MGMT_BUF_DEC                       10
1136 #define RESOURCE_DBGID_DEFINITION_END               11
1137 
1138 /* DCS debug IDs*/
1139 #define WLAN_DCS_DBGID_INIT                         0
1140 #define WLAN_DCS_DBGID_WMI_CWINT                    1
1141 #define WLAN_DCS_DBGID_TIMER                        2
1142 #define WLAN_DCS_DBGID_CMDG                         3
1143 #define WLAN_DCS_DBGID_CMDS                         4
1144 #define WLAN_DCS_DBGID_DINIT                        5
1145 
1146 /*P2P Module ids*/
1147 #define P2P_DBGID_DEFINITION_START                          0
1148 #define P2P_DEV_REGISTER                                    1
1149 #define P2P_HANDLE_NOA                                      2
1150 #define P2P_UPDATE_SCHEDULE_OPPS                            3
1151 #define P2P_UPDATE_SCHEDULE                                 4
1152 #define P2P_UPDATE_START_TIME                               5
1153 #define P2P_UPDATE_START_TIME_DIFF_TSF32                    6
1154 #define P2P_UPDATE_START_TIME_FINAL                         7
1155 #define P2P_SETUP_SCHEDULE_TIMER                            8
1156 #define P2P_PROCESS_SCHEDULE_AFTER_CALC                     9
1157 #define P2P_PROCESS_SCHEDULE_STARTED_TIMER                  10
1158 #define P2P_CALC_SCHEDULES_FIRST_CALL_ALL_NEXT_EVENT        11
1159 #define P2P_CALC_SCHEDULES_FIRST_VALUE                      12
1160 #define P2P_CALC_SCHEDULES_EARLIEST_NEXT_EVENT              13
1161 #define P2P_CALC_SCHEDULES_SANITY_COUNT                     14
1162 #define P2P_CALC_SCHEDULES_CALL_ALL_NEXT_EVENT_FROM_WHILE_LOOP 15
1163 #define P2P_CALC_SCHEDULES_TIMEOUT_1                        16
1164 #define P2P_CALC_SCHEDULES_TIMEOUT_2                        17
1165 #define P2P_FIND_ALL_NEXT_EVENTS_REQ_EXPIRED                18
1166 #define P2P_FIND_ALL_NEXT_EVENTS_REQ_ACTIVE                 19
1167 #define P2P_FIND_NEXT_EVENT_REQ_NOT_STARTED                 20
1168 #define P2P_FIND_NEXT_EVENT_REQ_COMPLETE_NON_PERIODIC       21
1169 #define P2P_FIND_NEXT_EVENT_IN_MID_OF_NOA                   22
1170 #define P2P_FIND_NEXT_EVENT_REQ_COMPLETE                    23
1171 #define P2P_SCHEDULE_TIMEOUT                                24
1172 #define P2P_CALC_SCHEDULES_ENTER                            25
1173 #define P2P_PROCESS_SCHEDULE_ENTER                          26
1174 #define P2P_FIND_ALL_NEXT_EVENTS_INDIVIDUAL_REQ_AFTER_CHANGE    27
1175 #define P2P_FIND_ALL_NEXT_EVENTS_INDIVIDUAL_REQ_BEFORE_CHANGE   28
1176 #define P2P_FIND_ALL_NEXT_EVENTS_ENTER                      29
1177 #define P2P_FIND_NEXT_EVENT_ENTER                           30
1178 #define P2P_NOA_GO_PRESENT                                  31
1179 #define P2P_NOA_GO_ABSENT                                   32
1180 #define P2P_GO_NOA_NOTIF                                    33
1181 #define P2P_GO_TBTT_OFFSET                                  34
1182 #define P2P_GO_GET_NOA_INFO                                 35
1183 #define P2P_GO_ADD_ONE_SHOT_NOA                             36
1184 #define P2P_GO_GET_NOA_IE                                   37
1185 #define P2P_GO_BCN_TX_COMP                                  38
1186 #define P2P_DBGID_DEFINITION_END                            39
1187 
1188 
1189 //CSA modules DBGIDs
1190 #define CSA_DBGID_DEFINITION_START 0
1191 #define CSA_OFFLOAD_POOL_INIT 1
1192 #define CSA_OFFLOAD_REGISTER_VDEV 2
1193 #define CSA_OFFLOAD_DEREGISTER_VDEV 3
1194 #define CSA_DEREGISTER_VDEV_ERROR 4
1195 #define CSA_OFFLOAD_BEACON_RECEIVED 5
1196 #define CSA_OFFLOAD_BEACON_CSA_RECV 6
1197 #define CSA_OFFLOAD_CSA_RECV_ERROR_IE 7
1198 #define CSA_OFFLOAD_CSA_TIMER_ERROR 8
1199 #define CSA_OFFLOAD_CSA_TIMER_EXP 9
1200 #define CSA_OFFLOAD_WMI_EVENT_ERROR 10
1201 #define CSA_OFFLOAD_WMI_EVENT_SENT 11
1202 #define CSA_OFFLOAD_WMI_CHANSWITCH_RECV 12
1203 #define CSA_DBGID_DEFINITION_END 13
1204 
1205 /* Chatter module DBGIDs */
1206 #define WLAN_CHATTER_DBGID_DEFINITION_START 0
1207 #define WLAN_CHATTER_ENTER 1
1208 #define WLAN_CHATTER_EXIT 2
1209 #define WLAN_CHATTER_FILTER_HIT 3
1210 #define WLAN_CHATTER_FILTER_MISS 4
1211 #define WLAN_CHATTER_FILTER_FULL 5
1212 #define WLAN_CHATTER_FILTER_TM_ADJ  6
1213 #define WLAN_CHATTER_BUFFER_FULL    7
1214 #define WLAN_CHATTER_TIMEOUT        8
1215 #define WLAN_CHATTER_MC_FILTER_ADD  9
1216 #define WLAN_CHATTER_MC_FILTER_DEL  10
1217 #define WLAN_CHATTER_MC_FILTER_ALLOW  11
1218 #define WLAN_CHATTER_MC_FILTER_DROP  12
1219 #define WLAN_CHATTER_COALESCING_FILTER_ADD      13
1220 #define WLAN_CHATTER_COALESCING_FILTER_DEL      14
1221 #define WLAN_CHATTER_DBGID_DEFINITION_END       15
1222 
1223 #define WOW_DBGID_DEFINITION_START 0
1224 #define WOW_ENABLE_CMDID 1
1225 #define WOW_RECV_DATA_PKT 2
1226 #define WOW_WAKE_HOST_DATA 3
1227 #define WOW_RECV_MGMT 4
1228 #define WOW_WAKE_HOST_MGMT 5
1229 #define WOW_RECV_EVENT 6
1230 #define WOW_WAKE_HOST_EVENT 7
1231 #define WOW_INIT 8
1232 #define WOW_RECV_MAGIC_PKT 9
1233 #define WOW_RECV_BITMAP_PATTERN 10
1234 #define WOW_AP_VDEV_DISALLOW    11
1235 #define WOW_STA_VDEV_DISALLOW   12
1236 #define WOW_P2PGO_VDEV_DISALLOW 13
1237 #define WOW_NS_OFLD_ENABLE       14
1238 #define WOW_ARP_OFLD_ENABLE      15
1239 #define WOW_NS_ARP_OFLD_DISABLE  16
1240 #define WOW_NS_RECEIVED          17
1241 #define WOW_NS_REPLIED           18
1242 #define WOW_ARP_RECEIVED         19
1243 #define WOW_ARP_REPLIED          20
1244 #define WOW_BEACON_OFFLOAD_TX    21
1245 #define WOW_BEACON_OFFLOAD_CFG   22
1246 #define WOW_IBSS_VDEV_ALLOW      23
1247 #define WOW_DBGID_DEFINITION_END 24
1248 
1249 
1250 /* SWBMISS module DBGIDs */
1251 #define SWBMISS_DBGID_DEFINITION_START  0
1252 #define SWBMISS_ENABLED                 1
1253 #define SWBMISS_DISABLED                2
1254 #define SWBMISS_UPDATE_BEACON_RSSI      3
1255 #define SWBMISS_CHECK_RSSI_OUTLIER      4
1256 #define SWBMISS_TIMER_SET               5
1257 #define SWBMISS_DBGID_DEFINITION_END    6
1258 
1259 /* WLAN module DBGIDS */
1260 #define ROAM_DBGID_DEFINITION_START 0
1261 #define ROAM_MODULE_INIT           1
1262 #define ROAM_DEV_START             2
1263 #define ROAM_CONFIG_RSSI_THRESH    3
1264 #define ROAM_CONFIG_SCAN_PERIOD    4
1265 #define ROAM_CONFIG_AP_PROFILE     5
1266 #define ROAM_CONFIG_CHAN_LIST      6
1267 #define ROAM_CONFIG_SCAN_PARAMS    7
1268 #define ROAM_CONFIG_RSSI_CHANGE    8
1269 #define ROAM_SCAN_TIMER_START      9
1270 #define ROAM_SCAN_TIMER_EXPIRE    10
1271 #define ROAM_SCAN_TIMER_STOP      11
1272 #define ROAM_SCAN_STARTED         12
1273 #define ROAM_SCAN_COMPLETE        13
1274 #define ROAM_SCAN_CANCELLED       14
1275 #define ROAM_CANDIDATE_FOUND      15
1276 #define ROAM_RSSI_ACTIVE_SCAN     16
1277 #define ROAM_RSSI_ACTIVE_ROAM     17
1278 #define ROAM_RSSI_GOOD            18
1279 #define ROAM_BMISS_FIRST_RECV     19
1280 #define ROAM_DEV_STOP             20
1281 #define ROAM_FW_OFFLOAD_ENABLE    21
1282 #define ROAM_CANDIDATE_SSID_MATCH 22
1283 #define ROAM_CANDIDATE_SECURITY_MATCH 23
1284 #define ROAM_LOW_RSSI_INTERRUPT   24
1285 #define ROAM_HIGH_RSSI_INTERRUPT  25
1286 #define ROAM_SCAN_REQUESTED       26
1287 #define ROAM_BETTER_CANDIDATE_FOUND 27
1288 #define ROAM_BETTER_AP_EVENT 28
1289 #define ROAM_CANCEL_LOW_PRIO_SCAN 29
1290 #define ROAM_FINAL_BMISS_RECVD    30
1291 #define ROAM_CONFIG_SCAN_MODE     31
1292 #define ROAM_BMISS_FINAL_SCAN_ENABLE 32
1293 #define ROAM_SUITABLE_AP_EVENT    33
1294 #define ROAM_RSN_IE_PARSE_ERROR   34
1295 #define ROAM_WPA_IE_PARSE_ERROR   35
1296 #define ROAM_SCAN_CMD_FROM_HOST   36
1297 #define ROAM_HO_SORT_CANDIDATE    37
1298 #define ROAM_HO_SAVE_CANDIDATE    38
1299 #define ROAM_HO_GET_CANDIDATE     39
1300 #define ROAM_HO_OFFLOAD_SET_PARAM 40
1301 #define ROAM_HO_SM                41
1302 #define ROAM_HO_HTT_SAVED         42
1303 #define ROAM_HO_SYNC_START        43
1304 #define ROAM_HO_START             44
1305 #define ROAM_HO_SYNC_COMPLETE     45
1306 #define ROAM_HO_STOP              46
1307 #define ROAM_HO_HTT_FORWARD       47
1308 #define ROAM_CONFIG_SCAN_PARAMS_1 48
1309 #define ROAM_SCAN_COMPLETE_1      49
1310 #define ROAM_SWBMISS_BCN_RECV_VAL 50
1311 #define ROAM_SWBMISS_BCN_RECV_THRE2 51
1312 #define ROAM_SCAN_REQUESTED_1     52
1313 #define ROAM_HO_SORT_CANDIDATE_CUR  53
1314 #define ROAM_HO_SAVE_CANDIDATE_DUP  54
1315 #define ROAM_HO_SM_EVENT          55
1316 #define ROAM_HO_ENTER_CH          56
1317 #define ROAM_HO_MGMT_RX           57
1318 #define ROAM_HO_CANDIDATE_INFO    58
1319 #define ROAM_HO_OFFLD_DATA_STORE  59
1320 #define ROAM_HO_HTT_DATA_STORE    60
1321 #define ROAM_HO_UPDATE_STATUS     61
1322 #define ROAM_HO_OCS_CH_CB         62
1323 #define ROAM_RSSI_INTERRUPT_STATE 63
1324 #define ROAM_INVOKE_PARAM_CHECK   64
1325 #define ROAM_INVOKE_PARAM_CHAN    65
1326 #define ROAM_INVOKE_PARAM_BSSID   66
1327 #define ROAM_INVOKE_STATE_CHECK   67
1328 #define ROAM_INVOKE_START_SUCCESS 68
1329 #define ROAM_INVOKE_START_FAILURE 69
1330 #define ROAM_INVOKE_BSSID_CHECK   70
1331 #define ROAM_CANDIDATE_INFO       71
1332 #define ROAM_CANDIDATE_FILTER_MATCH 72
1333 #define ROAM_CANDIDATE_RSSI_ADJUST  73
1334 #define ROAM_CONFIG_ROAM_FILTER     74
1335 #define ROAM_EXTENDED_RSSI_TRESHOLD_1 75
1336 #define ROAM_EXTENDED_RSSI_TRESHOLD_2 76
1337 #define ROAM_BLACKLIST_BSSID        77
1338 #define ROAM_WHITELIST_SSID         78
1339 #define ROAM_WHITELIST_SSID_2       79
1340 #define ROAM_PREFERRED_BSSID        80
1341 #define ROAM_PREFERRED_FACTOR       81
1342 #define ROAM_SCAN_HIRSSI_THRESHOLD      82
1343 #define ROAM_SCAN_HIRSSI_CHECK          83
1344 #define ROAM_SCAN_HIRSSI_TIMER_EXPIRED  84
1345 #define ROAM_SCAN_EXTSCAN_CHECK         85
1346 #define ROAM_STA_KICKOUT_RECV           86
1347 #define ROAM_DBGID_DEFINITION_END       87
1348 
1349 /* DATA_TXRX module DBGIDs*/
1350 #define DATA_TXRX_DBGID_DEFINITION_START         0
1351 #define DATA_TXRX_DBGID_RX_DATA_SEQ_LEN_INFO     1
1352 #define DATA_TXRX_DBGID_REPLAY_CHECK             2
1353 #define DATA_TXRX_DBGID_DUP_CHECK                3
1354 #define DATA_TXRX_INVALID_PEER_AST_STA           4
1355 #define DATA_TXRX_INVALID_PEER_AST_P2P           5
1356 #define DATA_TXRX_INVALID_ADDR1_STA              6
1357 #define DATA_TXRX_INVALID_ADDR1_P2P              7
1358 #define DATA_TXRX_MULTICAST_BROADCAST_FRAME      8
1359 #define DATA_TXRX_INVALID_FRAME_CTRL_OR_ADDR     9
1360 #define DATA_TXRX_DBGID_DEFINITION_END          10
1361 
1362 /* HTT module DBGIDs */
1363 #define HTT_DBGID_DEFINITION_START               0
1364 #define HTT_DBGID_INVALID_VDEVID_OR_GROUP        1
1365 #define HTT_DBGID_DISCARD_INTERNAL_PKTS          2
1366 #define HTT_DBGID_DISCARD_TX_PKTS                3
1367 #define HTT_DBGID_GROUP_CHANGE                   4
1368 #define HTT_DBGID_GROUP_CREDIT_STATS             5
1369 #define HTT_DBGID_DISCARD_INTERNAL_PKTS_NUM      6
1370 #define HTT_DBGID_DEFINITION_END                 7
1371 
1372 /* TDLS module DBGIDs*/
1373 #define TDLS_DBGID_DEFINITION_START             0
1374 #define TDLS_DBGID_VDEV_CREATE                  1
1375 #define TDLS_DBGID_VDEV_DELETE                  2
1376 #define TDLS_DBGID_ENABLED_PASSIVE              3
1377 #define TDLS_DBGID_ENABLED_ACTIVE               4
1378 #define TDLS_DBGID_DISABLED                     5
1379 #define TDLS_DBGID_CONNTRACK_TIMER              6
1380 #define TDLS_DBGID_WAL_SET                      7
1381 #define TDLS_DBGID_WAL_GET                      8
1382 #define TDLS_DBGID_WAL_PEER_UPDATE_SET          9
1383 #define TDLS_DBGID_WAL_PEER_UPDATE_EVT         10
1384 #define TDLS_DBGID_WAL_VDEV_CREATE             11
1385 #define TDLS_DBGID_WAL_VDEV_DELETE             12
1386 #define TDLS_DBGID_WLAN_EVENT                  13
1387 #define TDLS_DBGID_WLAN_PEER_UPDATE_SET        14
1388 #define TDLS_DBGID_PEER_EVT_DRP_THRESH         15
1389 #define TDLS_DBGID_PEER_EVT_DRP_RATE           16
1390 #define TDLS_DBGID_PEER_EVT_DRP_RSSI           17
1391 #define TDLS_DBGID_PEER_EVT_DISCOVER           18
1392 #define TDLS_DBGID_PEER_EVT_DELETE             19
1393 #define TDLS_DBGID_PEER_CAP_UPDATE             20
1394 #define TDLS_DBGID_UAPSD_SEND_PTI_FRAME        21
1395 #define TDLS_DBGID_UAPSD_SEND_PTI_FRAME2PEER   22
1396 #define TDLS_DBGID_UAPSD_START_PTR_TIMER       23
1397 #define TDLS_DBGID_UAPSD_CANCEL_PTR_TIMER      24
1398 #define TDLS_DBGID_UAPSD_PTR_TIMER_TIMEOUT     25
1399 #define TDLS_DBGID_UAPSD_STA_PS_EVENT_HANDLER  26
1400 #define TDLS_DBGID_UAPSD_PEER_EVENT_HANDLER    27
1401 #define TDLS_DBGID_UAPSD_PS_DEFAULT_SETTINGS   28
1402 #define TDLS_DBGID_UAPSD_GENERIC               29
1403 
1404 /* TXBF Module IDs */
1405 #define TXBFEE_DBGID_START                      0
1406 #define TXBFEE_DBGID_NDPA_RECEIVED              1
1407 #define TXBFEE_DBGID_HOST_CONFIG_TXBFEE_TYPE    2
1408 #define TXBFER_DBGID_SEND_NDPA                  3
1409 #define TXBFER_DBGID_GET_NDPA_BUF_FAIL          4
1410 #define TXBFER_DBGID_SEND_NDPA_FAIL             5
1411 #define TXBFER_DBGID_GET_NDP_BUF_FAIL           6
1412 #define TXBFER_DBGID_SEND_NDP_FAIL              7
1413 #define TXBFER_DBGID_GET_BRPOLL_BUF_FAIL        8
1414 #define TXBFER_DBGID_SEND_BRPOLL_FAIL           9
1415 #define TXBFER_DBGID_HOST_CONFIG_CMDID         10
1416 #define TXBFEE_DBGID_HOST_CONFIG_CMDID         11
1417 #define TXBFEE_DBGID_ENABLE_UPLOAD_H           12
1418 #define TXBFEE_DBGID_UPLOADH_CV_TAG            13
1419 #define TXBFEE_DBGID_UPLOADH_H_TAG             14
1420 #define TXBFEE_DBGID_CAPTUREH_RECEIVED         15
1421 #define TXBFEE_DBGID_PACKET_IS_STEERED         16
1422 #define TXBFEE_UPLOADH_EVENT_ALLOC_MEM_FAIL    17
1423 #define TXBFEE_DBGID_SW_WAR_AID_ZERO           18
1424 #define TXBFEE_DBGID_BRPOLL_RECEIVED           19
1425 #define TXBFEE_DBGID_GID_RECEIVED              20
1426 #define TXBFEE_DBGID_END                       21
1427 
1428 /* SMPS module DBGIDs */
1429 #define STA_SMPS_DBGID_DEFINITION_START                 0
1430 #define STA_SMPS_DBGID_CREATE_PDEV_INSTANCE             1
1431 #define STA_SMPS_DBGID_CREATE_VIRTUAL_CHAN_INSTANCE     2
1432 #define STA_SMPS_DBGID_DELETE_VIRTUAL_CHAN_INSTANCE     3
1433 #define STA_SMPS_DBGID_CREATE_STA_INSTANCE              4
1434 #define STA_SMPS_DBGID_DELETE_STA_INSTANCE              5
1435 #define STA_SMPS_DBGID_VIRTUAL_CHAN_SMPS_START          6
1436 #define STA_SMPS_DBGID_VIRTUAL_CHAN_SMPS_STOP           7
1437 #define STA_SMPS_DBGID_SEND_SMPS_ACTION_FRAME           8
1438 #define STA_SMPS_DBGID_HOST_FORCED_MODE                 9
1439 #define STA_SMPS_DBGID_FW_FORCED_MODE                   10
1440 #define STA_SMPS_DBGID_RSSI_THRESHOLD_CROSSED           11
1441 #define STA_SMPS_DBGID_SMPS_ACTION_FRAME_COMPLETION     12
1442 #define STA_SMPS_DBGID_DTIM_EBT_EVENT_CHMASK_UPDATE     13
1443 #define STA_SMPS_DBGID_DTIM_CHMASK_UPDATE               14
1444 #define STA_SMPS_DBGID_DTIM_BEACON_EVENT_CHMASK_UPDATE  15
1445 #define STA_SMPS_DBGID_DTIM_POWER_STATE_CHANGE          16
1446 #define STA_SMPS_DBGID_DTIM_CHMASK_UPDATE_SLEEP         17
1447 #define STA_SMPS_DBGID_DTIM_CHMASK_UPDATE_AWAKE         18
1448 
1449 #define STA_SMPS_DBGID_DEFINITION_END                   18
1450 
1451 /* RTT module DBGIDs*/
1452 #define RTT_CALL_FLOW                 0
1453 #define RTT_REQ_SUB_TYPE              1
1454 #define RTT_MEAS_REQ_HEAD             2
1455 #define RTT_MEAS_REQ_BODY             3
1456 #define RTT_INIT_GLOBAL_STATE         6
1457 #define RTT_REPORT                    8
1458 #define RTT_ERROR_REPORT              10
1459 #define RTT_TIMER_STOP                11
1460 #define RTT_SEND_TM_FRAME             12
1461 #define RTT_V3_RESP_CNT               13
1462 #define RTT_V3_RESP_FINISH            14
1463 #define RTT_CHANNEL_SWITCH_REQ        15
1464 #define RTT_CHANNEL_SWITCH_GRANT      16
1465 #define RTT_CHANNEL_SWITCH_COMPLETE   17
1466 #define RTT_CHANNEL_SWITCH_PREEMPT    18
1467 #define RTT_CHANNEL_SWITCH_STOP       19
1468 #define RTT_TIMER_START               20
1469 #define RTT_FTM_PARAM_INFO            21
1470 #define RTT_RX_TM_FRAME               22
1471 #define RTT_INITR_TSTAMP              23
1472 #define RTT_RSPDR_TSTAMP              24
1473 #define RTT_TX_COMP_STATUS            25
1474 #define RTT_ERROR_WMI_EVENT           26
1475 #define RTT_MEASUREMENT_VALUES        27
1476 
1477 /* WLAN HB module DBGIDs */
1478 #define WLAN_HB_DBGID_DEFINITION_START                  0
1479 #define WLAN_HB_DBGID_INIT                              1
1480 #define WLAN_HB_DBGID_TCP_GET_TXBUF_FAIL                2
1481 #define WLAN_HB_DBGID_TCP_SEND_FAIL                     3
1482 #define WLAN_HB_DBGID_BSS_PEER_NULL                     4
1483 #define WLAN_HB_DBGID_UDP_GET_TXBUF_FAIL                5
1484 #define WLAN_HB_DBGID_UDP_SEND_FAIL                     6
1485 #define WLAN_HB_DBGID_WMI_CMD_INVALID_PARAM             7
1486 #define WLAN_HB_DBGID_WMI_CMD_INVALID_OP                8
1487 #define WLAN_HB_DBGID_WOW_NOT_ENTERED                   9
1488 #define WLAN_HB_DBGID_ALLOC_SESS_FAIL                   10
1489 #define WLAN_HB_DBGID_CTX_NULL                          11
1490 #define WLAN_HB_DBGID_CHKSUM_ERR                        12
1491 #define WLAN_HB_DBGID_UDP_TX                            13
1492 #define WLAN_HB_DBGID_TCP_TX                            14
1493 /* WLAN DHCP Renew DBGIDs */
1494 #define WLAN_HB_DBGID_DHCP_RENEW_ALLOC_SESS_FAIL        15
1495 #define WLAN_HB_DBGID_DHCP_RENEW_CTX_NULL               16
1496 #define WLAN_HB_DBGID_DHCP_RENEW_CHKSUM_ERR             17
1497 #define WLAN_HB_DBGID_DHCP_RENEW_BSS_PEER_NULL          18
1498 #define WLAN_HB_DBGID_DHCP_RENEW_TCP_GET_TXBUF_FAIL     19
1499 #define WLAN_HB_DBGID_DHCP_RENEW_UDP_SEND_FAIL          20
1500 /* WLAN OIC Ping DBGIDs */
1501 #define WLAN_HB_DBGID_OIC_PING_INIT                     21
1502 #define WLAN_HB_DBGID_OIC_PING_HOST_WAKEUP              22
1503 #define WLAN_HB_DBGID_OIC_PING_INVALID_PARAM            23
1504 #define WLAN_HB_DBGID_OIC_PING_WMI_CMD_PARAM            24
1505 #define WLAN_HB_DBGID_OIC_PING_ALLOC_SESS_FAIL          25
1506 #define WLAN_HB_DBGID_OIC_PING_WOW_NOT_ENTERED          26
1507 #define WLAN_HB_DBGID_OIC_PING_TCP_TIMEOUT              27
1508 #define WLAN_HB_DBGID_OIC_PING_TLS_ERROR                28
1509 #define WLAN_HB_DBGID_OIC_PING_ENABLE                   29
1510 
1511 #define WLAN_HB_DBGID_DEFINITION_END                    30
1512 
1513 /* Thermal Manager DBGIDs*/
1514 #define THERMAL_MGR_DBGID_DEFINITION_START   0
1515 #define THERMAL_MGR_NEW_THRESH               1
1516 #define THERMAL_MGR_THRESH_CROSSED           2
1517 #define THERMAL_MGR_DBGID_DEFINITION_END     3
1518 
1519 /* WLAN PHYERR DFS(parse/filter) DBGIDs */
1520 #define WLAN_PHYERR_DFS_DBGID_DEFINITION_START    0
1521 #define WLAN_PHYERR_DFS_PHYERR_INFO_CHAN_BUFLEN   1
1522 #define WLAN_PHYERR_DFS_PHYERR_INFO_PPDU          2
1523 #define WLAN_PHYERR_DFS_DBDID_RADAR_SUMMARY       3
1524 #define WLAN_PHYERR_DFS_DBDID_SEARCH_FFT          4
1525 #define WLAN_PHTERR_DFS_DBDID_FILTER_STATUS       5
1526 #define WLAN_PHYERR_DFS_DBGID_DEFINITION_END      6
1527 
1528 /* RMC DBGIDs*/
1529 #define RMC_DBGID_DEFINITION_START             0
1530 #define RMC_CREATE_INSTANCE                    1
1531 #define RMC_DELETE_INSTANCE                    2
1532 #define RMC_LDR_SEL                            3
1533 #define RMC_NO_LDR                             4
1534 #define RMC_LDR_NOT_SEL                        5
1535 #define RMC_LDR_INF_SENT                       6
1536 #define RMC_PEER_ADD                           7
1537 #define RMC_PEER_DELETE                        8
1538 #define RMC_PEER_UNKNOWN                       9
1539 #define RMC_SET_MODE                           10
1540 #define RMC_SET_ACTION_PERIOD                  11
1541 #define RMC_ACTION_FRAME_RX                    12
1542 #define RMC_WAL_EVENT_HANDLER                  13
1543 #define RMC_BLACKLIST_PEER                     14
1544 #define RMC_WHITELIST_PEER                     15
1545 #define RMC_PEER_BCN_INFO                      16
1546 #define RMC_DBGID_DEFINITION_END               17
1547 
1548 /* UNIT_TEST module DBGIDs */
1549 #define UNIT_TEST_GEN                 0
1550 
1551 /* MLME module DBGIDs */
1552 #define MLME_DEBUG_CMN                0
1553 #define MLME_DEBUG_IF                 1
1554 #define MLME_DEBUG_AUTH               2
1555 #define MLME_DEBUG_REASSOC            3
1556 #define MLME_DEBUG_DEAUTH             4
1557 #define MLME_DEBUG_DISASSOC           5
1558 #define MLME_DEBUG_ROAM               6
1559 #define MLME_DEBUG_RETRY              7
1560 #define MLME_DEBUG_TIMER              8
1561 #define MLME_DEBUG_FRAMEPARSE         9
1562 
1563 /* SUPPL module DBGIDs */
1564 #define SUPPL_DBGID_INIT                        0
1565 #define SUPPL_DBGID_RECV_EAPOL                  1
1566 #define SUPPL_DBGID_RECV_EAPOL_TIMEOUT          2
1567 #define SUPPL_DBGID_SEND_EAPOL                  3
1568 #define SUPPL_DBGID_MIC_MISMATCH                4
1569 #define SUPPL_DBGID_FINISH                      5
1570 #define SUPPL_DBGID_GET_FRM_INFO                6
1571 #define SUPPL_DBGID_DUMP_TYPE                   7
1572 #define SUPPL_DBGID_DUMP_HEX                    8
1573 #define SUPPL_DBGID_NODE_NOT_FOUND              9
1574 #define SUPPL_DBGID_GET_EAPOL_BUF               10
1575 #define SUPPL_DBGID_GET_BUF_FAIL                11
1576 #define SUPPL_DBGID_RECV_EAPOL_ERROR            12
1577 
1578 /* Stats Module DBGIDs */
1579 #define WLAN_STATS_DBGID_DEFINITION_START                0
1580 #define WLAN_STATS_DBGID_EST_LINKSPEED_VDEV_EN_DIS       1
1581 #define WLAN_STATS_DBGID_EST_LINKSPEED_CHAN_TIME_START   2
1582 #define WLAN_STATS_DBGID_EST_LINKSPEED_CHAN_TIME_END     3
1583 #define WLAN_STATS_DBGID_EST_LINKSPEED_CALC              4
1584 #define WLAN_STATS_DBGID_EST_LINKSPEED_UPDATE_HOME_CHAN  5
1585 #define WLAN_STATS_DBGID_RSSI                            6
1586 #define WLAN_STATS_DBGID_CNE_RSSI                        7
1587 #define WLAN_STATS_DBGID_DEFINITION_END                  8
1588 
1589 /* NAN DBGIDs */
1590 #define NAN_DBGID_START                             0
1591 
1592 /* Debug IDs for debug logs. 3 args max, not fixed. */
1593 #define NAN_DBGID_DBG_LOG_FIRST                     1
1594 #define NAN_DBGID_FUNC_BEGIN                        NAN_DBGID_DBG_LOG_FIRST
1595 #define NAN_DBGID_FUNC_END                          2
1596 #define NAN_DBGID_MAIN_DEBUG                        3
1597 #define NAN_DBGID_MAC_DEBUG                         4
1598 #define NAN_DBGID_BLOOM_FILTER_DEBUG                5
1599 #define NAN_DBGID_MAC_ADDR                          6
1600 #define NAN_DBGID_PARAM_UPDATED                     7
1601 #define NAN_DBGID_NULL_PTR                          8
1602 #define NAN_DBGID_INVALID_FUNC_ARG                  9
1603 #define NAN_DBGID_INVALID_MSG_PARAM                 10
1604 #define NAN_DBGID_MISSING_MSG_PARAM                 11
1605 #define NAN_DBGID_DEPRECATED_MSG_PARAM              12
1606 #define NAN_DBGID_UNSUPPORTED_MSG_PARAM             13
1607 #define NAN_DBGID_INVALID_PKT_DATA                  14
1608 #define NAN_DBGID_LOG_PKT_DATA                      15
1609 #define NAN_DBGID_INVALID_VALUE                     16
1610 #define NAN_DBGID_INVALID_OPERATION                 17
1611 #define NAN_DBGID_INVALID_STATE                     18
1612 #define NAN_DBGID_FUNCTION_ENABLED                  19
1613 #define NAN_DBGID_FUNCTION_DISABLED                 20
1614 #define NAN_DBGID_INVALID_FUNCTION_STATE            21
1615 #define NAN_DBGID_READ_ERROR                        22
1616 #define NAN_DBGID_WRITE_ERROR                       23
1617 #define NAN_DBGID_RECEIVE_ERROR                     24
1618 #define NAN_DBGID_TRANSMIT_ERROR                    25
1619 #define NAN_DBGID_PARSE_ERROR                       26
1620 #define NAN_DBGID_RES_ALLOC_ERROR                   27
1621 /* PLEASE KEEP THIS ONE AT THE END */
1622 #define NAN_DBGID_DBG_LOG_LAST                      28
1623 
1624 /* Debug IDs for event logs. */
1625 
1626 #define NAN_DBGID_EVT_BASE                          NAN_DBGID_DBG_LOG_LAST
1627 /* args: <none> */
1628 #define NAN_DBGID_NAN_ENABLED                       (NAN_DBGID_EVT_BASE + 0)
1629 /* args: <none> */
1630 #define NAN_DBGID_NAN_DISABLED                      (NAN_DBGID_EVT_BASE + 1)
1631 /* args: <none> */
1632 #define NAN_DBGID_CONFIG_RESTORED                   (NAN_DBGID_EVT_BASE + 2)
1633 /* args: framesQueued */
1634 #define NAN_DBGID_SDF_QUEUED                        (NAN_DBGID_EVT_BASE + 3)
1635 /* args: old, new */
1636 #define NAN_DBGID_TW_CHANGED                        (NAN_DBGID_EVT_BASE + 4)
1637 /* args: <none> */
1638 #define NAN_DBGID_DW_START                          (NAN_DBGID_EVT_BASE + 5)
1639 /* args: busyDiff */
1640 #define NAN_DBGID_DW_END                            (NAN_DBGID_EVT_BASE + 6)
1641 /* args: oldClusterId, newClusterId */
1642 #define NAN_DBGID_CLUSTER_ID_CHANGED                (NAN_DBGID_EVT_BASE + 7)
1643 /* args: cmd, buffer, length */
1644 #define NAN_DBGID_WMI_CMD_RECEIVED                  (NAN_DBGID_EVT_BASE + 8)
1645 /* args: pEventPkt, pEventBuf, eventSize, dataSize */
1646 #define NAN_DBGID_WMI_EVT_SENT                      (NAN_DBGID_EVT_BASE + 9)
1647 /* args: type length, readLen */
1648 #define NAN_DBGID_TLV_READ                          (NAN_DBGID_EVT_BASE + 10)
1649 /* args: type length, writeLen */
1650 #define NAN_DBGID_TLV_WRITE                         (NAN_DBGID_EVT_BASE + 11)
1651 /* args: handle */
1652 #define NAN_DBGID_PUBSUB_UPDATED                    (NAN_DBGID_EVT_BASE + 12)
1653 /* args: handle */
1654 #define NAN_DBGID_PUBSUB_REMOVE_DEFERED             (NAN_DBGID_EVT_BASE + 13)
1655 /* args: handle */
1656 #define NAN_DBGID_PUBSUB_REMOVE_PENDING             (NAN_DBGID_EVT_BASE + 14)
1657 /* args: handle */
1658 #define NAN_DBGID_PUBSUB_REMOVED                    (NAN_DBGID_EVT_BASE + 15)
1659 /* args: handle */
1660 #define NAN_DBGID_PUBSUB_PROCESSED                  (NAN_DBGID_EVT_BASE + 16)
1661 /* args: handle, sid1, sid2, svcCtrl, length */
1662 #define NAN_DBGID_PUBSUB_MATCHED                    (NAN_DBGID_EVT_BASE + 17)
1663 /* args: handle, flags */
1664 #define NAN_DBGID_PUBSUB_PREPARED                   (NAN_DBGID_EVT_BASE + 18)
1665 /* args: handle, mac1, mac2 */
1666 #define NAN_DBGID_PUBSUB_FOLLOWUP_TRANSMIT          (NAN_DBGID_EVT_BASE + 19)
1667 /* args: handle, mac1, mac2 */
1668 #define NAN_DBGID_PUBSUB_FOLLOWUP_RECEIVED          (NAN_DBGID_EVT_BASE + 20)
1669 /* args: subscribeHandle, matchHandle, oldTimeout, newTimeout */
1670 #define NAN_DBGID_SUBSCRIBE_UNMATCH_TIMEOUT_UPDATE  (NAN_DBGID_EVT_BASE + 21)
1671 /* args: subscribeHandle, matchHandle, timestamp*/
1672 #define NAN_DBGID_SUBSCRIBE_MATCH_NEW               (NAN_DBGID_EVT_BASE + 22)
1673 /* args: subscribeHandle, matchHandle, timestamp*/
1674 #define NAN_DBGID_SUBSCRIBE_MATCH_REPEAT            (NAN_DBGID_EVT_BASE + 23)
1675 /* args: subscribeHandle, matchHandle, matchTimestamp, timestamp*/
1676 #define NAN_DBGID_SUBSCRIBE_MATCH_EXPIRED           (NAN_DBGID_EVT_BASE + 24)
1677 /* args: subscribeHandle, matchHandle, matchTimestamp, timestamp */
1678 #define NAN_DBGID_SUBSCRIBE_MATCH_LOG               (NAN_DBGID_EVT_BASE + 25)
1679 /* args: sid1, sid2 */
1680 #define NAN_DBGID_SERVICE_ID_CREATED                (NAN_DBGID_EVT_BASE + 26)
1681 /* args: size */
1682 #define NAN_DBGID_SD_ATTR_BUILT                     (NAN_DBGID_EVT_BASE + 27)
1683 /* args: offset */
1684 #define NAN_DBGID_SERVICE_RSP_OFFSET                (NAN_DBGID_EVT_BASE + 28)
1685 /* args: offset */
1686 #define NAN_DBGID_SERVICE_INFO_OFFSET               (NAN_DBGID_EVT_BASE + 29)
1687 /* args: chan, interval, start_time */
1688 #define NAN_DBGID_CHREQ_CREATE                      (NAN_DBGID_EVT_BASE + 30)
1689 /* args: start_time, status */
1690 #define NAN_DBGID_CHREQ_UPDATE                      (NAN_DBGID_EVT_BASE + 31)
1691 /* args: chan, interval, status */
1692 #define NAN_DBGID_CHREQ_REMOVE                      (NAN_DBGID_EVT_BASE + 32)
1693 /* args: type, timestamp */
1694 #define NAN_DBGID_CHREQ_GRANT                       (NAN_DBGID_EVT_BASE + 33)
1695 /* args: type, timestamp */
1696 #define NAN_DBGID_CHREQ_END                         (NAN_DBGID_EVT_BASE + 34)
1697 /* args: type, timestamp */
1698 #define NAN_DBGID_CHREQ_ERROR                       (NAN_DBGID_EVT_BASE + 35)
1699 /* args: type, length, timestamp, rssi */
1700 #define NAN_DBGID_RX_CALLBACK                       (NAN_DBGID_EVT_BASE + 36)
1701 /* args: type, handle, bufp, status, timestamp  */
1702 #define NAN_DBGID_TX_COMPLETE                       (NAN_DBGID_EVT_BASE + 37)
1703 /* args: tsf, tsf */
1704 #define NAN_DBGID_TSF_TIMEOUT                       (NAN_DBGID_EVT_BASE + 38)
1705 /* args: clusterId, clusterStart */
1706 #define NAN_DBGID_SYNC_START                        (NAN_DBGID_EVT_BASE + 39)
1707 /* args: clusterId */
1708 #define NAN_DBGID_SYNC_STOP                         (NAN_DBGID_EVT_BASE + 40)
1709 /* args: enable, scanType, rval */
1710 #define NAN_DBGID_NAN_SCAN                          (NAN_DBGID_EVT_BASE + 41)
1711 /* args: scanType */
1712 #define NAN_DBGID_NAN_SCAN_COMPLETE                 (NAN_DBGID_EVT_BASE + 42)
1713 /* args: masterPref */
1714 #define NAN_DBGID_MPREF_CHANGE                      (NAN_DBGID_EVT_BASE + 43)
1715 /* args: masterPref, randFactor */
1716 #define NAN_DBGID_WARMUP_EXPIRE                     (NAN_DBGID_EVT_BASE + 44)
1717 /* args: randFactor */
1718 #define NAN_DBGID_RANDOM_FACTOR_EXPIRE              (NAN_DBGID_EVT_BASE + 45)
1719 /* args: tsf, tsf */
1720 #define NAN_DBGID_DW_SKIP                           (NAN_DBGID_EVT_BASE + 46)
1721 /* args: type, tsfDiff */
1722 #define NAN_DBGID_DB_SKIP                           (NAN_DBGID_EVT_BASE + 47)
1723 /* args: TBD */
1724 #define NAN_DBGID_BEACON_RX                         (NAN_DBGID_EVT_BASE + 48)
1725 /* args: TBD */
1726 #define NAN_DBGID_BEACON_TX                         (NAN_DBGID_EVT_BASE + 49)
1727 /* args: clusterId */
1728 #define NAN_DBGID_CLUSTER_MERGE                     (NAN_DBGID_EVT_BASE + 50)
1729 /* args: cmd, status, value */
1730 #define NAN_DBGID_TEST_CMD_EXEC                     (NAN_DBGID_EVT_BASE + 51)
1731 /* args: tsfHi, tsfLo, age */
1732 #define NAN_DBGID_APPLY_BEACON_TSF                  (NAN_DBGID_EVT_BASE + 52)
1733 /* args: behindFlag, diff */
1734 #define NAN_DBGID_TSF_UPDATE                        (NAN_DBGID_EVT_BASE + 53)
1735 /* args: argc==4 (rawTsfHi, rawTsfLo, nanTsfHi, nanTsfLo), argc==2(offsetHi, offsetLo) */
1736 #define NAN_DBGID_SET_TSF                           (NAN_DBGID_EVT_BASE + 54)
1737 /* args: rankHi, rankLo, mp, rf */
1738 #define NAN_DBGID_NEW_MASTERRANK                    (NAN_DBGID_EVT_BASE + 55)
1739 /* args: amRankHi, amRankLo, mp, rf */
1740 #define NAN_DBGID_NEW_ANCHORMASTER                  (NAN_DBGID_EVT_BASE + 56)
1741 /* args: amRankHi, amRankLo, HC, BTT */
1742 #define NAN_DBGID_ANCHORMASTER_RECORD_UPDATE        (NAN_DBGID_EVT_BASE + 57)
1743 /* args: amRankHi, amRankLo, HC, BTT */
1744 #define NAN_DBGID_ANCHORMASTER_RECORD_EXPIRED       (NAN_DBGID_EVT_BASE + 58)
1745 /* args: reason, transitionsToAM */
1746 #define NAN_DBGID_BECOMING_ANCHORMASTER             (NAN_DBGID_EVT_BASE + 59)
1747 /* args: oldRole, newRole */
1748 #define NAN_DBGID_ROLE_CHANGE                       (NAN_DBGID_EVT_BASE + 60)
1749 /* args: TBD */
1750 #define NAN_DBGID_SYNC_BEACON_DW_STATS              (NAN_DBGID_EVT_BASE + 61)
1751 /* args: attrId */
1752 #define NAN_DBGID_RX_UNSUPPORTED_SDF_ATTR_ID        (NAN_DBGID_EVT_BASE + 62)
1753 /* args: handle, sid1, sid2, svcCtrl, length */
1754 #define NAN_DBGID_PUBSUB_MATCHED_SKIPPED_SSI        (NAN_DBGID_EVT_BASE + 63)
1755 /* args: offset */
1756 #define NAN_DBGID_MATCH_FILTER_OFFSET               (NAN_DBGID_EVT_BASE + 64)
1757 /* args: twSize, n, twIndex */
1758 #define NAN_DBGID_TW_PARAMS                         (NAN_DBGID_EVT_BASE + 65)
1759 /* args: */
1760 #define NAN_DBGID_BEACON_SENDER                     (NAN_DBGID_EVT_BASE + 66)
1761 /* args: currTsf, nextDwTsf */
1762 #define NAN_DBGID_TSF_DUMP                          (NAN_DBGID_EVT_BASE + 67)
1763 /* args: chan, startSlot, numSlots, repeat */
1764 #define NAN_DBGID_FAW_CONFIG                        (NAN_DBGID_EVT_BASE + 68)
1765 /* args: */
1766 #define NAN_DBGID_FAW_START                         (NAN_DBGID_EVT_BASE + 69)
1767 /* args: */
1768 #define NAN_DBGID_FAW_END                           (NAN_DBGID_EVT_BASE + 70)
1769 /* args: offset, oldval, newval */
1770 #define NAN_DBGID_CONFIG_PARAM_CHANGED              (NAN_DBGID_EVT_BASE + 71)
1771 /* args: <none> */
1772 #define NAN_DBGID_CONN_CAP_ATTR_CLEARED             (NAN_DBGID_EVT_BASE + 72)
1773 /* args: connType */
1774 #define NAN_DBGID_POST_DISC_ATTR_CLEARED            (NAN_DBGID_EVT_BASE + 73)
1775 /* args: <none> */
1776 #define NAN_DBGID_VENDOR_SPECIFIC_ATTR_CLEARED      (NAN_DBGID_EVT_BASE + 74)
1777 /* args: offset */
1778 #define NAN_DBGID_WLAN_INFRA_MAP_CTRL_OFFSET        (NAN_DBGID_EVT_BASE + 75)
1779 /* args: offset */
1780 #define NAN_DBGID_WLAN_INFRA_AI_BITMAP_OFFSET       (NAN_DBGID_EVT_BASE + 76)
1781 /* args: offset */
1782 #define NAN_DBGID_WLAN_INFRA_DEVICE_ROLE_OFFSET     (NAN_DBGID_EVT_BASE + 77)
1783 /* args: offset */
1784 #define NAN_DBGID_MESH_ID_OFFSET                    (NAN_DBGID_EVT_BASE + 78)
1785 /* args: */
1786 #define NAN_DBGID_SPARE_79                          (NAN_DBGID_EVT_BASE + 79)
1787 /* args: */
1788 #define NAN_DBGID_SPARE_80                          (NAN_DBGID_EVT_BASE + 80)
1789 /* args: */
1790 #define NAN_DBGID_SPARE_81                          (NAN_DBGID_EVT_BASE + 81)
1791 /* args: */
1792 #define NAN_DBGID_SPARE_82                          (NAN_DBGID_EVT_BASE + 82)
1793 /* args: */
1794 #define NAN_DBGID_SPARE_83                          (NAN_DBGID_EVT_BASE + 83)
1795 /* PLEASE KEEP THIS ONE AT THE END */
1796 #define NAN_DBGID_EVT_LOG_LAST                      (NAN_DBGID_EVT_BASE + 84)
1797 
1798 /* Debug IDs for message logs. */
1799 #define NAN_DBGID_API_MSG_BASE                      NAN_DBGID_EVT_LOG_LAST
1800 #define NAN_DBGID_API_MSG_HEADER                    (NAN_DBGID_API_MSG_BASE + 0)
1801 #define NAN_DBGID_API_MSG_DATA                      (NAN_DBGID_API_MSG_BASE + 1)
1802 #define NAN_DBGID_API_MSG_LAST                      (NAN_DBGID_API_MSG_BASE + 2)
1803 
1804 /* Debug IDs for packet logs. */
1805 #define NAN_DBGID_OTA_PKT_BASE                      NAN_DBGID_API_MSG_LAST
1806 #define NAN_DBGID_OTA_PKT_HEADER                    (NAN_DBGID_OTA_PKT_BASE + 0)
1807 #define NAN_DBGID_OTA_PKT_DATA                      (NAN_DBGID_OTA_PKT_BASE + 1)
1808 #define NAN_DBGID_OTA_PKT_LAST                      (NAN_DBGID_OTA_PKT_BASE + 2) /*  not really the last! */
1809 
1810 #define NAN_DBGID_BEACON_RX_TIMES               (NAN_DBGID_OTA_PKT_LAST + 0)
1811 #define NAN_DBGID_BEACON_RX_MANDATORY_ATTRS     (NAN_DBGID_OTA_PKT_LAST + 1)
1812 #define NAN_DBGID_BEACON_RX_SID_ATTR            (NAN_DBGID_OTA_PKT_LAST + 2)
1813 #define NAN_DBGID_BEACON_RX_VSA_ATTR            (NAN_DBGID_OTA_PKT_LAST + 3)
1814 #define NAN_DBGID_BEACON_RX_AVG_RSSI            (NAN_DBGID_OTA_PKT_LAST + 4)
1815 #define NAN_DBGID_CANDIDATE_BEACONS             (NAN_DBGID_OTA_PKT_LAST + 5)
1816 #define NAN_DBGID_TSF_OFFSET                    (NAN_DBGID_OTA_PKT_LAST + 6)
1817 #define NAN_DBGID_ANCHORMASTER_RECORD_UPDATE_LAST       (NAN_DBGID_OTA_PKT_LAST + 7)
1818 #define NAN_DBGID_ANCHORMASTER_RECORD_EXPIRED2  (NAN_DBGID_OTA_PKT_LAST + 8)
1819 #define NAN_DBGID_BEACON_TX_SEND                (NAN_DBGID_OTA_PKT_LAST + 9)
1820 #define NAN_DBGID_BEACON_TX_CANCEL              (NAN_DBGID_OTA_PKT_LAST + 10)
1821 #define NAN_DBGID_NAN_SCAN_EVENT                (NAN_DBGID_OTA_PKT_LAST + 11)
1822 #define NAN_DBGID_NAN_SDF_QUEUED                (NAN_DBGID_OTA_PKT_LAST + 12)
1823 #define NAN_DBGID_NAN_BEACON_QUEUED             (NAN_DBGID_OTA_PKT_LAST + 13)
1824 #define NAN_DBGID_NAN_NOT_ALLOWED               (NAN_DBGID_OTA_PKT_LAST + 14)
1825 #define NAN_DBGID_NAN_TX_FOLLOWUP_REQ_TR_ID     (NAN_DBGID_OTA_PKT_LAST + 15)
1826 #define NAN_DBGID_NAN_TX_FOLLOWUP_RESP_TR_ID    (NAN_DBGID_OTA_PKT_LAST + 16)
1827 #define NAN_DBGID_PUBSUB_TERM_IND_DISABLE_FLAG  (NAN_DBGID_OTA_PKT_LAST + 17)
1828 #define NAN_DBGID_UNMATCH_IND_DISABLE_FLAG      (NAN_DBGID_OTA_PKT_LAST + 18)
1829 #define NAN_DBGID_FOLLOWUP_RX_IND_DISABLE_FLAG  (NAN_DBGID_OTA_PKT_LAST + 19)
1830 #define NAN_DBGID_BEACON_RX_LAST                (NAN_DBGID_OTA_PKT_LAST + 20)
1831 
1832 /* NaN Datapath Timekeeper debug IDs */
1833 #define NAN_DBGID_TMKR_BASE                        NAN_DBGID_BEACON_RX_LAST   /* 116 + 20 = 136 */
1834 #define NAN_DBGID_TMKR_INIT                        (NAN_DBGID_TMKR_BASE + 0)  /* 136 */
1835 #define NAN_DBGID_TMKR_OPEN                        (NAN_DBGID_TMKR_BASE + 1)  /* 137 */
1836 #define NAN_DBGID_TMKR_CLOSE                       (NAN_DBGID_TMKR_BASE + 2)  /* 138 */
1837 #define NAN_DBGID_TMKR_NEGOTIATE                   (NAN_DBGID_TMKR_BASE + 3)  /* 139 */
1838 #define NAN_DBGID_TMKR_TMR_HNDLR                   (NAN_DBGID_TMKR_BASE + 4)  /* 140 */
1839 #define NAN_DBGID_TMKR_UNITTEST                    (NAN_DBGID_TMKR_BASE + 5)  /* 141 */
1840 #define NAN_DBGID_TMKR_LF_TMR_HNDLR                (NAN_DBGID_TMKR_BASE + 6)  /* 142 */
1841 #define NAN_DBGID_TMKR_DEINIT                      (NAN_DBGID_TMKR_BASE + 7)  /* 143 */
1842 #define NAN_DBGID_TMKR_SLOTBITMAP                  (NAN_DBGID_TMKR_BASE + 8)  /* 144 */
1843 #define NAN_DBGID_TMKR_CANCEL_SLOTBITMAP           (NAN_DBGID_TMKR_BASE + 9)  /* 145 */
1844 #define NAN_DBGID_TMKR_CONFIRM_SLOTBITMAP          (NAN_DBGID_TMKR_BASE + 10) /* 146 */
1845 #define NAN_DBGID_TMKR_RESOLVE_SLOTBITMAP          (NAN_DBGID_TMKR_BASE + 11) /* 147 */
1846 #define NAN_DBGID_TMKR_ADD_CHAN_ELEMENT            (NAN_DBGID_TMKR_BASE + 12) /* 148 */
1847 #define NAN_DBGID_TMKR_REMOVE_CHAN_ELEMENT         (NAN_DBGID_TMKR_BASE + 13) /* 149 */
1848 #define NAN_DBGID_TMKR_FIND_CHAN_ELEMENT           (NAN_DBGID_TMKR_BASE + 14) /* 150 */
1849 #define NAN_DBGID_TMKR_QUERY_COMMITTED_SLOTBITMAP  (NAN_DBGID_TMKR_BASE + 15) /* 151 */
1850 #define NAN_DBGID_TMKR_ENCODE_SLOTBITMAP           (NAN_DBGID_TMKR_BASE + 16) /* 152 */
1851 #define NAN_DBGID_TMKR_SLOT_ARRAY_DBG              (NAN_DBGID_TMKR_BASE + 17) /* 153 */
1852 #define NAN_DBGID_TMKR_POPULATE_MASTER             (NAN_DBGID_TMKR_BASE + 18) /* 154 */
1853 #define NAN_DBGID_TMKR_ALLOCATE_SLOTS              (NAN_DBGID_TMKR_BASE + 19) /* 155 */
1854 #define NAN_DBGID_TMKR_RELEASE_SLOTS               (NAN_DBGID_TMKR_BASE + 20) /* 156 */
1855 #define NAN_DBGID_TMKR_ENABLE                      (NAN_DBGID_TMKR_BASE + 21) /* 157 */
1856 #define NAN_DBGID_TMKR_DISABLE                     (NAN_DBGID_TMKR_BASE + 22) /* 158 */
1857 #define NAN_DBGID_TMKR_GET_NEXT_SLOTWINDOW         (NAN_DBGID_TMKR_BASE + 23) /* 159 */
1858 #define NAN_DBGID_TMKR_RESUME_TIMEKEEPING          (NAN_DBGID_TMKR_BASE + 24) /* 160 */
1859 #define NAN_DBGID_TMKR_RESYNC_TO_DISCOVERY_WINDOW  (NAN_DBGID_TMKR_BASE + 25) /* 161 */
1860 #define NAN_DBGID_TMKR_SUSPEND_TIMEKEEPING         (NAN_DBGID_TMKR_BASE + 26) /* 162 */
1861 #define NAN_DBGID_TMKR_SYNC_TO_DISCOVERY_WINDOW    (NAN_DBGID_TMKR_BASE + 27) /* 163 */
1862 #define NAN_DBGID_TMKR_GET_NEXT_TSFTIME            (NAN_DBGID_TMKR_BASE + 28) /* 164 */
1863 #define NAN_DBGID_TMKR_SETUP_NEXT_INTERVAL         (NAN_DBGID_TMKR_BASE + 29) /* 165 */
1864 #define NAN_DBGID_TMKR_SCHEDULE_EVENT              (NAN_DBGID_TMKR_BASE + 30) /* 166 */
1865 #define NAN_DBGID_TMKR_ENABLE_TIMEKEEPING_EVENT    (NAN_DBGID_TMKR_BASE + 31) /* 167 */
1866 #define NAN_DBGID_TMKR_DISABLE_TIMEKEEPING_EVENT   (NAN_DBGID_TMKR_BASE + 32) /* 168 */
1867 #define NAN_DBGID_TMKR_SYNC_WITH_DW_EVENT          (NAN_DBGID_TMKR_BASE + 33) /* 169 */
1868 #define NAN_DBGID_TMKR_INTERVAL_EXPIRED_EVENT      (NAN_DBGID_TMKR_BASE + 34) /* 170 */
1869 #define NAN_DBGID_TMKR_PAUSE_TIMEKEEPING_EVENT     (NAN_DBGID_TMKR_BASE + 35) /* 171 */
1870 #define NAN_DBGID_TMKR_RESUME_TIMEKEEPING_EVENT    (NAN_DBGID_TMKR_BASE + 36) /* 172 */
1871 #define NAN_DBGID_TMKR_RESYNC_TO_DW_EVENT          (NAN_DBGID_TMKR_BASE + 37) /* 173 */
1872 #define NAN_DBGID_TMKR_LAST                        (NAN_DBGID_TMKR_BASE + 38) /* 174 */
1873 
1874 #define NAN_DBGID_END                              (NAN_DBGID_TMKR_LAST)
1875 
1876 /* IBSS PS module DBGIDs*/
1877 #define IBSS_PS_DBGID_DEFINITION_START           0
1878 #define IBSS_PS_DBGID_PEER_CREATE                1
1879 #define IBSS_PS_DBGID_PEER_DELETE                2
1880 #define IBSS_PS_DBGID_VDEV_CREATE                3
1881 #define IBSS_PS_DBGID_VDEV_DELETE                4
1882 #define IBSS_PS_DBGID_VDEV_EVENT                 5
1883 #define IBSS_PS_DBGID_PEER_EVENT                 6
1884 #define IBSS_PS_DBGID_DELIVER_CAB                7
1885 #define IBSS_PS_DBGID_DELIVER_UC_DATA            8
1886 #define IBSS_PS_DBGID_DELIVER_UC_DATA_ERROR      9
1887 #define IBSS_PS_DBGID_UC_INACTIVITY_TMR_RESTART 10
1888 #define IBSS_PS_DBGID_MC_INACTIVITY_TMR_RESTART 11
1889 #define IBSS_PS_DBGID_NULL_TX_COMPLETION        12
1890 #define IBSS_PS_DBGID_ATIM_TIMER_START          13
1891 #define IBSS_PS_DBGID_UC_ATIM_SEND              14
1892 #define IBSS_PS_DBGID_BC_ATIM_SEND              15
1893 #define IBSS_PS_DBGID_UC_TIMEOUT                16
1894 #define IBSS_PS_DBGID_PWR_COLLAPSE_ALLOWED      17
1895 #define IBSS_PS_DBGID_PWR_COLLAPSE_NOT_ALLOWED  18
1896 #define IBSS_PS_DBGID_SET_PARAM                 19
1897 #define IBSS_PS_DBGID_HOST_TX_PAUSE             20
1898 #define IBSS_PS_DBGID_HOST_TX_UNPAUSE           21
1899 #define IBSS_PS_DBGID_PS_DESC_BIN_HWM           22
1900 #define IBSS_PS_DBGID_PS_DESC_BIN_LWM           23
1901 #define IBSS_PS_DBGID_PS_KICKOUT_PEER           24
1902 #define IBSS_PS_DBGID_SET_PEER_PARAM            25
1903 #define IBSS_PS_DBGID_BCN_ATIM_WIN_MISMATCH     26
1904 #define IBSS_PS_DBGID_RX_CHAINMASK_CHANGE       27
1905 
1906 /* HIF UART Interface DBGIDs */
1907 #define HIF_UART_DBGID_START               0
1908 #define HIF_UART_DBGID_POWER_STATE         1
1909 #define HIF_UART_DBGID_TXRX_FLOW           2
1910 #define HIF_UART_DBGID_TXRX_CTRL_CHAR      3
1911 #define HIF_UART_DBGID_TXRX_BUF_DUMP       4
1912 
1913 /* EXTSCAN DBGIDs */
1914 #define EXTSCAN_START                                    0
1915 #define EXTSCAN_STOP                                     1
1916 #define EXTSCAN_CLEAR_ENTRY_CONTENT                      2
1917 #define EXTSCAN_GET_FREE_ENTRY_SUCCESS                   3
1918 #define EXTSCAN_GET_FREE_ENTRY_INCONSISTENT              4
1919 #define EXTSCAN_GET_FREE_ENTRY_NO_MORE_ENTRIES           5
1920 #define EXTSCAN_CREATE_ENTRY_SUCCESS                     6
1921 #define EXTSCAN_CREATE_ENTRY_ERROR                       7
1922 #define EXTSCAN_SEARCH_SCAN_ENTRY_QUEUE                  8
1923 #define EXTSCAN_SEARCH_SCAN_ENTRY_KEY_FOUND              9
1924 #define EXTSCAN_SEARCH_SCAN_ENTRY_KEY_NOT_FOUND         10
1925 #define EXTSCAN_ADD_ENTRY                               11
1926 #define EXTSCAN_BUCKET_SEND_OPERATION_EVENT             12
1927 #define EXTSCAN_BUCKET_SEND_OPERATION_EVENT_FAILED      13
1928 #define EXTSCAN_BUCKET_START_SCAN_CYCLE                 14
1929 #define EXTSCAN_BUCKET_PERIODIC_TIMER                   15
1930 #define EXTSCAN_SEND_START_STOP_EVENT                   16
1931 #define EXTSCAN_NOTIFY_WLAN_CHANGE                      17
1932 #define EXTSCAN_NOTIFY_WLAN_HOTLIST_MATCH               18
1933 #define EXTSCAN_MAIN_RECEIVED_FRAME                     19
1934 #define EXTSCAN_MAIN_NO_SSID_IE                         20
1935 #define EXTSCAN_MAIN_MALFORMED_FRAME                    21
1936 #define EXTSCAN_FIND_BSSID_BY_REFERENCE                 22
1937 #define EXTSCAN_FIND_BSSID_BY_REFERENCE_ERROR           23
1938 #define EXTSCAN_NOTIFY_TABLE_USAGE                      24
1939 #define EXTSCAN_FOUND_RSSI_ENTRY                        25
1940 #define EXTSCAN_BSSID_FOUND_RSSI_SAMPLE                 26
1941 #define EXTSCAN_BSSID_ADDED_RSSI_SAMPLE                 27
1942 #define EXTSCAN_BSSID_REPLACED_RSSI_SAMPLE              28
1943 #define EXTSCAN_BSSID_TRANSFER_CURRENT_SAMPLES          29
1944 #define EXTSCAN_BUCKET_PROCESS_SCAN_EVENT               30
1945 #define EXTSCAN_BUCKET_CANNOT_FIND_BUCKET               31
1946 #define EXTSCAN_START_SCAN_REQUEST_FAILED               32
1947 #define EXTSCAN_BUCKET_STOP_CURRENT_SCANS               33
1948 #define EXTSCAN_BUCKET_SCAN_STOP_REQUEST                34
1949 #define EXTSCAN_BUCKET_PERIODIC_TIMER_ERROR             35
1950 #define EXTSCAN_BUCKET_START_OPERATION                  36
1951 #define EXTSCAN_START_INTERNAL_ERROR                    37
1952 #define EXTSCAN_NOTIFY_HOTLIST_MATCH                    38
1953 #define EXTSCAN_CONFIG_HOTLIST_TABLE                    39
1954 #define EXTSCAN_CONFIG_WLAN_CHANGE_TABLE                40
1955 #define EXTSCAN_EVENT_SEND_FAILED                       41
1956 
1957 /* ERE DBGIDs */
1958 #define ERE_DBGID_DEFINITION_START                       0
1959 #define ERE_DBGID_VDEV_ATTACH                            1
1960 #define ERE_DBGID_VDEV_DETACH                            2
1961 #define ERE_DBGID_ENABLE_CMD                             3
1962 #define ERE_DBGID_STATUS_ENABLED                         4
1963 #define ERE_DBGID_STATUS_DISABLED                        5
1964 #define ERE_DBGID_ISROUTE_TABLE_EMPTY                    6
1965 #define ERE_DBGID_HASH_VALUE                             7
1966 #define ERE_DBGID_MATCH_REQ                              8
1967 #define ERE_DBGID_ADD_ROUTE_DBG                          9
1968 #define ERE_DBGID_ADD_ROUTE_ENTRY                       10
1969 #define ERE_DBGID_STATS_TX                              11
1970 #define ERE_DBGID_STATS_RX                              12
1971 #define ERE_DBGID_DEFINITION_END                        13
1972 /* IDs 14 - 251 reserved for ERE */
1973 /* Timekeeper debug IDs */
1974 #define TIMEKEEPER_INIT                                 252
1975 #define TIMEKEEPER_OPEN                                 253
1976 #define TIMEKEEPER_CLOSE                                254
1977 #define TIMEKEEPER_NEGOTIATE                            255
1978 #define TIMEKEEPER_TMR_HNDLR                            256
1979 #define TIMEKEEPER_UNITTEST                             257
1980 #define TIMEKEEPER_LF_TMR_HNDLR                         258
1981 #define TIMEKEEPER_DEINIT                               259
1982 #define TIMEKEEPER_SLOTBITMAP                           260
1983 #define TIMEKEEPER_CANCEL_SLOTBITMAP                    261
1984 #define TIMEKEEPER_CONFIRM_SLOTBITMAP                   262
1985 #define TIMEKEEPER_RESOLVE_SLOTBITMAP                   263
1986 #define TIMEKEEPER_ADD_CHAN_ELEMENT                     264
1987 #define TIMEKEEPER_REMOVE_CHAN_ELEMENT                  265
1988 #define TIMEKEEPER_FIND_CHAN_ELEMENT                    266
1989 #define TIMEKEEPER_QUERY_COMMITTED_SLOTBITMAP           267
1990 #define TIMEKEEPER_ENCODE_SLOTBITMAP                    268
1991 #define TIMEKEEPER_SLOT_ARRAY_DBG                       269
1992 #define TIMEKEEPER_POPULATE_MASTER                      270
1993 
1994 /* NLO DBGIDs */
1995 #define NLO_DBGID_SSID_TO_BE_SCANNED_LIST 0
1996 #define NLO_DBGID_SSID_TO_BE_SKIPPED_LIST 1
1997 
1998 /* Channel prediction/reduction DBGIDs */
1999 #define SCAN_CH_PREDICT_DBGID_DEFINITION_START          0
2000 #define SCAN_CH_PREDICT_CALCULATE                       1
2001 #define SCAN_CH_PREDICT_CALCULATE_SAMPLE                2
2002 #define SCAN_CH_PREDICT_CALCULATE_RESULT                3
2003 #define SCAN_CH_PREDICT_FOUND_BSS                       4
2004 #define SCAN_CH_PREDICT_SCAN_START                      5
2005 #define SCAN_CH_PREDICT_START                           6
2006 #define SCAN_CH_PREDICT_STOP                            7
2007 #define SCAN_CH_PREDICT_DBGID_DEFINITION_END            8
2008 
2009 /* DSRC DBGIDs */
2010 #define  OCB_DBGID_VDEV_CREATE                          0
2011 #define  OCB_DBGID_VDEV_DELETE                          1
2012 #define  OCB_DBGID_CHAN_PAUSE                           2
2013 #define  OCB_DBGID_CHAN_UNPAUSE                         3
2014 #define  OCB_DBGID_PEER_CREATE                          4
2015 #define  OCB_DBGID_PEER_DELETE                          5
2016 #define  OCB_DBGID_DCC_START                            6
2017 #define  OCB_DBGID_DCC_STOP                             7
2018 #define  OCB_DBGID_SET_CONFIG_CMD                       8
2019 #define  OCB_DBGID_SET_UTC_TIME_CMD                     9
2020 #define  OCB_DBGID_START_TIMING_ADVERT_CMD              10
2021 #define  OCB_DBGID_STOP_TIMING_ADVERT_CMD               11
2022 #define  OCB_DBGID_GET_TSF_TIMER_CMD                    12
2023 #define  OCB_DBGID_GET_DCC_STATS_CMD                    13
2024 #define  OCB_DBGID_UPDATE_DCC_NDL_CMD                   14
2025 #define  OCB_DBGID_SET_CONFIG_RESP_EVENT                15
2026 #define  OCB_DBGID_GET_TSF_TIMER_RESP_EVENT             16
2027 #define  OCB_DBGID_GET_DCC_STATS_RESP_EVENT             17
2028 #define  OCB_DBGID_DCC_STATS_EVENT                      18
2029 #define  OCB_UPDATE_DCC_NDL_RESP_EVENT                  19
2030 #define  OCB_DBGID_GENERIC                              20
2031 #define  OCB_DBGID_VDEV_START                           21
2032 #define  OCB_DBGID_CHANNEL_SCHED_EVENT                  22
2033 #define  OCB_DBGID_GPS_EVENT_START                      23
2034 #define  OCB_DBGID_GPS_EVENT_END                        24
2035 #define  OCB_DBGID_TX_TA_FRAME                          25
2036 #define  OCB_DBGID_RX_TA_FRAME                          26
2037 
2038 /* Up to 255 reserved for OCB debug IDs */
2039 
2040 #define  DCC_DBGID_START                                256
2041 #define  DCC_DBGID_STOP                                 257
2042 #define  DCC_DBGID_DCC_STATS_EVENT                      258
2043 #define  DCC_DBGID_SM_INIT                              259
2044 #define  DCC_DBGID_SM_EVENT                             260
2045 #define  DCC_DBGID_SM_CHANGE                            261
2046 #define  DCC_DBGID_GET_TX_ALLOWED                       262
2047 #define  DCC_DBGID_NOTIFY_TX_COMPLETION                 263
2048 #define  DCC_DBGID_NOTIFY_RX                            264
2049 #define  DCC_DBGID_GET_TX_POWER                         265
2050 #define  DCC_DBGID_GET_TX_RATE                          266
2051 #define  DCC_DBGID_TICKLE_SCHED                         267
2052 #define  DCC_DBGID_GENERIC                              268
2053 #define  DCC_DBGID_RX_PATH                              269
2054 #define  DCC_DBGID_TX_PATH                              270
2055 
2056 /* RSSI Threshold Monitor DBGIDs */
2057 #define RSSI_MONITOR_DBGID_DEFINITION_START               0
2058 #define RSSI_MONITOR_VDEV_INIT                            1
2059 #define RSSI_MONITOR_VDEV_FREE                            2
2060 #define RSSI_MONITOR_VDEV_EVENT                           3
2061 #define RSSI_MONITOR_HW_EVENT                             4
2062 #define RSSI_MONITOR_ENABLE_THRESHOLDS_CLIENT_REQ         5
2063 #define RSSI_MONITOR_ENABLE_THRESHOLDS_CLIENT_REQ_ERR     6
2064 #define RSSI_MONITOR_DISABLE_THRESHOLDS_CLIENT_REQ        7
2065 #define RSSI_MONITOR_DISABLE_THRESHOLDS_CLIENT_REQ_ERR    8
2066 #define RSSI_MONITOR_ARBITER                              9
2067 #define RSSI_MONITOR_ARBITER_CONFIG_HW                   10
2068 #define RSSI_MONITOR_CHECK_AND_DELIVER_EVENT             11
2069 #define RSSI_MONITOR_DELIVER_EVENT                       12
2070 #define RSSI_MONITOR_UPDATE_BEACON_RSSI                  13
2071 #define RSSI_MONITOR_DBGID_DEFINITION_END                14
2072 
2073 /* QBOOST DBGIDs */
2074 #define WLAN_MODULE_QBOOST_DEFINITION_START               0
2075 #define WLAN_MODULE_QBOOST_DBGID_WLAN_PEER_NOT_FOUND      1
2076 #define WLAN_MODULE_QBOOST_DEFINITION_END                 2
2077 
2078 /* HPCS DBGID */
2079 #define HPCS_PULSE_START                                  0
2080 #define HPCS_PULSE_LF_TIMER                               1
2081 #define HPCS_PULSE_HF_TIMER                               2
2082 #define HPCS_PULSE_POWER_SAVE                             3
2083 
2084 #ifdef __cplusplus
2085 }
2086 #endif
2087 
2088 #endif /* _DBGLOG_ID_H_ */
2089 
2090