when changing the mac address of a bridge interface, keep member interface addresses...
[openwrt.git] / target / linux / s3c24xx / files-2.6.30 / drivers / ar6000 / include / dbglog_id.h
1 /*
2 *
3 * Copyright (c) 2004-2007 Atheros Communications Inc.
4 * All rights reserved.
5 *
6 * $ATH_LICENSE_HOSTSDK0_C$
7 *
8 * This file contains the definitions of the debug identifiers for different
9 * modules.
10 *
11 */
12
13 #ifndef _DBGLOG_ID_H_
14 #define _DBGLOG_ID_H_
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 /*
21 * The nomenclature for the debug identifiers is MODULE_DESCRIPTION.
22 * Please ensure that the definition of any new debugid introduced is captured
23 * between the <MODULE>_DBGID_DEFINITION_START and
24 * <MODULE>_DBGID_DEFINITION_END defines. The structure is required for the
25 * parser to correctly pick up the values for different debug identifiers.
26 */
27
28 /* INF debug identifier definitions */
29 #define INF_DBGID_DEFINITION_START
30 #define INF_ASSERTION_FAILED 1
31 #define INF_TARGET_ID 2
32 #define INF_DBGID_DEFINITION_END
33
34 /* WMI debug identifier definitions */
35 #define WMI_DBGID_DEFINITION_START
36 #define WMI_CMD_RX_XTND_PKT_TOO_SHORT 1
37 #define WMI_EXTENDED_CMD_NOT_HANDLED 2
38 #define WMI_CMD_RX_PKT_TOO_SHORT 3
39 #define WMI_CALLING_WMI_EXTENSION_FN 4
40 #define WMI_CMD_NOT_HANDLED 5
41 #define WMI_IN_SYNC 6
42 #define WMI_TARGET_WMI_SYNC_CMD 7
43 #define WMI_SET_SNR_THRESHOLD_PARAMS 8
44 #define WMI_SET_RSSI_THRESHOLD_PARAMS 9
45 #define WMI_SET_LQ_TRESHOLD_PARAMS 10
46 #define WMI_TARGET_CREATE_PSTREAM_CMD 11
47 #define WMI_WI_DTM_INUSE 12
48 #define WMI_TARGET_DELETE_PSTREAM_CMD 13
49 #define WMI_TARGET_IMPLICIT_DELETE_PSTREAM_CMD 14
50 #define WMI_TARGET_GET_BIT_RATE_CMD 15
51 #define WMI_GET_RATE_MASK_CMD_FIX_RATE_MASK_IS 16
52 #define WMI_TARGET_GET_AVAILABLE_CHANNELS_CMD 17
53 #define WMI_TARGET_GET_TX_PWR_CMD 18
54 #define WMI_FREE_EVBUF_WMIBUF 19
55 #define WMI_FREE_EVBUF_DATABUF 20
56 #define WMI_FREE_EVBUF_BADFLAG 21
57 #define WMI_HTC_RX_ERROR_DATA_PACKET 22
58 #define WMI_HTC_RX_SYNC_PAUSING_FOR_MBOX 23
59 #define WMI_INCORRECT_WMI_DATA_HDR_DROPPING_PKT 24
60 #define WMI_SENDING_READY_EVENT 25
61 #define WMI_SETPOWER_MDOE_TO_MAXPERF 26
62 #define WMI_SETPOWER_MDOE_TO_REC 27
63 #define WMI_BSSINFO_EVENT_FROM 28
64 #define WMI_TARGET_GET_STATS_CMD 29
65 #define WMI_SENDING_SCAN_COMPLETE_EVENT 30
66 #define WMI_SENDING_RSSI_INDB_THRESHOLD_EVENT 31
67 #define WMI_SENDING_RSSI_INDBM_THRESHOLD_EVENT 32
68 #define WMI_SENDING_LINK_QUALITY_THRESHOLD_EVENT 33
69 #define WMI_SENDING_ERROR_REPORT_EVENT 34
70 #define WMI_SENDING_CAC_EVENT 35
71 #define WMI_TARGET_GET_ROAM_TABLE_CMD 36
72 #define WMI_TARGET_GET_ROAM_DATA_CMD 37
73 #define WMI_SENDING_GPIO_INTR_EVENT 38
74 #define WMI_SENDING_GPIO_ACK_EVENT 39
75 #define WMI_SENDING_GPIO_DATA_EVENT 40
76 #define WMI_CMD_RX 41
77 #define WMI_CMD_RX_XTND 42
78 #define WMI_EVENT_SEND 43
79 #define WMI_EVENT_SEND_XTND 44
80 #define WMI_DBGID_DEFINITION_END
81
82 /* CSERV debug identifier definitions */
83 #define CSERV_DBGID_DEFINITION_START
84 #define CSERV_BEGIN_SCAN1 1
85 #define CSERV_BEGIN_SCAN2 2
86 #define CSERV_END_SCAN1 3
87 #define CSERV_END_SCAN2 4
88 #define CSERV_CHAN_SCAN_START 5
89 #define CSERV_CHAN_SCAN_STOP 6
90 #define CSERV_CHANNEL_OPPPORTUNITY 7
91 #define CSERV_NC_TIMEOUT 8
92 #define CSERV_BACK_HOME 10
93 #define CSERV_CHMGR_CH_CALLBACK1 11
94 #define CSERV_CHMGR_CH_CALLBACK2 12
95 #define CSERV_CHMGR_CH_CALLBACK3 13
96 #define CSERV_SET_SCAN_PARAMS1 14
97 #define CSERV_SET_SCAN_PARAMS2 15
98 #define CSERV_SET_SCAN_PARAMS3 16
99 #define CSERV_SET_SCAN_PARAMS4 17
100 #define CSERV_ABORT_SCAN 18
101 #define CSERV_NEWSTATE 19
102 #define CSERV_MINCHMGR_OP_END 20
103 #define CSERV_CHMGR_OP_END 21
104 #define CSERV_DISCONNECT_TIMEOUT 22
105 #define CSERV_ROAM_TIMEOUT 23
106 #define CSERV_FORCE_SCAN1 24
107 #define CSERV_FORCE_SCAN2 25
108 #define CSERV_FORCE_SCAN3 26
109 #define CSERV_UTIL_TIMEOUT 27
110 #define CSERV_RSSIPOLLER 28
111 #define CSERV_RETRY_CONNECT_TIMEOUT 29
112 #define CSERV_RSSIINDBMPOLLER 30
113 #define CSERV_BGSCAN_ENABLE 31
114 #define CSERV_BGSCAN_DISABLE 32
115 #define CSERV_WLAN_START_SCAN_CMD1 33
116 #define CSERV_WLAN_START_SCAN_CMD2 34
117 #define CSERV_WLAN_START_SCAN_CMD3 35
118 #define CSERV_START_SCAN_CMD 36
119 #define CSERV_START_FORCE_SCAN 37
120 #define CSERV_NEXT_CHAN 38
121 #define CSERV_SET_REGCODE 39
122 #define CSERV_START_ADHOC 40
123 #define CSERV_ADHOC_AT_HOME 41
124 #define CSERV_OPT_AT_HOME 42
125 #define CSERV_WLAN_CONNECT_CMD 43
126 #define CSERV_WLAN_RECONNECT_CMD 44
127 #define CSERV_WLAN_DISCONNECT_CMD 45
128 #define CSERV_BSS_CHANGE_CHANNEL 46
129 #define CSERV_BEACON_RX 47
130 #define CSERV_KEEPALIVE_CHECK 48
131 #define CSERV_RC_BEGIN_SCAN 49
132 #define CSERV_RC_SCAN_START 50
133 #define CSERV_RC_SCAN_STOP 51
134 #define CSERV_RC_NEXT 52
135 #define CSERV_RC_SCAN_END 53
136 #define CSERV_PROBE_CALLBACK 54
137 #define CSERV_ROAM1 55
138 #define CSERV_ROAM2 56
139 #define CSERV_ROAM3 57
140 #define CSERV_CONNECT_EVENT 58
141 #define CSERV_DISCONNECT_EVENT 59
142 #define CSERV_BMISS_HANDLER1 60
143 #define CSERV_BMISS_HANDLER2 61
144 #define CSERV_BMISS_HANDLER3 62
145 #define CSERV_LOWRSSI_HANDLER 63
146 #define CSERV_WLAN_SET_PMKID_CMD 64
147 #define CSERV_RECONNECT_REQUEST 65
148 #define CSERV_KEYSPLUMBED_EVENT 66
149 #define CSERV_NEW_REG 67
150 #define CSERV_SET_RSSI_THOLD 68
151 #define CSERV_RSSITHRESHOLDCHECK 69
152 #define CSERV_RSSIINDBMTHRESHOLDCHECK 70
153 #define CSERV_WLAN_SET_OPT_CMD1 71
154 #define CSERV_WLAN_SET_OPT_CMD2 72
155 #define CSERV_WLAN_SET_OPT_CMD3 73
156 #define CSERV_WLAN_SET_OPT_CMD4 74
157 #define CSERV_SCAN_CONNECT_STOP 75
158 #define CSERV_BMISS_HANDLER4 76
159 #define CSERV_INITIALIZE_TIMER 77
160 #define CSERV_ARM_TIMER 78
161 #define CSERV_DISARM_TIMER 79
162 #define CSERV_UNINITIALIZE_TIMER 80
163 #define CSERV_DISCONNECT_EVENT2 81
164 #define CSERV_SCAN_CONNECT_START 82
165 #define CSERV_BSSINFO_MEMORY_ALLOC_FAILED 83
166 #define CSERV_SET_SCAN_PARAMS5 84
167 #define CSERV_DBGID_DEFINITION_END
168
169 /* TXRX debug identifier definitions */
170 #define TXRX_TXBUF_DBGID_DEFINITION_START
171 #define TXRX_TXBUF_ALLOCATE_BUF 1
172 #define TXRX_TXBUF_QUEUE_BUF_TO_MBOX 2
173 #define TXRX_TXBUF_QUEUE_BUF_TO_TXQ 3
174 #define TXRX_TXBUF_TXQ_DEPTH 4
175 #define TXRX_TXBUF_IBSS_QUEUE_TO_SFQ 5
176 #define TXRX_TXBUF_IBSS_QUEUE_TO_TXQ_FRM_SFQ 6
177 #define TXRX_TXBUF_INITIALIZE_TIMER 7
178 #define TXRX_TXBUF_ARM_TIMER 8
179 #define TXRX_TXBUF_DISARM_TIMER 9
180 #define TXRX_TXBUF_UNINITIALIZE_TIMER 10
181 #define TXRX_TXBUF_DBGID_DEFINITION_END
182
183 #define TXRX_RXBUF_DBGID_DEFINITION_START
184 #define TXRX_RXBUF_ALLOCATE_BUF 1
185 #define TXRX_RXBUF_QUEUE_TO_HOST 2
186 #define TXRX_RXBUF_QUEUE_TO_WLAN 3
187 #define TXRX_RXBUF_ZERO_LEN_BUF 4
188 #define TXRX_RXBUF_QUEUE_TO_HOST_LASTBUF_IN_RXCHAIN 5
189 #define TXRX_RXBUF_LASTBUF_IN_RXCHAIN_ZEROBUF 6
190 #define TXRX_RXBUF_QUEUE_EMPTY_QUEUE_TO_WLAN 7
191 #define TXRX_RXBUF_SEND_TO_RECV_MGMT 8
192 #define TXRX_RXBUF_SEND_TO_IEEE_LAYER 9
193 #define TXRX_RXBUF_DBGID_DEFINITION_END
194
195 #define TXRX_MGMTBUF_DBGID_DEFINITION_START
196 #define TXRX_MGMTBUF_ALLOCATE_BUF 1
197 #define TXRX_MGMTBUF_ALLOCATE_SM_BUF 2
198 #define TXRX_MGMTBUF_ALLOCATE_RMBUF 3
199 #define TXRX_MGMTBUF_GET_BUF 4
200 #define TXRX_MGMTBUF_GET_SM_BUF 5
201 #define TXRX_MGMTBUF_QUEUE_BUF_TO_TXQ 6
202 #define TXRX_MGMTBUF_REAPED_BUF 7
203 #define TXRX_MGMTBUF_REAPED_SM_BUF 8
204 #define TXRX_MGMTBUF_WAIT_FOR_TXQ_DRAIN 9
205 #define TXRX_MGMTBUF_WAIT_FOR_TXQ_SFQ_DRAIN 10
206 #define TXRX_MGMTBUF_ENQUEUE_INTO_SFQ 11
207 #define TXRX_MGMTBUF_DEQUEUE_FROM_SFQ 12
208 #define TXRX_MGMTBUF_PAUSE_TXQ 13
209 #define TXRX_MGMTBUF_RESUME_TXQ 14
210 #define TXRX_MGMTBUF_WAIT_FORTXQ_DRAIN_TIMEOUT 15
211 #define TXRX_MGMTBUF_DRAINQ 16
212 #define TXRX_MGMTBUF_INDICATE_Q_DRAINED 17
213 #define TXRX_MGMTBUF_DBGID_DEFINITION_END
214
215 /* PM (Power Module) debug identifier definitions */
216 #define PM_DBGID_DEFINITION_START
217 #define PM_INIT 1
218 #define PM_ENABLE 2
219 #define PM_SET_STATE 3
220 #define PM_SET_POWERMODE 4
221 #define PM_CONN_NOTIFY 5
222 #define PM_REF_COUNT_NEGATIVE 6
223 #define PM_APSD_ENABLE 7
224 #define PM_UPDATE_APSD_STATE 8
225 #define PM_CHAN_OP_REQ 9
226 #define PM_SET_MY_BEACON_POLICY 10
227 #define PM_SET_ALL_BEACON_POLICY 11
228 #define PM_SET_PM_PARAMS1 12
229 #define PM_SET_PM_PARAMS2 13
230 #define PM_ADHOC_SET_PM_CAPS_FAIL 14
231 #define PM_ADHOC_UNKNOWN_IBSS_ATTRIB_ID 15
232 #define PM_DBGID_DEFINITION_END
233
234 /* Wake on Wireless debug identifier definitions */
235 #define WOW_DBGID_DEFINITION_START
236 #define WOW_INIT 1
237 #define WOW_GET_CONFIG_DSET 2
238 #define WOW_NO_CONFIG_DSET 3
239 #define WOW_INVALID_CONFIG_DSET 4
240 #define WOW_USE_DEFAULT_CONFIG 5
241 #define WOW_SETUP_GPIO 6
242 #define WOW_INIT_DONE 7
243 #define WOW_SET_GPIO_PIN 8
244 #define WOW_CLEAR_GPIO_PIN 9
245 #define WOW_SET_WOW_MODE_CMD 10
246 #define WOW_SET_HOST_MODE_CMD 11
247 #define WOW_ADD_WOW_PATTERN_CMD 12
248 #define WOW_NEW_WOW_PATTERN_AT_INDEX 13
249 #define WOW_DEL_WOW_PATTERN_CMD 14
250 #define WOW_LIST_CONTAINS_PATTERNS 15
251 #define WOW_GET_WOW_LIST_CMD 16
252 #define WOW_INVALID_FILTER_ID 17
253 #define WOW_INVALID_FILTER_LISTID 18
254 #define WOW_NO_VALID_FILTER_AT_ID 19
255 #define WOW_NO_VALID_LIST_AT_ID 20
256 #define WOW_NUM_PATTERNS_EXCEEDED 21
257 #define WOW_NUM_LISTS_EXCEEDED 22
258 #define WOW_GET_WOW_STATS 23
259 #define WOW_CLEAR_WOW_STATS 24
260 #define WOW_WAKEUP_HOST 25
261 #define WOW_EVENT_WAKEUP_HOST 26
262 #define WOW_EVENT_DISCARD 27
263 #define WOW_PATTERN_MATCH 28
264 #define WOW_PATTERN_NOT_MATCH 29
265 #define WOW_PATTERN_NOT_MATCH_OFFSET 30
266 #define WOW_DISABLED_HOST_ASLEEP 31
267 #define WOW_ENABLED_HOST_ASLEEP_NO_PATTERNS 32
268 #define WOW_ENABLED_HOST_ASLEEP_NO_MATCH_FOUND 33
269 #define WOW_DBGID_DEFINITION_END
270
271 /* WHAL debug identifier definitions */
272 #define WHAL_DBGID_DEFINITION_START
273 #define WHAL_ERROR_ANI_CONTROL 1
274 #define WHAL_ERROR_CHIP_TEST1 2
275 #define WHAL_ERROR_CHIP_TEST2 3
276 #define WHAL_ERROR_EEPROM_CHECKSUM 4
277 #define WHAL_ERROR_EEPROM_MACADDR 5
278 #define WHAL_ERROR_INTERRUPT_HIU 6
279 #define WHAL_ERROR_KEYCACHE_RESET 7
280 #define WHAL_ERROR_KEYCACHE_SET 8
281 #define WHAL_ERROR_KEYCACHE_TYPE 9
282 #define WHAL_ERROR_KEYCACHE_TKIPENTRY 10
283 #define WHAL_ERROR_KEYCACHE_WEPLENGTH 11
284 #define WHAL_ERROR_PHY_INVALID_CHANNEL 12
285 #define WHAL_ERROR_POWER_AWAKE 13
286 #define WHAL_ERROR_POWER_SET 14
287 #define WHAL_ERROR_RECV_STOPDMA 15
288 #define WHAL_ERROR_RECV_STOPPCU 16
289 #define WHAL_ERROR_RESET_CHANNF1 17
290 #define WHAL_ERROR_RESET_CHANNF2 18
291 #define WHAL_ERROR_RESET_PM 19
292 #define WHAL_ERROR_RESET_OFFSETCAL 20
293 #define WHAL_ERROR_RESET_RFGRANT 21
294 #define WHAL_ERROR_RESET_RXFRAME 22
295 #define WHAL_ERROR_RESET_STOPDMA 23
296 #define WHAL_ERROR_RESET_RECOVER 24
297 #define WHAL_ERROR_XMIT_COMPUTE 25
298 #define WHAL_ERROR_XMIT_NOQUEUE 26
299 #define WHAL_ERROR_XMIT_ACTIVEQUEUE 27
300 #define WHAL_ERROR_XMIT_BADTYPE 28
301 #define WHAL_DBGID_DEFINITION_END
302
303 #ifdef __cplusplus
304 }
305 #endif
306
307 #endif /* _DBGLOG_ID_H_ */
This page took 0.051659 seconds and 5 git commands to generate.