dbglog_id.h 88 KB

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