blob: a911c336cd0d085fa28d7be614b19b6babbfee7e [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Manjeet Singh3ed79242017-01-11 19:04:32 +05302 * Copyright (c) 2012-2017 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,
Sravan Kumar Kairam9ba5f5b2016-12-13 13:50:46 +0530153 SAP_BUFF_ALLOC = 66,
Tushnim Bhattacharyya5dd94562013-03-20 20:15:03 -0700154 //MAX_FEATURE_SUPPORTED = 128
Jeff Johnsone7245742012-09-05 17:12:55 -0700155} placeHolderInCapBitmap;
156
Jeff Johnson295189b2012-06-20 16:38:30 -0700157typedef enum eSriLinkState {
158 eSIR_LINK_IDLE_STATE = 0,
159 eSIR_LINK_PREASSOC_STATE = 1,
160 eSIR_LINK_POSTASSOC_STATE = 2,
161 eSIR_LINK_AP_STATE = 3,
162 eSIR_LINK_IBSS_STATE = 4,
163 // BT-AMP Case
164 eSIR_LINK_BTAMP_PREASSOC_STATE = 5,
165 eSIR_LINK_BTAMP_POSTASSOC_STATE = 6,
166 eSIR_LINK_BTAMP_AP_STATE = 7,
167 eSIR_LINK_BTAMP_STA_STATE = 8,
168
169 // Reserved for HAL internal use
170 eSIR_LINK_LEARN_STATE = 9,
171 eSIR_LINK_SCAN_STATE = 10,
172 eSIR_LINK_FINISH_SCAN_STATE = 11,
173 eSIR_LINK_INIT_CAL_STATE = 12,
174 eSIR_LINK_FINISH_CAL_STATE = 13,
Gopichand Nakkala924e4552013-05-08 19:18:14 +0530175 eSIR_LINK_LISTEN_STATE = 14,
176 eSIR_LINK_SEND_ACTION_STATE = 15,
Jeff Johnson295189b2012-06-20 16:38:30 -0700177} tSirLinkState;
178
179
180/// Message queue structure used across Sirius project.
181/// NOTE: this structure should be multiples of a word size (4bytes)
182/// as this is used in tx_queue where it expects to be multiples of 4 bytes.
183typedef struct sSirMsgQ
184{
185 tANI_U16 type;
186 /*
187 * This field can be used as sequence number/dialog token for matching
188 * requests and responses.
189 */
190 tANI_U16 reserved;
191 /**
192 * Based on the type either a bodyptr pointer into
193 * memory or bodyval as a 32 bit data is used.
194 * bodyptr: is always a freeable pointer, one should always
195 * make sure that bodyptr is always freeable.
196 *
197 * Messages should use either bodyptr or bodyval; not both !!!.
198 */
199 void *bodyptr;
200 tANI_U32 bodyval;
Srinivas Girigowdaae5a6cf2014-03-06 14:14:12 -0800201
202 /*
203 * Some messages provide a callback function. The function signature
204 * must be agreed upon between the two entities exchanging the message
205 */
206 void *callback;
207
Jeff Johnson295189b2012-06-20 16:38:30 -0700208} tSirMsgQ, *tpSirMsgQ;
209
210/// Mailbox Message Structure Define
211typedef struct sSirMbMsg
212{
213 tANI_U16 type;
214
215 /**
216 * This length includes 4 bytes of header, that is,
217 * 2 bytes type + 2 bytes msgLen + n*4 bytes of data.
218 * This field is byte length.
219 */
220 tANI_U16 msgLen;
221
222 /**
223 * This is the first data word in the mailbox message.
224 * It is followed by n words of data.
225 * NOTE: data[1] is not a place holder to store data
226 * instead to dereference the message body.
227 */
228 tANI_U32 data[1];
229} tSirMbMsg, *tpSirMbMsg;
230
Jeff Johnson62c27982013-02-27 17:53:55 -0800231/// Mailbox Message Structure for P2P
Jeff Johnson295189b2012-06-20 16:38:30 -0700232typedef struct sSirMbMsgP2p
233{
234 tANI_U16 type;
235
236 /**
237 * This length includes 4 bytes of header, that is,
238 * 2 bytes type + 2 bytes msgLen + n*4 bytes of data.
239 * This field is byte length.
240 */
241 tANI_U16 msgLen;
242
Jeff Johnsone7245742012-09-05 17:12:55 -0700243 tANI_U8 sessionId;
244 tANI_U8 noack;
245 tANI_U16 wait;
246
Jeff Johnson295189b2012-06-20 16:38:30 -0700247 /**
248 * This is the first data word in the mailbox message.
249 * It is followed by n words of data.
250 * NOTE: data[1] is not a place holder to store data
251 * instead to dereference the message body.
252 */
253 tANI_U32 data[1];
254} tSirMbMsgP2p, *tpSirMbMsgP2p;
Jeff Johnson295189b2012-06-20 16:38:30 -0700255
256/// Message queue definitions
257// msgtype(2bytes) reserved(2bytes) bodyptr(4bytes) bodyval(4bytes)
258// NOTE tSirMsgQ should be always multiples of WORD(4Bytes)
259// All Queue Message Size are multiples of word Size (4 bytes)
260#define SYS_MSG_SIZE (sizeof(tSirMsgQ)/4)
261
262/// gHalMsgQ
263
264#define SYS_HAL_MSG_SIZE SYS_MSG_SIZE
265
266/// gMMHhiPriorityMsgQ
267
268#define SYS_MMH_HI_PRI_MSG_SIZE SYS_MSG_SIZE
269
270/// gMMHprotocolMsgQ
271
272#define SYS_MMH_PROT_MSG_SIZE SYS_MSG_SIZE
273
274/// gMMHdebugMsgQ
275
276#define SYS_MMH_DEBUG_MSG_SIZE SYS_MSG_SIZE
277
278/// gMAINTmsgQ
279
280#define SYS_MNT_MSG_SIZE SYS_MSG_SIZE
281
282/// LIM Message Queue
283
284#define SYS_LIM_MSG_SIZE SYS_MSG_SIZE
285
286/// ARQ Message Queue
287
288#define SYS_ARQ_MSG_SIZE SYS_MSG_SIZE
289
290/// Scheduler Message Queue
291
292#define SYS_SCH_MSG_SIZE SYS_MSG_SIZE
293
294/// PMM Message Queue
295
296#define SYS_PMM_MSG_SIZE SYS_MSG_SIZE
297
298/// TX Message Queue
299
300#define SYS_TX_MSG_SIZE (sizeof(void *)/4) // Message pointer size
301
302/// RX Message Queue
303
304#define SYS_RX_MSG_SIZE (sizeof(void *)/4) // Message pointer size
305
306/// PTT Message Queue
307#define SYS_NIM_PTT_MSG_SIZE SYS_MSG_SIZE // Message pointer size
308
309
310
311/* *************************************** *
312 * *
313 * Block pool configuration *
314 * *
315 * *************************************** */
316
317// The following values specify the number of blocks to be created
318// for each block pool size.
319
320#define SIR_BUF_BLK_32_NUM 64
321#define SIR_BUF_BLK_64_NUM 128
322#define SIR_BUF_BLK_96_NUM 16
323#define SIR_BUF_BLK_128_NUM 128
324#define SIR_BUF_BLK_160_NUM 8
325#define SIR_BUF_BLK_192_NUM 0
326#define SIR_BUF_BLK_224_NUM 0
327#define SIR_BUF_BLK_256_NUM 128
328#define SIR_BUF_BLK_512_NUM 0
329#define SIR_BUF_BLK_768_NUM 0
330#define SIR_BUF_BLK_1024_NUM 2
331#define SIR_BUF_BLK_1280_NUM 0
332#define SIR_BUF_BLK_1536_NUM 2
333#define SIR_BUF_BLK_1792_NUM 0
334#define SIR_BUF_BLK_2048_NUM 2
335#define SIR_BUF_BLK_2304_NUM 0
336
337/* ******************************************* *
338 * *
339 * SIRIUS MESSAGE TYPES *
340 * *
341 * ******************************************* */
342
343
344/*
345 * The following message types have bounds defined for each module for
346 * inter thread/module communications.
347 * Each module will get 256 message types in total.
348 * Note that message type definitions for mailbox messages for
349 * communication with Host are in wniApi.h file.
350 *
351 * Any addition/deletion to this message list should also be
352 * reflected in the halUtil_getMsgString() routine.
353 */
354
355// HAL message types
356#define SIR_HAL_MSG_TYPES_BEGIN (SIR_HAL_MODULE_ID << 8)
Siddharth Bhal64246172015-02-27 01:04:37 +0530357#define SIR_HAL_EXT_MSG_TYPES_BEGIN (SIR_HAL_EXT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800358#define SIR_HAL_ITC_MSG_TYPES_BEGIN (SIR_HAL_MSG_TYPES_BEGIN+0x20)
Jeff Johnson295189b2012-06-20 16:38:30 -0700359#define SIR_HAL_RADAR_DETECTED_IND SIR_HAL_ITC_MSG_TYPES_BEGIN
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800360#define SIR_HAL_WDT_KAM_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 1)
361#define SIR_HAL_TIMER_TEMP_MEAS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 2)
362#define SIR_HAL_TIMER_PERIODIC_STATS_COLLECT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 3)
363#define SIR_HAL_CAL_REQ_NTF (SIR_HAL_ITC_MSG_TYPES_BEGIN + 4)
364#define SIR_HAL_MNT_OPEN_TPC_TEMP_MEAS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 5)
365#define SIR_HAL_CCA_MONITOR_INTERVAL_TO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 6)
366#define SIR_HAL_CCA_MONITOR_DURATION_TO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 7)
367#define SIR_HAL_CCA_MONITOR_START (SIR_HAL_ITC_MSG_TYPES_BEGIN + 8)
368#define SIR_HAL_CCA_MONITOR_STOP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 9)
369#define SIR_HAL_CCA_CHANGE_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 10)
370#define SIR_HAL_TIMER_WRAP_AROUND_STATS_COLLECT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 11)
Jeff Johnson295189b2012-06-20 16:38:30 -0700371
372/*
373 * New Taurus related messages
374 */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800375#define SIR_HAL_ADD_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 13)
376#define SIR_HAL_ADD_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 14)
377#define SIR_HAL_DELETE_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 15)
378#define SIR_HAL_DELETE_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 16)
379#define SIR_HAL_ADD_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 17)
380#define SIR_HAL_ADD_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 18)
381#define SIR_HAL_DELETE_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 19)
382#define SIR_HAL_DELETE_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 20)
383#define SIR_HAL_INIT_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 21)
384#define SIR_HAL_INIT_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 22)
385#define SIR_HAL_START_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 23)
386#define SIR_HAL_START_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 24)
387#define SIR_HAL_END_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 25)
388#define SIR_HAL_END_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 26)
389#define SIR_HAL_FINISH_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 27)
390#define SIR_HAL_FINISH_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 28)
391#define SIR_HAL_SEND_BEACON_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 29)
392#define SIR_HAL_SEND_BEACON_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 30)
Jeff Johnson295189b2012-06-20 16:38:30 -0700393
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800394#define SIR_HAL_INIT_CFG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 31)
395#define SIR_HAL_INIT_CFG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 32)
Jeff Johnson295189b2012-06-20 16:38:30 -0700396
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800397#define SIR_HAL_INIT_WM_CFG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 33)
398#define SIR_HAL_INIT_WM_CFG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 34)
Jeff Johnson295189b2012-06-20 16:38:30 -0700399
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800400#define SIR_HAL_SET_BSSKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 35)
401#define SIR_HAL_SET_BSSKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 36)
402#define SIR_HAL_SET_STAKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 37)
403#define SIR_HAL_SET_STAKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 38)
404#define SIR_HAL_DPU_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 39)
405#define SIR_HAL_DPU_STATS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 40)
406#define SIR_HAL_GET_DPUINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 41)
407#define SIR_HAL_GET_DPUINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 42)
Jeff Johnson295189b2012-06-20 16:38:30 -0700408
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800409#define SIR_HAL_UPDATE_EDCA_PROFILE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 43)
Jeff Johnson295189b2012-06-20 16:38:30 -0700410
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800411#define SIR_HAL_UPDATE_STARATEINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 45)
412#define SIR_HAL_UPDATE_STARATEINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 46)
Jeff Johnson295189b2012-06-20 16:38:30 -0700413
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800414#define SIR_HAL_UPDATE_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 47)
415#define SIR_HAL_UPDATE_CF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 48)
416#define SIR_HAL_CHNL_SWITCH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 49)
417#define SIR_HAL_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 50)
418#define SIR_HAL_DEL_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 51)
419#define SIR_HAL_SOFTMAC_TXSTAT_REPORT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 52)
Jeff Johnson295189b2012-06-20 16:38:30 -0700420
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800421#define SIR_HAL_MBOX_SENDMSG_COMPLETE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 61)
422#define SIR_HAL_EXIT_BMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 53)
423#define SIR_HAL_EXIT_BMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 54)
424#define SIR_HAL_EXIT_BMPS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 55)
425#define SIR_HAL_ENTER_BMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 56)
426#define SIR_HAL_ENTER_BMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 57)
427#define SIR_HAL_BMPS_STATUS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 58)
428#define SIR_HAL_MISSED_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 59)
Jeff Johnson295189b2012-06-20 16:38:30 -0700429
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800430#define SIR_HAL_SWITCH_CHANNEL_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 60)
431#define SIR_HAL_PWR_SAVE_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 62)
Jeff Johnson295189b2012-06-20 16:38:30 -0700432
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800433#define SIR_HAL_REGISTER_PE_CALLBACK (SIR_HAL_ITC_MSG_TYPES_BEGIN + 63)
434#define SIR_HAL_SOFTMAC_MEM_READREQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 64)
435#define SIR_HAL_SOFTMAC_MEM_WRITEREQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 65)
Jeff Johnson295189b2012-06-20 16:38:30 -0700436
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800437#define SIR_HAL_SOFTMAC_MEM_READRESPONSE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 66)
438#define SIR_HAL_SOFTMAC_BULKREGWRITE_CONFIRM (SIR_HAL_ITC_MSG_TYPES_BEGIN + 67)
439#define SIR_HAL_SOFTMAC_BULKREGREAD_RESPONSE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 68)
440#define SIR_HAL_SOFTMAC_HOSTMESG_MSGPROCESSRESULT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 69)
Jeff Johnson295189b2012-06-20 16:38:30 -0700441
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800442#define SIR_HAL_ADDBA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 70)
443#define SIR_HAL_ADDBA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 71)
444#define SIR_HAL_DELBA_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 72)
445#define SIR_HAL_DEL_BA_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 73)
Jeff Johnson295189b2012-06-20 16:38:30 -0700446
447//message from sme to initiate delete block ack session.
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800448#define SIR_HAL_DELBA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 74)
449#define SIR_HAL_IBSS_STA_ADD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 75)
450#define SIR_HAL_TIMER_ADJUST_ADAPTIVE_THRESHOLD_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 76)
451#define SIR_HAL_SET_LINK_STATE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 77)
452#define SIR_HAL_ENTER_IMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 78)
453#define SIR_HAL_ENTER_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 79)
454#define SIR_HAL_EXIT_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 80)
455#define SIR_HAL_EXIT_IMPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 81)
456#define SIR_HAL_SOFTMAC_HOSTMESG_PS_STATUS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 82)
457#define SIR_HAL_POSTPONE_ENTER_IMPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 83)
458#define SIR_HAL_STA_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 84)
459#define SIR_HAL_GLOBAL_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 85)
460#define SIR_HAL_AGGR_STAT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 86)
461#define SIR_HAL_STA_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 87)
462#define SIR_HAL_GLOBAL_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 88)
463#define SIR_HAL_AGGR_STAT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 89)
464#define SIR_HAL_STAT_SUMM_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 90)
465#define SIR_HAL_STAT_SUMM_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 92)
466#define SIR_HAL_REMOVE_BSSKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 93)
467#define SIR_HAL_REMOVE_BSSKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 94)
468#define SIR_HAL_REMOVE_STAKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 95)
469#define SIR_HAL_REMOVE_STAKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 96)
470#define SIR_HAL_SET_STA_BCASTKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 97)
471#define SIR_HAL_SET_STA_BCASTKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 98)
472#define SIR_HAL_REMOVE_STA_BCASTKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 99)
473#define SIR_HAL_REMOVE_STA_BCASTKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 100)
474#define SIR_HAL_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 101)
475#define SIR_HAL_DPU_MIC_ERROR (SIR_HAL_ITC_MSG_TYPES_BEGIN + 102)
476#define SIR_HAL_TIMER_BA_ACTIVITY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 103)
477#define SIR_HAL_TIMER_CHIP_MONITOR_TIMEOUT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 104)
478#define SIR_HAL_TIMER_TRAFFIC_ACTIVITY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 105)
479#define SIR_HAL_TIMER_ADC_RSSI_STATS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 106)
480#define SIR_HAL_MIC_FAILURE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 107)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800481#define SIR_HAL_UPDATE_UAPSD_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 108)
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800482#define SIR_HAL_SET_MIMOPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 109)
483#define SIR_HAL_SET_MIMOPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 110)
484#define SIR_HAL_SYS_READY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 111)
485#define SIR_HAL_SET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 112)
486#define SIR_HAL_SET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 113)
487#define SIR_HAL_GET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 114)
488#define SIR_HAL_GET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 115)
489#define SIR_HAL_GET_NOISE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 116)
490#define SIR_HAL_GET_NOISE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 117)
Jeff Johnson295189b2012-06-20 16:38:30 -0700491
492/* Messages to support transmit_halt and transmit_resume */
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800493#define SIR_HAL_TRANSMISSION_CONTROL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 118)
Jeff Johnson295189b2012-06-20 16:38:30 -0700494/* Indication from LIM to HAL to Initialize radar interrupt */
Jeff Johnson3c3e1782013-02-27 10:48:42 -0800495#define SIR_HAL_INIT_RADAR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 119)
Jeff Johnson295189b2012-06-20 16:38:30 -0700496
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800497#define SIR_HAL_BEACON_PRE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 120)
498#define SIR_HAL_ENTER_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 121)
499#define SIR_HAL_ENTER_UAPSD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 122)
500#define SIR_HAL_EXIT_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 123)
501#define SIR_HAL_EXIT_UAPSD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 124)
502#define SIR_HAL_LOW_RSSI_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 125)
503#define SIR_HAL_BEACON_FILTER_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 126)
Jeff Johnson295189b2012-06-20 16:38:30 -0700504/// PE <-> HAL WOWL messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800505#define SIR_HAL_WOWL_ADD_BCAST_PTRN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 127)
506#define SIR_HAL_WOWL_DEL_BCAST_PTRN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 128)
507#define SIR_HAL_WOWL_ENTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 129)
508#define SIR_HAL_WOWL_ENTER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 130)
509#define SIR_HAL_WOWL_EXIT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 131)
510#define SIR_HAL_WOWL_EXIT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 132)
511#define SIR_HAL_TX_COMPLETE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 133)
512#define SIR_HAL_TIMER_RA_COLLECT_AND_ADAPT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 134)
Jeff Johnson295189b2012-06-20 16:38:30 -0700513/// PE <-> HAL statistics messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800514#define SIR_HAL_GET_STATISTICS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 135)
515#define SIR_HAL_GET_STATISTICS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 136)
516#define SIR_HAL_SET_KEY_DONE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 137)
Jeff Johnson295189b2012-06-20 16:38:30 -0700517
518/// PE <-> HAL BTC messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800519#define SIR_HAL_BTC_SET_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 138)
520#define SIR_HAL_SIGNAL_BT_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 139)
521#define SIR_HAL_HANDLE_FW_MBOX_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 140)
522#define SIR_HAL_UPDATE_PROBE_RSP_TEMPLATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 141)
Jeff Johnson295189b2012-06-20 16:38:30 -0700523
Jeff Johnson295189b2012-06-20 16:38:30 -0700524/* PE <-> HAL addr2 mismatch message */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800525#define SIR_LIM_ADDR2_MISS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 142)
Jeff Johnsone7245742012-09-05 17:12:55 -0700526#ifdef FEATURE_OEM_DATA_SUPPORT
527/* PE <-> HAL OEM_DATA RELATED MESSAGES */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800528#define SIR_HAL_START_OEM_DATA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 143)
529#define SIR_HAL_START_OEM_DATA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 144)
530#define SIR_HAL_FINISH_OEM_DATA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 145)
Jeff Johnsone7245742012-09-05 17:12:55 -0700531#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700532
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800533#define SIR_HAL_SET_MAX_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 146)
534#define SIR_HAL_SET_MAX_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 147)
Jeff Johnson295189b2012-06-20 16:38:30 -0700535
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800536#define SIR_HAL_SEND_MSG_COMPLETE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 148)
Jeff Johnson295189b2012-06-20 16:38:30 -0700537
538/// PE <-> HAL Host Offload message
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800539#define SIR_HAL_SET_HOST_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 149)
Jeff Johnson295189b2012-06-20 16:38:30 -0700540
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800541#define SIR_HAL_ADD_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 150)
542#define SIR_HAL_ADD_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 151)
543#define SIR_HAL_DEL_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 152)
544#define SIR_HAL_DEL_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 153)
545#define SIR_HAL_SIGNAL_BTAMP_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 154)
Jeff Johnson295189b2012-06-20 16:38:30 -0700546
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800547#define SIR_HAL_CFG_RXP_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 155)
548#define SIR_HAL_CFG_RXP_FILTER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 156)
Jeff Johnson295189b2012-06-20 16:38:30 -0700549
550#ifdef WLAN_FEATURE_VOWIFI_11R
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800551#define SIR_HAL_AGGR_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 157)
552#define SIR_HAL_AGGR_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 158)
553#define SIR_HAL_AGGR_QOS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 159)
554#define SIR_HAL_AGGR_QOS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 160)
Jeff Johnson295189b2012-06-20 16:38:30 -0700555#endif /* WLAN_FEATURE_VOWIFI_11R */
556
Jeff Johnson295189b2012-06-20 16:38:30 -0700557/* P2P <-> HAL P2P msg */
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800558#define SIR_HAL_SET_P2P_GO_NOA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 161)
559#define SIR_HAL_P2P_NOA_ATTR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 162)
Viral Modid86bde22012-12-10 13:09:21 -0800560#define SIR_HAL_P2P_NOA_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 163)
Jeff Johnson295189b2012-06-20 16:38:30 -0700561
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800562#define SIR_HAL_SET_LINK_STATE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 165)
Jeff Johnson295189b2012-06-20 16:38:30 -0700563
564
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800565#define SIR_HAL_WLAN_SUSPEND_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 166)
566#define SIR_HAL_WLAN_RESUME_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 167)
Jeff Johnson295189b2012-06-20 16:38:30 -0700567
568/// PE <-> HAL Keep Alive message
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800569#define SIR_HAL_SET_KEEP_ALIVE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 168)
Jeff Johnson295189b2012-06-20 16:38:30 -0700570
571#ifdef WLAN_NS_OFFLOAD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800572#define SIR_HAL_SET_NS_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 169)
Jeff Johnson295189b2012-06-20 16:38:30 -0700573#endif //WLAN_NS_OFFLOAD
574
575#ifdef FEATURE_WLAN_SCAN_PNO
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800576#define SIR_HAL_SET_PNO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 170)
577#define SIR_HAL_SET_PNO_CHANGED_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 171)
578#define SIR_HAL_UPDATE_SCAN_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 172)
579#define SIR_HAL_SET_RSSI_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 173)
Jeff Johnson295189b2012-06-20 16:38:30 -0700580#endif // FEATURE_WLAN_SCAN_PNO
581
582
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800583#define SIR_HAL_SET_TX_PER_TRACKING_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 174)
Jeff Johnson295189b2012-06-20 16:38:30 -0700584
585#ifdef WLAN_FEATURE_PACKET_FILTERING
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800586#define SIR_HAL_8023_MULTICAST_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 175)
587#define SIR_HAL_RECEIVE_FILTER_SET_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 176)
588#define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 177)
589#define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 178)
590#define SIR_HAL_RECEIVE_FILTER_CLEAR_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 179)
Jeff Johnson295189b2012-06-20 16:38:30 -0700591#endif // WLAN_FEATURE_PACKET_FILTERING
592
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800593#define SIR_HAL_SET_POWER_PARAMS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 180)
Jeff Johnson295189b2012-06-20 16:38:30 -0700594
595#ifdef WLAN_FEATURE_GTK_OFFLOAD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800596#define SIR_HAL_GTK_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 181)
597#define SIR_HAL_GTK_OFFLOAD_GETINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 182)
598#define SIR_HAL_GTK_OFFLOAD_GETINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 183)
Jeff Johnson295189b2012-06-20 16:38:30 -0700599#endif //WLAN_FEATURE_GTK_OFFLOAD
600
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800601#ifdef FEATURE_WLAN_ESE
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800602#define SIR_HAL_TSM_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 184)
603#define SIR_HAL_TSM_STATS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 185)
Jeff Johnson295189b2012-06-20 16:38:30 -0700604#endif
605
606
607#ifdef WLAN_WAKEUP_EVENTS
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800608#define SIR_HAL_WAKE_REASON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 186)
Jeff Johnson295189b2012-06-20 16:38:30 -0700609#endif //WLAN_WAKEUP_EVENTS
610
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800611#define SIR_HAL_SET_TM_LEVEL_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 187)
Jeff Johnson295189b2012-06-20 16:38:30 -0700612
Mohit Khanna4a70d262012-09-11 16:30:12 -0700613#ifdef WLAN_FEATURE_11AC
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800614#define SIR_HAL_UPDATE_OP_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 188)
Mohit Khanna4a70d262012-09-11 16:30:12 -0700615#endif
616
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800617#ifdef FEATURE_WLAN_TDLS
618/// PE <-> HAL TDLS messages
619#define SIR_HAL_TDLS_LINK_ESTABLISH (SIR_HAL_ITC_MSG_TYPES_BEGIN + 189)
620#define SIR_HAL_TDLS_LINK_TEARDOWN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 190)
621#endif
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -0700622#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
Varun Reddy Yeturu920df212013-05-22 08:07:23 -0700623#define SIR_HAL_ROAM_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 191)
Varun Reddy Yeturucc661d22013-05-20 11:47:10 -0700624#define SIR_HAL_ROAM_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 192)
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -0700625#endif
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -0800626#define SIR_HAL_GET_ROAM_RSSI_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 193)
627#define SIR_HAL_GET_ROAM_RSSI_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 194)
628
Madan Mohan Koyyalamudi01cba042013-01-10 21:56:05 -0800629#define SIR_HAL_TRAFFIC_STATS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 195)
630
Chet Lanctot186b5732013-03-18 10:26:30 -0700631#ifdef WLAN_FEATURE_11W
632#define SIR_HAL_EXCLUDE_UNENCRYPTED_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 196)
633#endif
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530634#ifdef FEATURE_WLAN_TDLS
635/// PE <-> HAL TDLS messages
636#define SIR_HAL_TDLS_LINK_ESTABLISH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 197)
637#define SIR_HAL_TDLS_LINK_ESTABLISH_REQ_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 198)
638#define SIR_HAL_TDLS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 199)
639#endif
Chet Lanctot186b5732013-03-18 10:26:30 -0700640
Ganesh Kondabattinif0fa07c2013-06-11 17:47:49 +0530641#define SIR_HAL_UPDATE_CHAN_LIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 200)
642#define SIR_HAL_STOP_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 201)
643#define SIR_HAL_STOP_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 202)
644#define SIR_HAL_RX_SCAN_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 203)
Sundaresan Ramachandran76e48e82013-07-15 13:07:17 +0530645#define SIR_HAL_DHCP_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 204)
646#define SIR_HAL_DHCP_STOP_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 205)
Ravi Joshid2ca7c42013-07-23 08:37:49 -0700647#define SIR_HAL_IBSS_PEER_INACTIVITY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 206)
Ganesh Kondabattinif0fa07c2013-06-11 17:47:49 +0530648
Abhishek Singh00b71972016-01-07 10:51:04 +0530649#define SIR_HAL_LPHB_CONF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 207)
650#define SIR_HAL_LPHB_WAIT_EXPIRE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 208)
Leo Chang9056f462013-08-01 19:21:11 -0700651
Abhishek Singh00b71972016-01-07 10:51:04 +0530652#define SIR_HAL_ADD_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 209)
653#define SIR_HAL_DEL_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 210)
Yue Mab9c86f42013-08-14 15:59:08 -0700654
Abhishek Singh00b71972016-01-07 10:51:04 +0530655#ifdef WLAN_FEATURE_RMC
656#define SIR_HAL_RMC_BECOME_RULER (SIR_HAL_ITC_MSG_TYPES_BEGIN + 211)
657#define SIR_HAL_RMC_RULER_SELECT_RESP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 212)
658#define SIR_HAL_RMC_RULER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 213)
659#define SIR_HAL_RMC_UPDATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 214)
660
661/* For IBSS peer info related messages */
662#define SIR_HAL_IBSS_PEER_INFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 215)
663#define SIR_HAL_IBSS_PEER_INFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 216)
664#endif /* WLAN_FEATURE_RMC */
Rajeev79dbe4c2013-10-05 11:03:42 +0530665
Chittajit Mitraf5413a42013-10-18 14:20:08 -0700666#define SIR_HAL_RATE_UPDATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 217)
Rajeev79dbe4c2013-10-05 11:03:42 +0530667
Abhishek Singh00b71972016-01-07 10:51:04 +0530668#ifdef FEATURE_WLAN_BATCH_SCAN
669#define SIR_HAL_SET_BATCH_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 218)
670#define SIR_HAL_SET_BATCH_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 219)
671#define SIR_HAL_STOP_BATCH_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 220)
672#define SIR_HAL_TRIGGER_BATCH_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 221)
673#endif
Arif Hussaina5ebce02013-08-09 15:09:58 -0700674
Abhishek Singh00b71972016-01-07 10:51:04 +0530675#define SIR_HAL_START_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 223)
676#define SIR_HAL_START_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 224)
677#define SIR_HAL_UPDATE_CHAN_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 225)
678
679#ifdef WLAN_FEATURE_RMC
680#define SIR_HAL_TX_FAIL_MONITOR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 226)
681#endif /* WLAN_FEATURE_RMC */
Sandeep Puligilla11d49a62014-01-30 12:05:16 +0530682
683/* OBSS Scan start Indication to FW*/
684#define SIR_HAL_HT40_OBSS_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN +227)
685/* OBSS Scan stop Indication to FW*/
686#define SIR_HAL_HT40_OBSS_STOP_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN +228)
687
Abhishek Singh00b71972016-01-07 10:51:04 +0530688#define SIR_HAL_SET_MAX_TX_POWER_PER_BAND_REQ \
689 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 229)
690#define SIR_HAL_SET_MAX_TX_POWER_PER_BAND_RSP \
691 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 230)
692
693#define SIR_HAL_BCN_MISS_RATE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 231)
c_hpothu92367912014-05-01 15:18:17 +0530694
Sunil Duttbd736ed2014-05-26 21:19:41 +0530695#ifdef WLAN_FEATURE_LINK_LAYER_STATS
696#define SIR_HAL_LL_STATS_CLEAR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 232)
697#define SIR_HAL_LL_STATS_SET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 233)
698#define SIR_HAL_LL_STATS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 234)
699#define SIR_HAL_LL_STATS_RESULTS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 235)
700#endif
701
Dino Mycle2c198072014-06-10 10:15:52 +0530702#ifdef WLAN_FEATURE_EXTSCAN
703#define SIR_HAL_EXTSCAN_GET_CAPABILITIES_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 236)
704#define SIR_HAL_EXTSCAN_GET_CAPABILITIES_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 237)
705#define SIR_HAL_EXTSCAN_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 238)
706#define SIR_HAL_EXTSCAN_START_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 239)
707#define SIR_HAL_EXTSCAN_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 240)
708#define SIR_HAL_EXTSCAN_STOP_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 241)
709#define SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 242)
710#define SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 243)
711#define SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 244)
712#define SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 245)
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +0530713#define SIR_HAL_EXTSCAN_SET_SSID_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 246)
714#define SIR_HAL_EXTSCAN_SET_SSID_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 247)
715#define SIR_HAL_EXTSCAN_RESET_SSID_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 248)
716#define SIR_HAL_EXTSCAN_RESET_SSID_HOTLIST_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 249)
717
Dino Mycle2c198072014-06-10 10:15:52 +0530718#define SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 250)
719#define SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 251)
720
721#define SIR_HAL_EXTSCAN_PROGRESS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 252)
722#define SIR_HAL_EXTSCAN_SCAN_AVAILABLE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 253)
723#define SIR_HAL_EXTSCAN_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 254)
724#define SIR_HAL_EXTSCAN_HOTLIST_MATCH_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 255)
Padma, Santhosh Kumar9acee012015-08-21 19:58:01 +0530725#define SIR_HAL_EXTSCAN_SSID_HOTLIST_MATCH_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 256)
726
Dino Mycle2c198072014-06-10 10:15:52 +0530727#define SIR_HAL_EXTSCAN_FULL_SCAN_RESULT_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 257)
728
729#endif /* WLAN_FEATURE_EXTSCAN */
730
Atul Mittalc0f739f2014-07-31 13:47:47 +0530731#ifdef FEATURE_WLAN_TDLS
732/// PE <-> HAL TDLS messages
733// tdlsoffchan
734#define SIR_HAL_TDLS_CHAN_SWITCH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 258)
735#define SIR_HAL_TDLS_CHAN_SWITCH_REQ_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 259)
736#endif
Siddharth Bhal6af5d4e2014-09-29 21:11:16 +0530737#define SIR_HAL_SPOOF_MAC_ADDR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 260)
Siddharth Bhal4f3187c2014-10-09 21:38:08 +0530738#define SIR_HAL_SPOOF_MAC_ADDR_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 261)
Atul Mittalc0f739f2014-07-31 13:47:47 +0530739
Abhishek Singh3ae443b2014-10-08 11:49:27 +0530740#define SIR_HAL_FW_STATS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 262)
Srinivas Dasari4dae48f2014-11-26 21:14:16 +0530741
742#define SIR_HAL_ENCRYPT_MSG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 263)
743#define SIR_HAL_ENCRYPT_MSG_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 264)
744
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530745#define SIR_HAL_MGMT_LOGGING_INIT_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 265)
Siddharth Bhal64246172015-02-27 01:04:37 +0530746#define SIR_HAL_GET_FRAME_LOG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 266)
Siddharth Bhalb7c421c2015-02-27 00:26:09 +0530747
Srinivas Dasari030bad32015-02-18 23:23:54 +0530748#define SIR_HAL_NAN_REQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 267)
749
Abhishek Singh41988ba2015-05-25 19:42:29 +0530750#define SIR_HAL_SET_RTS_CTS_HTVHT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 268)
Katya Nigamf0511f62015-05-05 16:40:57 +0530751#define SIR_HAL_MON_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 269)
752#define SIR_HAL_MON_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 270)
Sachin Ahuja715aafc2015-07-21 23:35:10 +0530753#define SIR_HAL_FATAL_EVENT_LOGS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 271)
Abhishek Singh00b71972016-01-07 10:51:04 +0530754#define SIR_HAL_SEND_LOG_DONE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 272)
755#define SIR_HAL_LOST_LINK_PARAMS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 273)
756#define SIR_HAL_SEND_FREQ_RANGE_CONTROL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 274)
757#define SIR_HAL_FW_MEM_DUMP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 275)
758#define SIR_HAL_RSSI_MON_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 276)
759#define SIR_HAL_RSSI_MON_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 277)
760#define SIR_HAL_HIGH_PRIORITY_DATA_INFO_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 278)
761#define SIR_HAL_WIFI_CONFIG_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 279)
762#define SIR_HAL_START_OEM_DATA_REQ_IND_NEW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 280)
763#define SIR_HAL_START_OEM_DATA_RSP_IND_NEW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 281)
764#define SIR_HAL_ANTENNA_DIVERSITY_SELECTION_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 282)
765#define SIR_HAL_MODIFY_ROAM_PARAMS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 283)
Selvaraj, Sridharc045b8b2016-04-06 12:22:35 +0530766#define SIR_HAL_SET_ALLOWED_ACTION_FRAMES (SIR_HAL_ITC_MSG_TYPES_BEGIN + 284)
Bhargav Shahe3a6ff02016-04-11 16:31:49 +0530767#define SIR_HAL_PAUSE_TL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 285)
Kapil Gupta04ab1992016-06-26 13:36:51 +0530768#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
769#define SIR_HAL_PER_ROAM_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 286)
770#define SIR_HAL_PER_ROAM_SCAN_OFFLOAD_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 287)
771#define SIR_HAL_PER_ROAM_SCAN_TRIGGER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 288)
772#define SIR_HAL_PER_ROAM_SCAN_TRIGGER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 289)
773#endif
mukul sharma6b53e202016-11-23 19:29:18 +0530774#define SIR_HAL_UPDATE_CFG_INT_PARAM (SIR_HAL_ITC_MSG_TYPES_BEGIN + 290)
Agrawal Ashish17ef5082016-10-17 18:33:21 +0530775
776#ifdef SAP_AUTH_OFFLOAD
777#define SIR_HAL_SET_SAP_AUTH_OFL (SIR_HAL_ITC_MSG_TYPES_BEGIN + 291)
778#define SIR_HAL_SAP_OFL_ADD_STA (SIR_HAL_ITC_MSG_TYPES_BEGIN + 292)
779#define SIR_HAL_SAP_OFL_DEL_STA (SIR_HAL_ITC_MSG_TYPES_BEGIN + 293)
780#endif
Anurag Chouhan83026002016-12-13 22:46:21 +0530781#ifdef DHCP_SERVER_OFFLOAD
782#define SIR_HAL_SET_DHCP_SERVER_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 294)
783#endif /* DHCP_SERVER_OFFLOAD */
Anurag Chouhan0b29de02016-12-16 13:18:40 +0530784#ifdef MDNS_OFFLOAD
785#define SIR_HAL_SET_MDNS_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 295)
786#define SIR_HAL_SET_MDNS_FQDN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 296)
787#define SIR_HAL_SET_MDNS_RESPONSE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 297)
Anurag Chouhan767195d2016-12-20 21:46:50 +0530788#define SIR_HAL_GET_MDNS_STATUS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 298)
Anurag Chouhan0b29de02016-12-16 13:18:40 +0530789#endif /* MDNS_OFFLOAD */
Kapil Gupta3d923fb2016-12-20 18:59:27 +0530790#ifdef WLAN_FEATURE_APFIND
791#define SIR_HAL_APFIND_SET_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 299)
Kapil Gupta7a3d9b12016-12-20 20:36:38 +0530792#define SIR_HAL_AP_FIND_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 300)
Kapil Gupta3d923fb2016-12-20 18:59:27 +0530793#endif/* WLAN_FEATURE_APFIND */
794
Manjeet Singh3ed79242017-01-11 19:04:32 +0530795#define SIR_HAL_CAP_TSF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 300)
796#define SIR_HAL_GET_TSF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 301)
797
Leela Venkata Kiran Kumar Reddy Chirala45f184c2014-02-14 15:08:21 -0800798#define SIR_HAL_MSG_TYPES_END (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF)
c_manjeecfd1efb2015-09-25 19:32:34 +0530799
Jeff Johnson295189b2012-06-20 16:38:30 -0700800// CFG message types
801#define SIR_CFG_MSG_TYPES_BEGIN (SIR_CFG_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800802#define SIR_CFG_ITC_MSG_TYPES_BEGIN (SIR_CFG_MSG_TYPES_BEGIN+0xB0)
803#define SIR_CFG_PARAM_UPDATE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN)
804#define SIR_CFG_DOWNLOAD_COMPLETE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN + 1)
805#define SIR_CFG_MSG_TYPES_END (SIR_CFG_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700806
807// LIM message types
808#define SIR_LIM_MSG_TYPES_BEGIN (SIR_LIM_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800809#define SIR_LIM_ITC_MSG_TYPES_BEGIN (SIR_LIM_MSG_TYPES_BEGIN+0xB0)
Jeff Johnsone7245742012-09-05 17:12:55 -0700810
Jeff Johnson295189b2012-06-20 16:38:30 -0700811// Messages to/from HAL
Jeff Johnsone7245742012-09-05 17:12:55 -0700812// Removed as part of moving HAL down to FW
813
Jeff Johnson295189b2012-06-20 16:38:30 -0700814// Message from ISR upon TFP retry interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800815#define SIR_LIM_RETRY_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 3)
Jeff Johnson295189b2012-06-20 16:38:30 -0700816// Message from BB Transport
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800817#define SIR_BB_XPORT_MGMT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 4)
Jeff Johnson295189b2012-06-20 16:38:30 -0700818// UNUSED SIR_LIM_ITC_MSG_TYPES_BEGIN + 6
819// Message from ISR upon SP's Invalid session key interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800820#define SIR_LIM_INV_KEY_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 7)
Jeff Johnson295189b2012-06-20 16:38:30 -0700821// Message from ISR upon SP's Invalid key ID interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800822#define SIR_LIM_KEY_ID_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 8)
Jeff Johnson295189b2012-06-20 16:38:30 -0700823// Message from ISR upon SP's Replay threshold reached interrupt
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800824#define SIR_LIM_REPLAY_THRES_INTERRUPT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 9)
Jeff Johnson295189b2012-06-20 16:38:30 -0700825// Message from HDD after the TD dummy packet is cleaned up
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800826#define SIR_LIM_TD_DUMMY_CALLBACK_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xA)
Jeff Johnson295189b2012-06-20 16:38:30 -0700827// Message from SCH when the STA is ready to be deleted
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800828#define SIR_LIM_SCH_CLEAN_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xB)
Jeff Johnson295189b2012-06-20 16:38:30 -0700829// Message from ISR upon Radar Detection
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800830#define SIR_LIM_RADAR_DETECT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xC)
Jeff Johnson295189b2012-06-20 16:38:30 -0700831
832/////////////////////////////////////
833// message id Available
834////////////////////////////////////
835
836
837// Message from Hal to send out a DEL-TS indication
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800838#define SIR_LIM_DEL_TS_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xE)
Jeff Johnson295189b2012-06-20 16:38:30 -0700839//Message from HAL to send BA global timer timeout
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800840#define SIR_LIM_ADD_BA_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700841//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 -0800842#define SIR_LIM_DEL_BA_ALL_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x10)
Jeff Johnson295189b2012-06-20 16:38:30 -0700843//Indication from HAL to delete Station context
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800844#define SIR_LIM_DELETE_STA_CONTEXT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x11)
Jeff Johnson295189b2012-06-20 16:38:30 -0700845//Indication from HAL to delete BA
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800846#define SIR_LIM_DEL_BA_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x12)
847#define SIR_LIM_UPDATE_BEACON (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x13)
Jeff Johnson295189b2012-06-20 16:38:30 -0700848
849
850// LIM Timeout messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800851#define SIR_LIM_TIMEOUT_MSG_START ((SIR_LIM_MODULE_ID << 8) + 0xD0)
Jeff Johnson295189b2012-06-20 16:38:30 -0700852#define SIR_LIM_MIN_CHANNEL_TIMEOUT SIR_LIM_TIMEOUT_MSG_START
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800853#define SIR_LIM_MAX_CHANNEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 1)
854#define SIR_LIM_JOIN_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 2)
855#define SIR_LIM_AUTH_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 3)
856#define SIR_LIM_AUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 4)
857#define SIR_LIM_ASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 5)
858#define SIR_LIM_REASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 6)
859#define SIR_LIM_HEART_BEAT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 7)
Jeff Johnson295189b2012-06-20 16:38:30 -0700860// currently unused SIR_LIM_TIMEOUT_MSG_START + 0x8
Jeff Johnson295189b2012-06-20 16:38:30 -0700861// Link Monitoring Messages
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800862#define SIR_LIM_CHANNEL_SCAN_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xA)
863#define SIR_LIM_PROBE_HB_FAILURE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xB)
864#define SIR_LIM_ADDTS_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xC)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800865#define SIR_LIM_LINK_TEST_DURATION_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x13)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800866#define SIR_LIM_CNF_WAIT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x17)
867#define SIR_LIM_KEEPALIVE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x18)
868#define SIR_LIM_UPDATE_OLBC_CACHEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x19)
869#define SIR_LIM_CHANNEL_SWITCH_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1A)
870#define SIR_LIM_QUIET_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1B)
871#define SIR_LIM_QUIET_BSS_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1C)
Jeff Johnson295189b2012-06-20 16:38:30 -0700872
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800873#define SIR_LIM_WPS_OVERLAP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1D)
Jeff Johnson295189b2012-06-20 16:38:30 -0700874#ifdef WLAN_FEATURE_VOWIFI_11R
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800875#define SIR_LIM_FT_PREAUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1E)
Jeff Johnson295189b2012-06-20 16:38:30 -0700876#endif
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800877#define SIR_LIM_REMAIN_CHN_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1F)
Viral Modid86bde22012-12-10 13:09:21 -0800878#define SIR_LIM_INSERT_SINGLESHOT_NOA_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x20)
Jeff Johnson295189b2012-06-20 16:38:30 -0700879
880#ifdef WMM_APSD
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800881#define SIR_LIM_WMM_APSD_SP_START_MSG_TYPE (SIR_LIM_TIMEOUT_MSG_START + 0x21)
882#define SIR_LIM_WMM_APSD_SP_END_MSG_TYPE (SIR_LIM_TIMEOUT_MSG_START + 0x22)
Jeff Johnson295189b2012-06-20 16:38:30 -0700883#endif
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800884#define SIR_LIM_BEACON_GEN_IND (SIR_LIM_TIMEOUT_MSG_START + 0x23)
885#define SIR_LIM_PERIODIC_PROBE_REQ_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x24)
Srinivas Girigowda5cecb202013-10-08 09:13:25 -0700886
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800887#define SIR_LIM_ESE_TSM_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x25)
Jeff Johnson295189b2012-06-20 16:38:30 -0700888
Madan Mohan Koyyalamudi521ff192012-11-15 17:13:08 -0800889#define SIR_LIM_DISASSOC_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x26)
890#define SIR_LIM_DEAUTH_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x27)
Madan Mohan Koyyalamudi9aff9ff2012-11-29 11:27:25 -0800891#define SIR_LIM_PERIODIC_JOIN_PROBE_REQ_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x28)
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800892
Gopichand Nakkalad492d202013-05-10 02:50:47 +0530893#define SIR_LIM_CONVERT_ACTIVE_CHANNEL_TO_PASSIVE (SIR_LIM_TIMEOUT_MSG_START + 0x2C)
Sushant Kaushik9e923872015-04-02 17:09:31 +0530894#define SIR_LIM_AUTH_RETRY_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x2D)
895
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800896#define SIR_LIM_MSG_TYPES_END (SIR_LIM_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700897
898// SCH message types
899#define SIR_SCH_MSG_TYPES_BEGIN (SIR_SCH_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800900#define SIR_SCH_CHANNEL_SWITCH_REQUEST (SIR_SCH_MSG_TYPES_BEGIN)
901#define SIR_SCH_START_SCAN_REQ (SIR_SCH_MSG_TYPES_BEGIN + 1)
902#define SIR_SCH_START_SCAN_RSP (SIR_SCH_MSG_TYPES_BEGIN + 2)
903#define SIR_SCH_END_SCAN_NTF (SIR_SCH_MSG_TYPES_BEGIN + 3)
904#define SIR_SCH_MSG_TYPES_END (SIR_SCH_MSG_TYPES_BEGIN+0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700905
906// PMM message types
907#define SIR_PMM_MSG_TYPES_BEGIN (SIR_PMM_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800908#define SIR_PMM_CHANGE_PM_MODE (SIR_PMM_MSG_TYPES_BEGIN)
Jeff Johnson295189b2012-06-20 16:38:30 -0700909#define SIR_PMM_CHANGE_IMPS_MODE (SIR_PMM_MSG_TYPES_BEGIN + 1) //for Idle mode power save
910#define SIR_PMM_MSG_TYPES_END (SIR_PMM_MSG_TYPES_BEGIN+0xFF)
911
912// MNT message types
913#define SIR_MNT_MSG_TYPES_BEGIN (SIR_MNT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800914#define SIR_MNT_RELEASE_BD (SIR_MNT_MSG_TYPES_BEGIN + 0)
915#define SIR_MNT_MSG_TYPES_END (SIR_MNT_MSG_TYPES_BEGIN + 0xFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700916
917// DVT message types
918#define SIR_DVT_MSG_TYPES_BEGIN (SIR_DVT_MODULE_ID << 8)
Madan Mohan Koyyalamudia53c4dc2012-11-13 10:35:42 -0800919#define SIR_DVT_ITC_MSG_TYPES_BEGIN (SIR_DVT_MSG_TYPES_BEGIN+0x0F)
920#define SIR_DVT_MSG_TYPES_END (SIR_DVT_ITC_MSG_TYPES_BEGIN+0xFFF)
Jeff Johnson295189b2012-06-20 16:38:30 -0700921
922
923//PTT message types
924#define SIR_PTT_MSG_TYPES_BEGIN 0x3000
925#define SIR_PTT_MSG_TYPES_END 0x3300
926
927
928/* ****************************************** *
929 * *
930 * EVENT TYPE Defintions *
931 * *
932 * ****************************************** */
933
934// MMH Events that are used in other modules to post events to MMH
935# define SIR_HAL_MMH_TXMB_READY_EVT 0x00000002
936# define SIR_HAL_MMH_RXMB_DONE_EVT 0x00000004
937# define SIR_HAL_MMH_MSGQ_NE_EVT 0x00000008
938
939# define SIR_HSTEMUL_TXMB_DONE_EVT 0x00000100
940# define SIR_HSTEMUL_RXMB_READY_EVT 0x00000200
941# define SIR_HSTEMUL_MSGQ_NE_EVT 0x00000400
942
943# define SIR_TST_XMIT_MSG_QS_EMPTY_EVT 0x00000080
944
945//added for OBSS
946
947//Param Change Bitmap sent to HAL
948#define PARAM_BCN_INTERVAL_CHANGED (1 << 0)
949#define PARAM_SHORT_PREAMBLE_CHANGED (1 << 1)
950#define PARAM_SHORT_SLOT_TIME_CHANGED (1 << 2)
951#define PARAM_llACOEXIST_CHANGED (1 << 3)
952#define PARAM_llBCOEXIST_CHANGED (1 << 4)
953#define PARAM_llGCOEXIST_CHANGED (1 << 5)
954#define PARAM_HT20MHZCOEXIST_CHANGED (1<<6)
955#define PARAM_NON_GF_DEVICES_PRESENT_CHANGED (1<<7)
956#define PARAM_RIFS_MODE_CHANGED (1<<8)
957#define PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED (1<<9)
958#define PARAM_OBSS_MODE_CHANGED (1<<10)
959#define PARAM_BEACON_UPDATE_MASK (PARAM_BCN_INTERVAL_CHANGED|PARAM_SHORT_PREAMBLE_CHANGED|PARAM_SHORT_SLOT_TIME_CHANGED|PARAM_llACOEXIST_CHANGED |PARAM_llBCOEXIST_CHANGED|\
960 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)
961
962
963
964#endif