blob: 1f6473698ca4b382a8061ef169fc1880deb5cd56 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Abhishek Singh7cd040e2016-01-07 10:51:04 +05302 * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
Kiet Lam842dad02014-02-18 18:44:02 -08003 *
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/*
Kiet Lama7f454d2014-07-24 12:04:06 -070023 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080026 */
Kiet Lam842dad02014-02-18 18:44:02 -080027
28
Kiet Lama7f454d2014-07-24 12:04:06 -070029
30
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080031/*
Kiet Lamaa8e15a2014-02-11 23:30:06 -080032 * This file sirParams.h contains the common parameter definitions, which
33 * are not dependent on threadX API. These can be used by all Firmware
34 * modules.
Jeff Johnson295189b2012-06-20 16:38:30 -070035 *
Kiet Lamaa8e15a2014-02-11 23:30:06 -080036 * Author: Sandesh Goel
37 * Date: 04/13/2002
38 * History:-
39 * Date Modified by Modification Information
40 * --------------------------------------------------------------------
Jeff Johnson295189b2012-06-20 16:38:30 -070041 */
42
Jeff Johnson295189b2012-06-20 16:38:30 -070043#ifndef __SIRPARAMS_H
44#define __SIRPARAMS_H
45
46# include "sirTypes.h"
47
Jeff Johnson295189b2012-06-20 16:38:30 -070048// Firmware wide constants
49
50#define SIR_MAX_PACKET_SIZE 2048
51#define SIR_MAX_NUM_CHANNELS 64
52#define SIR_MAX_NUM_STA_IN_IBSS 16
53#define SIR_MAX_NUM_STA_IN_BSS 256
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -080054#define SIR_ESE_MAX_MEAS_IE_REQS 8
Jeff Johnson295189b2012-06-20 16:38:30 -070055
Jeff Johnson295189b2012-06-20 16:38:30 -070056typedef enum
57{
Jeff Johnsone7245742012-09-05 17:12:55 -070058 PHY_SINGLE_CHANNEL_CENTERED = 0, // 20MHz IF bandwidth centered on IF carrier
59 PHY_DOUBLE_CHANNEL_LOW_PRIMARY = 1, // 40MHz IF bandwidth with lower 20MHz supporting the primary channel
60 PHY_DOUBLE_CHANNEL_HIGH_PRIMARY = 3, // 40MHz IF bandwidth with higher 20MHz supporting the primary channel
Jeff Johnson62c27982013-02-27 17:53:55 -080061#ifdef WLAN_FEATURE_11AC
Jeff Johnsone7245742012-09-05 17:12:55 -070062 PHY_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_CENTERED = 4, //20/40MHZ offset LOW 40/80MHZ offset CENTERED
63 PHY_QUADRUPLE_CHANNEL_20MHZ_CENTERED_40MHZ_CENTERED = 5, //20/40MHZ offset CENTERED 40/80MHZ offset CENTERED
64 PHY_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_CENTERED = 6, //20/40MHZ offset HIGH 40/80MHZ offset CENTERED
65 PHY_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_LOW = 7,//20/40MHZ offset LOW 40/80MHZ offset LOW
66 PHY_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_LOW = 8, //20/40MHZ offset HIGH 40/80MHZ offset LOW
67 PHY_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_HIGH = 9, //20/40MHZ offset LOW 40/80MHZ offset HIGH
68 PHY_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_HIGH = 10,//20/40MHZ offset-HIGH 40/80MHZ offset HIGH
69#endif
70 PHY_CHANNEL_BONDING_STATE_MAX = 11
Jeff Johnson295189b2012-06-20 16:38:30 -070071}ePhyChanBondState;
Jeff Johnson295189b2012-06-20 16:38:30 -070072
Jeff Johnsone7245742012-09-05 17:12:55 -070073#define SIR_MIN(a,b) (((a) < (b)) ? (a) : (b))
74#define SIR_MAX(a,b) (((a) > (b)) ? (a) : (b))
75
76typedef enum {
Madan Mohan Koyyalamudi1bed5982012-10-22 14:38:06 -070077 MCC = 0,
78 P2P = 1,
Jeff Johnsone7245742012-09-05 17:12:55 -070079 DOT11AC = 2,
Mohit Khanna4a70d262012-09-11 16:30:12 -070080 SLM_SESSIONIZATION = 3,
81 DOT11AC_OPMODE = 4,
Gopichand Nakkala976e3252013-01-03 15:45:56 -080082 SAP32STA = 5,
Mohit Khanna698ba2a2012-12-04 15:08:18 -080083 TDLS = 6,
Viral Modid86bde22012-12-10 13:09:21 -080084 P2P_GO_NOA_DECOUPLE_INIT_SCAN = 7,
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -070085 WLANACTIVE_OFFLOAD = 8,
Dasari Srinivas7875a302014-09-26 17:50:57 +053086 RTT = 20,
Yue Ma55855df2013-08-26 10:59:03 -070087 WOW = 22,
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -070088#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
89 WLAN_ROAM_SCAN_OFFLOAD = 23,
90#endif
Yue Ma55855df2013-08-26 10:59:03 -070091 IBSS_HEARTBEAT_OFFLOAD = 26,
92 WLAN_PERIODIC_TX_PTRN = 28,
Madan Mohan Koyyalamudice419872013-09-13 19:36:52 +053093#ifdef FEATURE_WLAN_TDLS
94 ADVANCE_TDLS = 29,
95#endif
Yue Ma55855df2013-08-26 10:59:03 -070096
Rajeev79dbe4c2013-10-05 11:03:42 +053097#ifdef FEATURE_WLAN_BATCH_SCAN
98 BATCH_SCAN = 30,
99#endif
Kanchanapally, Vidyullathaf9426e52013-12-24 17:28:54 +0530100 FW_IN_TX_PATH = 31,
Sandeep Puligilla60342762014-01-30 21:05:37 +0530101 EXTENDED_NSOFFLOAD_SLOT = 32,
102 CH_SWITCH_V1 = 33,
103 HT40_OBSS_SCAN = 34,
104 UPDATE_CHANNEL_LIST = 35,
Arif Hussain6af38622014-03-12 12:39:57 -0700105 WLAN_MCADDR_FLT = 36,
106 WLAN_CH144 = 37,
Dasari Srinivas7875a302014-09-26 17:50:57 +0530107 NAN = 38,
Pradeep Reddy POTTETIedaeb5f2014-05-22 23:34:41 +0530108#ifdef FEATURE_WLAN_TDLS
109 TDLS_SCAN_COEXISTENCE = 39,
110#endif
Dino Mycledf0a5d92014-07-04 09:41:55 +0530111#ifdef WLAN_FEATURE_LINK_LAYER_STATS
112 LINK_LAYER_STATS_MEAS = 40,
113#endif
Abhishek Singh6d5d29c2014-07-03 14:25:22 +0530114
115 MU_MIMO = 41,
Dino Myclee8843b32014-07-04 14:21:45 +0530116#ifdef WLAN_FEATURE_EXTSCAN
117 EXTENDED_SCAN = 42,
118#endif
Arif Hussain6af38622014-03-12 12:39:57 -0700119
Mihir Shetec34258c2014-07-30 17:50:27 +0530120 DYNAMIC_WMM_PS = 43,
Siddharth Bhal6af5d4e2014-09-29 21:11:16 +0530121 MAC_SPOOFED_SCAN = 44,
Mihir Shetebf8897b2014-11-26 14:54:39 +0530122 BMU_ERROR_GENERIC_RECOVERY = 45,
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530123 DISA = 46,
Abhishek Singh3ae443b2014-10-08 11:49:27 +0530124 FW_STATS = 47,
Sachin Ahuja825082e2014-11-25 17:34:36 +0530125 WPS_PRBRSP_TMPL = 48,
Abhishek Singh5fef4042014-11-25 18:33:00 +0530126 BCN_IE_FLT_DELTA = 49,
Pradeep Reddy POTTETI57969282015-02-26 16:28:48 +0530127#ifdef FEATURE_WLAN_TDLS
128 TDLS_OFF_CHANNEL = 51,
129#endif
Padma, Santhosh Kumaraac4c4d2015-12-08 16:07:47 +0530130 RTT3 = 52,
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530131 MGMT_FRAME_LOGGING = 53,
Ganesh Kondabattinib18b3292015-03-16 16:59:26 +0530132 ENHANCED_TXBD_COMPLETION = 54,
Siddharth Bhald1be97f2015-05-27 22:39:59 +0530133 LOGGING_ENHANCEMENT = 55,
Padma, Santhosh Kumar2ac54992015-10-12 18:20:58 +0530134
135#ifdef WLAN_FEATURE_EXTSCAN
136 EXT_SCAN_ENHANCED = 56,
137#endif
138
c_manjeecfd1efb2015-09-25 19:32:34 +0530139 MEMORY_DUMP_SUPPORTED = 57,
Sushant Kaushik33200572015-08-05 16:46:20 +0530140 PER_PKT_STATS_SUPPORTED = 58,
Mukul Sharmaf1bd9322015-10-20 16:03:42 +0530141 EXT_LL_STAT = 60,
Arun Khandavalli7eeb1592015-10-19 21:36:57 +0530142 WIFI_CONFIG = 61,
Mahesh A Saptasagarb63b3e22015-12-22 15:06:10 +0530143 ANTENNA_DIVERSITY_SELECTION = 62,
Kapil Guptab3a981b2016-06-26 13:36:51 +0530144#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
145 PER_BASED_ROAMING = 63,
146#endif
Tushnim Bhattacharyya5dd94562013-03-20 20:15:03 -0700147 //MAX_FEATURE_SUPPORTED = 128
Jeff Johnsone7245742012-09-05 17:12:55 -0700148} placeHolderInCapBitmap;
149
Jeff Johnson295189b2012-06-20 16:38:30 -0700150typedef enum eSriLinkState {
151 eSIR_LINK_IDLE_STATE = 0,
152 eSIR_LINK_PREASSOC_STATE = 1,
153 eSIR_LINK_POSTASSOC_STATE = 2,
154 eSIR_LINK_AP_STATE = 3,
155 eSIR_LINK_IBSS_STATE = 4,
156 // BT-AMP Case
157 eSIR_LINK_BTAMP_PREASSOC_STATE = 5,
158 eSIR_LINK_BTAMP_POSTASSOC_STATE = 6,
159 eSIR_LINK_BTAMP_AP_STATE = 7,
160 eSIR_LINK_BTAMP_STA_STATE = 8,
161
162 // Reserved for HAL internal use
163 eSIR_LINK_LEARN_STATE = 9,
164 eSIR_LINK_SCAN_STATE = 10,
165 eSIR_LINK_FINISH_SCAN_STATE = 11,
166 eSIR_LINK_INIT_CAL_STATE = 12,
167 eSIR_LINK_FINISH_CAL_STATE = 13,
Gopichand Nakkala924e4552013-05-08 19:18:14 +0530168 eSIR_LINK_LISTEN_STATE = 14,
169 eSIR_LINK_SEND_ACTION_STATE = 15,
Jeff Johnson295189b2012-06-20 16:38:30 -0700170} tSirLinkState;
171
172
173/// Message queue structure used across Sirius project.
174/// NOTE: this structure should be multiples of a word size (4bytes)
175/// as this is used in tx_queue where it expects to be multiples of 4 bytes.
176typedef struct sSirMsgQ
177{
178 tANI_U16 type;
179 /*
180 * This field can be used as sequence number/dialog token for matching
181 * requests and responses.
182 */
183 tANI_U16 reserved;
184 /**
185 * Based on the type either a bodyptr pointer into
186 * memory or bodyval as a 32 bit data is used.
187 * bodyptr: is always a freeable pointer, one should always
188 * make sure that bodyptr is always freeable.
189 *
190 * Messages should use either bodyptr or bodyval; not both !!!.
191 */
192 void *bodyptr;
193 tANI_U32 bodyval;
Srinivas Girigowdaae5a6cf2014-03-06 14:14:12 -0800194
195 /*
196 * Some messages provide a callback function. The function signature
197 * must be agreed upon between the two entities exchanging the message
198 */
199 void *callback;
200
Jeff Johnson295189b2012-06-20 16:38:30 -0700201} tSirMsgQ, *tpSirMsgQ;
202
203/// Mailbox Message Structure Define
204typedef struct sSirMbMsg
205{
206 tANI_U16 type;
207
208 /**
209 * This length includes 4 bytes of header, that is,
210 * 2 bytes type + 2 bytes msgLen + n*4 bytes of data.
211 * This field is byte length.
212 */
213 tANI_U16 msgLen;
214
215 /**
216 * This is the first data word in the mailbox message.
217 * It is followed by n words of data.
218 * NOTE: data[1] is not a place holder to store data
219 * instead to dereference the message body.
220 */
221 tANI_U32 data[1];
222} tSirMbMsg, *tpSirMbMsg;
223
Jeff Johnson62c27982013-02-27 17:53:55 -0800224/// Mailbox Message Structure for P2P
Jeff Johnson295189b2012-06-20 16:38:30 -0700225typedef struct sSirMbMsgP2p
226{
227 tANI_U16 type;
228
229 /**
230 * This length includes 4 bytes of header, that is,
231 * 2 bytes type + 2 bytes msgLen + n*4 bytes of data.
232 * This field is byte length.
233 */
234 tANI_U16 msgLen;
235
Jeff Johnsone7245742012-09-05 17:12:55 -0700236 tANI_U8 sessionId;
237 tANI_U8 noack;
238 tANI_U16 wait;
239
Jeff Johnson295189b2012-06-20 16:38:30 -0700240 /**
241 * This is the first data word in the mailbox message.
242 * It is followed by n words of data.
243 * NOTE: data[1] is not a place holder to store data
244 * instead to dereference the message body.
245 */
246 tANI_U32 data[1];
247} tSirMbMsgP2p, *tpSirMbMsgP2p;
Jeff Johnson295189b2012-06-20 16:38:30 -0700248
249/// Message queue definitions
250// msgtype(2bytes) reserved(2bytes) bodyptr(4bytes) bodyval(4bytes)
251// NOTE tSirMsgQ should be always multiples of WORD(4Bytes)
252// All Queue Message Size are multiples of word Size (4 bytes)
253#define SYS_MSG_SIZE (sizeof(tSirMsgQ)/4)
254
255/// gHalMsgQ
256
257#define SYS_HAL_MSG_SIZE SYS_MSG_SIZE
258
259/// gMMHhiPriorityMsgQ
260
261#define SYS_MMH_HI_PRI_MSG_SIZE SYS_MSG_SIZE
262
263/// gMMHprotocolMsgQ
264
265#define SYS_MMH_PROT_MSG_SIZE SYS_MSG_SIZE
266
267/// gMMHdebugMsgQ
268
269#define SYS_MMH_DEBUG_MSG_SIZE SYS_MSG_SIZE
270
271/// gMAINTmsgQ
272
273#define SYS_MNT_MSG_SIZE SYS_MSG_SIZE
274
275/// LIM Message Queue
276
277#define SYS_LIM_MSG_SIZE SYS_MSG_SIZE
278
279/// ARQ Message Queue
280
281#define SYS_ARQ_MSG_SIZE SYS_MSG_SIZE
282
283/// Scheduler Message Queue
284
285#define SYS_SCH_MSG_SIZE SYS_MSG_SIZE
286
287/// PMM Message Queue
288
289#define SYS_PMM_MSG_SIZE SYS_MSG_SIZE
290
291/// TX Message Queue
292
293#define SYS_TX_MSG_SIZE (sizeof(void *)/4) // Message pointer size
294
295/// RX Message Queue
296
297#define SYS_RX_MSG_SIZE (sizeof(void *)/4) // Message pointer size
298
299/// PTT Message Queue
300#define SYS_NIM_PTT_MSG_SIZE SYS_MSG_SIZE // Message pointer size
301
302
303
304/* *************************************** *
305 * *
306 * Block pool configuration *
307 * *
308 * *************************************** */
309
310// The following values specify the number of blocks to be created
311// for each block pool size.
312
313#define SIR_BUF_BLK_32_NUM 64
314#define SIR_BUF_BLK_64_NUM 128
315#define SIR_BUF_BLK_96_NUM 16
316#define SIR_BUF_BLK_128_NUM 128
317#define SIR_BUF_BLK_160_NUM 8
318#define SIR_BUF_BLK_192_NUM 0
319#define SIR_BUF_BLK_224_NUM 0
320#define SIR_BUF_BLK_256_NUM 128
321#define SIR_BUF_BLK_512_NUM 0
322#define SIR_BUF_BLK_768_NUM 0
323#define SIR_BUF_BLK_1024_NUM 2
324#define SIR_BUF_BLK_1280_NUM 0
325#define SIR_BUF_BLK_1536_NUM 2
326#define SIR_BUF_BLK_1792_NUM 0
327#define SIR_BUF_BLK_2048_NUM 2
328#define SIR_BUF_BLK_2304_NUM 0
329
330/* ******************************************* *
331 * *
332 * SIRIUS MESSAGE TYPES *
333 * *
334 * ******************************************* */
335
336
337/*
338 * The following message types have bounds defined for each module for
339 * inter thread/module communications.
340 * Each module will get 256 message types in total.
341 * Note that message type definitions for mailbox messages for
342 * communication with Host are in wniApi.h file.
343 *
344 * Any addition/deletion to this message list should also be
345 * reflected in the halUtil_getMsgString() routine.
346 */
347
348// HAL message types
349#define SIR_HAL_MSG_TYPES_BEGIN (SIR_HAL_MODULE_ID << 8)
Siddharth Bhal64246172015-02-27 01:04:37 +0530350#define SIR_HAL_EXT_MSG_TYPES_BEGIN (SIR_HAL_EXT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800351#define SIR_HAL_ITC_MSG_TYPES_BEGIN (SIR_HAL_MSG_TYPES_BEGIN+0x20)
Jeff Johnson295189b2012-06-20 16:38:30 -0700352#define SIR_HAL_RADAR_DETECTED_IND SIR_HAL_ITC_MSG_TYPES_BEGIN
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800353#define SIR_HAL_WDT_KAM_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 1)
354#define SIR_HAL_TIMER_TEMP_MEAS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 2)
355#define SIR_HAL_TIMER_PERIODIC_STATS_COLLECT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 3)
356#define SIR_HAL_CAL_REQ_NTF (SIR_HAL_ITC_MSG_TYPES_BEGIN + 4)
357#define SIR_HAL_MNT_OPEN_TPC_TEMP_MEAS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 5)
358#define SIR_HAL_CCA_MONITOR_INTERVAL_TO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 6)
359#define SIR_HAL_CCA_MONITOR_DURATION_TO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 7)
360#define SIR_HAL_CCA_MONITOR_START (SIR_HAL_ITC_MSG_TYPES_BEGIN + 8)
361#define SIR_HAL_CCA_MONITOR_STOP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 9)
362#define SIR_HAL_CCA_CHANGE_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 10)
363#define SIR_HAL_TIMER_WRAP_AROUND_STATS_COLLECT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 11)
Jeff Johnson295189b2012-06-20 16:38:30 -0700364
365/*
366 * New Taurus related messages
367 */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800368#define SIR_HAL_ADD_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 13)
369#define SIR_HAL_ADD_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 14)
370#define SIR_HAL_DELETE_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 15)
371#define SIR_HAL_DELETE_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 16)
372#define SIR_HAL_ADD_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 17)
373#define SIR_HAL_ADD_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 18)
374#define SIR_HAL_DELETE_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 19)
375#define SIR_HAL_DELETE_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 20)
376#define SIR_HAL_INIT_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 21)
377#define SIR_HAL_INIT_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 22)
378#define SIR_HAL_START_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 23)
379#define SIR_HAL_START_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 24)
380#define SIR_HAL_END_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 25)
381#define SIR_HAL_END_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 26)
382#define SIR_HAL_FINISH_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 27)
383#define SIR_HAL_FINISH_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 28)
384#define SIR_HAL_SEND_BEACON_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 29)
385#define SIR_HAL_SEND_BEACON_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 30)
Jeff Johnson295189b2012-06-20 16:38:30 -0700386
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800387#define SIR_HAL_INIT_CFG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 31)
388#define SIR_HAL_INIT_CFG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 32)
Jeff Johnson295189b2012-06-20 16:38:30 -0700389
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800390#define SIR_HAL_INIT_WM_CFG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 33)
391#define SIR_HAL_INIT_WM_CFG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 34)
Jeff Johnson295189b2012-06-20 16:38:30 -0700392
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800393#define SIR_HAL_SET_BSSKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 35)
394#define SIR_HAL_SET_BSSKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 36)
395#define SIR_HAL_SET_STAKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 37)
396#define SIR_HAL_SET_STAKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 38)
397#define SIR_HAL_DPU_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 39)
398#define SIR_HAL_DPU_STATS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 40)
399#define SIR_HAL_GET_DPUINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 41)
400#define SIR_HAL_GET_DPUINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 42)
Jeff Johnson295189b2012-06-20 16:38:30 -0700401
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800402#define SIR_HAL_UPDATE_EDCA_PROFILE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 43)
Jeff Johnson295189b2012-06-20 16:38:30 -0700403
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800404#define SIR_HAL_UPDATE_STARATEINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 45)
405#define SIR_HAL_UPDATE_STARATEINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 46)
Jeff Johnson295189b2012-06-20 16:38:30 -0700406
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800407#define SIR_HAL_UPDATE_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 47)
408#define SIR_HAL_UPDATE_CF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 48)
409#define SIR_HAL_CHNL_SWITCH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 49)
410#define SIR_HAL_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 50)
411#define SIR_HAL_DEL_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 51)
412#define SIR_HAL_SOFTMAC_TXSTAT_REPORT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 52)
Jeff Johnson295189b2012-06-20 16:38:30 -0700413
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800414#define SIR_HAL_MBOX_SENDMSG_COMPLETE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 61)
415#define SIR_HAL_EXIT_BMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 53)
416#define SIR_HAL_EXIT_BMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 54)
417#define SIR_HAL_EXIT_BMPS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 55)
418#define SIR_HAL_ENTER_BMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 56)
419#define SIR_HAL_ENTER_BMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 57)
420#define SIR_HAL_BMPS_STATUS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 58)
421#define SIR_HAL_MISSED_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 59)
Jeff Johnson295189b2012-06-20 16:38:30 -0700422
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800423#define SIR_HAL_SWITCH_CHANNEL_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 60)
424#define SIR_HAL_PWR_SAVE_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 62)
Jeff Johnson295189b2012-06-20 16:38:30 -0700425
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800426#define SIR_HAL_REGISTER_PE_CALLBACK (SIR_HAL_ITC_MSG_TYPES_BEGIN + 63)
427#define SIR_HAL_SOFTMAC_MEM_READREQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 64)
428#define SIR_HAL_SOFTMAC_MEM_WRITEREQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 65)
Jeff Johnson295189b2012-06-20 16:38:30 -0700429
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800430#define SIR_HAL_SOFTMAC_MEM_READRESPONSE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 66)
431#define SIR_HAL_SOFTMAC_BULKREGWRITE_CONFIRM (SIR_HAL_ITC_MSG_TYPES_BEGIN + 67)
432#define SIR_HAL_SOFTMAC_BULKREGREAD_RESPONSE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 68)
433#define SIR_HAL_SOFTMAC_HOSTMESG_MSGPROCESSRESULT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 69)
Jeff Johnson295189b2012-06-20 16:38:30 -0700434
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800435#define SIR_HAL_ADDBA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 70)
436#define SIR_HAL_ADDBA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 71)
437#define SIR_HAL_DELBA_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 72)
438#define SIR_HAL_DEL_BA_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 73)
Jeff Johnson295189b2012-06-20 16:38:30 -0700439
440//message from sme to initiate delete block ack session.
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800441#define SIR_HAL_DELBA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 74)
442#define SIR_HAL_IBSS_STA_ADD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 75)
443#define SIR_HAL_TIMER_ADJUST_ADAPTIVE_THRESHOLD_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 76)
444#define SIR_HAL_SET_LINK_STATE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 77)
445#define SIR_HAL_ENTER_IMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 78)
446#define SIR_HAL_ENTER_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 79)
447#define SIR_HAL_EXIT_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 80)
448#define SIR_HAL_EXIT_IMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 81)
449#define SIR_HAL_SOFTMAC_HOSTMESG_PS_STATUS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 82)
450#define SIR_HAL_POSTPONE_ENTER_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 83)
451#define SIR_HAL_STA_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 84)
452#define SIR_HAL_GLOBAL_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 85)
453#define SIR_HAL_AGGR_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 86)
454#define SIR_HAL_STA_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 87)
455#define SIR_HAL_GLOBAL_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 88)
456#define SIR_HAL_AGGR_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 89)
457#define SIR_HAL_STAT_SUMM_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 90)
458#define SIR_HAL_STAT_SUMM_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 92)
459#define SIR_HAL_REMOVE_BSSKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 93)
460#define SIR_HAL_REMOVE_BSSKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 94)
461#define SIR_HAL_REMOVE_STAKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 95)
462#define SIR_HAL_REMOVE_STAKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 96)
463#define SIR_HAL_SET_STA_BCASTKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 97)
464#define SIR_HAL_SET_STA_BCASTKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 98)
465#define SIR_HAL_REMOVE_STA_BCASTKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 99)
466#define SIR_HAL_REMOVE_STA_BCASTKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 100)
467#define SIR_HAL_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 101)
468#define SIR_HAL_DPU_MIC_ERROR (SIR_HAL_ITC_MSG_TYPES_BEGIN + 102)
469#define SIR_HAL_TIMER_BA_ACTIVITY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 103)
470#define SIR_HAL_TIMER_CHIP_MONITOR_TIMEOUT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 104)
471#define SIR_HAL_TIMER_TRAFFIC_ACTIVITY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 105)
472#define SIR_HAL_TIMER_ADC_RSSI_STATS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 106)
473#define SIR_HAL_MIC_FAILURE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 107)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800474#define SIR_HAL_UPDATE_UAPSD_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 108)
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800475#define SIR_HAL_SET_MIMOPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 109)
476#define SIR_HAL_SET_MIMOPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 110)
477#define SIR_HAL_SYS_READY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 111)
478#define SIR_HAL_SET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 112)
479#define SIR_HAL_SET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 113)
480#define SIR_HAL_GET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 114)
481#define SIR_HAL_GET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 115)
482#define SIR_HAL_GET_NOISE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 116)
483#define SIR_HAL_GET_NOISE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 117)
Jeff Johnson295189b2012-06-20 16:38:30 -0700484
485/* Messages to support transmit_halt and transmit_resume */
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800486#define SIR_HAL_TRANSMISSION_CONTROL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 118)
Jeff Johnson295189b2012-06-20 16:38:30 -0700487/* Indication from LIM to HAL to Initialize radar interrupt */
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800488#define SIR_HAL_INIT_RADAR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 119)
Jeff Johnson295189b2012-06-20 16:38:30 -0700489
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800490#define SIR_HAL_BEACON_PRE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 120)
491#define SIR_HAL_ENTER_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 121)
492#define SIR_HAL_ENTER_UAPSD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 122)
493#define SIR_HAL_EXIT_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 123)
494#define SIR_HAL_EXIT_UAPSD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 124)
495#define SIR_HAL_LOW_RSSI_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 125)
496#define SIR_HAL_BEACON_FILTER_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 126)
Jeff Johnson295189b2012-06-20 16:38:30 -0700497/// PE <-> HAL WOWL messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800498#define SIR_HAL_WOWL_ADD_BCAST_PTRN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 127)
499#define SIR_HAL_WOWL_DEL_BCAST_PTRN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 128)
500#define SIR_HAL_WOWL_ENTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 129)
501#define SIR_HAL_WOWL_ENTER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 130)
502#define SIR_HAL_WOWL_EXIT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 131)
503#define SIR_HAL_WOWL_EXIT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 132)
504#define SIR_HAL_TX_COMPLETE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 133)
505#define SIR_HAL_TIMER_RA_COLLECT_AND_ADAPT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 134)
Jeff Johnson295189b2012-06-20 16:38:30 -0700506/// PE <-> HAL statistics messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800507#define SIR_HAL_GET_STATISTICS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 135)
508#define SIR_HAL_GET_STATISTICS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 136)
509#define SIR_HAL_SET_KEY_DONE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 137)
Jeff Johnson295189b2012-06-20 16:38:30 -0700510
511/// PE <-> HAL BTC messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800512#define SIR_HAL_BTC_SET_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 138)
513#define SIR_HAL_SIGNAL_BT_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 139)
514#define SIR_HAL_HANDLE_FW_MBOX_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 140)
515#define SIR_HAL_UPDATE_PROBE_RSP_TEMPLATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 141)
Jeff Johnson295189b2012-06-20 16:38:30 -0700516
Jeff Johnson295189b2012-06-20 16:38:30 -0700517/* PE <-> HAL addr2 mismatch message */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800518#define SIR_LIM_ADDR2_MISS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 142)
Jeff Johnsone7245742012-09-05 17:12:55 -0700519#ifdef FEATURE_OEM_DATA_SUPPORT
520/* PE <-> HAL OEM_DATA RELATED MESSAGES */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800521#define SIR_HAL_START_OEM_DATA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 143)
522#define SIR_HAL_START_OEM_DATA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 144)
523#define SIR_HAL_FINISH_OEM_DATA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 145)
Jeff Johnsone7245742012-09-05 17:12:55 -0700524#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700525
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800526#define SIR_HAL_SET_MAX_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 146)
527#define SIR_HAL_SET_MAX_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 147)
Jeff Johnson295189b2012-06-20 16:38:30 -0700528
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800529#define SIR_HAL_SEND_MSG_COMPLETE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 148)
Jeff Johnson295189b2012-06-20 16:38:30 -0700530
531/// PE <-> HAL Host Offload message
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800532#define SIR_HAL_SET_HOST_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 149)
Jeff Johnson295189b2012-06-20 16:38:30 -0700533
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800534#define SIR_HAL_ADD_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 150)
535#define SIR_HAL_ADD_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 151)
536#define SIR_HAL_DEL_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 152)
537#define SIR_HAL_DEL_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 153)
538#define SIR_HAL_SIGNAL_BTAMP_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 154)
Jeff Johnson295189b2012-06-20 16:38:30 -0700539
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800540#define SIR_HAL_CFG_RXP_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 155)
541#define SIR_HAL_CFG_RXP_FILTER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 156)
Jeff Johnson295189b2012-06-20 16:38:30 -0700542
543#ifdef WLAN_FEATURE_VOWIFI_11R
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800544#define SIR_HAL_AGGR_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 157)
545#define SIR_HAL_AGGR_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 158)
546#define SIR_HAL_AGGR_QOS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 159)
547#define SIR_HAL_AGGR_QOS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 160)
Jeff Johnson295189b2012-06-20 16:38:30 -0700548#endif /* WLAN_FEATURE_VOWIFI_11R */
549
Jeff Johnson295189b2012-06-20 16:38:30 -0700550/* P2P <-> HAL P2P msg */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800551#define SIR_HAL_SET_P2P_GO_NOA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 161)
552#define SIR_HAL_P2P_NOA_ATTR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 162)
Viral Modid86bde22012-12-10 13:09:21 -0800553#define SIR_HAL_P2P_NOA_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 163)
Jeff Johnson295189b2012-06-20 16:38:30 -0700554
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800555#define SIR_HAL_SET_LINK_STATE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 165)
Jeff Johnson295189b2012-06-20 16:38:30 -0700556
557
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800558#define SIR_HAL_WLAN_SUSPEND_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 166)
559#define SIR_HAL_WLAN_RESUME_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 167)
Jeff Johnson295189b2012-06-20 16:38:30 -0700560
561/// PE <-> HAL Keep Alive message
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800562#define SIR_HAL_SET_KEEP_ALIVE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 168)
Jeff Johnson295189b2012-06-20 16:38:30 -0700563
564#ifdef WLAN_NS_OFFLOAD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800565#define SIR_HAL_SET_NS_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 169)
Jeff Johnson295189b2012-06-20 16:38:30 -0700566#endif //WLAN_NS_OFFLOAD
567
568#ifdef FEATURE_WLAN_SCAN_PNO
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800569#define SIR_HAL_SET_PNO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 170)
570#define SIR_HAL_SET_PNO_CHANGED_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 171)
571#define SIR_HAL_UPDATE_SCAN_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 172)
572#define SIR_HAL_SET_RSSI_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 173)
Jeff Johnson295189b2012-06-20 16:38:30 -0700573#endif // FEATURE_WLAN_SCAN_PNO
574
575
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800576#define SIR_HAL_SET_TX_PER_TRACKING_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 174)
Jeff Johnson295189b2012-06-20 16:38:30 -0700577
578#ifdef WLAN_FEATURE_PACKET_FILTERING
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800579#define SIR_HAL_8023_MULTICAST_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 175)
580#define SIR_HAL_RECEIVE_FILTER_SET_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 176)
581#define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 177)
582#define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 178)
583#define SIR_HAL_RECEIVE_FILTER_CLEAR_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 179)
Jeff Johnson295189b2012-06-20 16:38:30 -0700584#endif // WLAN_FEATURE_PACKET_FILTERING
585
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800586#define SIR_HAL_SET_POWER_PARAMS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 180)
Jeff Johnson295189b2012-06-20 16:38:30 -0700587
588#ifdef WLAN_FEATURE_GTK_OFFLOAD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800589#define SIR_HAL_GTK_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 181)
590#define SIR_HAL_GTK_OFFLOAD_GETINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 182)
591#define SIR_HAL_GTK_OFFLOAD_GETINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 183)
Jeff Johnson295189b2012-06-20 16:38:30 -0700592#endif //WLAN_FEATURE_GTK_OFFLOAD
593
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800594#ifdef FEATURE_WLAN_ESE
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800595#define SIR_HAL_TSM_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 184)
596#define SIR_HAL_TSM_STATS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 185)
Jeff Johnson295189b2012-06-20 16:38:30 -0700597#endif
598
599
600#ifdef WLAN_WAKEUP_EVENTS
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800601#define SIR_HAL_WAKE_REASON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 186)
Jeff Johnson295189b2012-06-20 16:38:30 -0700602#endif //WLAN_WAKEUP_EVENTS
603
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800604#define SIR_HAL_SET_TM_LEVEL_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 187)
Jeff Johnson295189b2012-06-20 16:38:30 -0700605
Mohit Khanna4a70d262012-09-11 16:30:12 -0700606#ifdef WLAN_FEATURE_11AC
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800607#define SIR_HAL_UPDATE_OP_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 188)
Mohit Khanna4a70d262012-09-11 16:30:12 -0700608#endif
609
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800610#ifdef FEATURE_WLAN_TDLS
611/// PE <-> HAL TDLS messages
612#define SIR_HAL_TDLS_LINK_ESTABLISH (SIR_HAL_ITC_MSG_TYPES_BEGIN + 189)
613#define SIR_HAL_TDLS_LINK_TEARDOWN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 190)
614#endif
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -0700615#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700616#define SIR_HAL_ROAM_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 191)
Varun Reddy Yeturucc661d22013-05-20 11:47:10 -0700617#define SIR_HAL_ROAM_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 192)
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -0700618#endif
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800619#define SIR_HAL_GET_ROAM_RSSI_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 193)
620#define SIR_HAL_GET_ROAM_RSSI_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 194)
621
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -0800622#define SIR_HAL_TRAFFIC_STATS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 195)
623
Chet Lanctot186b5732013-03-18 10:26:30 -0700624#ifdef WLAN_FEATURE_11W
625#define SIR_HAL_EXCLUDE_UNENCRYPTED_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 196)
626#endif
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530627#ifdef FEATURE_WLAN_TDLS
628/// PE <-> HAL TDLS messages
629#define SIR_HAL_TDLS_LINK_ESTABLISH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 197)
630#define SIR_HAL_TDLS_LINK_ESTABLISH_REQ_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 198)
631#define SIR_HAL_TDLS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 199)
632#endif
Chet Lanctot186b5732013-03-18 10:26:30 -0700633
Ganesh Kondabattinif0fa07c2013-06-11 17:47:49 +0530634#define SIR_HAL_UPDATE_CHAN_LIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 200)
635#define SIR_HAL_STOP_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 201)
636#define SIR_HAL_STOP_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 202)
637#define SIR_HAL_RX_SCAN_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 203)
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530638#define SIR_HAL_DHCP_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 204)
639#define SIR_HAL_DHCP_STOP_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 205)
Ravi Joshid2ca7c42013-07-23 08:37:49 -0700640#define SIR_HAL_IBSS_PEER_INACTIVITY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 206)
Ganesh Kondabattinif0fa07c2013-06-11 17:47:49 +0530641
Abhishek Singh7cd040e2016-01-07 10:51:04 +0530642#define SIR_HAL_LPHB_CONF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 207)
643#define SIR_HAL_LPHB_WAIT_EXPIRE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 208)
Leo Chang9056f462013-08-01 19:21:11 -0700644
Abhishek Singh7cd040e2016-01-07 10:51:04 +0530645#define SIR_HAL_ADD_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 209)
646#define SIR_HAL_DEL_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 210)
Yue Mab9c86f42013-08-14 15:59:08 -0700647
Abhishek Singh7cd040e2016-01-07 10:51:04 +0530648#ifdef WLAN_FEATURE_RMC
649#define SIR_HAL_RMC_BECOME_RULER (SIR_HAL_ITC_MSG_TYPES_BEGIN + 211)
650#define SIR_HAL_RMC_RULER_SELECT_RESP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 212)
651#define SIR_HAL_RMC_RULER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 213)
652#define SIR_HAL_RMC_UPDATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 214)
653
654/* For IBSS peer info related messages */
655#define SIR_HAL_IBSS_PEER_INFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 215)
656#define SIR_HAL_IBSS_PEER_INFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 216)
657#endif /* WLAN_FEATURE_RMC */
Rajeev79dbe4c2013-10-05 11:03:42 +0530658
Chittajit Mitraf5413a42013-10-18 14:20:08 -0700659#define SIR_HAL_RATE_UPDATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 217)
Rajeev79dbe4c2013-10-05 11:03:42 +0530660
Abhishek Singh7cd040e2016-01-07 10:51:04 +0530661#ifdef FEATURE_WLAN_BATCH_SCAN
662#define SIR_HAL_SET_BATCH_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 218)
663#define SIR_HAL_SET_BATCH_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 219)
664#define SIR_HAL_STOP_BATCH_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 220)
665#define SIR_HAL_TRIGGER_BATCH_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 221)
666#endif
Arif Hussaina5ebce02013-08-09 15:09:58 -0700667
Abhishek Singh7cd040e2016-01-07 10:51:04 +0530668#define SIR_HAL_START_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 223)
669#define SIR_HAL_START_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 224)
670#define SIR_HAL_UPDATE_CHAN_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 225)
671
672#ifdef WLAN_FEATURE_RMC
673#define SIR_HAL_TX_FAIL_MONITOR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 226)
674#endif /* WLAN_FEATURE_RMC */
Sandeep Puligilla11d49a62014-01-30 12:05:16 +0530675
676/* OBSS Scan start Indication to FW*/
677#define SIR_HAL_HT40_OBSS_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN +227)
678/* OBSS Scan stop Indication to FW*/
679#define SIR_HAL_HT40_OBSS_STOP_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN +228)
680
Abhishek Singh7cd040e2016-01-07 10:51:04 +0530681#define SIR_HAL_SET_MAX_TX_POWER_PER_BAND_REQ \
682 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 229)
683#define SIR_HAL_SET_MAX_TX_POWER_PER_BAND_RSP \
684 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 230)
685
686#define SIR_HAL_BCN_MISS_RATE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 231)
c_hpothu92367912014-05-01 15:18:17 +0530687
Sunil Duttbd736ed2014-05-26 21:19:41 +0530688#ifdef WLAN_FEATURE_LINK_LAYER_STATS
689#define SIR_HAL_LL_STATS_CLEAR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 232)
690#define SIR_HAL_LL_STATS_SET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 233)
691#define SIR_HAL_LL_STATS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 234)
692#define SIR_HAL_LL_STATS_RESULTS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 235)
693#endif
694
Dino Mycle2c198072014-06-10 10:15:52 +0530695#ifdef WLAN_FEATURE_EXTSCAN
696#define SIR_HAL_EXTSCAN_GET_CAPABILITIES_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 236)
697#define SIR_HAL_EXTSCAN_GET_CAPABILITIES_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 237)
698#define SIR_HAL_EXTSCAN_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 238)
699#define SIR_HAL_EXTSCAN_START_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 239)
700#define SIR_HAL_EXTSCAN_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 240)
701#define SIR_HAL_EXTSCAN_STOP_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 241)
702#define SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 242)
703#define SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 243)
704#define SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 244)
705#define SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 245)
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +0530706#define SIR_HAL_EXTSCAN_SET_SSID_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 246)
707#define SIR_HAL_EXTSCAN_SET_SSID_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 247)
708#define SIR_HAL_EXTSCAN_RESET_SSID_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 248)
709#define SIR_HAL_EXTSCAN_RESET_SSID_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 249)
710
Dino Mycle2c198072014-06-10 10:15:52 +0530711#define SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 250)
712#define SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 251)
713
714#define SIR_HAL_EXTSCAN_PROGRESS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 252)
715#define SIR_HAL_EXTSCAN_SCAN_AVAILABLE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 253)
716#define SIR_HAL_EXTSCAN_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 254)
717#define SIR_HAL_EXTSCAN_HOTLIST_MATCH_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 255)
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +0530718#define SIR_HAL_EXTSCAN_SSID_HOTLIST_MATCH_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 256)
719
Dino Mycle2c198072014-06-10 10:15:52 +0530720#define SIR_HAL_EXTSCAN_FULL_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 257)
721
722#endif /* WLAN_FEATURE_EXTSCAN */
723
Atul Mittalc0f739f2014-07-31 13:47:47 +0530724#ifdef FEATURE_WLAN_TDLS
725/// PE <-> HAL TDLS messages
726// tdlsoffchan
727#define SIR_HAL_TDLS_CHAN_SWITCH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 258)
728#define SIR_HAL_TDLS_CHAN_SWITCH_REQ_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 259)
729#endif
Siddharth Bhal6af5d4e2014-09-29 21:11:16 +0530730#define SIR_HAL_SPOOF_MAC_ADDR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 260)
Siddharth Bhal4f3187c2014-10-09 21:38:08 +0530731#define SIR_HAL_SPOOF_MAC_ADDR_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 261)
Atul Mittalc0f739f2014-07-31 13:47:47 +0530732
Abhishek Singh3ae443b2014-10-08 11:49:27 +0530733#define SIR_HAL_FW_STATS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 262)
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530734
735#define SIR_HAL_ENCRYPT_MSG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 263)
736#define SIR_HAL_ENCRYPT_MSG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 264)
737
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530738#define SIR_HAL_MGMT_LOGGING_INIT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 265)
Siddharth Bhal64246172015-02-27 01:04:37 +0530739#define SIR_HAL_GET_FRAME_LOG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 266)
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530740
Srinivas Dasari030bad32015-02-18 23:23:54 +0530741#define SIR_HAL_NAN_REQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 267)
742
Abhishek Singh41988ba2015-05-25 19:42:29 +0530743#define SIR_HAL_SET_RTS_CTS_HTVHT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 268)
Katya Nigamf0511f62015-05-05 16:40:57 +0530744#define SIR_HAL_MON_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 269)
745#define SIR_HAL_MON_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 270)
Sachin Ahuja715aafc2015-07-21 23:35:10 +0530746#define SIR_HAL_FATAL_EVENT_LOGS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 271)
Abhishek Singh7cd040e2016-01-07 10:51:04 +0530747#define SIR_HAL_SEND_LOG_DONE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 272)
748#define SIR_HAL_LOST_LINK_PARAMS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 273)
749#define SIR_HAL_SEND_FREQ_RANGE_CONTROL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 274)
750#define SIR_HAL_FW_MEM_DUMP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 275)
751#define SIR_HAL_RSSI_MON_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 276)
752#define SIR_HAL_RSSI_MON_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 277)
753#define SIR_HAL_HIGH_PRIORITY_DATA_INFO_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 278)
754#define SIR_HAL_WIFI_CONFIG_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 279)
755#define SIR_HAL_START_OEM_DATA_REQ_IND_NEW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 280)
756#define SIR_HAL_START_OEM_DATA_RSP_IND_NEW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 281)
757#define SIR_HAL_ANTENNA_DIVERSITY_SELECTION_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 282)
758#define SIR_HAL_MODIFY_ROAM_PARAMS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 283)
Selvaraj, Sridharbb07d5b2016-04-06 12:22:35 +0530759#define SIR_HAL_SET_ALLOWED_ACTION_FRAMES (SIR_HAL_ITC_MSG_TYPES_BEGIN + 284)
Bhargav Shahb5cd16b2016-04-11 16:31:49 +0530760#define SIR_HAL_PAUSE_TL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 285)
Kapil Guptab3a981b2016-06-26 13:36:51 +0530761#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
762#define SIR_HAL_PER_ROAM_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 286)
763#define SIR_HAL_PER_ROAM_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 287)
764#define SIR_HAL_PER_ROAM_SCAN_TRIGGER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 288)
765#define SIR_HAL_PER_ROAM_SCAN_TRIGGER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 289)
766#endif
Leela Venkata Kiran Kumar Reddy Chirala45f184c2014-02-14 15:08:21 -0800767#define SIR_HAL_MSG_TYPES_END (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF)
c_manjeecfd1efb2015-09-25 19:32:34 +0530768
Jeff Johnson295189b2012-06-20 16:38:30 -0700769// CFG message types
770#define SIR_CFG_MSG_TYPES_BEGIN (SIR_CFG_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800771#define SIR_CFG_ITC_MSG_TYPES_BEGIN (SIR_CFG_MSG_TYPES_BEGIN+0xB0)
772#define SIR_CFG_PARAM_UPDATE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN)
773#define SIR_CFG_DOWNLOAD_COMPLETE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN + 1)
774#define SIR_CFG_MSG_TYPES_END (SIR_CFG_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700775
776// LIM message types
777#define SIR_LIM_MSG_TYPES_BEGIN (SIR_LIM_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800778#define SIR_LIM_ITC_MSG_TYPES_BEGIN (SIR_LIM_MSG_TYPES_BEGIN+0xB0)
Jeff Johnsone7245742012-09-05 17:12:55 -0700779
Jeff Johnson295189b2012-06-20 16:38:30 -0700780// Messages to/from HAL
Jeff Johnsone7245742012-09-05 17:12:55 -0700781// Removed as part of moving HAL down to FW
782
Jeff Johnson295189b2012-06-20 16:38:30 -0700783// Message from ISR upon TFP retry interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800784#define SIR_LIM_RETRY_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 3)
Jeff Johnson295189b2012-06-20 16:38:30 -0700785// Message from BB Transport
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800786#define SIR_BB_XPORT_MGMT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 4)
Jeff Johnson295189b2012-06-20 16:38:30 -0700787// UNUSED SIR_LIM_ITC_MSG_TYPES_BEGIN + 6
788// Message from ISR upon SP's Invalid session key interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800789#define SIR_LIM_INV_KEY_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 7)
Jeff Johnson295189b2012-06-20 16:38:30 -0700790// Message from ISR upon SP's Invalid key ID interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800791#define SIR_LIM_KEY_ID_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 8)
Jeff Johnson295189b2012-06-20 16:38:30 -0700792// Message from ISR upon SP's Replay threshold reached interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800793#define SIR_LIM_REPLAY_THRES_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 9)
Jeff Johnson295189b2012-06-20 16:38:30 -0700794// Message from HDD after the TD dummy packet is cleaned up
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800795#define SIR_LIM_TD_DUMMY_CALLBACK_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xA)
Jeff Johnson295189b2012-06-20 16:38:30 -0700796// Message from SCH when the STA is ready to be deleted
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800797#define SIR_LIM_SCH_CLEAN_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xB)
Jeff Johnson295189b2012-06-20 16:38:30 -0700798// Message from ISR upon Radar Detection
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800799#define SIR_LIM_RADAR_DETECT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xC)
Jeff Johnson295189b2012-06-20 16:38:30 -0700800
801/////////////////////////////////////
802// message id Available
803////////////////////////////////////
804
805
806// Message from Hal to send out a DEL-TS indication
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800807#define SIR_LIM_DEL_TS_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xE)
Jeff Johnson295189b2012-06-20 16:38:30 -0700808//Message from HAL to send BA global timer timeout
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800809#define SIR_LIM_ADD_BA_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700810//Indication from HAL to delete all the BA sessions when the BA activity check timer is disabled
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800811#define SIR_LIM_DEL_BA_ALL_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x10)
Jeff Johnson295189b2012-06-20 16:38:30 -0700812//Indication from HAL to delete Station context
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800813#define SIR_LIM_DELETE_STA_CONTEXT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x11)
Jeff Johnson295189b2012-06-20 16:38:30 -0700814//Indication from HAL to delete BA
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800815#define SIR_LIM_DEL_BA_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x12)
816#define SIR_LIM_UPDATE_BEACON (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x13)
Jeff Johnson295189b2012-06-20 16:38:30 -0700817
818
819// LIM Timeout messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800820#define SIR_LIM_TIMEOUT_MSG_START ((SIR_LIM_MODULE_ID << 8) + 0xD0)
Jeff Johnson295189b2012-06-20 16:38:30 -0700821#define SIR_LIM_MIN_CHANNEL_TIMEOUT SIR_LIM_TIMEOUT_MSG_START
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800822#define SIR_LIM_MAX_CHANNEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 1)
823#define SIR_LIM_JOIN_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 2)
824#define SIR_LIM_AUTH_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 3)
825#define SIR_LIM_AUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 4)
826#define SIR_LIM_ASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 5)
827#define SIR_LIM_REASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 6)
828#define SIR_LIM_HEART_BEAT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 7)
Jeff Johnson295189b2012-06-20 16:38:30 -0700829// currently unused SIR_LIM_TIMEOUT_MSG_START + 0x8
Jeff Johnson295189b2012-06-20 16:38:30 -0700830// Link Monitoring Messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800831#define SIR_LIM_CHANNEL_SCAN_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xA)
832#define SIR_LIM_PROBE_HB_FAILURE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xB)
833#define SIR_LIM_ADDTS_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xC)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800834#define SIR_LIM_LINK_TEST_DURATION_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x13)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800835#define SIR_LIM_CNF_WAIT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x17)
836#define SIR_LIM_KEEPALIVE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x18)
837#define SIR_LIM_UPDATE_OLBC_CACHEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x19)
838#define SIR_LIM_CHANNEL_SWITCH_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1A)
839#define SIR_LIM_QUIET_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1B)
840#define SIR_LIM_QUIET_BSS_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1C)
Jeff Johnson295189b2012-06-20 16:38:30 -0700841
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800842#define SIR_LIM_WPS_OVERLAP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1D)
Jeff Johnson295189b2012-06-20 16:38:30 -0700843#ifdef WLAN_FEATURE_VOWIFI_11R
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800844#define SIR_LIM_FT_PREAUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1E)
Jeff Johnson295189b2012-06-20 16:38:30 -0700845#endif
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800846#define SIR_LIM_REMAIN_CHN_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1F)
Viral Modid86bde22012-12-10 13:09:21 -0800847#define SIR_LIM_INSERT_SINGLESHOT_NOA_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x20)
Jeff Johnson295189b2012-06-20 16:38:30 -0700848
849#ifdef WMM_APSD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800850#define SIR_LIM_WMM_APSD_SP_START_MSG_TYPE (SIR_LIM_TIMEOUT_MSG_START + 0x21)
851#define SIR_LIM_WMM_APSD_SP_END_MSG_TYPE (SIR_LIM_TIMEOUT_MSG_START + 0x22)
Jeff Johnson295189b2012-06-20 16:38:30 -0700852#endif
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800853#define SIR_LIM_BEACON_GEN_IND (SIR_LIM_TIMEOUT_MSG_START + 0x23)
854#define SIR_LIM_PERIODIC_PROBE_REQ_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x24)
Srinivas Girigowda5cecb202013-10-08 09:13:25 -0700855
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800856#define SIR_LIM_ESE_TSM_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x25)
Jeff Johnson295189b2012-06-20 16:38:30 -0700857
Madan Mohan Koyyalamudi521ff192012-11-15 17:13:08 -0800858#define SIR_LIM_DISASSOC_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x26)
859#define SIR_LIM_DEAUTH_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x27)
Madan Mohan Koyyalamudi9aff9ff2012-11-29 11:27:25 -0800860#define SIR_LIM_PERIODIC_JOIN_PROBE_REQ_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x28)
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800861
Gopichand Nakkalad492d202013-05-10 02:50:47 +0530862#define SIR_LIM_CONVERT_ACTIVE_CHANNEL_TO_PASSIVE (SIR_LIM_TIMEOUT_MSG_START + 0x2C)
Sushant Kaushik9e923872015-04-02 17:09:31 +0530863#define SIR_LIM_AUTH_RETRY_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x2D)
864
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800865#define SIR_LIM_MSG_TYPES_END (SIR_LIM_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700866
867// SCH message types
868#define SIR_SCH_MSG_TYPES_BEGIN (SIR_SCH_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800869#define SIR_SCH_CHANNEL_SWITCH_REQUEST (SIR_SCH_MSG_TYPES_BEGIN)
870#define SIR_SCH_START_SCAN_REQ (SIR_SCH_MSG_TYPES_BEGIN + 1)
871#define SIR_SCH_START_SCAN_RSP (SIR_SCH_MSG_TYPES_BEGIN + 2)
872#define SIR_SCH_END_SCAN_NTF (SIR_SCH_MSG_TYPES_BEGIN + 3)
873#define SIR_SCH_MSG_TYPES_END (SIR_SCH_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700874
875// PMM message types
876#define SIR_PMM_MSG_TYPES_BEGIN (SIR_PMM_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800877#define SIR_PMM_CHANGE_PM_MODE (SIR_PMM_MSG_TYPES_BEGIN)
Jeff Johnson295189b2012-06-20 16:38:30 -0700878#define SIR_PMM_CHANGE_IMPS_MODE (SIR_PMM_MSG_TYPES_BEGIN + 1) //for Idle mode power save
879#define SIR_PMM_MSG_TYPES_END (SIR_PMM_MSG_TYPES_BEGIN+0xFF)
880
881// MNT message types
882#define SIR_MNT_MSG_TYPES_BEGIN (SIR_MNT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800883#define SIR_MNT_RELEASE_BD (SIR_MNT_MSG_TYPES_BEGIN + 0)
884#define SIR_MNT_MSG_TYPES_END (SIR_MNT_MSG_TYPES_BEGIN + 0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700885
886// DVT message types
887#define SIR_DVT_MSG_TYPES_BEGIN (SIR_DVT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800888#define SIR_DVT_ITC_MSG_TYPES_BEGIN (SIR_DVT_MSG_TYPES_BEGIN+0x0F)
889#define SIR_DVT_MSG_TYPES_END (SIR_DVT_ITC_MSG_TYPES_BEGIN+0xFFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700890
891
892//PTT message types
893#define SIR_PTT_MSG_TYPES_BEGIN 0x3000
894#define SIR_PTT_MSG_TYPES_END 0x3300
895
896
897/* ****************************************** *
898 * *
899 * EVENT TYPE Defintions *
900 * *
901 * ****************************************** */
902
903// MMH Events that are used in other modules to post events to MMH
904# define SIR_HAL_MMH_TXMB_READY_EVT 0x00000002
905# define SIR_HAL_MMH_RXMB_DONE_EVT 0x00000004
906# define SIR_HAL_MMH_MSGQ_NE_EVT 0x00000008
907
908# define SIR_HSTEMUL_TXMB_DONE_EVT 0x00000100
909# define SIR_HSTEMUL_RXMB_READY_EVT 0x00000200
910# define SIR_HSTEMUL_MSGQ_NE_EVT 0x00000400
911
912# define SIR_TST_XMIT_MSG_QS_EMPTY_EVT 0x00000080
913
914//added for OBSS
915
916//Param Change Bitmap sent to HAL
917#define PARAM_BCN_INTERVAL_CHANGED (1 << 0)
918#define PARAM_SHORT_PREAMBLE_CHANGED (1 << 1)
919#define PARAM_SHORT_SLOT_TIME_CHANGED (1 << 2)
920#define PARAM_llACOEXIST_CHANGED (1 << 3)
921#define PARAM_llBCOEXIST_CHANGED (1 << 4)
922#define PARAM_llGCOEXIST_CHANGED (1 << 5)
923#define PARAM_HT20MHZCOEXIST_CHANGED (1<<6)
924#define PARAM_NON_GF_DEVICES_PRESENT_CHANGED (1<<7)
925#define PARAM_RIFS_MODE_CHANGED (1<<8)
926#define PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED (1<<9)
927#define PARAM_OBSS_MODE_CHANGED (1<<10)
928#define PARAM_BEACON_UPDATE_MASK (PARAM_BCN_INTERVAL_CHANGED|PARAM_SHORT_PREAMBLE_CHANGED|PARAM_SHORT_SLOT_TIME_CHANGED|PARAM_llACOEXIST_CHANGED |PARAM_llBCOEXIST_CHANGED|\
929 PARAM_llGCOEXIST_CHANGED|PARAM_HT20MHZCOEXIST_CHANGED|PARAM_NON_GF_DEVICES_PRESENT_CHANGED|PARAM_RIFS_MODE_CHANGED|PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED| PARAM_OBSS_MODE_CHANGED)
930
931
932
933#endif