Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | /* |
Arif Hussain | ee10f90 | 2017-12-27 16:30:17 -0800 | [diff] [blame] | 2 | * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3 | * |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4 | * Permission to use, copy, modify, and/or distribute this software for |
| 5 | * any purpose with or without fee is hereby granted, provided that the |
| 6 | * above copyright notice and this permission notice appear in all |
| 7 | * copies. |
| 8 | * |
| 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 10 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 11 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 12 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 13 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 14 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 15 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 16 | * PERFORMANCE OF THIS SOFTWARE. |
| 17 | */ |
| 18 | |
| 19 | /* |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 20 | * This file sir_params.h contains the common parameter definitions, which |
| 21 | * are not dependent on threadX API. These can be used by all Firmware |
| 22 | * modules. |
| 23 | * |
| 24 | * Author: Sandesh Goel |
| 25 | * Date: 04/13/2002 |
| 26 | * History:- |
| 27 | * Date Modified by Modification Information |
| 28 | * -------------------------------------------------------------------- |
| 29 | */ |
| 30 | |
| 31 | #ifndef __SIRPARAMS_H |
| 32 | #define __SIRPARAMS_H |
| 33 | |
| 34 | #include "sir_types.h" |
| 35 | |
Dustin Brown | d0a7656 | 2017-10-13 14:48:37 -0700 | [diff] [blame] | 36 | #define WAKELOCK_DURATION_RECOMMENDED 1000 |
| 37 | #define WAKELOCK_DURATION_MAX 3000 |
| 38 | |
Naveen Rawat | d773414 | 2017-10-27 10:02:40 -0700 | [diff] [blame] | 39 | |
| 40 | #define SYSTEM_TIME_MSEC_TO_USEC 1000 |
| 41 | #define SYSTEM_TIME_SEC_TO_MSEC 1000 |
| 42 | #define SYSTEM_TIME_NSEC_TO_USEC 1000 |
| 43 | |
| 44 | /* |
| 45 | * Following time is used to program WOW_TIMER_PATTERN to FW so that FW will |
| 46 | * wake host up to do graceful disconnect in case PEER remains un-authorized |
| 47 | * for this long. |
| 48 | */ |
| 49 | #define SIR_INSTALL_KEY_TIMEOUT_SEC 70 |
| 50 | #define SIR_INSTALL_KEY_TIMEOUT_MS \ |
| 51 | (SIR_INSTALL_KEY_TIMEOUT_SEC * SYSTEM_TIME_SEC_TO_MSEC) |
| 52 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 53 | /* defines for WPS config states */ |
| 54 | #define SAP_WPS_DISABLED 0 |
| 55 | #define SAP_WPS_ENABLED_UNCONFIGURED 1 |
| 56 | #define SAP_WPS_ENABLED_CONFIGURED 2 |
| 57 | |
| 58 | |
| 59 | /* Firmware wide constants */ |
| 60 | |
| 61 | #define SIR_MAX_PACKET_SIZE 512 |
| 62 | #define SIR_MAX_NUM_CHANNELS 64 |
| 63 | #define SIR_MAX_NUM_STA_IN_IBSS 16 |
| 64 | #define SIR_ESE_MAX_MEAS_IE_REQS 8 |
| 65 | |
| 66 | typedef enum { |
| 67 | PHY_SINGLE_CHANNEL_CENTERED = 0, /* 20MHz IF bandwidth centered on IF carrier */ |
| 68 | PHY_DOUBLE_CHANNEL_LOW_PRIMARY = 1, /* 40MHz IF bandwidth with lower 20MHz supporting the primary channel */ |
| 69 | PHY_DOUBLE_CHANNEL_HIGH_PRIMARY = 3, /* 40MHz IF bandwidth with higher 20MHz supporting the primary channel */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 70 | PHY_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_CENTERED = 4, /* 20/40MHZ offset LOW 40/80MHZ offset CENTERED */ |
| 71 | PHY_QUADRUPLE_CHANNEL_20MHZ_CENTERED_40MHZ_CENTERED = 5, /* 20/40MHZ offset CENTERED 40/80MHZ offset CENTERED */ |
| 72 | PHY_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_CENTERED = 6, /* 20/40MHZ offset HIGH 40/80MHZ offset CENTERED */ |
| 73 | PHY_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_LOW = 7, /* 20/40MHZ offset LOW 40/80MHZ offset LOW */ |
| 74 | PHY_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_LOW = 8, /* 20/40MHZ offset HIGH 40/80MHZ offset LOW */ |
| 75 | PHY_QUADRUPLE_CHANNEL_20MHZ_LOW_40MHZ_HIGH = 9, /* 20/40MHZ offset LOW 40/80MHZ offset HIGH */ |
| 76 | PHY_QUADRUPLE_CHANNEL_20MHZ_HIGH_40MHZ_HIGH = 10, /* 20/40MHZ offset-HIGH 40/80MHZ offset HIGH */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 77 | PHY_CHANNEL_BONDING_STATE_MAX = 11 |
| 78 | } ePhyChanBondState; |
| 79 | |
Kiran Kumar Lokere | 999e58c | 2016-01-07 02:18:39 -0800 | [diff] [blame] | 80 | #define MAX_BONDED_CHANNELS 8 |
Krishna Kumaar Natarajan | d0bbb3c | 2017-03-13 17:04:58 -0700 | [diff] [blame] | 81 | /** |
| 82 | * enum cap_bitmap - bit field for FW capability |
| 83 | * MCC - indicate MCC |
| 84 | * P2P - indicate P2P |
| 85 | * DOT11AC - indicate 11AC |
| 86 | * SLM_SESSIONIZATION - indicate SLM_SESSIONIZATION |
| 87 | * DOT11AC_OPMODE - indicate 11ac opmode |
| 88 | * SAP32STA - indicate SAP32STA |
| 89 | * TDLS - indicate TDLS |
| 90 | * P2P_GO_NOA_DECOUPLE_INIT_SCAN - indicate P2P_GO_NOA_DECOUPLE_INIT_SCAN |
| 91 | * WLANACTIVE_OFFLOAD - indicate active offload |
| 92 | * EXTENDED_SCAN - indicate extended scan |
| 93 | * PNO - indicate PNO |
| 94 | * NAN - indicate NAN |
| 95 | * RTT - indicate RTT |
| 96 | * DOT11AX - indicate 11ax |
| 97 | * WOW - indicate WOW |
| 98 | * WLAN_ROAM_SCAN_OFFLOAD - indicate Roam scan offload |
| 99 | * IBSS_HEARTBEAT_OFFLOAD - indicate IBSS HB offload |
| 100 | * WLAN_PERIODIC_TX_PTRN - indicate WLAN_PERIODIC_TX_PTRN |
| 101 | * ADVANCE_TDLS - indicate advanced TDLS |
| 102 | * TDLS_OFF_CHANNEL - indicate TDLS off channel |
| 103 | * |
| 104 | * This definition is independent of any other modules. |
| 105 | * We can use any unused numbers. |
| 106 | */ |
| 107 | #define MAX_SUPPORTED_FEATURE 32 |
| 108 | enum cap_bitmap { |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 109 | MCC = 0, |
| 110 | P2P = 1, |
| 111 | DOT11AC = 2, |
| 112 | SLM_SESSIONIZATION = 3, |
| 113 | DOT11AC_OPMODE = 4, |
| 114 | SAP32STA = 5, |
| 115 | TDLS = 6, |
| 116 | P2P_GO_NOA_DECOUPLE_INIT_SCAN = 7, |
| 117 | WLANACTIVE_OFFLOAD = 8, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 118 | EXTENDED_SCAN = 9, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 119 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 120 | PNO = 10, |
| 121 | #endif |
| 122 | #ifdef WLAN_FEATURE_NAN |
| 123 | NAN = 11, |
| 124 | #endif |
| 125 | RTT = 12, |
Krishna Kumaar Natarajan | d0bbb3c | 2017-03-13 17:04:58 -0700 | [diff] [blame] | 126 | DOT11AX = 13, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 127 | WOW = 22, |
| 128 | WLAN_ROAM_SCAN_OFFLOAD = 23, |
| 129 | IBSS_HEARTBEAT_OFFLOAD = 26, |
| 130 | WLAN_PERIODIC_TX_PTRN = 28, |
| 131 | #ifdef FEATURE_WLAN_TDLS |
| 132 | ADVANCE_TDLS = 29, |
| 133 | TDLS_OFF_CHANNEL = 30, |
| 134 | #endif |
| 135 | |
Krishna Kumaar Natarajan | d0bbb3c | 2017-03-13 17:04:58 -0700 | [diff] [blame] | 136 | /* MAX_FEATURE_SUPPORTED = 32 */ |
| 137 | }; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 138 | |
| 139 | typedef enum eSriLinkState { |
| 140 | eSIR_LINK_IDLE_STATE = 0, |
| 141 | eSIR_LINK_PREASSOC_STATE = 1, |
| 142 | eSIR_LINK_POSTASSOC_STATE = 2, |
| 143 | eSIR_LINK_AP_STATE = 3, |
| 144 | eSIR_LINK_IBSS_STATE = 4, |
Kiran Kumar Lokere | 92b1fca | 2016-05-23 15:28:15 -0700 | [diff] [blame] | 145 | eSIR_LINK_DOWN_STATE = 5, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 146 | } tSirLinkState; |
| 147 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 148 | /* / Mailbox Message Structure Define */ |
| 149 | typedef struct sSirMbMsg { |
| 150 | uint16_t type; |
| 151 | |
| 152 | /** |
| 153 | * This length includes 4 bytes of header, that is, |
| 154 | * 2 bytes type + 2 bytes msgLen + n*4 bytes of data. |
| 155 | * This field is byte length. |
| 156 | */ |
| 157 | uint16_t msgLen; |
| 158 | |
| 159 | /** |
| 160 | * This is the first data word in the mailbox message. |
| 161 | * It is followed by n words of data. |
| 162 | * NOTE: data[1] is not a place holder to store data |
| 163 | * instead to dereference the message body. |
| 164 | */ |
| 165 | uint32_t data[1]; |
| 166 | } tSirMbMsg, *tpSirMbMsg; |
| 167 | |
| 168 | /* / Mailbox Message Structure for P2P */ |
| 169 | typedef struct sSirMbMsgP2p { |
| 170 | uint16_t type; |
| 171 | |
| 172 | /** |
| 173 | * This length includes 4 bytes of header, that is, |
| 174 | * 2 bytes type + 2 bytes msgLen + n*4 bytes of data. |
| 175 | * This field is byte length. |
| 176 | */ |
| 177 | uint16_t msgLen; |
| 178 | |
| 179 | uint8_t sessionId; |
| 180 | uint8_t noack; |
| 181 | uint16_t wait; |
| 182 | uint16_t channel_freq; |
| 183 | uint32_t scan_id; |
| 184 | |
| 185 | /** |
| 186 | * This is the first data word in the mailbox message. |
| 187 | * It is followed by n words of data. |
| 188 | * NOTE: data[1] is not a place holder to store data |
| 189 | * instead to dereference the message body. |
| 190 | */ |
| 191 | uint32_t data[1]; |
| 192 | } tSirMbMsgP2p, *tpSirMbMsgP2p; |
| 193 | |
Padma, Santhosh Kumar | 22c462c | 2018-01-16 17:56:44 +0530 | [diff] [blame] | 194 | /** |
| 195 | * struct sir_mgmt_msg - Structure used to send auth frame from CSR to LIM |
| 196 | * @type: Message type |
| 197 | * @msg_len: Message length |
| 198 | * @session_id: session id |
| 199 | * @data: Pointer to data tobe transmitted |
| 200 | */ |
| 201 | struct sir_mgmt_msg { |
| 202 | uint16_t type; |
| 203 | uint16_t msg_len; |
| 204 | uint8_t session_id; |
| 205 | uint8_t *data; |
| 206 | }; |
| 207 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 208 | /* ******************************************* * |
| 209 | * * |
| 210 | * SIRIUS MESSAGE TYPES * |
| 211 | * * |
| 212 | * ******************************************* */ |
| 213 | |
| 214 | /* |
| 215 | * The following message types have bounds defined for each module for |
| 216 | * inter thread/module communications. |
| 217 | * Each module will get 256 message types in total. |
| 218 | * Note that message type definitions for mailbox messages for |
| 219 | * communication with Host are in wni_api.h file. |
| 220 | * |
| 221 | * Any addition/deletion to this message list should also be |
| 222 | * reflected in the halUtil_getMsgString() routine. |
| 223 | */ |
| 224 | |
| 225 | /* HAL message types */ |
| 226 | #define SIR_HAL_MSG_TYPES_BEGIN (SIR_HAL_MODULE_ID << 8) |
| 227 | #define SIR_HAL_ITC_MSG_TYPES_BEGIN (SIR_HAL_MSG_TYPES_BEGIN+0x20) |
| 228 | #define SIR_HAL_RADAR_DETECTED_IND SIR_HAL_ITC_MSG_TYPES_BEGIN |
| 229 | |
| 230 | /* |
| 231 | * New Taurus related messages |
| 232 | */ |
| 233 | #define SIR_HAL_ADD_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 1) |
| 234 | #define SIR_HAL_ADD_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 2) |
| 235 | #define SIR_HAL_DELETE_STA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 3) |
| 236 | #define SIR_HAL_DELETE_STA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 4) |
| 237 | #define SIR_HAL_ADD_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 5) |
| 238 | #define SIR_HAL_ADD_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 6) |
| 239 | #define SIR_HAL_DELETE_BSS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 7) |
| 240 | #define SIR_HAL_DELETE_BSS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 8) |
| 241 | #define SIR_HAL_INIT_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 9) |
| 242 | #define SIR_HAL_INIT_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 10) |
| 243 | #define SIR_HAL_START_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 11) |
| 244 | #define SIR_HAL_START_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 12) |
| 245 | #define SIR_HAL_END_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 13) |
| 246 | #define SIR_HAL_END_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 14) |
| 247 | #define SIR_HAL_FINISH_SCAN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 15) |
| 248 | #define SIR_HAL_FINISH_SCAN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 16) |
| 249 | #define SIR_HAL_SEND_BEACON_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 17) |
| 250 | |
| 251 | #define SIR_HAL_SET_BSSKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 18) |
| 252 | #define SIR_HAL_SET_BSSKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 19) |
| 253 | #define SIR_HAL_SET_STAKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 20) |
| 254 | #define SIR_HAL_SET_STAKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 21) |
| 255 | #define SIR_HAL_UPDATE_EDCA_PROFILE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 22) |
| 256 | |
| 257 | #define SIR_HAL_UPDATE_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 23) |
| 258 | #define SIR_HAL_UPDATE_CF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 24) |
| 259 | #define SIR_HAL_CHNL_SWITCH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 25) |
| 260 | #define SIR_HAL_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 26) |
| 261 | #define SIR_HAL_DEL_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 27) |
| 262 | |
| 263 | #define SIR_HAL_MISSED_BEACON_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 34) |
| 264 | |
| 265 | #define SIR_HAL_SWITCH_CHANNEL_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 35) |
| 266 | #define SIR_HAL_PWR_SAVE_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 36) |
| 267 | |
| 268 | #define SIR_HAL_REGISTER_PE_CALLBACK (SIR_HAL_ITC_MSG_TYPES_BEGIN + 37) |
| 269 | |
| 270 | #define SIR_HAL_IBSS_STA_ADD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 43) |
| 271 | #define SIR_HAL_TIMER_ADJUST_ADAPTIVE_THRESHOLD_IND \ |
| 272 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 44) |
| 273 | #define SIR_HAL_SET_LINK_STATE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 45) |
Deepak Dhamdhere | 2dae1bd | 2016-10-27 10:58:29 -0700 | [diff] [blame] | 274 | #define SIR_HAL_DELETE_BSS_HO_FAIL_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 46) |
| 275 | #define SIR_HAL_DELETE_BSS_HO_FAIL_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 47) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 276 | |
| 277 | /* |
Deepak Dhamdhere | 2dae1bd | 2016-10-27 10:58:29 -0700 | [diff] [blame] | 278 | * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 48) to |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 279 | * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 57) are unused |
| 280 | */ |
| 281 | |
| 282 | #define SIR_HAL_SET_STA_BCASTKEY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 58) |
| 283 | #define SIR_HAL_SET_STA_BCASTKEY_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 59) |
| 284 | #define SIR_HAL_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 60) |
| 285 | #define SIR_HAL_DPU_MIC_ERROR (SIR_HAL_ITC_MSG_TYPES_BEGIN + 61) |
| 286 | #define SIR_HAL_TIMER_CHIP_MONITOR_TIMEOUT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 63) |
| 287 | #define SIR_HAL_TIMER_TRAFFIC_ACTIVITY_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 64) |
| 288 | #define SIR_HAL_TIMER_ADC_RSSI_STATS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 65) |
| 289 | /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 66) is unused */ |
| 290 | #define SIR_HAL_SET_MIMOPS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 67) |
| 291 | #define SIR_HAL_SET_MIMOPS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 68) |
| 292 | #define SIR_HAL_SYS_READY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 69) |
| 293 | #define SIR_HAL_SET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 70) |
| 294 | #define SIR_HAL_SET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 71) |
| 295 | #define SIR_HAL_GET_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 72) |
| 296 | #define SIR_HAL_GET_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 73) |
| 297 | #define SIR_HAL_GET_NOISE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 74) |
| 298 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 299 | #define SIR_HAL_LOW_RSSI_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 80) |
| 300 | #define SIR_HAL_BEACON_FILTER_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 81) |
Jeff Johnson | 9bf3b65 | 2018-04-12 12:31:39 -0700 | [diff] [blame] | 301 | |
| 302 | /* 82-87 are unused */ |
| 303 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 304 | /* / PE <-> HAL statistics messages */ |
| 305 | #define SIR_HAL_GET_STATISTICS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 88) |
| 306 | #define SIR_HAL_GET_STATISTICS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 89) |
| 307 | #define SIR_HAL_SET_KEY_DONE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 90) |
| 308 | |
| 309 | /* / PE <-> HAL BTC messages */ |
| 310 | #define SIR_HAL_BTC_SET_CFG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 91) |
| 311 | /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 92) is unused */ |
| 312 | #define SIR_HAL_HANDLE_FW_MBOX_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 93) |
| 313 | #define SIR_HAL_SEND_PROBE_RSP_TMPL (SIR_HAL_ITC_MSG_TYPES_BEGIN + 94) |
| 314 | |
| 315 | /* PE <-> HAL addr2 mismatch message */ |
| 316 | #define SIR_LIM_ADDR2_MISS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 95) |
| 317 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 318 | /* PE <-> HAL OEM_DATA RELATED MESSAGES */ |
| 319 | #define SIR_HAL_START_OEM_DATA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 96) |
| 320 | #define SIR_HAL_START_OEM_DATA_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 97) |
| 321 | #endif |
| 322 | |
| 323 | #define SIR_HAL_SET_MAX_TX_POWER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 98) |
| 324 | #define SIR_HAL_SET_MAX_TX_POWER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 99) |
| 325 | |
| 326 | /* / PE <-> HAL Host Offload message */ |
| 327 | #define SIR_HAL_SET_HOST_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 100) |
| 328 | |
| 329 | #define SIR_HAL_ADD_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 101) |
| 330 | #define SIR_HAL_ADD_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 102) |
| 331 | #define SIR_HAL_DEL_STA_SELF_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 103) |
| 332 | #define SIR_HAL_DEL_STA_SELF_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 104) |
| 333 | |
| 334 | #define SIR_HAL_CFG_RXP_FILTER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 106) |
| 335 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 336 | #define SIR_HAL_AGGR_ADD_TS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 107) |
| 337 | #define SIR_HAL_AGGR_ADD_TS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 108) |
| 338 | #define SIR_HAL_AGGR_QOS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 109) |
| 339 | #define SIR_HAL_AGGR_QOS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 110) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 340 | |
| 341 | /* P2P <-> HAL P2P msg */ |
| 342 | #define SIR_HAL_SET_P2P_GO_NOA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 111) |
| 343 | #define SIR_HAL_P2P_NOA_ATTR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 112) |
| 344 | #define SIR_HAL_P2P_NOA_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 113) |
| 345 | |
| 346 | #define SIR_HAL_SET_LINK_STATE_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 114) |
| 347 | |
| 348 | #define SIR_HAL_WLAN_SUSPEND_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 115) |
| 349 | #define SIR_HAL_WLAN_RESUME_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 116) |
| 350 | |
| 351 | /* / PE <-> HAL Keep Alive message */ |
| 352 | #define SIR_HAL_SET_KEEP_ALIVE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 117) |
| 353 | |
| 354 | #ifdef WLAN_NS_OFFLOAD |
| 355 | #define SIR_HAL_SET_NS_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 118) |
| 356 | #endif /* WLAN_NS_OFFLOAD */ |
| 357 | |
Archana Ramachandran | d41c3ed | 2016-02-10 15:48:06 -0800 | [diff] [blame] | 358 | #define SIR_HAL_SOC_ANTENNA_MODE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 120) |
| 359 | #define SIR_HAL_SOC_ANTENNA_MODE_RESP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 121) |
| 360 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 361 | /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 122) is unused */ |
| 362 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 363 | #define SIR_HAL_8023_MULTICAST_LIST_REQ \ |
| 364 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 123) |
Qiwei Cai | 4505fc6 | 2018-05-17 18:35:19 +0800 | [diff] [blame] | 365 | |
| 366 | #ifdef WLAN_FEATURE_PACKET_FILTERING |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 367 | #define SIR_HAL_RECEIVE_FILTER_SET_FILTER_REQ \ |
| 368 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 124) |
| 369 | #define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ \ |
| 370 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 125) |
| 371 | #define SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_RSP \ |
| 372 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 126) |
| 373 | #define SIR_HAL_RECEIVE_FILTER_CLEAR_FILTER_REQ \ |
| 374 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 127) |
| 375 | #endif /* WLAN_FEATURE_PACKET_FILTERING */ |
| 376 | |
| 377 | /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 128) is unused */ |
| 378 | |
| 379 | #ifdef WLAN_FEATURE_GTK_OFFLOAD |
| 380 | #define SIR_HAL_GTK_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 129) |
| 381 | #define SIR_HAL_GTK_OFFLOAD_GETINFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 130) |
| 382 | #define SIR_HAL_GTK_OFFLOAD_GETINFO_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 131) |
| 383 | #endif /* WLAN_FEATURE_GTK_OFFLOAD */ |
| 384 | |
| 385 | #ifdef FEATURE_WLAN_ESE |
| 386 | #define SIR_HAL_TSM_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 132) |
| 387 | #define SIR_HAL_TSM_STATS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 133) |
| 388 | #endif |
| 389 | |
| 390 | #define SIR_HAL_SET_TM_LEVEL_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 134) |
| 391 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 392 | #define SIR_HAL_UPDATE_OP_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 135) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 393 | |
| 394 | #ifdef FEATURE_WLAN_TDLS |
| 395 | /* / PE <-> HAL TDLS messages */ |
| 396 | #define SIR_HAL_TDLS_LINK_ESTABLISH (SIR_HAL_ITC_MSG_TYPES_BEGIN + 136) |
| 397 | #define SIR_HAL_TDLS_LINK_TEARDOWN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 137) |
| 398 | #endif |
| 399 | #define SIR_HAL_ROAM_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 138) |
| 400 | |
| 401 | #define SIR_HAL_TRAFFIC_STATS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 141) |
| 402 | |
| 403 | #ifdef WLAN_FEATURE_11W |
| 404 | #define SIR_HAL_EXCLUDE_UNENCRYPTED_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 142) |
| 405 | #endif |
| 406 | #ifdef FEATURE_WLAN_TDLS |
| 407 | /* / PE <-> HAL TDLS messages */ |
| 408 | #define SIR_HAL_TDLS_LINK_ESTABLISH_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 143) |
| 409 | #define SIR_HAL_TDLS_LINK_ESTABLISH_REQ_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 144) |
| 410 | #define SIR_HAL_TDLS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 145) |
| 411 | #endif |
| 412 | |
| 413 | #define SIR_HAL_STOP_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 146) |
| 414 | #define SIR_HAL_RX_SCAN_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 147) |
| 415 | #define SIR_HAL_DHCP_START_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 148) |
| 416 | #define SIR_HAL_DHCP_STOP_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 149) |
| 417 | #define SIR_HAL_IBSS_PEER_INACTIVITY_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 150) |
| 418 | |
| 419 | #define SIR_HAL_LPHB_CONF_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 151) |
| 420 | |
| 421 | #define SIR_HAL_ADD_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 152) |
| 422 | #define SIR_HAL_DEL_PERIODIC_TX_PTRN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 153) |
| 423 | |
| 424 | /* Messages between 156 to 157 are not used */ |
Manishekar Chandrasekaran | 5d46f70 | 2016-04-27 12:50:52 +0530 | [diff] [blame] | 425 | #define SIR_HAL_PDEV_DUAL_MAC_CFG_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 154) |
| 426 | #define SIR_HAL_PDEV_MAC_CFG_RESP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 155) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 427 | |
Rajeev Kumar | 8e3e283 | 2015-11-06 16:02:54 -0800 | [diff] [blame] | 428 | /* For IBSS peer info related messages */ |
| 429 | #define SIR_HAL_IBSS_PEER_INFO_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 158) |
| 430 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 431 | #define SIR_HAL_RATE_UPDATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 159) |
| 432 | |
| 433 | #define SIR_HAL_FLUSH_LOG_TO_FW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 160) |
| 434 | |
Manishekar Chandrasekaran | 7009f25 | 2016-04-21 19:14:15 +0530 | [diff] [blame] | 435 | #define SIR_HAL_PDEV_SET_PCL_TO_FW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 161) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 436 | |
| 437 | /* 162 unused */ |
| 438 | |
| 439 | #define SIR_HAL_CLI_SET_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 163) |
| 440 | #ifndef REMOVE_PKT_LOG |
| 441 | #define SIR_HAL_PKTLOG_ENABLE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 164) |
| 442 | #endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 443 | #define SIR_HAL_START_SCAN_OFFLOAD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 166) |
| 444 | #define SIR_HAL_UPDATE_CHAN_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 167) |
| 445 | #define SIR_CSA_OFFLOAD_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 169) |
| 446 | |
| 447 | #define SIR_HAL_SET_MAX_TX_POWER_PER_BAND_REQ \ |
| 448 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 170) |
| 449 | |
Rajeev Kumar | 8e3e283 | 2015-11-06 16:02:54 -0800 | [diff] [blame] | 450 | #define SIR_HAL_TX_FAIL_MONITOR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 171) |
| 451 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 452 | #define SIR_HAL_UPDATE_MEMBERSHIP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 172) |
| 453 | #define SIR_HAL_UPDATE_USERPOS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 173) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 454 | |
| 455 | #ifdef FEATURE_WLAN_TDLS |
Kabilan Kannan | 6894e6a | 2017-11-09 14:37:55 -0800 | [diff] [blame] | 456 | /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 174) is not used */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 457 | #define SIR_HAL_UPDATE_TDLS_PEER_STATE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 175) |
| 458 | #define SIR_HAL_TDLS_SHOULD_DISCOVER (SIR_HAL_ITC_MSG_TYPES_BEGIN + 176) |
| 459 | #define SIR_HAL_TDLS_SHOULD_TEARDOWN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 177) |
| 460 | #define SIR_HAL_TDLS_PEER_DISCONNECTED (SIR_HAL_ITC_MSG_TYPES_BEGIN + 178) |
| 461 | #endif |
| 462 | |
| 463 | /* Handling of beacon tx indication from FW */ |
| 464 | #define SIR_HAL_BEACON_TX_SUCCESS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 179) |
| 465 | #define SIR_HAL_DFS_RADAR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 180) |
| 466 | |
Rajeev Kumar | 8e3e283 | 2015-11-06 16:02:54 -0800 | [diff] [blame] | 467 | #define SIR_HAL_IBSS_CESIUM_ENABLE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 181) |
| 468 | |
| 469 | #define SIR_HAL_RMC_ENABLE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 182) |
| 470 | #define SIR_HAL_RMC_DISABLE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 183) |
| 471 | #define SIR_HAL_RMC_ACTION_PERIOD_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 184) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 472 | #define SIR_HAL_INIT_THERMAL_INFO_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 185) |
| 473 | #define SIR_HAL_SET_THERMAL_LEVEL (SIR_HAL_ITC_MSG_TYPES_BEGIN + 186) |
| 474 | |
Srinivas Girigowda | 515a9ef | 2015-12-11 11:00:48 -0800 | [diff] [blame] | 475 | #ifdef FEATURE_WLAN_ESE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 476 | #define SIR_HAL_SET_PLM_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 187) |
| 477 | #endif |
| 478 | |
| 479 | #define SIR_HAL_SET_TX_POWER_LIMIT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 188) |
| 480 | #define SIR_HAL_SET_SAP_INTRABSS_DIS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 189) |
| 481 | |
| 482 | #define SIR_HAL_MODEM_POWER_STATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 190) |
| 483 | |
| 484 | #define SIR_HAL_DISASSOC_TX_COMP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 191) |
| 485 | #define SIR_HAL_DEAUTH_TX_COMP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 192) |
| 486 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 487 | #define SIR_HAL_UPDATE_RX_NSS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 193) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 488 | |
| 489 | #ifdef WLAN_FEATURE_STATS_EXT |
| 490 | #define SIR_HAL_STATS_EXT_REQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 194) |
| 491 | #define SIR_HAL_STATS_EXT_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 195) |
| 492 | #endif /* WLAN_FEATURE_STATS_EXT */ |
| 493 | |
| 494 | #define SIR_HAL_HIDE_SSID_VDEV_RESTART (SIR_HAL_ITC_MSG_TYPES_BEGIN + 196) |
| 495 | |
| 496 | #define SIR_HAL_GET_LINK_SPEED (SIR_HAL_ITC_MSG_TYPES_BEGIN + 197) |
| 497 | |
| 498 | #ifdef FEATURE_WLAN_EXTSCAN |
| 499 | #define SIR_HAL_EXTSCAN_GET_CAPABILITIES_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 198) |
| 500 | #define SIR_HAL_EXTSCAN_START_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 199) |
| 501 | #define SIR_HAL_EXTSCAN_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 200) |
| 502 | #define SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 201) |
| 503 | #define SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_REQ \ |
| 504 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 202) |
| 505 | #define SIR_HAL_EXTSCAN_SET_SIGNF_CHANGE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 203) |
| 506 | #define SIR_HAL_EXTSCAN_RESET_SIGNF_CHANGE_REQ \ |
| 507 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 204) |
| 508 | #define SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_REQ \ |
| 509 | (SIR_HAL_ITC_MSG_TYPES_BEGIN + 205) |
| 510 | #endif /* FEATURE_WLAN_EXTSCAN */ |
| 511 | |
| 512 | #ifdef FEATURE_WLAN_CH_AVOID |
| 513 | #define SIR_HAL_CH_AVOID_UPDATE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 206) |
| 514 | #endif |
| 515 | |
| 516 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 517 | #define SIR_HAL_LL_STATS_CLEAR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 207) |
| 518 | #define SIR_HAL_LL_STATS_SET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 208) |
| 519 | #define SIR_HAL_LL_STATS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 209) |
| 520 | #define SIR_HAL_LL_STATS_RESULTS_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 210) |
| 521 | #endif /* WLAN_FEATURE_LINK_LAYER_STATS */ |
| 522 | |
| 523 | #ifdef WLAN_FEATURE_ROAM_OFFLOAD |
| 524 | #define SIR_HAL_ROAM_OFFLOAD_SYNCH_CNF (SIR_HAL_ITC_MSG_TYPES_BEGIN + 211) |
| 525 | #endif |
| 526 | #ifdef WLAN_FEATURE_NAN |
| 527 | #define SIR_HAL_NAN_REQUEST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 212) |
| 528 | #endif /* WLAN_FEATURE_NAN */ |
| 529 | |
| 530 | #ifdef FEATURE_WLAN_AUTO_SHUTDOWN |
| 531 | #define SIR_HAL_SET_AUTO_SHUTDOWN_TIMER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 213) |
| 532 | #endif |
| 533 | |
| 534 | #define SIR_HAL_SET_BASE_MACADDR_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 214) |
| 535 | |
Krunal Soni | aadaa27 | 2017-10-04 16:42:55 -0700 | [diff] [blame] | 536 | /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 215) is unused */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 537 | |
| 538 | #define SIR_HAL_LINK_STATUS_GET_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 216) |
| 539 | |
| 540 | #ifdef WLAN_FEATURE_EXTWOW_SUPPORT |
| 541 | #define SIR_HAL_CONFIG_EXT_WOW (SIR_HAL_ITC_MSG_TYPES_BEGIN + 217) |
| 542 | #define SIR_HAL_CONFIG_APP_TYPE1_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 218) |
| 543 | #define SIR_HAL_CONFIG_APP_TYPE2_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 219) |
| 544 | #endif |
| 545 | |
| 546 | #define SIR_HAL_GET_TEMPERATURE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 220) |
| 547 | #define SIR_HAL_SET_SCAN_MAC_OUI_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 221) |
| 548 | #ifdef DHCP_SERVER_OFFLOAD |
| 549 | #define SIR_HAL_SET_DHCP_SERVER_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 222) |
| 550 | #endif /* DHCP_SERVER_OFFLOAD */ |
| 551 | #define SIR_HAL_LED_FLASHING_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 223) |
| 552 | #define SIR_HAL_PROCESS_FW_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 224) |
| 553 | |
| 554 | #ifdef WLAN_FEATURE_ROAM_OFFLOAD |
| 555 | #define SIR_HAL_ROAM_OFFLOAD_SYNCH_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 225) |
| 556 | #define SIR_HAL_ROAM_OFFLOAD_SYNCH_FAIL (SIR_HAL_ITC_MSG_TYPES_BEGIN + 226) |
| 557 | #define SIR_HAL_ROAM_INVOKE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 227) |
| 558 | #endif |
| 559 | |
| 560 | #ifdef FEATURE_WLAN_TDLS |
| 561 | #define SIR_HAL_TDLS_SET_OFFCHAN_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 228) |
| 562 | #endif |
| 563 | |
| 564 | #define SIR_HAL_SET_MAS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 229) |
| 565 | #define SIR_HAL_SET_MIRACAST (SIR_HAL_ITC_MSG_TYPES_BEGIN + 230) |
| 566 | #ifdef FEATURE_AP_MCC_CH_AVOIDANCE |
| 567 | #define SIR_HAL_UPDATE_Q2Q_IE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 231) |
| 568 | #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */ |
| 569 | #define SIR_HAL_CONFIG_STATS_FACTOR (SIR_HAL_ITC_MSG_TYPES_BEGIN + 232) |
| 570 | #define SIR_HAL_CONFIG_GUARD_TIME (SIR_HAL_ITC_MSG_TYPES_BEGIN + 233) |
| 571 | #define SIR_HAL_IPA_OFFLOAD_ENABLE_DISABLE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 234) |
| 572 | |
| 573 | #define SIR_HAL_ENTER_PS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 235) |
| 574 | #define SIR_HAL_EXIT_PS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 236) |
| 575 | #define SIR_HAL_ENABLE_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 237) |
| 576 | #define SIR_HAL_DISABLE_UAPSD_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 238) |
Ravi Joshi | 61c3c7a | 2015-11-09 18:41:20 -0800 | [diff] [blame] | 577 | #define SIR_HAL_GATEWAY_PARAM_UPDATE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 239) |
Houston Hoffman | a76591b | 2015-11-10 16:52:05 -0800 | [diff] [blame] | 578 | |
| 579 | #define SIR_HAL_RUNTIME_PM_SUSPEND_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 308) |
| 580 | #define SIR_HAL_RUNTIME_PM_RESUME_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 309) |
| 581 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 582 | #define SIR_HAL_SET_EPNO_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 313) |
| 583 | #define SIR_HAL_SET_PASSPOINT_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 316) |
| 584 | #define SIR_HAL_RESET_PASSPOINT_LIST_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 317) |
Srinivas Girigowda | 4698a9c | 2017-01-06 14:58:24 -0800 | [diff] [blame] | 585 | /* 318 unused */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 586 | |
| 587 | #define SIR_HAL_OCB_SET_CONFIG_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 319) |
| 588 | #define SIR_HAL_OCB_SET_UTC_TIME_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 320) |
| 589 | #define SIR_HAL_OCB_START_TIMING_ADVERT_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 321) |
| 590 | #define SIR_HAL_OCB_STOP_TIMING_ADVERT_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 322) |
| 591 | #define SIR_HAL_OCB_GET_TSF_TIMER_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 323) |
| 592 | #define SIR_HAL_DCC_GET_STATS_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 324) |
| 593 | #define SIR_HAL_DCC_CLEAR_STATS_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 325) |
| 594 | #define SIR_HAL_DCC_UPDATE_NDL_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 326) |
| 595 | |
Hanumanth Reddy Pothula | 07e5f99 | 2017-11-08 19:35:19 +0530 | [diff] [blame] | 596 | /* FW Memory Dump feature is deprecated */ |
| 597 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 598 | #define SIR_HAL_START_STOP_LOGGING (SIR_HAL_ITC_MSG_TYPES_BEGIN + 328) |
Manishekar Chandrasekaran | d964034 | 2016-04-27 12:28:26 +0530 | [diff] [blame] | 599 | #define SIR_HAL_PDEV_SET_HW_MODE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 329) |
| 600 | #define SIR_HAL_PDEV_SET_HW_MODE_RESP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 330) |
Manishekar Chandrasekaran | 05fd267 | 2016-04-27 12:59:20 +0530 | [diff] [blame] | 601 | #define SIR_HAL_PDEV_HW_MODE_TRANS_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 331) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 602 | |
Poddar, Siddarth | b61cf64 | 2016-04-28 16:02:39 +0530 | [diff] [blame] | 603 | #define SIR_HAL_BAD_PEER_TX_CTL_INI_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 332) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 604 | #define SIR_HAL_SET_RSSI_MONITOR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 333) |
| 605 | #define SIR_HAL_SET_IE_INFO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 334) |
| 606 | |
| 607 | #define SIR_HAL_LRO_CONFIG_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 335) |
| 608 | |
Sandeep Puligilla | e087566 | 2016-02-12 16:09:21 -0800 | [diff] [blame] | 609 | #define SIR_HAL_HT40_OBSS_SCAN_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 337) |
Gupta, Kapil | 4cb1d7d | 2016-04-16 18:16:25 -0700 | [diff] [blame] | 610 | |
Manikandan Mohan | 976e756 | 2016-03-15 16:33:31 -0700 | [diff] [blame] | 611 | #define SIR_HAL_TSF_GPIO_PIN_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 338) |
| 612 | |
Gupta, Kapil | 4cb1d7d | 2016-04-16 18:16:25 -0700 | [diff] [blame] | 613 | #define SIR_HAL_ADD_BCN_FILTER_CMDID (SIR_HAL_ITC_MSG_TYPES_BEGIN + 339) |
| 614 | #define SIR_HAL_REMOVE_BCN_FILTER_CMDID (SIR_HAL_ITC_MSG_TYPES_BEGIN + 340) |
| 615 | |
Agrawal Ashish | b2d1a45 | 2016-05-05 12:23:58 +0530 | [diff] [blame] | 616 | |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 617 | #define SIR_HAL_APF_GET_CAPABILITIES_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 341) |
| 618 | #define SIR_HAL_APF_SET_INSTRUCTIONS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 342) |
Arun Khandavalli | 2476ef5 | 2016-04-26 20:19:43 +0530 | [diff] [blame] | 619 | |
Manikandan Mohan | 80dea79 | 2016-04-28 16:36:48 -0700 | [diff] [blame] | 620 | #define SIR_HAL_SET_WISA_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 343) |
Gupta, Kapil | 96c7f2f | 2016-04-25 19:13:41 +0530 | [diff] [blame] | 621 | #define SIR_HAL_SET_ADAPT_DWELLTIME_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 344) |
Kiran Kumar Lokere | 666bf85 | 2016-05-02 12:23:02 -0700 | [diff] [blame] | 622 | #define SIR_HAL_SET_PDEV_IE_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 345) |
Kabilan Kannan | 14ec97f | 2016-05-16 23:48:25 -0700 | [diff] [blame] | 623 | |
| 624 | #ifdef FEATURE_WLAN_TDLS |
| 625 | #define SIR_HAL_TDLS_CONNECTION_TRACKER_NOTIFICATION (SIR_HAL_ITC_MSG_TYPES_BEGIN + 346) |
| 626 | #endif |
| 627 | |
Deepak Dhamdhere | 0f076bd | 2016-06-02 11:29:21 -0700 | [diff] [blame] | 628 | #define SIR_HAL_NDP_GET_CAP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 347) |
| 629 | #define SIR_HAL_NDP_INITIATOR_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 348) |
| 630 | #define SIR_HAL_NDP_RESPONDER_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 349) |
| 631 | #define SIR_HAL_NDP_END_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 350) |
| 632 | #define SIR_HAL_NDI_CAP_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 351) |
| 633 | #define SIR_HAL_NDP_INITIATOR_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 352) |
| 634 | #define SIR_HAL_NDP_RESPONDER_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 353) |
| 635 | #define SIR_HAL_NDP_END_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 354) |
| 636 | #define SIR_HAL_NDP_INDICATION (SIR_HAL_ITC_MSG_TYPES_BEGIN + 355) |
| 637 | #define SIR_HAL_NDP_CONFIRM (SIR_HAL_ITC_MSG_TYPES_BEGIN + 356) |
| 638 | #define SIR_HAL_NDP_END_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 357) |
Masti, Narayanraddi | ab712a7 | 2016-08-04 11:59:11 +0530 | [diff] [blame] | 639 | #define SIR_HAL_UPDATE_WEP_DEFAULT_KEY (SIR_HAL_ITC_MSG_TYPES_BEGIN + 358) |
Deepak Dhamdhere | c9acc44 | 2016-05-26 02:12:58 -0700 | [diff] [blame] | 640 | |
Selvaraj, Sridhar | ebda0f2 | 2016-08-29 16:05:23 +0530 | [diff] [blame] | 641 | #define SIR_HAL_SEND_FREQ_RANGE_CONTROL_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 360) |
Manjeet Singh | ccfd185 | 2016-08-18 14:02:10 +0530 | [diff] [blame] | 642 | #define SIR_HAL_POWER_DBG_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 362) |
Kiran Kumar Lokere | 92fe759 | 2016-09-14 20:15:45 -0700 | [diff] [blame] | 643 | #define SIR_HAL_SET_DTIM_PERIOD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 363) |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 644 | #define SIR_HAL_ENCRYPT_DECRYPT_MSG (SIR_HAL_ITC_MSG_TYPES_BEGIN + 364) |
Agrawal Ashish | da3e950 | 2016-09-21 17:43:51 +0530 | [diff] [blame] | 645 | #define SIR_HAL_SHORT_RETRY_LIMIT_CNT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 365) |
| 646 | #define SIR_HAL_LONG_RETRY_LIMIT_CNT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 366) |
Agrawal, Ashish | 35b251d | 2016-09-08 19:21:03 +0530 | [diff] [blame] | 647 | #define SIR_HAL_UPDATE_TX_FAIL_CNT_TH (SIR_HAL_ITC_MSG_TYPES_BEGIN + 367) |
Sridhar Selvaraj | dc400d2 | 2016-10-18 17:18:03 +0530 | [diff] [blame] | 648 | #define SIR_HAL_POWER_DEBUG_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 368) |
| 649 | |
Yingying Tang | 9540997 | 2016-10-20 15:16:15 +0800 | [diff] [blame] | 650 | #define SIR_HAL_SET_WOW_PULSE_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 369) |
| 651 | |
Kapil Gupta | 5cda225 | 2016-12-29 18:44:26 +0530 | [diff] [blame] | 652 | #define SIR_HAL_SET_UDP_RESP_OFFLOAD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 370) |
| 653 | |
| 654 | #define SIR_HAL_SET_PER_ROAM_CONFIG_CMD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 371) |
gaolez | e510894 | 2017-03-31 16:56:42 +0800 | [diff] [blame] | 655 | #define SIR_HAL_RX_CHN_STATUS_EVENT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 372) |
Kapil Gupta | 5cda225 | 2016-12-29 18:44:26 +0530 | [diff] [blame] | 656 | |
Rajeev Kumar Sirasanagandla | 996e529 | 2016-11-22 21:20:33 +0530 | [diff] [blame] | 657 | #define SIR_HAL_GET_RCPI_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 373) |
| 658 | |
Zhang Qian | 73c348a | 2017-03-13 16:15:55 +0800 | [diff] [blame] | 659 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 660 | #define SIR_HAL_LL_STATS_EXT_SET_THRESHOLD (SIR_HAL_ITC_MSG_TYPES_BEGIN + 378) |
| 661 | #endif |
Nitesh Shah | f9a09ff | 2017-05-22 15:46:25 +0530 | [diff] [blame] | 662 | #define SIR_HAL_SET_DBS_SCAN_SEL_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 379) |
Zhang Qian | 73c348a | 2017-03-13 16:15:55 +0800 | [diff] [blame] | 663 | |
Kiran Kumar Lokere | 5798bfa | 2017-04-27 20:49:39 -0700 | [diff] [blame] | 664 | #define SIR_HAL_HIDDEN_SSID_RESTART_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 379) |
| 665 | |
Will Huang | a981459 | 2017-05-24 15:47:58 +0800 | [diff] [blame] | 666 | #define SIR_HAL_GET_PEER_INFO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 386) |
| 667 | #define SIR_HAL_GET_PEER_INFO_EXT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 387) |
Anurag Chouhan | 3920c0f | 2017-09-11 17:10:56 +0530 | [diff] [blame] | 668 | |
| 669 | /* ARP Debug stats */ |
| 670 | #define SIR_HAL_SET_ARP_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 388) |
| 671 | #define SIR_HAL_GET_ARP_STATS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 389) |
| 672 | |
Ganesh Kondabattini | 3573957 | 2017-06-21 16:26:39 +0530 | [diff] [blame] | 673 | #define SIR_HAL_SET_LIMIT_OFF_CHAN (SIR_HAL_ITC_MSG_TYPES_BEGIN + 390) |
| 674 | |
Vignesh Viswanathan | c6d1e1c | 2017-09-18 12:32:49 +0530 | [diff] [blame] | 675 | #define SIR_HAL_SET_DEL_PMKID_CACHE (SIR_HAL_ITC_MSG_TYPES_BEGIN + 391) |
| 676 | #define SIR_HAL_HLP_IE_INFO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 392) |
Arif Hussain | ee10f90 | 2017-12-27 16:30:17 -0800 | [diff] [blame] | 677 | #define SIR_HAL_OBSS_DETECTION_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 393) |
| 678 | #define SIR_HAL_OBSS_DETECTION_INFO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 394) |
Vignesh Viswanathan | fb9d075 | 2018-02-06 16:19:00 +0530 | [diff] [blame] | 679 | #define SIR_HAL_INVOKE_NEIGHBOR_REPORT (SIR_HAL_ITC_MSG_TYPES_BEGIN + 395) |
Arif Hussain | 05fb487 | 2018-01-03 16:02:55 -0800 | [diff] [blame] | 680 | #define SIR_HAL_OBSS_COLOR_COLLISION_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 396) |
| 681 | #define SIR_HAL_OBSS_COLOR_COLLISION_INFO (SIR_HAL_ITC_MSG_TYPES_BEGIN + 397) |
Kiran Kumar Lokere | bc87bec | 2018-02-27 20:06:42 -0800 | [diff] [blame] | 682 | |
| 683 | #define SIR_HAL_SEND_ADDBA_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 398) |
Rajeev Kumar Sirasanagandla | 4f20b67 | 2018-03-12 13:52:50 +0530 | [diff] [blame] | 684 | #define SIR_HAL_GET_ROAM_SCAN_STATS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 399) |
Abhishek Singh | 3d30a3b | 2018-09-12 15:49:18 +0530 | [diff] [blame] | 685 | #define SIR_HAL_SEND_AP_VDEV_UP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 400) |
Abhishek Singh | fc740be | 2018-10-12 11:34:26 +0530 | [diff] [blame] | 686 | #define SIR_HAL_SEND_BCN_RSP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 401) |
| 687 | |
Zhang Qian | 73c348a | 2017-03-13 16:15:55 +0800 | [diff] [blame] | 688 | #define SIR_HAL_MSG_TYPES_END (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 689 | |
| 690 | /* CFG message types */ |
| 691 | #define SIR_CFG_MSG_TYPES_BEGIN (SIR_CFG_MODULE_ID << 8) |
| 692 | #define SIR_CFG_ITC_MSG_TYPES_BEGIN (SIR_CFG_MSG_TYPES_BEGIN+0xB0) |
| 693 | #define SIR_CFG_PARAM_UPDATE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN) |
| 694 | #define SIR_CFG_DOWNLOAD_COMPLETE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN + 1) |
| 695 | #define SIR_CFG_MSG_TYPES_END (SIR_CFG_MSG_TYPES_BEGIN+0xFF) |
| 696 | |
| 697 | /* LIM message types */ |
| 698 | #define SIR_LIM_MSG_TYPES_BEGIN (SIR_LIM_MODULE_ID << 8) |
| 699 | #define SIR_LIM_ITC_MSG_TYPES_BEGIN (SIR_LIM_MSG_TYPES_BEGIN+0xB0) |
Jeff Johnson | 506f645 | 2018-11-17 20:11:27 -0800 | [diff] [blame] | 700 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0) */ |
| 701 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 1) */ |
| 702 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 2) */ |
| 703 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 3) */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 704 | /* Message from BB Transport */ |
Jeff Johnson | 506f645 | 2018-11-17 20:11:27 -0800 | [diff] [blame] | 705 | #define SIR_BB_XPORT_MGMT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 4) |
| 706 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 5) */ |
| 707 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 6) */ |
Jeff Johnson | 382aba7 | 2018-11-17 20:19:18 -0800 | [diff] [blame] | 708 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 7) */ |
Jeff Johnson | eab9c0e | 2018-11-17 20:22:24 -0800 | [diff] [blame] | 709 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 8) */ |
Jeff Johnson | aa31f59 | 2018-11-17 20:25:14 -0800 | [diff] [blame^] | 710 | /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 9) */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 711 | /* Message from HDD after the TD dummy packet is cleaned up */ |
| 712 | #define SIR_LIM_TD_DUMMY_CALLBACK_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xA) |
| 713 | /* Message from SCH when the STA is ready to be deleted */ |
| 714 | #define SIR_LIM_SCH_CLEAN_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xB) |
| 715 | /* Message from ISR upon Radar Detection */ |
| 716 | #define SIR_LIM_RADAR_DETECT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xC) |
Manishekar Chandrasekaran | cb05217 | 2016-04-22 12:19:04 +0530 | [diff] [blame] | 717 | /* Message id 0xD available */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 718 | |
| 719 | /* Message from Hal to send out a DEL-TS indication */ |
| 720 | #define SIR_LIM_DEL_TS_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xE) |
| 721 | /* Indication from HAL to delete Station context */ |
| 722 | #define SIR_LIM_DELETE_STA_CONTEXT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x11) |
| 723 | /* Indication from HAL to delete BA */ |
| 724 | #define SIR_LIM_UPDATE_BEACON (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x13) |
Jinwei Chen | 1850d9c | 2018-08-20 15:59:06 +0800 | [diff] [blame] | 725 | /* Indication from HAL to handle RX invalid peer */ |
| 726 | #define SIR_LIM_RX_INVALID_PEER (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x15) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 727 | |
| 728 | /* LIM Timeout messages */ |
| 729 | #define SIR_LIM_TIMEOUT_MSG_START ((SIR_LIM_MODULE_ID << 8) + 0xD0) |
| 730 | #define SIR_LIM_JOIN_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 2) |
| 731 | #define SIR_LIM_AUTH_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 3) |
| 732 | #define SIR_LIM_AUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 4) |
| 733 | #define SIR_LIM_ASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 5) |
| 734 | #define SIR_LIM_REASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 6) |
| 735 | #define SIR_LIM_HEART_BEAT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 7) |
| 736 | /* currently unused SIR_LIM_TIMEOUT_MSG_START + 0x8 */ |
| 737 | /* Link Monitoring Messages */ |
| 738 | #define SIR_LIM_PROBE_HB_FAILURE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xB) |
| 739 | #define SIR_LIM_ADDTS_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xC) |
| 740 | #define SIR_LIM_LINK_TEST_DURATION_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x13) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 741 | #define SIR_LIM_CNF_WAIT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x17) |
| 742 | /* currently unused (SIR_LIM_TIMEOUT_MSG_START + 0x18) */ |
| 743 | #define SIR_LIM_UPDATE_OLBC_CACHEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x19) |
| 744 | #define SIR_LIM_CHANNEL_SWITCH_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1A) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 745 | |
| 746 | #define SIR_LIM_WPS_OVERLAP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1D) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 747 | #define SIR_LIM_FT_PREAUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1E) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 748 | |
| 749 | #define SIR_LIM_BEACON_GEN_IND (SIR_LIM_TIMEOUT_MSG_START + 0x23) |
| 750 | #define SIR_LIM_PERIODIC_PROBE_REQ_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x24) |
Srinivas Girigowda | 730ae98 | 2015-12-09 15:58:16 -0800 | [diff] [blame] | 751 | |
| 752 | /* currently unused (SIR_LIM_TIMEOUT_MSG_START + 0x25) */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 753 | |
| 754 | #define SIR_LIM_DISASSOC_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x26) |
| 755 | #define SIR_LIM_DEAUTH_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x27) |
| 756 | #define SIR_LIM_PERIODIC_JOIN_PROBE_REQ_TIMEOUT \ |
| 757 | (SIR_LIM_TIMEOUT_MSG_START + 0x28) |
| 758 | |
| 759 | #define SIR_LIM_CONVERT_ACTIVE_CHANNEL_TO_PASSIVE \ |
| 760 | (SIR_LIM_TIMEOUT_MSG_START + 0x2C) |
Abhishek Singh | 7d3bc3e | 2016-02-03 17:45:01 +0530 | [diff] [blame] | 761 | #define SIR_LIM_AUTH_RETRY_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x2D) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 762 | |
Padma, Santhosh Kumar | c56735f | 2017-09-13 18:14:26 +0530 | [diff] [blame] | 763 | #define SIR_LIM_AUTH_SAE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x2E) |
| 764 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 765 | #define SIR_LIM_MSG_TYPES_END (SIR_LIM_MSG_TYPES_BEGIN+0xFF) |
| 766 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 767 | /* PMM message types */ |
| 768 | #define SIR_PMM_MSG_TYPES_BEGIN (SIR_PMM_MODULE_ID << 8) |
| 769 | #define SIR_PMM_CHANGE_PM_MODE (SIR_PMM_MSG_TYPES_BEGIN) |
| 770 | #define SIR_PMM_MSG_TYPES_END (SIR_PMM_MSG_TYPES_BEGIN+0xFF) |
| 771 | |
| 772 | /* MNT message types */ |
| 773 | #define SIR_MNT_MSG_TYPES_BEGIN (SIR_MNT_MODULE_ID << 8) |
| 774 | #define SIR_MNT_RELEASE_BD (SIR_MNT_MSG_TYPES_BEGIN + 0) |
| 775 | #define SIR_MNT_MSG_TYPES_END (SIR_MNT_MSG_TYPES_BEGIN + 0xFF) |
| 776 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 777 | /* ****************************************** * |
| 778 | * * |
Jeff Johnson | 47d7524 | 2018-05-12 15:58:53 -0700 | [diff] [blame] | 779 | * EVENT TYPE Definitions * |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 780 | * * |
| 781 | * ****************************************** */ |
| 782 | |
| 783 | /* MMH Events that are used in other modules to post events to MMH */ |
| 784 | #define SIR_HSTEMUL_TXMB_DONE_EVT 0x00000100 |
| 785 | #define SIR_HSTEMUL_RXMB_READY_EVT 0x00000200 |
| 786 | #define SIR_HSTEMUL_MSGQ_NE_EVT 0x00000400 |
| 787 | |
| 788 | #define SIR_TST_XMIT_MSG_QS_EMPTY_EVT 0x00000080 |
| 789 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 790 | /* Param Change Bitmap sent to HAL */ |
| 791 | #define PARAM_BCN_INTERVAL_CHANGED (1 << 0) |
| 792 | #define PARAM_SHORT_PREAMBLE_CHANGED (1 << 1) |
| 793 | #define PARAM_SHORT_SLOT_TIME_CHANGED (1 << 2) |
| 794 | #define PARAM_llACOEXIST_CHANGED (1 << 3) |
| 795 | #define PARAM_llBCOEXIST_CHANGED (1 << 4) |
| 796 | #define PARAM_llGCOEXIST_CHANGED (1 << 5) |
| 797 | #define PARAM_HT20MHZCOEXIST_CHANGED (1<<6) |
| 798 | #define PARAM_NON_GF_DEVICES_PRESENT_CHANGED (1<<7) |
| 799 | #define PARAM_RIFS_MODE_CHANGED (1<<8) |
| 800 | #define PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED (1<<9) |
| 801 | #define PARAM_OBSS_MODE_CHANGED (1<<10) |
Peng Xu | 6363ec6 | 2017-05-15 11:06:33 -0700 | [diff] [blame] | 802 | #define PARAM_BSS_COLOR_CHANGED (1 << 11) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 803 | #define PARAM_BEACON_UPDATE_MASK (PARAM_BCN_INTERVAL_CHANGED | \ |
| 804 | PARAM_SHORT_PREAMBLE_CHANGED | \ |
| 805 | PARAM_SHORT_SLOT_TIME_CHANGED | \ |
| 806 | PARAM_llACOEXIST_CHANGED | \ |
| 807 | PARAM_llBCOEXIST_CHANGED | \ |
| 808 | PARAM_llGCOEXIST_CHANGED | \ |
| 809 | PARAM_HT20MHZCOEXIST_CHANGED | \ |
| 810 | PARAM_NON_GF_DEVICES_PRESENT_CHANGED | \ |
| 811 | PARAM_RIFS_MODE_CHANGED | \ |
| 812 | PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED | \ |
Peng Xu | 6363ec6 | 2017-05-15 11:06:33 -0700 | [diff] [blame] | 813 | PARAM_OBSS_MODE_CHANGED | \ |
| 814 | PARAM_BSS_COLOR_CHANGED) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 815 | |
| 816 | #endif |