1 /* 2 * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. 3 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for 6 * any purpose with or without fee is hereby granted, provided that the 7 * above copyright notice and this permission notice appear in all 8 * copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17 * PERFORMANCE OF THIS SOFTWARE. 18 */ 19 20 /* 21 * This file sir_params.h contains the common parameter definitions, which 22 * are not dependent on threadX API. These can be used by all Firmware 23 * modules. 24 * 25 * Author: Sandesh Goel 26 * Date: 04/13/2002 27 * History:- 28 * Date Modified by Modification Information 29 * -------------------------------------------------------------------- 30 */ 31 32 #ifndef __SIRPARAMS_H 33 #define __SIRPARAMS_H 34 35 #include "sir_types.h" 36 37 #define WAKELOCK_DURATION_RECOMMENDED 1000 38 #define WAKELOCK_DURATION_MAX 3000 39 40 41 #define SYSTEM_TIME_MSEC_TO_USEC 1000 42 #define SYSTEM_TIME_SEC_TO_MSEC 1000 43 #define SYSTEM_TIME_NSEC_TO_USEC 1000 44 45 /* defines for WPS config states */ 46 #define SAP_WPS_DISABLED 0 47 #define SAP_WPS_ENABLED_UNCONFIGURED 1 48 #define SAP_WPS_ENABLED_CONFIGURED 2 49 50 51 /* Firmware wide constants */ 52 53 #define SIR_MAX_PACKET_SIZE 512 54 #define SIR_MAX_NUM_CHANNELS 64 55 #define SIR_MAX_NUM_STA_IN_IBSS 16 56 #define SIR_ESE_MAX_MEAS_IE_REQS 8 57 58 typedef enum { 59 PHY_SINGLE_CHANNEL_CENTERED = 0, /* 20MHz IF bandwidth centered on IF carrier */ 60 PHY_DOUBLE_CHANNEL_LOW_PRIMARY = 1, /* 40MHz IF bandwidth with lower 20MHz supporting the primary channel */ 61 PHY_DOUBLE_CHANNEL_HIGH_PRIMARY = 3, /* 40MHz IF bandwidth with higher 20MHz supporting the primary channel */ 62 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 PHY_CHANNEL_BONDING_STATE_MAX = 11 70 } ePhyChanBondState; 71 72 #define MAX_BONDED_CHANNELS 8 73 /** 74 * enum cap_bitmap - bit field for FW capability 75 * MCC - indicate MCC 76 * P2P - indicate P2P 77 * DOT11AC - indicate 11AC 78 * DOT11AC_OPMODE - indicate 11ac opmode 79 * SAP32STA - indicate SAP32STA 80 * TDLS - indicate TDLS 81 * P2P_GO_NOA_DECOUPLE_INIT_SCAN - indicate P2P_GO_NOA_DECOUPLE_INIT_SCAN 82 * WLANACTIVE_OFFLOAD - indicate active offload 83 * EXTENDED_SCAN - indicate extended scan 84 * PNO - indicate PNO 85 * NAN - indicate NAN 86 * RTT - indicate RTT 87 * DOT11AX - indicate 11ax 88 * DOT11BE - indicate 11be 89 * SECURE_NAN - indicate NAN Pairing protocol 90 * WOW - indicate WOW 91 * WLAN_ROAM_SCAN_OFFLOAD - indicate Roam scan offload 92 * WLAN_PERIODIC_TX_PTRN - indicate WLAN_PERIODIC_TX_PTRN 93 * ADVANCE_TDLS - indicate advanced TDLS 94 * TDLS_OFF_CHANNEL - indicate TDLS off channel 95 * 96 * This definition is independent of any other modules. 97 * We can use any unused numbers. 98 */ 99 #define MAX_SUPPORTED_FEATURE 32 100 enum cap_bitmap { 101 MCC = 0, 102 P2P = 1, 103 DOT11AC = 2, 104 DOT11AC_OPMODE = 4, 105 SAP32STA = 5, 106 TDLS = 6, 107 P2P_GO_NOA_DECOUPLE_INIT_SCAN = 7, 108 WLANACTIVE_OFFLOAD = 8, 109 EXTENDED_SCAN = 9, 110 #ifdef FEATURE_WLAN_SCAN_PNO 111 PNO = 10, 112 #endif 113 #ifdef WLAN_FEATURE_NAN 114 NAN = 11, 115 #endif 116 RTT = 12, 117 DOT11AX = 13, 118 #ifdef WLAN_FEATURE_11BE 119 DOT11BE = 14, 120 #endif 121 #ifdef WLAN_FEATURE_NAN 122 SECURE_NAN = 15, 123 #endif 124 WOW = 22, 125 WLAN_ROAM_SCAN_OFFLOAD = 23, 126 WLAN_PERIODIC_TX_PTRN = 28, 127 #ifdef FEATURE_WLAN_TDLS 128 ADVANCE_TDLS = 29, 129 TDLS_OFF_CHANNEL = 30, 130 #endif 131 VDEV_LATENCY_CONFIG = 31, 132 133 /* MAX_FEATURE_SUPPORTED = 32 */ 134 }; 135 136 /* / Mailbox Message Structure Define */ 137 typedef struct sSirMbMsg { 138 uint16_t type; 139 140 /** 141 * This length includes 4 bytes of header, that is, 142 * 2 bytes type + 2 bytes msgLen + n*4 bytes of data. 143 * This field is byte length. 144 */ 145 uint16_t msgLen; 146 147 /** 148 * This is the first data word in the mailbox message. 149 * It is followed by n words of data. 150 * NOTE: data[1] is not a place holder to store data 151 * instead to dereference the message body. 152 */ 153 QDF_FLEX_ARRAY(uint32_t, data); 154 } tSirMbMsg, *tpSirMbMsg; 155 156 /** 157 * struct sir_mgmt_msg - Structure used to send auth frame from CSR to LIM 158 * @type: Message type 159 * @msg_len: Message length 160 * @vdev_id: vdev id 161 * @data: Pointer to data tobe transmitted 162 */ 163 struct sir_mgmt_msg { 164 uint16_t type; 165 uint16_t msg_len; 166 uint8_t vdev_id; 167 uint8_t *data; 168 }; 169 170 /** 171 * struct sir_cfg_action_frm_tb_ppdu - cfg to set action frame in he tb ppdu 172 * @type: Message type 173 * @vdev_id: vdev id 174 * @cfg: enable/disable cfg 175 */ 176 struct sir_cfg_action_frm_tb_ppdu { 177 uint16_t type; 178 uint8_t vdev_id; 179 uint8_t cfg; 180 }; 181 182 /* ******************************************* * 183 * * 184 * SIRIUS MESSAGE TYPES * 185 * * 186 * ******************************************* */ 187 188 /* 189 * The following message types have bounds defined for each module for 190 * inter thread/module communications. 191 * Each module will get 256 message types in total. 192 * Note that message type definitions for mailbox messages for 193 * communication with Host are in wni_api.h file. 194 * 195 * Any addition/deletion to this message list should also be 196 * reflected in the halUtil_getMsgString() routine. 197 */ 198 199 /** 200 * Module ID definitions. 201 */ 202 enum { 203 SIR_HAL_MODULE_ID = 0x10, 204 SIR_LIM_MODULE_ID = 0x13, 205 SIR_SME_MODULE_ID, 206 }; 207 208 #define SIR_WMA_MODULE_ID SIR_HAL_MODULE_ID 209 210 /* HAL message types */ 211 enum halmsgtype { 212 SIR_HAL_MSG_TYPES_BEGIN = (SIR_HAL_MODULE_ID << 8), 213 SIR_HAL_ITC_MSG_TYPES_BEGIN = (SIR_HAL_MSG_TYPES_BEGIN + 0x20), 214 SIR_HAL_RADAR_DETECTED_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN), 215 216 /* 217 * New Taurus related messages 218 */ 219 SIR_HAL_ADD_STA_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 1), 220 SIR_HAL_ADD_STA_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 2), 221 SIR_HAL_DELETE_STA_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 3), 222 SIR_HAL_DELETE_STA_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 4), 223 SIR_HAL_ADD_BSS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 5), 224 SIR_HAL_DELETE_BSS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 7), 225 SIR_HAL_DELETE_BSS_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 8), 226 /* 227 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 9), thru 228 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 16), are unused 229 */ 230 SIR_HAL_SEND_BEACON_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 17), 231 232 SIR_HAL_SET_BSSKEY_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 19), 233 SIR_HAL_SET_STAKEY_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 21), 234 SIR_HAL_UPDATE_EDCA_PROFILE_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 22), 235 236 SIR_HAL_UPDATE_BEACON_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 23), 237 SIR_HAL_CHNL_SWITCH_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 25), 238 SIR_HAL_ADD_TS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 26), 239 SIR_HAL_DEL_TS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 27), 240 241 SIR_HAL_MISSED_BEACON_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 34), 242 243 SIR_HAL_SWITCH_CHANNEL_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 35), 244 SIR_HAL_PWR_SAVE_CFG = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 36), 245 /* 246 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 37) to 247 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 43) are unused 248 */ 249 SIR_HAL_TIMER_ADJUST_ADAPTIVE_THRESHOLD_IND = 250 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 44), 251 SIR_HAL_SET_LINK_STATE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 45), 252 SIR_HAL_DELETE_BSS_HO_FAIL_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 46), 253 SIR_HAL_DELETE_BSS_HO_FAIL_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 47), 254 255 /* 256 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 48) to 257 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 57) are unused 258 */ 259 260 SIR_HAL_SET_STA_BCASTKEY_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 59), 261 SIR_HAL_ADD_TS_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 60), 262 SIR_HAL_DPU_MIC_ERROR = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 61), 263 SIR_HAL_TIMER_CHIP_MONITOR_TIMEOUT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 63), 264 SIR_HAL_TIMER_TRAFFIC_ACTIVITY_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 64), 265 SIR_HAL_TIMER_ADC_RSSI_STATS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 65), 266 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 66) is unused */ 267 SIR_HAL_SET_MIMOPS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 67), 268 SIR_HAL_SET_MIMOPS_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 68), 269 SIR_HAL_SYS_READY_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 69), 270 SIR_HAL_SET_TX_POWER_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 70), 271 SIR_HAL_SET_TX_POWER_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 71), 272 SIR_HAL_GET_TX_POWER_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 72), 273 /* 274 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 73) thru 275 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 89) are unused 276 */ 277 278 SIR_HAL_SET_KEY_DONE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 90), 279 280 /* / PE <-> HAL BTC messages */ 281 SIR_HAL_BTC_SET_CFG = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 91), 282 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 92) is unused */ 283 SIR_HAL_HANDLE_FW_MBOX_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 93), 284 SIR_HAL_SEND_PROBE_RSP_TMPL = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 94), 285 286 /* PE <-> HAL addr2 mismatch message */ 287 SIR_LIM_ADDR2_MISS_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 95), 288 289 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 96) is unused */ 290 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 97) is unused */ 291 292 SIR_HAL_SET_MAX_TX_POWER_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 98), 293 SIR_HAL_SET_MAX_TX_POWER_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 99), 294 295 /* / PE <-> HAL Host Offload message */ 296 SIR_HAL_SET_HOST_OFFLOAD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 100), 297 298 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 101) is unused */ 299 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 102) is unused */ 300 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 103) is unused */ 301 302 /* 303 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 104) thru 304 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 108) are unused 305 */ 306 SIR_HAL_AGGR_QOS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 109), 307 SIR_HAL_AGGR_QOS_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 110), 308 309 /* P2P <-> HAL P2P msg */ 310 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 111) is unused */ 311 SIR_HAL_P2P_NOA_ATTR_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 112), 312 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 113) is unused */ 313 314 SIR_HAL_WLAN_SUSPEND_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 115), 315 SIR_HAL_WLAN_RESUME_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 116), 316 317 /* / PE <-> HAL Keep Alive message */ 318 SIR_HAL_SET_KEEP_ALIVE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 117), 319 320 #ifdef WLAN_NS_OFFLOAD 321 SIR_HAL_SET_NS_OFFLOAD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 118), 322 #endif /* WLAN_NS_OFFLOAD */ 323 324 SIR_HAL_SOC_ANTENNA_MODE_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 120), 325 SIR_HAL_SOC_ANTENNA_MODE_RESP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 121), 326 327 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 122) is unused */ 328 329 SIR_HAL_8023_MULTICAST_LIST_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 123), 330 331 #ifdef WLAN_FEATURE_PACKET_FILTERING 332 SIR_HAL_RECEIVE_FILTER_SET_FILTER_REQ = 333 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 124), 334 SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_REQ = 335 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 125), 336 SIR_HAL_PACKET_COALESCING_FILTER_MATCH_COUNT_RSP = 337 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 126), 338 SIR_HAL_RECEIVE_FILTER_CLEAR_FILTER_REQ = 339 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 127), 340 #endif /* WLAN_FEATURE_PACKET_FILTERING */ 341 342 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 128) is unused */ 343 344 #ifdef WLAN_FEATURE_GTK_OFFLOAD 345 SIR_HAL_GTK_OFFLOAD_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 129), 346 SIR_HAL_GTK_OFFLOAD_GETINFO_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 130), 347 SIR_HAL_GTK_OFFLOAD_GETINFO_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 131), 348 #endif /* WLAN_FEATURE_GTK_OFFLOAD */ 349 350 #ifdef FEATURE_WLAN_ESE 351 SIR_HAL_TSM_STATS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 132), 352 SIR_HAL_TSM_STATS_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 133), 353 #endif 354 355 SIR_HAL_SET_TM_LEVEL_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 134), 356 357 SIR_HAL_UPDATE_OP_MODE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 135), 358 359 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 136) is unused */ 360 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 137) is unused */ 361 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 138) is unused */ 362 363 SIR_HAL_ROAM_PRE_AUTH_STATUS_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 139), 364 365 SIR_HAL_TRAFFIC_STATS_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 141), 366 367 SIR_HAL_EXCLUDE_UNENCRYPTED_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 142), 368 #ifdef FEATURE_WLAN_TDLS 369 /* / PE <-> HAL TDLS messages */ 370 SIR_HAL_TDLS_LINK_ESTABLISH_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 143), 371 SIR_HAL_TDLS_LINK_ESTABLISH_REQ_RSP = 372 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 144), 373 #endif 374 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 145) is unused */ 375 376 SIR_HAL_STOP_SCAN_OFFLOAD_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 146), 377 SIR_HAL_RX_SCAN_EVENT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 147), 378 SIR_HAL_DHCP_START_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 148), 379 SIR_HAL_DHCP_STOP_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 149), 380 381 SIR_HAL_LPHB_CONF_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 151), 382 383 SIR_HAL_ADD_PERIODIC_TX_PTRN_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 152), 384 SIR_HAL_DEL_PERIODIC_TX_PTRN_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 153), 385 386 /* Messages between 156 to 157 are not used */ 387 SIR_HAL_PDEV_DUAL_MAC_CFG_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 154), 388 SIR_HAL_PDEV_MAC_CFG_RESP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 155), 389 390 SIR_HAL_RATE_UPDATE_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 159), 391 392 SIR_HAL_FLUSH_LOG_TO_FW = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 160), 393 394 SIR_HAL_SET_PCL_TO_FW = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 161), 395 396 #ifdef WLAN_MWS_INFO_DEBUGFS 397 SIR_HAL_GET_MWS_COEX_INFO_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 162), 398 #endif /* WLAN_MWS_INFO_DEBUGFS */ 399 400 SIR_HAL_CLI_SET_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 163), 401 #ifndef REMOVE_PKT_LOG 402 SIR_HAL_PKTLOG_ENABLE_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 164), 403 #endif 404 SIR_HAL_UPDATE_CHAN_LIST_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 167), 405 SIR_CSA_OFFLOAD_EVENT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 169), 406 407 SIR_HAL_SET_MAX_TX_POWER_PER_BAND_REQ = 408 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 170), 409 410 SIR_HAL_UPDATE_MEMBERSHIP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 172), 411 SIR_HAL_UPDATE_USERPOS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 173), 412 413 #ifdef FEATURE_WLAN_TDLS 414 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 174) is not used */ 415 SIR_HAL_UPDATE_TDLS_PEER_STATE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 175), 416 SIR_HAL_TDLS_SHOULD_DISCOVER = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 176), 417 SIR_HAL_TDLS_SHOULD_TEARDOWN = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 177), 418 SIR_HAL_TDLS_PEER_DISCONNECTED = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 178), 419 #endif 420 421 /* Handling of beacon tx indication from FW */ 422 SIR_HAL_BEACON_TX_SUCCESS_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 179), 423 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 180) is unused */ 424 425 SIR_HAL_INIT_THERMAL_INFO_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 185), 426 SIR_HAL_SET_THERMAL_LEVEL = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 186), 427 428 #ifdef FEATURE_WLAN_ESE 429 SIR_HAL_SET_PLM_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 187), 430 #endif 431 432 SIR_HAL_SET_TX_POWER_LIMIT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 188), 433 SIR_HAL_SET_SAP_INTRABSS_DIS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 189), 434 435 SIR_HAL_MODEM_POWER_STATE_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 190), 436 437 SIR_HAL_DISASSOC_TX_COMP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 191), 438 SIR_HAL_DEAUTH_TX_COMP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 192), 439 440 SIR_HAL_UPDATE_RX_NSS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 193), 441 442 #ifdef WLAN_FEATURE_STATS_EXT 443 SIR_HAL_STATS_EXT_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 194), 444 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 195) is unused */ 445 #endif /* WLAN_FEATURE_STATS_EXT */ 446 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 197) is unused */ 447 448 #ifdef FEATURE_WLAN_EXTSCAN 449 SIR_HAL_EXTSCAN_GET_CAPABILITIES_REQ = 450 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 198), 451 SIR_HAL_EXTSCAN_START_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 199), 452 SIR_HAL_EXTSCAN_STOP_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 200), 453 SIR_HAL_EXTSCAN_SET_BSS_HOTLIST_REQ = 454 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 201), 455 SIR_HAL_EXTSCAN_RESET_BSS_HOTLIST_REQ = 456 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 202), 457 SIR_HAL_EXTSCAN_SET_SIGNF_CHANGE_REQ = 458 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 203), 459 SIR_HAL_EXTSCAN_RESET_SIGNF_CHANGE_REQ = 460 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 204), 461 SIR_HAL_EXTSCAN_GET_CACHED_RESULTS_REQ = 462 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 205), 463 #endif /* FEATURE_WLAN_EXTSCAN */ 464 465 #ifdef FEATURE_WLAN_CH_AVOID 466 SIR_HAL_CH_AVOID_UPDATE_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 206), 467 #endif 468 469 #ifdef WLAN_FEATURE_LINK_LAYER_STATS 470 SIR_HAL_LL_STATS_CLEAR_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 207), 471 SIR_HAL_LL_STATS_SET_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 208), 472 SIR_HAL_LL_STATS_GET_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 209), 473 SIR_HAL_LL_STATS_RESULTS_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 210), 474 #endif /* WLAN_FEATURE_LINK_LAYER_STATS */ 475 476 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 211) is unused */ 477 478 #ifdef WLAN_FEATURE_NAN 479 SIR_HAL_NAN_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 212), 480 #endif /* WLAN_FEATURE_NAN */ 481 482 #ifdef FEATURE_WLAN_AUTO_SHUTDOWN 483 SIR_HAL_SET_AUTO_SHUTDOWN_TIMER_REQ = 484 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 213), 485 #endif 486 487 SIR_HAL_SET_BASE_MACADDR_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 214), 488 489 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 215) is unused */ 490 491 SIR_HAL_LINK_STATUS_GET_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 216), 492 493 #ifdef WLAN_FEATURE_EXTWOW_SUPPORT 494 SIR_HAL_CONFIG_EXT_WOW = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 217), 495 SIR_HAL_CONFIG_APP_TYPE1_PARAMS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 218), 496 SIR_HAL_CONFIG_APP_TYPE2_PARAMS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 219), 497 #endif 498 499 SIR_HAL_GET_TEMPERATURE_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 220), 500 SIR_HAL_SET_SCAN_MAC_OUI_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 221), 501 #ifdef DHCP_SERVER_OFFLOAD 502 SIR_HAL_SET_DHCP_SERVER_OFFLOAD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 222), 503 #endif /* DHCP_SERVER_OFFLOAD */ 504 SIR_HAL_LED_FLASHING_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 223), 505 506 /*= (SIR_HAL_ITC_MSG_TYPES_BEGIN + 228), is unused */ 507 508 SIR_HAL_SET_MAS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 229), 509 SIR_HAL_SET_MIRACAST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 230), 510 #ifdef FEATURE_AP_MCC_CH_AVOIDANCE 511 SIR_HAL_UPDATE_Q2Q_IE_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 231), 512 #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */ 513 SIR_HAL_CONFIG_STATS_FACTOR = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 232), 514 SIR_HAL_CONFIG_GUARD_TIME = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 233), 515 /*= (SIR_HAL_ITC_MSG_TYPES_BEGIN + 234), is unused */ 516 517 SIR_HAL_ENTER_PS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 235), 518 SIR_HAL_EXIT_PS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 236), 519 SIR_HAL_ENABLE_UAPSD_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 237), 520 SIR_HAL_DISABLE_UAPSD_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 238), 521 SIR_HAL_GATEWAY_PARAM_UPDATE_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 239), 522 523 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 308) is unused */ 524 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 309) is unused */ 525 526 SIR_HAL_SET_EPNO_LIST_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 313), 527 SIR_HAL_SET_PASSPOINT_LIST_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 316), 528 SIR_HAL_RESET_PASSPOINT_LIST_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 317), 529 /* 318 unused */ 530 531 SIR_HAL_OCB_SET_CONFIG_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 319), 532 SIR_HAL_OCB_SET_UTC_TIME_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 320), 533 SIR_HAL_OCB_START_TIMING_ADVERT_CMD = 534 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 321), 535 SIR_HAL_OCB_STOP_TIMING_ADVERT_CMD = 536 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 322), 537 SIR_HAL_OCB_GET_TSF_TIMER_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 323), 538 SIR_HAL_DCC_GET_STATS_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 324), 539 SIR_HAL_DCC_CLEAR_STATS_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 325), 540 SIR_HAL_DCC_UPDATE_NDL_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 326), 541 542 /* FW Memory Dump feature is deprecated */ 543 544 SIR_HAL_START_STOP_LOGGING = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 328), 545 SIR_HAL_PDEV_SET_HW_MODE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 329), 546 SIR_HAL_PDEV_SET_HW_MODE_RESP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 330), 547 SIR_HAL_PDEV_HW_MODE_TRANS_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 331), 548 549 SIR_HAL_BAD_PEER_TX_CTL_INI_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 332), 550 SIR_HAL_SET_RSSI_MONITOR_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 333), 551 SIR_HAL_SET_IE_INFO = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 334), 552 553 /* SIR_HAL_ITC_MSG_TYPES_BEGIN + 335 is unused */ 554 /* SIR_HAL_ITC_MSG_TYPES_BEGIN + 336 is unused */ 555 556 SIR_HAL_HT40_OBSS_SCAN_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 337), 557 558 SIR_HAL_TSF_GPIO_PIN_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 338), 559 560 SIR_HAL_ADD_BCN_FILTER_CMDID = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 339), 561 SIR_HAL_REMOVE_BCN_FILTER_CMDID = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 340), 562 563 564 SIR_HAL_APF_GET_CAPABILITIES_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 341), 565 SIR_HAL_WMA_ROAM_SYNC_TIMEOUT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 342), 566 567 SIR_HAL_SET_WISA_PARAMS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 343), 568 SIR_HAL_SET_ADAPT_DWELLTIME_PARAMS = 569 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 344), 570 SIR_HAL_SET_PDEV_IE_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 345), 571 572 /* 573 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 346) to 574 * (SIR_HAL_ITC_MSG_TYPES_BEGIN + 359) are unused 575 */ 576 577 SIR_HAL_SEND_FREQ_RANGE_CONTROL_IND = 578 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 360), 579 SIR_HAL_POWER_DBG_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 362), 580 SIR_HAL_SET_DTIM_PERIOD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 363), 581 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 364) is unused */ 582 SIR_HAL_SHORT_RETRY_LIMIT_CNT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 365), 583 SIR_HAL_LONG_RETRY_LIMIT_CNT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 366), 584 SIR_HAL_UPDATE_TX_FAIL_CNT_TH = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 367), 585 SIR_HAL_POWER_DEBUG_STATS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 368), 586 587 SIR_HAL_SET_WOW_PULSE_CMD = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 369), 588 589 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 370) is unused */ 590 /* (SIR_HAL_ITC_MSG_TYPES_BEGIN + 371) is unused */ 591 592 SIR_HAL_RX_CHN_STATUS_EVENT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 372), 593 594 SIR_HAL_GET_RCPI_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 373), 595 596 #ifdef WLAN_FEATURE_LINK_LAYER_STATS 597 SIR_HAL_LL_STATS_EXT_SET_THRESHOLD = 598 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 378), 599 #endif 600 SIR_HAL_SET_DBS_SCAN_SEL_PARAMS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 379), 601 602 /* 603 * Unused SIR_HAL_ITC_MSG_TYPES_BEGIN + 380 to 604 * SIR_HAL_ITC_MSG_TYPES_BEGIN + 387 605 */ 606 607 /* ARP Debug stats */ 608 SIR_HAL_SET_ARP_STATS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 388), 609 SIR_HAL_GET_ARP_STATS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 389), 610 611 SIR_HAL_SET_LIMIT_OFF_CHAN = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 390), 612 613 SIR_HAL_SET_DEL_PMKID_CACHE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 391), 614 SIR_HAL_HLP_IE_INFO = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 392), 615 SIR_HAL_OBSS_DETECTION_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 393), 616 SIR_HAL_OBSS_DETECTION_INFO = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 394), 617 SIR_HAL_INVOKE_NEIGHBOR_REPORT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 395), 618 SIR_HAL_OBSS_COLOR_COLLISION_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 396), 619 SIR_HAL_OBSS_COLOR_COLLISION_INFO = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 397), 620 621 SIR_HAL_SEND_ADDBA_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 398), 622 SIR_HAL_GET_ROAM_SCAN_STATS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 399), 623 SIR_HAL_SEND_AP_VDEV_UP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 400), 624 SIR_HAL_SEND_BCN_RSP = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 401), 625 SIR_HAL_CFG_VENDOR_ACTION_TB_PPDU = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 402), 626 SIR_HAL_BEACON_DEBUG_STATS_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 403), 627 628 #ifdef WLAN_FEATURE_MOTION_DETECTION 629 SIR_HAL_SET_MOTION_DET_CONFIG = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 405), 630 SIR_HAL_SET_MOTION_DET_ENABLE = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 406), 631 SIR_HAL_SET_MOTION_DET_BASE_LINE_CONFIG = 632 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 407), 633 SIR_HAL_SET_MOTION_DET_BASE_LINE_ENABLE = 634 (SIR_HAL_ITC_MSG_TYPES_BEGIN + 408), 635 #endif /* WLAN_FEATURE_MOTION_DETECTION */ 636 637 #ifdef FW_THERMAL_THROTTLE_SUPPORT 638 SIR_HAL_SET_THERMAL_THROTTLE_CFG = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 409), 639 SIR_HAL_SET_THERMAL_MGMT = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 410), 640 #endif /* FW_THERMAL_THROTTLE_SUPPORT */ 641 642 SIR_HAL_SEND_PEER_UNMAP_CONF = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 411), 643 644 SIR_HAL_GET_ISOLATION = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 412), 645 646 SIR_HAL_SET_ROAM_TRIGGERS = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 413), 647 648 SIR_HAL_ROAM_SCAN_CH_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 414), 649 650 SIR_HAL_REQ_SEND_DELBA_REQ_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 415), 651 SIR_HAL_SEND_MAX_TX_POWER = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 416), 652 653 SIR_HAL_TWT_ADD_DIALOG_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 417), 654 SIR_HAL_TWT_DEL_DIALOG_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 418), 655 SIR_HAL_TWT_PAUSE_DIALOG_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 419), 656 SIR_HAL_TWT_RESUME_DIALOG_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 420), 657 SIR_HAL_PEER_CREATE_REQ = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 421), 658 SIR_HAL_TWT_NUDGE_DIALOG_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 422), 659 SIR_HAL_PASN_PEER_DELETE_REQUEST = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 423), 660 SIR_HAL_UPDATE_EDCA_PIFS_PARAM_IND = (SIR_HAL_ITC_MSG_TYPES_BEGIN + 424), 661 662 SIR_HAL_MSG_TYPES_END = (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF), 663 }; 664 /* LIM message types */ 665 #define SIR_LIM_MSG_TYPES_BEGIN (SIR_LIM_MODULE_ID << 8) 666 #define SIR_LIM_ITC_MSG_TYPES_BEGIN (SIR_LIM_MSG_TYPES_BEGIN+0xB0) 667 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0) */ 668 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 1) */ 669 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 2) */ 670 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 3) */ 671 /* Message from BB Transport */ 672 #define SIR_BB_XPORT_MGMT_MSG (SIR_LIM_ITC_MSG_TYPES_BEGIN + 4) 673 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 5) */ 674 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 6) */ 675 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 7) */ 676 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 8) */ 677 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 9) */ 678 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xA) */ 679 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xB) */ 680 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xC) */ 681 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xD) */ 682 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xE) */ 683 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0xF) */ 684 /* UNUSED (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x10) */ 685 /* Indication from HAL to delete Station context */ 686 #define SIR_LIM_DELETE_STA_CONTEXT_IND (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x11) 687 /* Indication from HAL to delete BA */ 688 #define SIR_LIM_UPDATE_BEACON (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x13) 689 /* Indication from HAL to handle RX invalid peer */ 690 #define SIR_LIM_RX_INVALID_PEER (SIR_LIM_ITC_MSG_TYPES_BEGIN + 0x15) 691 692 /* LIM Timeout messages */ 693 #define SIR_LIM_TIMEOUT_MSG_START ((SIR_LIM_MODULE_ID << 8) + 0xD0) 694 #define SIR_LIM_JOIN_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 2) 695 #define SIR_LIM_AUTH_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 3) 696 #define SIR_LIM_AUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 4) 697 #define SIR_LIM_ASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 5) 698 #define SIR_LIM_REASSOC_FAIL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 6) 699 #define SIR_LIM_HEART_BEAT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 7) 700 /* currently unused SIR_LIM_TIMEOUT_MSG_START + 0x8 */ 701 /* Link Monitoring Messages */ 702 #define SIR_LIM_PROBE_HB_FAILURE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xB) 703 #define SIR_LIM_ADDTS_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0xC) 704 #define SIR_LIM_LINK_TEST_DURATION_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x13) 705 #define SIR_LIM_CNF_WAIT_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x17) 706 /* currently unused (SIR_LIM_TIMEOUT_MSG_START + 0x18) */ 707 #define SIR_LIM_UPDATE_OLBC_CACHEL_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x19) 708 709 #define SIR_LIM_WPS_OVERLAP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1D) 710 #define SIR_LIM_FT_PREAUTH_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x1E) 711 712 #define SIR_LIM_RRM_STA_STATS_RSP_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x24) 713 /* currently unused (SIR_LIM_TIMEOUT_MSG_START + 0x25) */ 714 715 #define SIR_LIM_DISASSOC_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x26) 716 /*#define SIR_LIM_DEAUTH_ACK_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x27) */ 717 #define SIR_LIM_PERIODIC_JOIN_PROBE_REQ_TIMEOUT \ 718 (SIR_LIM_TIMEOUT_MSG_START + 0x28) 719 720 #define SIR_LIM_AUTH_RETRY_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x2D) 721 #define SIR_LIM_AUTH_SAE_TIMEOUT (SIR_LIM_TIMEOUT_MSG_START + 0x2E) 722 723 #define SIR_LIM_PROCESS_DEFERRED_QUEUE (SIR_LIM_TIMEOUT_MSG_START + 0x2F) 724 725 #define SIR_LIM_MSG_TYPES_END (SIR_LIM_MSG_TYPES_BEGIN+0xFF) 726 727 /* ****************************************** * 728 * * 729 * EVENT TYPE Definitions * 730 * * 731 * ****************************************** */ 732 733 /* Param Change Bitmap sent to HAL */ 734 #define PARAM_BCN_INTERVAL_CHANGED (1 << 0) 735 #define PARAM_SHORT_PREAMBLE_CHANGED (1 << 1) 736 #define PARAM_SHORT_SLOT_TIME_CHANGED (1 << 2) 737 #define PARAM_llACOEXIST_CHANGED (1 << 3) 738 #define PARAM_llBCOEXIST_CHANGED (1 << 4) 739 #define PARAM_llGCOEXIST_CHANGED (1 << 5) 740 #define PARAM_HT20MHZCOEXIST_CHANGED (1<<6) 741 #define PARAM_NON_GF_DEVICES_PRESENT_CHANGED (1<<7) 742 #define PARAM_RIFS_MODE_CHANGED (1<<8) 743 #define PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED (1<<9) 744 #define PARAM_OBSS_MODE_CHANGED (1<<10) 745 #define PARAM_BSS_COLOR_CHANGED (1 << 11) 746 #define PARAM_BEACON_UPDATE_MASK (PARAM_BCN_INTERVAL_CHANGED | \ 747 PARAM_SHORT_PREAMBLE_CHANGED | \ 748 PARAM_SHORT_SLOT_TIME_CHANGED | \ 749 PARAM_llACOEXIST_CHANGED | \ 750 PARAM_llBCOEXIST_CHANGED | \ 751 PARAM_llGCOEXIST_CHANGED | \ 752 PARAM_HT20MHZCOEXIST_CHANGED | \ 753 PARAM_NON_GF_DEVICES_PRESENT_CHANGED | \ 754 PARAM_RIFS_MODE_CHANGED | \ 755 PARAM_LSIG_TXOP_FULL_SUPPORT_CHANGED | \ 756 PARAM_OBSS_MODE_CHANGED | \ 757 PARAM_BSS_COLOR_CHANGED) 758 759 #endif 760