blob: 203dbb0769aec6d0bfaa1315dbfa3dceab60b6c7 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Abhishek Singh00b71972016-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 Kumarcfbcf942015-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 Saptasagarcfc65ae2015-12-22 15:06:10 +0530143 ANTENNA_DIVERSITY_SELECTION = 62,
Kapil Gupta04ab1992016-06-26 13:36:51 +0530144#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
145 PER_BASED_ROAMING = 63,
146#endif
Arun Khandavalli08bcafd2016-11-08 14:45:48 +0530147 SAP_MODE_WOW = 64,
Anurag Chouhan1deaa252016-12-05 15:48:47 +0530148 /* SAP_OFFLOADS flag will be used for
149 * SAP auth offload, SAP DHCP offload and
150 * SAP DNS offload.
151 */
152 SAP_OFFLOADS = 65,
Tushnim Bhattacharyya5dd94562013-03-20 20:15:03 -0700153 //MAX_FEATURE_SUPPORTED = 128
Jeff Johnsone7245742012-09-05 17:12:55 -0700154} placeHolderInCapBitmap;
155
Jeff Johnson295189b2012-06-20 16:38:30 -0700156typedef enum eSriLinkState {
157 eSIR_LINK_IDLE_STATE = 0,
158 eSIR_LINK_PREASSOC_STATE = 1,
159 eSIR_LINK_POSTASSOC_STATE = 2,
160 eSIR_LINK_AP_STATE = 3,
161 eSIR_LINK_IBSS_STATE = 4,
162 // BT-AMP Case
163 eSIR_LINK_BTAMP_PREASSOC_STATE = 5,
164 eSIR_LINK_BTAMP_POSTASSOC_STATE = 6,
165 eSIR_LINK_BTAMP_AP_STATE = 7,
166 eSIR_LINK_BTAMP_STA_STATE = 8,
167
168 // Reserved for HAL internal use
169 eSIR_LINK_LEARN_STATE = 9,
170 eSIR_LINK_SCAN_STATE = 10,
171 eSIR_LINK_FINISH_SCAN_STATE = 11,
172 eSIR_LINK_INIT_CAL_STATE = 12,
173 eSIR_LINK_FINISH_CAL_STATE = 13,
Gopichand Nakkala924e4552013-05-08 19:18:14 +0530174 eSIR_LINK_LISTEN_STATE = 14,
175 eSIR_LINK_SEND_ACTION_STATE = 15,
Jeff Johnson295189b2012-06-20 16:38:30 -0700176} tSirLinkState;
177
178
179/// Message queue structure used across Sirius project.
180/// NOTE: this structure should be multiples of a word size (4bytes)
181/// as this is used in tx_queue where it expects to be multiples of 4 bytes.
182typedef struct sSirMsgQ
183{
184 tANI_U16 type;
185 /*
186 * This field can be used as sequence number/dialog token for matching
187 * requests and responses.
188 */
189 tANI_U16 reserved;
190 /**
191 * Based on the type either a bodyptr pointer into
192 * memory or bodyval as a 32 bit data is used.
193 * bodyptr: is always a freeable pointer, one should always
194 * make sure that bodyptr is always freeable.
195 *
196 * Messages should use either bodyptr or bodyval; not both !!!.
197 */
198 void *bodyptr;
199 tANI_U32 bodyval;
Srinivas Girigowdaae5a6cf2014-03-06 14:14:12 -0800200
201 /*
202 * Some messages provide a callback function. The function signature
203 * must be agreed upon between the two entities exchanging the message
204 */
205 void *callback;
206
Jeff Johnson295189b2012-06-20 16:38:30 -0700207} tSirMsgQ, *tpSirMsgQ;
208
209/// Mailbox Message Structure Define
210typedef struct sSirMbMsg
211{
212 tANI_U16 type;
213
214 /**
215 * This length includes 4 bytes of header, that is,
216 * 2 bytes type + 2 bytes msgLen + n*4 bytes of data.
217 * This field is byte length.
218 */
219 tANI_U16 msgLen;
220
221 /**
222 * This is the first data word in the mailbox message.
223 * It is followed by n words of data.
224 * NOTE: data[1] is not a place holder to store data
225 * instead to dereference the message body.
226 */
227 tANI_U32 data[1];
228} tSirMbMsg, *tpSirMbMsg;
229
Jeff Johnson62c27982013-02-27 17:53:55 -0800230/// Mailbox Message Structure for P2P
Jeff Johnson295189b2012-06-20 16:38:30 -0700231typedef struct sSirMbMsgP2p
232{
233 tANI_U16 type;
234
235 /**
236 * This length includes 4 bytes of header, that is,
237 * 2 bytes type + 2 bytes msgLen + n*4 bytes of data.
238 * This field is byte length.
239 */
240 tANI_U16 msgLen;
241
Jeff Johnsone7245742012-09-05 17:12:55 -0700242 tANI_U8 sessionId;
243 tANI_U8 noack;
244 tANI_U16 wait;
245
Jeff Johnson295189b2012-06-20 16:38:30 -0700246 /**
247 * This is the first data word in the mailbox message.
248 * It is followed by n words of data.
249 * NOTE: data[1] is not a place holder to store data
250 * instead to dereference the message body.
251 */
252 tANI_U32 data[1];
253} tSirMbMsgP2p, *tpSirMbMsgP2p;
Jeff Johnson295189b2012-06-20 16:38:30 -0700254
255/// Message queue definitions
256// msgtype(2bytes) reserved(2bytes) bodyptr(4bytes) bodyval(4bytes)
257// NOTE tSirMsgQ should be always multiples of WORD(4Bytes)
258// All Queue Message Size are multiples of word Size (4 bytes)
259#define SYS_MSG_SIZE (sizeof(tSirMsgQ)/4)
260
261/// gHalMsgQ
262
263#define SYS_HAL_MSG_SIZE SYS_MSG_SIZE
264
265/// gMMHhiPriorityMsgQ
266
267#define SYS_MMH_HI_PRI_MSG_SIZE SYS_MSG_SIZE
268
269/// gMMHprotocolMsgQ
270
271#define SYS_MMH_PROT_MSG_SIZE SYS_MSG_SIZE
272
273/// gMMHdebugMsgQ
274
275#define SYS_MMH_DEBUG_MSG_SIZE SYS_MSG_SIZE
276
277/// gMAINTmsgQ
278
279#define SYS_MNT_MSG_SIZE SYS_MSG_SIZE
280
281/// LIM Message Queue
282
283#define SYS_LIM_MSG_SIZE SYS_MSG_SIZE
284
285/// ARQ Message Queue
286
287#define SYS_ARQ_MSG_SIZE SYS_MSG_SIZE
288
289/// Scheduler Message Queue
290
291#define SYS_SCH_MSG_SIZE SYS_MSG_SIZE
292
293/// PMM Message Queue
294
295#define SYS_PMM_MSG_SIZE SYS_MSG_SIZE
296
297/// TX Message Queue
298
299#define SYS_TX_MSG_SIZE (sizeof(void *)/4) // Message pointer size
300
301/// RX Message Queue
302
303#define SYS_RX_MSG_SIZE (sizeof(void *)/4) // Message pointer size
304
305/// PTT Message Queue
306#define SYS_NIM_PTT_MSG_SIZE SYS_MSG_SIZE // Message pointer size
307
308
309
310/* *************************************** *
311 * *
312 * Block pool configuration *
313 * *
314 * *************************************** */
315
316// The following values specify the number of blocks to be created
317// for each block pool size.
318
319#define SIR_BUF_BLK_32_NUM 64
320#define SIR_BUF_BLK_64_NUM 128
321#define SIR_BUF_BLK_96_NUM 16
322#define SIR_BUF_BLK_128_NUM 128
323#define SIR_BUF_BLK_160_NUM 8
324#define SIR_BUF_BLK_192_NUM 0
325#define SIR_BUF_BLK_224_NUM 0
326#define SIR_BUF_BLK_256_NUM 128
327#define SIR_BUF_BLK_512_NUM 0
328#define SIR_BUF_BLK_768_NUM 0
329#define SIR_BUF_BLK_1024_NUM 2
330#define SIR_BUF_BLK_1280_NUM 0
331#define SIR_BUF_BLK_1536_NUM 2
332#define SIR_BUF_BLK_1792_NUM 0
333#define SIR_BUF_BLK_2048_NUM 2
334#define SIR_BUF_BLK_2304_NUM 0
335
336/* ******************************************* *
337 * *
338 * SIRIUS MESSAGE TYPES *
339 * *
340 * ******************************************* */
341
342
343/*
344 * The following message types have bounds defined for each module for
345 * inter thread/module communications.
346 * Each module will get 256 message types in total.
347 * Note that message type definitions for mailbox messages for
348 * communication with Host are in wniApi.h file.
349 *
350 * Any addition/deletion to this message list should also be
351 * reflected in the halUtil_getMsgString() routine.
352 */
353
354// HAL message types
355#define SIR_HAL_MSG_TYPES_BEGIN (SIR_HAL_MODULE_ID << 8)
Siddharth Bhal64246172015-02-27 01:04:37 +0530356#define SIR_HAL_EXT_MSG_TYPES_BEGIN (SIR_HAL_EXT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800357#define SIR_HAL_ITC_MSG_TYPES_BEGIN (SIR_HAL_MSG_TYPES_BEGIN+0x20)
Jeff Johnson295189b2012-06-20 16:38:30 -0700358#define SIR_HAL_RADAR_DETECTED_IND SIR_HAL_ITC_MSG_TYPES_BEGIN
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800359#define SIR_HAL_WDT_KAM_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 1)
360#define SIR_HAL_TIMER_TEMP_MEAS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 2)
361#define SIR_HAL_TIMER_PERIODIC_STATS_COLLECT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 3)
362#define SIR_HAL_CAL_REQ_NTF (SIR_HAL_ITC_MSG_TYPES_BEGIN + 4)
363#define SIR_HAL_MNT_OPEN_TPC_TEMP_MEAS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 5)
364#define SIR_HAL_CCA_MONITOR_INTERVAL_TO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 6)
365#define SIR_HAL_CCA_MONITOR_DURATION_TO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 7)
366#define SIR_HAL_CCA_MONITOR_START (SIR_HAL_ITC_MSG_TYPES_BEGIN + 8)
367#define SIR_HAL_CCA_MONITOR_STOP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 9)
368#define SIR_HAL_CCA_CHANGE_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 10)
369#define SIR_HAL_TIMER_WRAP_AROUND_STATS_COLLECT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 11)
Jeff Johnson295189b2012-06-20 16:38:30 -0700370
371/*
372 * New Taurus related messages
373 */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800374#define SIR_HAL_ADD_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 13)
375#define SIR_HAL_ADD_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 14)
376#define SIR_HAL_DELETE_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 15)
377#define SIR_HAL_DELETE_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 16)
378#define SIR_HAL_ADD_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 17)
379#define SIR_HAL_ADD_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 18)
380#define SIR_HAL_DELETE_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 19)
381#define SIR_HAL_DELETE_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 20)
382#define SIR_HAL_INIT_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 21)
383#define SIR_HAL_INIT_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 22)
384#define SIR_HAL_START_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 23)
385#define SIR_HAL_START_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 24)
386#define SIR_HAL_END_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 25)
387#define SIR_HAL_END_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 26)
388#define SIR_HAL_FINISH_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 27)
389#define SIR_HAL_FINISH_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 28)
390#define SIR_HAL_SEND_BEACON_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 29)
391#define SIR_HAL_SEND_BEACON_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 30)
Jeff Johnson295189b2012-06-20 16:38:30 -0700392
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800393#define SIR_HAL_INIT_CFG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 31)
394#define SIR_HAL_INIT_CFG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 32)
Jeff Johnson295189b2012-06-20 16:38:30 -0700395
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800396#define SIR_HAL_INIT_WM_CFG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 33)
397#define SIR_HAL_INIT_WM_CFG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 34)
Jeff Johnson295189b2012-06-20 16:38:30 -0700398
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800399#define SIR_HAL_SET_BSSKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 35)
400#define SIR_HAL_SET_BSSKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 36)
401#define SIR_HAL_SET_STAKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 37)
402#define SIR_HAL_SET_STAKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 38)
403#define SIR_HAL_DPU_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 39)
404#define SIR_HAL_DPU_STATS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 40)
405#define SIR_HAL_GET_DPUINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 41)
406#define SIR_HAL_GET_DPUINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 42)
Jeff Johnson295189b2012-06-20 16:38:30 -0700407
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800408#define SIR_HAL_UPDATE_EDCA_PROFILE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 43)
Jeff Johnson295189b2012-06-20 16:38:30 -0700409
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800410#define SIR_HAL_UPDATE_STARATEINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 45)
411#define SIR_HAL_UPDATE_STARATEINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 46)
Jeff Johnson295189b2012-06-20 16:38:30 -0700412
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800413#define SIR_HAL_UPDATE_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 47)
414#define SIR_HAL_UPDATE_CF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 48)
415#define SIR_HAL_CHNL_SWITCH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 49)
416#define SIR_HAL_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 50)
417#define SIR_HAL_DEL_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 51)
418#define SIR_HAL_SOFTMAC_TXSTAT_REPORT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 52)
Jeff Johnson295189b2012-06-20 16:38:30 -0700419
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800420#define SIR_HAL_MBOX_SENDMSG_COMPLETE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 61)
421#define SIR_HAL_EXIT_BMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 53)
422#define SIR_HAL_EXIT_BMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 54)
423#define SIR_HAL_EXIT_BMPS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 55)
424#define SIR_HAL_ENTER_BMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 56)
425#define SIR_HAL_ENTER_BMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 57)
426#define SIR_HAL_BMPS_STATUS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 58)
427#define SIR_HAL_MISSED_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 59)
Jeff Johnson295189b2012-06-20 16:38:30 -0700428
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800429#define SIR_HAL_SWITCH_CHANNEL_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 60)
430#define SIR_HAL_PWR_SAVE_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 62)
Jeff Johnson295189b2012-06-20 16:38:30 -0700431
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800432#define SIR_HAL_REGISTER_PE_CALLBACK (SIR_HAL_ITC_MSG_TYPES_BEGIN + 63)
433#define SIR_HAL_SOFTMAC_MEM_READREQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 64)
434#define SIR_HAL_SOFTMAC_MEM_WRITEREQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 65)
Jeff Johnson295189b2012-06-20 16:38:30 -0700435
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800436#define SIR_HAL_SOFTMAC_MEM_READRESPONSE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 66)
437#define SIR_HAL_SOFTMAC_BULKREGWRITE_CONFIRM (SIR_HAL_ITC_MSG_TYPES_BEGIN + 67)
438#define SIR_HAL_SOFTMAC_BULKREGREAD_RESPONSE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 68)
439#define SIR_HAL_SOFTMAC_HOSTMESG_MSGPROCESSRESULT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 69)
Jeff Johnson295189b2012-06-20 16:38:30 -0700440
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800441#define SIR_HAL_ADDBA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 70)
442#define SIR_HAL_ADDBA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 71)
443#define SIR_HAL_DELBA_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 72)
444#define SIR_HAL_DEL_BA_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 73)
Jeff Johnson295189b2012-06-20 16:38:30 -0700445
446//message from sme to initiate delete block ack session.
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800447#define SIR_HAL_DELBA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 74)
448#define SIR_HAL_IBSS_STA_ADD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 75)
449#define SIR_HAL_TIMER_ADJUST_ADAPTIVE_THRESHOLD_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 76)
450#define SIR_HAL_SET_LINK_STATE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 77)
451#define SIR_HAL_ENTER_IMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 78)
452#define SIR_HAL_ENTER_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 79)
453#define SIR_HAL_EXIT_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 80)
454#define SIR_HAL_EXIT_IMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 81)
455#define SIR_HAL_SOFTMAC_HOSTMESG_PS_STATUS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 82)
456#define SIR_HAL_POSTPONE_ENTER_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 83)
457#define SIR_HAL_STA_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 84)
458#define SIR_HAL_GLOBAL_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 85)
459#define SIR_HAL_AGGR_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 86)
460#define SIR_HAL_STA_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 87)
461#define SIR_HAL_GLOBAL_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 88)
462#define SIR_HAL_AGGR_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 89)
463#define SIR_HAL_STAT_SUMM_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 90)
464#define SIR_HAL_STAT_SUMM_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 92)
465#define SIR_HAL_REMOVE_BSSKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 93)
466#define SIR_HAL_REMOVE_BSSKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 94)
467#define SIR_HAL_REMOVE_STAKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 95)
468#define SIR_HAL_REMOVE_STAKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 96)
469#define SIR_HAL_SET_STA_BCASTKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 97)
470#define SIR_HAL_SET_STA_BCASTKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 98)
471#define SIR_HAL_REMOVE_STA_BCASTKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 99)
472#define SIR_HAL_REMOVE_STA_BCASTKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 100)
473#define SIR_HAL_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 101)
474#define SIR_HAL_DPU_MIC_ERROR (SIR_HAL_ITC_MSG_TYPES_BEGIN + 102)
475#define SIR_HAL_TIMER_BA_ACTIVITY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 103)
476#define SIR_HAL_TIMER_CHIP_MONITOR_TIMEOUT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 104)
477#define SIR_HAL_TIMER_TRAFFIC_ACTIVITY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 105)
478#define SIR_HAL_TIMER_ADC_RSSI_STATS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 106)
479#define SIR_HAL_MIC_FAILURE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 107)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800480#define SIR_HAL_UPDATE_UAPSD_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 108)
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800481#define SIR_HAL_SET_MIMOPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 109)
482#define SIR_HAL_SET_MIMOPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 110)
483#define SIR_HAL_SYS_READY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 111)
484#define SIR_HAL_SET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 112)
485#define SIR_HAL_SET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 113)
486#define SIR_HAL_GET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 114)
487#define SIR_HAL_GET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 115)
488#define SIR_HAL_GET_NOISE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 116)
489#define SIR_HAL_GET_NOISE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 117)
Jeff Johnson295189b2012-06-20 16:38:30 -0700490
491/* Messages to support transmit_halt and transmit_resume */
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800492#define SIR_HAL_TRANSMISSION_CONTROL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 118)
Jeff Johnson295189b2012-06-20 16:38:30 -0700493/* Indication from LIM to HAL to Initialize radar interrupt */
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800494#define SIR_HAL_INIT_RADAR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 119)
Jeff Johnson295189b2012-06-20 16:38:30 -0700495
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800496#define SIR_HAL_BEACON_PRE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 120)
497#define SIR_HAL_ENTER_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 121)
498#define SIR_HAL_ENTER_UAPSD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 122)
499#define SIR_HAL_EXIT_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 123)
500#define SIR_HAL_EXIT_UAPSD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 124)
501#define SIR_HAL_LOW_RSSI_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 125)
502#define SIR_HAL_BEACON_FILTER_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 126)
Jeff Johnson295189b2012-06-20 16:38:30 -0700503/// PE <-> HAL WOWL messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800504#define SIR_HAL_WOWL_ADD_BCAST_PTRN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 127)
505#define SIR_HAL_WOWL_DEL_BCAST_PTRN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 128)
506#define SIR_HAL_WOWL_ENTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 129)
507#define SIR_HAL_WOWL_ENTER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 130)
508#define SIR_HAL_WOWL_EXIT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 131)
509#define SIR_HAL_WOWL_EXIT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 132)
510#define SIR_HAL_TX_COMPLETE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 133)
511#define SIR_HAL_TIMER_RA_COLLECT_AND_ADAPT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 134)
Jeff Johnson295189b2012-06-20 16:38:30 -0700512/// PE <-> HAL statistics messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800513#define SIR_HAL_GET_STATISTICS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 135)
514#define SIR_HAL_GET_STATISTICS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 136)
515#define SIR_HAL_SET_KEY_DONE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 137)
Jeff Johnson295189b2012-06-20 16:38:30 -0700516
517/// PE <-> HAL BTC messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800518#define SIR_HAL_BTC_SET_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 138)
519#define SIR_HAL_SIGNAL_BT_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 139)
520#define SIR_HAL_HANDLE_FW_MBOX_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 140)
521#define SIR_HAL_UPDATE_PROBE_RSP_TEMPLATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 141)
Jeff Johnson295189b2012-06-20 16:38:30 -0700522
Jeff Johnson295189b2012-06-20 16:38:30 -0700523/* PE <-> HAL addr2 mismatch message */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800524#define SIR_LIM_ADDR2_MISS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 142)
Jeff Johnsone7245742012-09-05 17:12:55 -0700525#ifdef FEATURE_OEM_DATA_SUPPORT
526/* PE <-> HAL OEM_DATA RELATED MESSAGES */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800527#define SIR_HAL_START_OEM_DATA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 143)
528#define SIR_HAL_START_OEM_DATA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 144)
529#define SIR_HAL_FINISH_OEM_DATA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 145)
Jeff Johnsone7245742012-09-05 17:12:55 -0700530#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700531
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800532#define SIR_HAL_SET_MAX_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 146)
533#define SIR_HAL_SET_MAX_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 147)
Jeff Johnson295189b2012-06-20 16:38:30 -0700534
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800535#define SIR_HAL_SEND_MSG_COMPLETE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 148)
Jeff Johnson295189b2012-06-20 16:38:30 -0700536
537/// PE <-> HAL Host Offload message
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800538#define SIR_HAL_SET_HOST_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 149)
Jeff Johnson295189b2012-06-20 16:38:30 -0700539
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800540#define SIR_HAL_ADD_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 150)
541#define SIR_HAL_ADD_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 151)
542#define SIR_HAL_DEL_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 152)
543#define SIR_HAL_DEL_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 153)
544#define SIR_HAL_SIGNAL_BTAMP_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 154)
Jeff Johnson295189b2012-06-20 16:38:30 -0700545
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800546#define SIR_HAL_CFG_RXP_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 155)
547#define SIR_HAL_CFG_RXP_FILTER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 156)
Jeff Johnson295189b2012-06-20 16:38:30 -0700548
549#ifdef WLAN_FEATURE_VOWIFI_11R
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800550#define SIR_HAL_AGGR_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 157)
551#define SIR_HAL_AGGR_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 158)
552#define SIR_HAL_AGGR_QOS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 159)
553#define SIR_HAL_AGGR_QOS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 160)
Jeff Johnson295189b2012-06-20 16:38:30 -0700554#endif /* WLAN_FEATURE_VOWIFI_11R */
555
Jeff Johnson295189b2012-06-20 16:38:30 -0700556/* P2P <-> HAL P2P msg */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800557#define SIR_HAL_SET_P2P_GO_NOA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 161)
558#define SIR_HAL_P2P_NOA_ATTR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 162)
Viral Modid86bde22012-12-10 13:09:21 -0800559#define SIR_HAL_P2P_NOA_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 163)
Jeff Johnson295189b2012-06-20 16:38:30 -0700560
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800561#define SIR_HAL_SET_LINK_STATE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 165)
Jeff Johnson295189b2012-06-20 16:38:30 -0700562
563
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800564#define SIR_HAL_WLAN_SUSPEND_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 166)
565#define SIR_HAL_WLAN_RESUME_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 167)
Jeff Johnson295189b2012-06-20 16:38:30 -0700566
567/// PE <-> HAL Keep Alive message
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800568#define SIR_HAL_SET_KEEP_ALIVE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 168)
Jeff Johnson295189b2012-06-20 16:38:30 -0700569
570#ifdef WLAN_NS_OFFLOAD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800571#define SIR_HAL_SET_NS_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 169)
Jeff Johnson295189b2012-06-20 16:38:30 -0700572#endif //WLAN_NS_OFFLOAD
573
574#ifdef FEATURE_WLAN_SCAN_PNO
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800575#define SIR_HAL_SET_PNO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 170)
576#define SIR_HAL_SET_PNO_CHANGED_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 171)
577#define SIR_HAL_UPDATE_SCAN_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 172)
578#define SIR_HAL_SET_RSSI_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 173)
Jeff Johnson295189b2012-06-20 16:38:30 -0700579#endif // FEATURE_WLAN_SCAN_PNO
580
581
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800582#define SIR_HAL_SET_TX_PER_TRACKING_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 174)
Jeff Johnson295189b2012-06-20 16:38:30 -0700583
584#ifdef WLAN_FEATURE_PACKET_FILTERING
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800585#define SIR_HAL_8023_MULTICAST_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 175)
586#define SIR_HAL_RECEIVE_FILTER_SET_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 176)
587#define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 177)
588#define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 178)
589#define SIR_HAL_RECEIVE_FILTER_CLEAR_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 179)
Jeff Johnson295189b2012-06-20 16:38:30 -0700590#endif // WLAN_FEATURE_PACKET_FILTERING
591
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800592#define SIR_HAL_SET_POWER_PARAMS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 180)
Jeff Johnson295189b2012-06-20 16:38:30 -0700593
594#ifdef WLAN_FEATURE_GTK_OFFLOAD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800595#define SIR_HAL_GTK_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 181)
596#define SIR_HAL_GTK_OFFLOAD_GETINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 182)
597#define SIR_HAL_GTK_OFFLOAD_GETINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 183)
Jeff Johnson295189b2012-06-20 16:38:30 -0700598#endif //WLAN_FEATURE_GTK_OFFLOAD
599
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800600#ifdef FEATURE_WLAN_ESE
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800601#define SIR_HAL_TSM_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 184)
602#define SIR_HAL_TSM_STATS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 185)
Jeff Johnson295189b2012-06-20 16:38:30 -0700603#endif
604
605
606#ifdef WLAN_WAKEUP_EVENTS
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800607#define SIR_HAL_WAKE_REASON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 186)
Jeff Johnson295189b2012-06-20 16:38:30 -0700608#endif //WLAN_WAKEUP_EVENTS
609
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800610#define SIR_HAL_SET_TM_LEVEL_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 187)
Jeff Johnson295189b2012-06-20 16:38:30 -0700611
Mohit Khanna4a70d262012-09-11 16:30:12 -0700612#ifdef WLAN_FEATURE_11AC
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800613#define SIR_HAL_UPDATE_OP_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 188)
Mohit Khanna4a70d262012-09-11 16:30:12 -0700614#endif
615
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800616#ifdef FEATURE_WLAN_TDLS
617/// PE <-> HAL TDLS messages
618#define SIR_HAL_TDLS_LINK_ESTABLISH (SIR_HAL_ITC_MSG_TYPES_BEGIN + 189)
619#define SIR_HAL_TDLS_LINK_TEARDOWN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 190)
620#endif
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -0700621#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700622#define SIR_HAL_ROAM_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 191)
Varun Reddy Yeturucc661d22013-05-20 11:47:10 -0700623#define SIR_HAL_ROAM_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 192)
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -0700624#endif
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800625#define SIR_HAL_GET_ROAM_RSSI_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 193)
626#define SIR_HAL_GET_ROAM_RSSI_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 194)
627
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -0800628#define SIR_HAL_TRAFFIC_STATS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 195)
629
Chet Lanctot186b5732013-03-18 10:26:30 -0700630#ifdef WLAN_FEATURE_11W
631#define SIR_HAL_EXCLUDE_UNENCRYPTED_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 196)
632#endif
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530633#ifdef FEATURE_WLAN_TDLS
634/// PE <-> HAL TDLS messages
635#define SIR_HAL_TDLS_LINK_ESTABLISH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 197)
636#define SIR_HAL_TDLS_LINK_ESTABLISH_REQ_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 198)
637#define SIR_HAL_TDLS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 199)
638#endif
Chet Lanctot186b5732013-03-18 10:26:30 -0700639
Ganesh Kondabattinif0fa07c2013-06-11 17:47:49 +0530640#define SIR_HAL_UPDATE_CHAN_LIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 200)
641#define SIR_HAL_STOP_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 201)
642#define SIR_HAL_STOP_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 202)
643#define SIR_HAL_RX_SCAN_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 203)
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530644#define SIR_HAL_DHCP_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 204)
645#define SIR_HAL_DHCP_STOP_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 205)
Ravi Joshid2ca7c42013-07-23 08:37:49 -0700646#define SIR_HAL_IBSS_PEER_INACTIVITY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 206)
Ganesh Kondabattinif0fa07c2013-06-11 17:47:49 +0530647
Abhishek Singh00b71972016-01-07 10:51:04 +0530648#define SIR_HAL_LPHB_CONF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 207)
649#define SIR_HAL_LPHB_WAIT_EXPIRE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 208)
Leo Chang9056f462013-08-01 19:21:11 -0700650
Abhishek Singh00b71972016-01-07 10:51:04 +0530651#define SIR_HAL_ADD_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 209)
652#define SIR_HAL_DEL_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 210)
Yue Mab9c86f42013-08-14 15:59:08 -0700653
Abhishek Singh00b71972016-01-07 10:51:04 +0530654#ifdef WLAN_FEATURE_RMC
655#define SIR_HAL_RMC_BECOME_RULER (SIR_HAL_ITC_MSG_TYPES_BEGIN + 211)
656#define SIR_HAL_RMC_RULER_SELECT_RESP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 212)
657#define SIR_HAL_RMC_RULER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 213)
658#define SIR_HAL_RMC_UPDATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 214)
659
660/* For IBSS peer info related messages */
661#define SIR_HAL_IBSS_PEER_INFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 215)
662#define SIR_HAL_IBSS_PEER_INFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 216)
663#endif /* WLAN_FEATURE_RMC */
Rajeev79dbe4c2013-10-05 11:03:42 +0530664
Chittajit Mitraf5413a42013-10-18 14:20:08 -0700665#define SIR_HAL_RATE_UPDATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 217)
Rajeev79dbe4c2013-10-05 11:03:42 +0530666
Abhishek Singh00b71972016-01-07 10:51:04 +0530667#ifdef FEATURE_WLAN_BATCH_SCAN
668#define SIR_HAL_SET_BATCH_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 218)
669#define SIR_HAL_SET_BATCH_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 219)
670#define SIR_HAL_STOP_BATCH_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 220)
671#define SIR_HAL_TRIGGER_BATCH_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 221)
672#endif
Arif Hussaina5ebce02013-08-09 15:09:58 -0700673
Abhishek Singh00b71972016-01-07 10:51:04 +0530674#define SIR_HAL_START_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 223)
675#define SIR_HAL_START_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 224)
676#define SIR_HAL_UPDATE_CHAN_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 225)
677
678#ifdef WLAN_FEATURE_RMC
679#define SIR_HAL_TX_FAIL_MONITOR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 226)
680#endif /* WLAN_FEATURE_RMC */
Sandeep Puligilla11d49a62014-01-30 12:05:16 +0530681
682/* OBSS Scan start Indication to FW*/
683#define SIR_HAL_HT40_OBSS_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN +227)
684/* OBSS Scan stop Indication to FW*/
685#define SIR_HAL_HT40_OBSS_STOP_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN +228)
686
Abhishek Singh00b71972016-01-07 10:51:04 +0530687#define SIR_HAL_SET_MAX_TX_POWER_PER_BAND_REQ \
688 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 229)
689#define SIR_HAL_SET_MAX_TX_POWER_PER_BAND_RSP \
690 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 230)
691
692#define SIR_HAL_BCN_MISS_RATE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 231)
c_hpothu92367912014-05-01 15:18:17 +0530693
Sunil Duttbd736ed2014-05-26 21:19:41 +0530694#ifdef WLAN_FEATURE_LINK_LAYER_STATS
695#define SIR_HAL_LL_STATS_CLEAR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 232)
696#define SIR_HAL_LL_STATS_SET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 233)
697#define SIR_HAL_LL_STATS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 234)
698#define SIR_HAL_LL_STATS_RESULTS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 235)
699#endif
700
Dino Mycle2c198072014-06-10 10:15:52 +0530701#ifdef WLAN_FEATURE_EXTSCAN
702#define SIR_HAL_EXTSCAN_GET_CAPABILITIES_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 236)
703#define SIR_HAL_EXTSCAN_GET_CAPABILITIES_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 237)
704#define SIR_HAL_EXTSCAN_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 238)
705#define SIR_HAL_EXTSCAN_START_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 239)
706#define SIR_HAL_EXTSCAN_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 240)
707#define SIR_HAL_EXTSCAN_STOP_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 241)
708#define SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 242)
709#define SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 243)
710#define SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 244)
711#define SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 245)
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +0530712#define SIR_HAL_EXTSCAN_SET_SSID_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 246)
713#define SIR_HAL_EXTSCAN_SET_SSID_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 247)
714#define SIR_HAL_EXTSCAN_RESET_SSID_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 248)
715#define SIR_HAL_EXTSCAN_RESET_SSID_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 249)
716
Dino Mycle2c198072014-06-10 10:15:52 +0530717#define SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 250)
718#define SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 251)
719
720#define SIR_HAL_EXTSCAN_PROGRESS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 252)
721#define SIR_HAL_EXTSCAN_SCAN_AVAILABLE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 253)
722#define SIR_HAL_EXTSCAN_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 254)
723#define SIR_HAL_EXTSCAN_HOTLIST_MATCH_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 255)
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +0530724#define SIR_HAL_EXTSCAN_SSID_HOTLIST_MATCH_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 256)
725
Dino Mycle2c198072014-06-10 10:15:52 +0530726#define SIR_HAL_EXTSCAN_FULL_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 257)
727
728#endif /* WLAN_FEATURE_EXTSCAN */
729
Atul Mittalc0f739f2014-07-31 13:47:47 +0530730#ifdef FEATURE_WLAN_TDLS
731/// PE <-> HAL TDLS messages
732// tdlsoffchan
733#define SIR_HAL_TDLS_CHAN_SWITCH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 258)
734#define SIR_HAL_TDLS_CHAN_SWITCH_REQ_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 259)
735#endif
Siddharth Bhal6af5d4e2014-09-29 21:11:16 +0530736#define SIR_HAL_SPOOF_MAC_ADDR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 260)
Siddharth Bhal4f3187c2014-10-09 21:38:08 +0530737#define SIR_HAL_SPOOF_MAC_ADDR_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 261)
Atul Mittalc0f739f2014-07-31 13:47:47 +0530738
Abhishek Singh3ae443b2014-10-08 11:49:27 +0530739#define SIR_HAL_FW_STATS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 262)
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530740
741#define SIR_HAL_ENCRYPT_MSG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 263)
742#define SIR_HAL_ENCRYPT_MSG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 264)
743
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530744#define SIR_HAL_MGMT_LOGGING_INIT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 265)
Siddharth Bhal64246172015-02-27 01:04:37 +0530745#define SIR_HAL_GET_FRAME_LOG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 266)
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530746
Srinivas Dasari030bad32015-02-18 23:23:54 +0530747#define SIR_HAL_NAN_REQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 267)
748
Abhishek Singh41988ba2015-05-25 19:42:29 +0530749#define SIR_HAL_SET_RTS_CTS_HTVHT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 268)
Katya Nigamf0511f62015-05-05 16:40:57 +0530750#define SIR_HAL_MON_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 269)
751#define SIR_HAL_MON_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 270)
Sachin Ahuja715aafc2015-07-21 23:35:10 +0530752#define SIR_HAL_FATAL_EVENT_LOGS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 271)
Abhishek Singh00b71972016-01-07 10:51:04 +0530753#define SIR_HAL_SEND_LOG_DONE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 272)
754#define SIR_HAL_LOST_LINK_PARAMS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 273)
755#define SIR_HAL_SEND_FREQ_RANGE_CONTROL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 274)
756#define SIR_HAL_FW_MEM_DUMP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 275)
757#define SIR_HAL_RSSI_MON_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 276)
758#define SIR_HAL_RSSI_MON_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 277)
759#define SIR_HAL_HIGH_PRIORITY_DATA_INFO_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 278)
760#define SIR_HAL_WIFI_CONFIG_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 279)
761#define SIR_HAL_START_OEM_DATA_REQ_IND_NEW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 280)
762#define SIR_HAL_START_OEM_DATA_RSP_IND_NEW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 281)
763#define SIR_HAL_ANTENNA_DIVERSITY_SELECTION_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 282)
764#define SIR_HAL_MODIFY_ROAM_PARAMS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 283)
Selvaraj, Sridharc045b8b2016-04-06 12:22:35 +0530765#define SIR_HAL_SET_ALLOWED_ACTION_FRAMES (SIR_HAL_ITC_MSG_TYPES_BEGIN + 284)
Bhargav Shahe3a6ff02016-04-11 16:31:49 +0530766#define SIR_HAL_PAUSE_TL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 285)
Kapil Gupta04ab1992016-06-26 13:36:51 +0530767#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
768#define SIR_HAL_PER_ROAM_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 286)
769#define SIR_HAL_PER_ROAM_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 287)
770#define SIR_HAL_PER_ROAM_SCAN_TRIGGER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 288)
771#define SIR_HAL_PER_ROAM_SCAN_TRIGGER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 289)
772#endif
mukul sharma6b53e202016-11-23 19:29:18 +0530773#define SIR_HAL_UPDATE_CFG_INT_PARAM (SIR_HAL_ITC_MSG_TYPES_BEGIN + 290)
Agrawal Ashish17ef5082016-10-17 18:33:21 +0530774
775#ifdef SAP_AUTH_OFFLOAD
776#define SIR_HAL_SET_SAP_AUTH_OFL (SIR_HAL_ITC_MSG_TYPES_BEGIN + 291)
777#define SIR_HAL_SAP_OFL_ADD_STA (SIR_HAL_ITC_MSG_TYPES_BEGIN + 292)
778#define SIR_HAL_SAP_OFL_DEL_STA (SIR_HAL_ITC_MSG_TYPES_BEGIN + 293)
779#endif
Anurag Chouhan83026002016-12-13 22:46:21 +0530780#ifdef DHCP_SERVER_OFFLOAD
781#define SIR_HAL_SET_DHCP_SERVER_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 294)
782#endif /* DHCP_SERVER_OFFLOAD */
Leela Venkata Kiran Kumar Reddy Chirala45f184c2014-02-14 15:08:21 -0800783#define SIR_HAL_MSG_TYPES_END (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF)
c_manjeecfd1efb2015-09-25 19:32:34 +0530784
Jeff Johnson295189b2012-06-20 16:38:30 -0700785// CFG message types
786#define SIR_CFG_MSG_TYPES_BEGIN (SIR_CFG_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800787#define SIR_CFG_ITC_MSG_TYPES_BEGIN (SIR_CFG_MSG_TYPES_BEGIN+0xB0)
788#define SIR_CFG_PARAM_UPDATE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN)
789#define SIR_CFG_DOWNLOAD_COMPLETE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN + 1)
790#define SIR_CFG_MSG_TYPES_END (SIR_CFG_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700791
792// LIM message types
793#define SIR_LIM_MSG_TYPES_BEGIN (SIR_LIM_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800794#define SIR_LIM_ITC_MSG_TYPES_BEGIN (SIR_LIM_MSG_TYPES_BEGIN+0xB0)
Jeff Johnsone7245742012-09-05 17:12:55 -0700795
Jeff Johnson295189b2012-06-20 16:38:30 -0700796// Messages to/from HAL
Jeff Johnsone7245742012-09-05 17:12:55 -0700797// Removed as part of moving HAL down to FW
798
Jeff Johnson295189b2012-06-20 16:38:30 -0700799// Message from ISR upon TFP retry interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800800#define SIR_LIM_RETRY_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 3)
Jeff Johnson295189b2012-06-20 16:38:30 -0700801// Message from BB Transport
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800802#define SIR_BB_XPORT_MGMT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 4)
Jeff Johnson295189b2012-06-20 16:38:30 -0700803// UNUSED SIR_LIM_ITC_MSG_TYPES_BEGIN + 6
804// Message from ISR upon SP's Invalid session key interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800805#define SIR_LIM_INV_KEY_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 7)
Jeff Johnson295189b2012-06-20 16:38:30 -0700806// Message from ISR upon SP's Invalid key ID interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800807#define SIR_LIM_KEY_ID_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 8)
Jeff Johnson295189b2012-06-20 16:38:30 -0700808// Message from ISR upon SP's Replay threshold reached interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800809#define SIR_LIM_REPLAY_THRES_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 9)
Jeff Johnson295189b2012-06-20 16:38:30 -0700810// Message from HDD after the TD dummy packet is cleaned up
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800811#define SIR_LIM_TD_DUMMY_CALLBACK_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xA)
Jeff Johnson295189b2012-06-20 16:38:30 -0700812// Message from SCH when the STA is ready to be deleted
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800813#define SIR_LIM_SCH_CLEAN_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xB)
Jeff Johnson295189b2012-06-20 16:38:30 -0700814// Message from ISR upon Radar Detection
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800815#define SIR_LIM_RADAR_DETECT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xC)
Jeff Johnson295189b2012-06-20 16:38:30 -0700816
817/////////////////////////////////////
818// message id Available
819////////////////////////////////////
820
821
822// Message from Hal to send out a DEL-TS indication
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800823#define SIR_LIM_DEL_TS_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xE)
Jeff Johnson295189b2012-06-20 16:38:30 -0700824//Message from HAL to send BA global timer timeout
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800825#define SIR_LIM_ADD_BA_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700826//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 -0800827#define SIR_LIM_DEL_BA_ALL_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x10)
Jeff Johnson295189b2012-06-20 16:38:30 -0700828//Indication from HAL to delete Station context
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800829#define SIR_LIM_DELETE_STA_CONTEXT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x11)
Jeff Johnson295189b2012-06-20 16:38:30 -0700830//Indication from HAL to delete BA
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800831#define SIR_LIM_DEL_BA_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x12)
832#define SIR_LIM_UPDATE_BEACON (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x13)
Jeff Johnson295189b2012-06-20 16:38:30 -0700833
834
835// LIM Timeout messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800836#define SIR_LIM_TIMEOUT_MSG_START ((SIR_LIM_MODULE_ID << 8) + 0xD0)
Jeff Johnson295189b2012-06-20 16:38:30 -0700837#define SIR_LIM_MIN_CHANNEL_TIMEOUT SIR_LIM_TIMEOUT_MSG_START
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800838#define SIR_LIM_MAX_CHANNEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 1)
839#define SIR_LIM_JOIN_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 2)
840#define SIR_LIM_AUTH_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 3)
841#define SIR_LIM_AUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 4)
842#define SIR_LIM_ASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 5)
843#define SIR_LIM_REASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 6)
844#define SIR_LIM_HEART_BEAT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 7)
Jeff Johnson295189b2012-06-20 16:38:30 -0700845// currently unused SIR_LIM_TIMEOUT_MSG_START + 0x8
Jeff Johnson295189b2012-06-20 16:38:30 -0700846// Link Monitoring Messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800847#define SIR_LIM_CHANNEL_SCAN_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xA)
848#define SIR_LIM_PROBE_HB_FAILURE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xB)
849#define SIR_LIM_ADDTS_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xC)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800850#define SIR_LIM_LINK_TEST_DURATION_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x13)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800851#define SIR_LIM_CNF_WAIT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x17)
852#define SIR_LIM_KEEPALIVE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x18)
853#define SIR_LIM_UPDATE_OLBC_CACHEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x19)
854#define SIR_LIM_CHANNEL_SWITCH_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1A)
855#define SIR_LIM_QUIET_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1B)
856#define SIR_LIM_QUIET_BSS_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1C)
Jeff Johnson295189b2012-06-20 16:38:30 -0700857
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800858#define SIR_LIM_WPS_OVERLAP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1D)
Jeff Johnson295189b2012-06-20 16:38:30 -0700859#ifdef WLAN_FEATURE_VOWIFI_11R
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800860#define SIR_LIM_FT_PREAUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1E)
Jeff Johnson295189b2012-06-20 16:38:30 -0700861#endif
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800862#define SIR_LIM_REMAIN_CHN_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1F)
Viral Modid86bde22012-12-10 13:09:21 -0800863#define SIR_LIM_INSERT_SINGLESHOT_NOA_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x20)
Jeff Johnson295189b2012-06-20 16:38:30 -0700864
865#ifdef WMM_APSD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800866#define SIR_LIM_WMM_APSD_SP_START_MSG_TYPE (SIR_LIM_TIMEOUT_MSG_START + 0x21)
867#define SIR_LIM_WMM_APSD_SP_END_MSG_TYPE (SIR_LIM_TIMEOUT_MSG_START + 0x22)
Jeff Johnson295189b2012-06-20 16:38:30 -0700868#endif
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800869#define SIR_LIM_BEACON_GEN_IND (SIR_LIM_TIMEOUT_MSG_START + 0x23)
870#define SIR_LIM_PERIODIC_PROBE_REQ_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x24)
Srinivas Girigowda5cecb202013-10-08 09:13:25 -0700871
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800872#define SIR_LIM_ESE_TSM_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x25)
Jeff Johnson295189b2012-06-20 16:38:30 -0700873
Madan Mohan Koyyalamudi521ff192012-11-15 17:13:08 -0800874#define SIR_LIM_DISASSOC_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x26)
875#define SIR_LIM_DEAUTH_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x27)
Madan Mohan Koyyalamudi9aff9ff2012-11-29 11:27:25 -0800876#define SIR_LIM_PERIODIC_JOIN_PROBE_REQ_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x28)
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800877
Gopichand Nakkalad492d202013-05-10 02:50:47 +0530878#define SIR_LIM_CONVERT_ACTIVE_CHANNEL_TO_PASSIVE (SIR_LIM_TIMEOUT_MSG_START + 0x2C)
Sushant Kaushik9e923872015-04-02 17:09:31 +0530879#define SIR_LIM_AUTH_RETRY_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x2D)
880
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800881#define SIR_LIM_MSG_TYPES_END (SIR_LIM_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700882
883// SCH message types
884#define SIR_SCH_MSG_TYPES_BEGIN (SIR_SCH_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800885#define SIR_SCH_CHANNEL_SWITCH_REQUEST (SIR_SCH_MSG_TYPES_BEGIN)
886#define SIR_SCH_START_SCAN_REQ (SIR_SCH_MSG_TYPES_BEGIN + 1)
887#define SIR_SCH_START_SCAN_RSP (SIR_SCH_MSG_TYPES_BEGIN + 2)
888#define SIR_SCH_END_SCAN_NTF (SIR_SCH_MSG_TYPES_BEGIN + 3)
889#define SIR_SCH_MSG_TYPES_END (SIR_SCH_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700890
891// PMM message types
892#define SIR_PMM_MSG_TYPES_BEGIN (SIR_PMM_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800893#define SIR_PMM_CHANGE_PM_MODE (SIR_PMM_MSG_TYPES_BEGIN)
Jeff Johnson295189b2012-06-20 16:38:30 -0700894#define SIR_PMM_CHANGE_IMPS_MODE (SIR_PMM_MSG_TYPES_BEGIN + 1) //for Idle mode power save
895#define SIR_PMM_MSG_TYPES_END (SIR_PMM_MSG_TYPES_BEGIN+0xFF)
896
897// MNT message types
898#define SIR_MNT_MSG_TYPES_BEGIN (SIR_MNT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800899#define SIR_MNT_RELEASE_BD (SIR_MNT_MSG_TYPES_BEGIN + 0)
900#define SIR_MNT_MSG_TYPES_END (SIR_MNT_MSG_TYPES_BEGIN + 0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700901
902// DVT message types
903#define SIR_DVT_MSG_TYPES_BEGIN (SIR_DVT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800904#define SIR_DVT_ITC_MSG_TYPES_BEGIN (SIR_DVT_MSG_TYPES_BEGIN+0x0F)
905#define SIR_DVT_MSG_TYPES_END (SIR_DVT_ITC_MSG_TYPES_BEGIN+0xFFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700906
907
908//PTT message types
909#define SIR_PTT_MSG_TYPES_BEGIN 0x3000
910#define SIR_PTT_MSG_TYPES_END 0x3300
911
912
913/* ****************************************** *
914 * *
915 * EVENT TYPE Defintions *
916 * *
917 * ****************************************** */
918
919// MMH Events that are used in other modules to post events to MMH
920# define SIR_HAL_MMH_TXMB_READY_EVT 0x00000002
921# define SIR_HAL_MMH_RXMB_DONE_EVT 0x00000004
922# define SIR_HAL_MMH_MSGQ_NE_EVT 0x00000008
923
924# define SIR_HSTEMUL_TXMB_DONE_EVT 0x00000100
925# define SIR_HSTEMUL_RXMB_READY_EVT 0x00000200
926# define SIR_HSTEMUL_MSGQ_NE_EVT 0x00000400
927
928# define SIR_TST_XMIT_MSG_QS_EMPTY_EVT 0x00000080
929
930//added for OBSS
931
932//Param Change Bitmap sent to HAL
933#define PARAM_BCN_INTERVAL_CHANGED (1 << 0)
934#define PARAM_SHORT_PREAMBLE_CHANGED (1 << 1)
935#define PARAM_SHORT_SLOT_TIME_CHANGED (1 << 2)
936#define PARAM_llACOEXIST_CHANGED (1 << 3)
937#define PARAM_llBCOEXIST_CHANGED (1 << 4)
938#define PARAM_llGCOEXIST_CHANGED (1 << 5)
939#define PARAM_HT20MHZCOEXIST_CHANGED (1<<6)
940#define PARAM_NON_GF_DEVICES_PRESENT_CHANGED (1<<7)
941#define PARAM_RIFS_MODE_CHANGED (1<<8)
942#define PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED (1<<9)
943#define PARAM_OBSS_MODE_CHANGED (1<<10)
944#define PARAM_BEACON_UPDATE_MASK (PARAM_BCN_INTERVAL_CHANGED|PARAM_SHORT_PREAMBLE_CHANGED|PARAM_SHORT_SLOT_TIME_CHANGED|PARAM_llACOEXIST_CHANGED |PARAM_llBCOEXIST_CHANGED|\
945 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)
946
947
948
949#endif