Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Gopichand Nakkala | efe3a23 | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 2 | * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
| 3 | * |
| 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 | */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 21 | /*========================================================================== |
| 22 | * |
| 23 | * @file: wlan_hal_cfg.h |
| 24 | * |
| 25 | * @brief: Exports and types WLAN HAL configuration |
| 26 | * |
| 27 | * @author: Kumar Anand |
| 28 | * |
Madan Mohan Koyyalamudi | 20da993 | 2013-03-21 16:12:18 -0700 | [diff] [blame] | 29 | * Copyright (C) 2010, Qualcomm Technologies, Inc. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 30 | * All rights reserved. |
| 31 | * |
| 32 | *=========================================================================*/ |
| 33 | |
| 34 | #ifndef __WLAN_HAL_CFG_H__ |
| 35 | #define __WLAN_HAL_CFG_H__ |
| 36 | |
| 37 | /*------------------------------------------------------------------------- |
| 38 | Include Files |
| 39 | -------------------------------------------------------------------------*/ |
Anand Kumar | d0b17e4 | 2013-01-11 17:00:00 -0800 | [diff] [blame] | 40 | #include "qwlanfw_defs.h" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 41 | |
| 42 | /*------------------------------------------------------------------------- |
| 43 | Preprocessor definitions and constants |
| 44 | -------------------------------------------------------------------------*/ |
| 45 | /* RIVA API version in format W.X.Y.Z is converted to a UINT32 integer */ |
| 46 | #define WLAN_HAL_CONSTRUCT_API_VERSION(W,X,Y,Z) (((W)<<24)+((X)<<16)+((Y)<<8)+(Z)) |
| 47 | #define IS_VERSION_BEFORE_VOWIFI(VER_FROM_HOST) \ |
| 48 | ((VER_FROM_HOST)<=WLAN_HAL_CONSTRUCT_API_VERSION(0,0,2,0))?1:0 |
| 49 | |
| 50 | /*------------------------------------------------------------------------- |
| 51 | Configuration Parameter IDs |
| 52 | -------------------------------------------------------------------------*/ |
| 53 | #define QWLAN_HAL_CFG_STA_ID 0 |
| 54 | #define QWLAN_HAL_CFG_CURRENT_TX_ANTENNA 1 |
| 55 | #define QWLAN_HAL_CFG_CURRENT_RX_ANTENNA 2 |
| 56 | #define QWLAN_HAL_CFG_LOW_GAIN_OVERRIDE 3 |
| 57 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN 4 |
| 58 | #define QWLAN_HAL_CFG_CAL_PERIOD 5 |
| 59 | #define QWLAN_HAL_CFG_CAL_CONTROL 6 |
| 60 | #define QWLAN_HAL_CFG_PROXIMITY 7 |
| 61 | #define QWLAN_HAL_CFG_NETWORK_DENSITY 8 |
| 62 | #define QWLAN_HAL_CFG_MAX_MEDIUM_TIME 9 |
| 63 | #define QWLAN_HAL_CFG_MAX_MPDUS_IN_AMPDU 10 |
| 64 | #define QWLAN_HAL_CFG_RTS_THRESHOLD 11 |
| 65 | #define QWLAN_HAL_CFG_SHORT_RETRY_LIMIT 12 |
| 66 | #define QWLAN_HAL_CFG_LONG_RETRY_LIMIT 13 |
| 67 | #define QWLAN_HAL_CFG_FRAGMENTATION_THRESHOLD 14 |
| 68 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ZERO 15 |
| 69 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ONE 16 |
| 70 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_TWO 17 |
| 71 | #define QWLAN_HAL_CFG_FIXED_RATE 18 |
| 72 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY 19 |
| 73 | #define QWLAN_HAL_CFG_RETRYRATE_SECONDARY 20 |
| 74 | #define QWLAN_HAL_CFG_RETRYRATE_TERTIARY 21 |
| 75 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION 22 |
| 76 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_24GHZ 23 |
| 77 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_5GHZ 24 |
| 78 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_24GHZ 25 |
| 79 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_5GHZ 26 |
| 80 | #define QWLAN_HAL_CFG_MAX_BA_SESSIONS 27 |
| 81 | #define QWLAN_HAL_CFG_PS_DATA_INACTIVITY_TIMEOUT 28 |
| 82 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_FILTER 29 |
| 83 | #define QWLAN_HAL_CFG_PS_ENABLE_RSSI_MONITOR 30 |
| 84 | #define QWLAN_HAL_CFG_NUM_BEACON_PER_RSSI_AVERAGE 31 |
| 85 | #define QWLAN_HAL_CFG_STATS_PERIOD 32 |
| 86 | #define QWLAN_HAL_CFG_CFP_MAX_DURATION 33 |
| 87 | #define QWLAN_HAL_CFG_FRAME_TRANS_ENABLED 34 |
| 88 | #define QWLAN_HAL_CFG_DTIM_PERIOD 35 |
| 89 | #define QWLAN_HAL_CFG_EDCA_WMM_ACBK 36 |
| 90 | #define QWLAN_HAL_CFG_EDCA_WMM_ACBE 37 |
| 91 | #define QWLAN_HAL_CFG_EDCA_WMM_ACVO 38 |
| 92 | #define QWLAN_HAL_CFG_EDCA_WMM_ACVI 39 |
| 93 | #define QWLAN_HAL_CFG_BA_THRESHOLD_HIGH 40 |
| 94 | #define QWLAN_HAL_CFG_MAX_BA_BUFFERS 41 |
| 95 | #define QWLAN_HAL_CFG_RPE_POLLING_THRESHOLD 42 |
| 96 | #define QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG 43 |
| 97 | #define QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG 44 |
| 98 | #define QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG 45 |
| 99 | #define QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG 46 |
| 100 | #define QWLAN_HAL_CFG_NO_OF_ONCHIP_REORDER_SESSIONS 47 |
| 101 | #define QWLAN_HAL_CFG_PS_LISTEN_INTERVAL 48 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 102 | #define QWLAN_HAL_CFG_PS_HEART_BEAT_THRESHOLD 49 |
| 103 | #define QWLAN_HAL_CFG_PS_NTH_BEACON_FILTER 50 |
| 104 | #define QWLAN_HAL_CFG_PS_MAX_PS_POLL 51 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 105 | #define QWLAN_HAL_CFG_PS_MIN_RSSI_THRESHOLD 52 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 106 | #define QWLAN_HAL_CFG_PS_RSSI_FILTER_PERIOD 53 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 107 | #define QWLAN_HAL_CFG_PS_BROADCAST_FRAME_FILTER_ENABLE 54 |
| 108 | #define QWLAN_HAL_CFG_PS_IGNORE_DTIM 55 |
| 109 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_EARLY_TERM 56 |
| 110 | #define QWLAN_HAL_CFG_DYNAMIC_PS_POLL_VALUE 57 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 111 | #define QWLAN_HAL_CFG_PS_NULLDATA_AP_RESP_TIMEOUT 58 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 112 | #define QWLAN_HAL_CFG_TELE_BCN_WAKEUP_EN 59 |
| 113 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI 60 |
| 114 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS 61 |
| 115 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI 62 |
| 116 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI_IDLE_BCNS 63 |
| 117 | #define QWLAN_HAL_CFG_TX_PWR_CTRL_ENABLE 64 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 118 | #define QWLAN_HAL_CFG_VALID_RADAR_CHANNEL_LIST 65 |
| 119 | #define QWLAN_HAL_CFG_TX_POWER_24_20 66 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 120 | #define QWLAN_HAL_CFG_TX_POWER_24_40 67 |
| 121 | #define QWLAN_HAL_CFG_TX_POWER_50_20 68 |
| 122 | #define QWLAN_HAL_CFG_TX_POWER_50_40 69 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 123 | #define QWLAN_HAL_CFG_MCAST_BCAST_FILTER_SETTING 70 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 124 | #define QWLAN_HAL_CFG_BCN_EARLY_TERM_WAKEUP_INTERVAL 71 |
| 125 | #define QCOM_WLAN_CFG_MAX_TX_POWER_2_4 72 |
| 126 | #define QCOM_WLAN_CFG_MAX_TX_POWER_5 73 |
| 127 | #define QWLAN_HAL_CFG_INFRA_STA_KEEP_ALIVE_PERIOD 74 |
| 128 | #define QWLAN_HAL_CFG_ENABLE_CLOSE_LOOP 75 |
| 129 | #define QWLAN_HAL_CFG_BTC_EXECUTION_MODE 76 |
| 130 | #define QWLAN_HAL_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK 77 |
| 131 | #define QWLAN_HAL_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS 78 |
| 132 | #define QWLAN_HAL_CFG_PS_TX_INACTIVITY_TIMEOUT 79 |
| 133 | #define QWLAN_HAL_CFG_WCNSS_API_VERSION 80 |
| 134 | #define QWLAN_HAL_CFG_AP_KEEPALIVE_TIMEOUT 81 |
| 135 | #define QWLAN_HAL_CFG_GO_KEEPALIVE_TIMEOUT 82 |
Jeff Johnson | d13512a | 2012-07-17 11:42:19 -0700 | [diff] [blame] | 136 | #define QWLAN_HAL_CFG_ENABLE_MC_ADDR_LIST 83 |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 137 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_BT 84 |
| 138 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_BT 85 |
| 139 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_BT 86 |
| 140 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_BT 87 |
| 141 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_WLAN 88 |
| 142 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_WLAN 89 |
| 143 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_WLAN 90 |
| 144 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_WLAN 91 |
| 145 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_BT 92 |
| 146 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_WLAN 93 |
| 147 | #define QWLAN_HAL_CFG_BTC_MAX_SCO_BLOCK_PERC 94 |
| 148 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_A2DP 95 |
| 149 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_SCO 96 |
Madan Mohan Koyyalamudi | daac6d2 | 2012-10-15 15:25:04 -0700 | [diff] [blame] | 150 | #define QWLAN_HAL_CFG_ENABLE_UNICAST_FILTER 97 |
Madan Mohan Koyyalamudi | c837a9c | 2012-12-07 14:13:30 -0800 | [diff] [blame] | 151 | #define QWLAN_HAL_CFG_MAX_ASSOC_LIMIT 98 |
| 152 | #define QWLAN_HAL_CFG_ENABLE_LPWR_IMG_TRANSITION 99 |
Madan Mohan Koyyalamudi | 2826000 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 153 | #define QWLAN_HAL_CFG_ENABLE_MCC_ADAPTIVE_SCHEDULER 100 |
Madan Mohan Koyyalamudi | 20da993 | 2013-03-21 16:12:18 -0700 | [diff] [blame] | 154 | #define QWLAN_HAL_CFG_ENABLE_DETECT_PS_SUPPORT 101 |
Gopichand Nakkala | a8b65cf | 2013-03-11 12:49:14 -0700 | [diff] [blame] | 155 | #define QWLAN_HAL_CFG_AP_LINK_MONITOR_TIMEOUT 102 |
Madan Mohan Koyyalamudi | 20da993 | 2013-03-21 16:12:18 -0700 | [diff] [blame] | 156 | #define QWLAN_HAL_CFG_BTC_DWELL_TIME_MULTIPLIER 103 |
Gopichand Nakkala | 749e9bb | 2013-05-06 17:37:34 +0530 | [diff] [blame] | 157 | #define QWLAN_HAL_CFG_ENABLE_TDLS_OXYGEN_MODE 104 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 158 | #define QWLAN_HAL_CFG_ENABLE_NAT_KEEP_ALIVE_FILTER 105 |
| 159 | #define QWLAN_HAL_CFG_ENABLE_SAP_OBSS_PROT 106 |
| 160 | #define QWLAN_HAL_CFG_PSPOLL_DATA_RECEP_TIMEOUT 107 |
Gopichand Nakkala | efe3a23 | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 161 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_BUFFER_STA_CAPABLE 108 |
| 162 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_MASK 109 |
| 163 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_INACTIVITY_TIME 110 |
| 164 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_IN_SP 111 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 165 | #define QWLAN_HAL_CFG_ANTENNA_DIVERSITY 112 |
| 166 | #define QWLAN_HAL_CFG_ATH_DISABLE 113 |
| 167 | #define QWLAN_HAL_CFG_MAX_PARAMS 114 |
| 168 | |
Madan Mohan Koyyalamudi | 20da993 | 2013-03-21 16:12:18 -0700 | [diff] [blame] | 169 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 170 | |
| 171 | |
| 172 | /* Total number of Integer CFGs. This is used while allocating the memory for TLV */ |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 173 | #define QWLAN_HAL_CFG_INTEGER_PARAM 114 |
Jeff Johnson | d13512a | 2012-07-17 11:42:19 -0700 | [diff] [blame] | 174 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 175 | |
| 176 | /*------------------------------------------------------------------------- |
| 177 | Configuration Parameter min, max, defaults |
| 178 | -------------------------------------------------------------------------*/ |
| 179 | |
| 180 | /* QWLAN_HAL_CFG_STA_ID*/ |
| 181 | #define QWLAN_HAL_CFG_STA_ID_STADEF "000AF5898989" |
| 182 | #define QCOM_WLAN_CFG_STA_ID_LEN 6 |
| 183 | |
| 184 | /* QWLAN_HAL_CFG_CURRENT_TX_ANTENNA */ |
| 185 | #define QWLAN_HAL_CFG_CURRENT_TX_ANTENNA_STAMIN 1 |
| 186 | #define QWLAN_HAL_CFG_CURRENT_TX_ANTENNA_STAMAX 1 |
| 187 | #define QWLAN_HAL_CFG_CURRENT_TX_ANTENNA_STADEF 1 |
| 188 | |
| 189 | /* QWLAN_HAL_CFG_CURRENT_RX_ANTENNA */ |
| 190 | #define QWLAN_HAL_CFG_CURRENT_RX_ANTENNA_STAMIN 1 |
| 191 | #define QWLAN_HAL_CFG_CURRENT_RX_ANTENNA_STAMAX 2 |
| 192 | #define QWLAN_HAL_CFG_CURRENT_RX_ANTENNA_STADEF 1 |
| 193 | |
| 194 | /* QWLAN_HAL_CFG_LOW_GAIN_OVERRIDE */ |
| 195 | #define QWLAN_HAL_CFG_LOW_GAIN_OVERRIDE_STAMIN 0 |
| 196 | #define QWLAN_HAL_CFG_LOW_GAIN_OVERRIDE_STAMAX 1 |
| 197 | #define QWLAN_HAL_CFG_LOW_GAIN_OVERRIDE_STADEF 0 |
| 198 | |
| 199 | /* QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN */ |
| 200 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_STAMIN 0 |
| 201 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_STAMAX 65535 |
| 202 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_STADEF 785 |
| 203 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_OFF 0 |
| 204 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_ON 1 |
| 205 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_TX 2 |
| 206 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_RX 3 |
| 207 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_MASK 15 |
| 208 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_CHAIN_0_OFFSET 0 |
| 209 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_CHAIN_1_OFFSET 4 |
| 210 | #define QWLAN_HAL_CFG_POWER_STATE_PER_CHAIN_CHAIN_2_OFFSET 8 |
| 211 | |
| 212 | /* QWLAN_HAL_CFG_CAL_PERIOD */ |
| 213 | #define QWLAN_HAL_CFG_CAL_PERIOD_STAMIN 2 |
| 214 | #define QWLAN_HAL_CFG_CAL_PERIOD_STAMAX 10 |
| 215 | #define QWLAN_HAL_CFG_CAL_PERIOD_STADEF 5 |
| 216 | |
| 217 | /* QWLAN_HAL_CFG_CAL_CONTROL */ |
| 218 | #define QWLAN_HAL_CFG_CAL_CONTROL_STAMIN 0 |
| 219 | #define QWLAN_HAL_CFG_CAL_CONTROL_STAMAX 1 |
| 220 | #define QWLAN_HAL_CFG_CAL_CONTROL_STADEF 0 |
| 221 | #define QWLAN_HAL_CFG_CAL_CONTROL_CAL_ON 0 |
| 222 | #define QWLAN_HAL_CFG_CAL_CONTROL_CAL_OFF 1 |
| 223 | |
| 224 | /* QWLAN_HAL_CFG_PROXIMITY */ |
| 225 | #define QWLAN_HAL_CFG_PROXIMITY_STAMIN 0 |
| 226 | #define QWLAN_HAL_CFG_PROXIMITY_STAMAX 1 |
| 227 | #define QWLAN_HAL_CFG_PROXIMITY_STADEF 0 |
| 228 | #define QWLAN_HAL_CFG_PROXIMITY_OFF 0 |
| 229 | #define QWLAN_HAL_CFG_PROXIMITY_ON 1 |
| 230 | |
| 231 | /* QWLAN_HAL_CFG_NETWORK_DENSITY */ |
| 232 | #define QWLAN_HAL_CFG_NETWORK_DENSITY_STAMIN 0 |
| 233 | #define QWLAN_HAL_CFG_NETWORK_DENSITY_STAMAX 3 |
| 234 | #define QWLAN_HAL_CFG_NETWORK_DENSITY_STADEF 3 |
| 235 | #define QWLAN_HAL_CFG_NETWORK_DENSITY_LOW 0 |
| 236 | #define QWLAN_HAL_CFG_NETWORK_DENSITY_MEDIUM 1 |
| 237 | #define QWLAN_HAL_CFG_NETWORK_DENSITY_HIGH 2 |
| 238 | #define QWLAN_HAL_CFG_NETWORK_DENSITY_ADAPTIVE 3 |
| 239 | |
| 240 | /* QWLAN_HAL_CFG_MAX_MEDIUM_TIME */ |
| 241 | #define QWLAN_HAL_CFG_MAX_MEDIUM_TIME_STAMIN 0 |
| 242 | #define QWLAN_HAL_CFG_MAX_MEDIUM_TIME_STAMAX 65535 |
| 243 | #define QWLAN_HAL_CFG_MAX_MEDIUM_TIME_STADEF 1024 |
| 244 | |
| 245 | /* QWLAN_HAL_CFG_MAX_MPDUS_IN_AMPDU */ |
| 246 | #define QWLAN_HAL_CFG_MAX_MPDUS_IN_AMPDU_STAMIN 0 |
| 247 | #define QWLAN_HAL_CFG_MAX_MPDUS_IN_AMPDU_STAMAX 65535 |
| 248 | #define QWLAN_HAL_CFG_MAX_MPDUS_IN_AMPDU_STADEF 64 |
| 249 | |
| 250 | /* QWLAN_HAL_CFG_RTS_THRESHOLD */ |
| 251 | #define QWLAN_HAL_CFG_RTS_THRESHOLD_STAMIN 0 |
| 252 | #define QWLAN_HAL_CFG_RTS_THRESHOLD_STAMAX 2347 |
| 253 | #define QWLAN_HAL_CFG_RTS_THRESHOLD_STADEF 2347 |
| 254 | |
| 255 | /* QWLAN_HAL_CFG_SHORT_RETRY_LIMIT */ |
| 256 | #define QWLAN_HAL_CFG_SHORT_RETRY_LIMIT_STAMIN 0 |
| 257 | #define QWLAN_HAL_CFG_SHORT_RETRY_LIMIT_STAMAX 255 |
| 258 | #define QWLAN_HAL_CFG_SHORT_RETRY_LIMIT_STADEF 15 |
| 259 | |
| 260 | /* QWLAN_HAL_CFG_LONG_RETRY_LIMIT */ |
| 261 | #define QWLAN_HAL_CFG_LONG_RETRY_LIMIT_STAMIN 0 |
| 262 | #define QWLAN_HAL_CFG_LONG_RETRY_LIMIT_STAMAX 255 |
| 263 | #define QWLAN_HAL_CFG_LONG_RETRY_LIMIT_STADEF 15 |
| 264 | |
| 265 | /* QWLAN_HAL_CFG_FRAGMENTATION_THRESHOLD */ |
| 266 | #define QWLAN_HAL_CFG_FRAGMENTATION_THRESHOLD_STAMIN 256 |
| 267 | #define QWLAN_HAL_CFG_FRAGMENTATION_THRESHOLD_STAMAX 8000 |
| 268 | #define QWLAN_HAL_CFG_FRAGMENTATION_THRESHOLD_STADEF 8000 |
| 269 | |
| 270 | /* QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ZERO */ |
| 271 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ZERO_STAMIN 0 |
| 272 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ZERO_STAMAX 255 |
| 273 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ZERO_STADEF 5 |
| 274 | |
| 275 | /* QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ONE */ |
| 276 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ONE_STAMIN 0 |
| 277 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ONE_STAMAX 255 |
| 278 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_ONE_STADEF 10 |
| 279 | |
| 280 | /* QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_TWO */ |
| 281 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_TWO_STAMIN 0 |
| 282 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_TWO_STAMAX 255 |
| 283 | #define QWLAN_HAL_CFG_DYNAMIC_THRESHOLD_TWO_STADEF 15 |
| 284 | |
| 285 | /* QWLAN_HAL_CFG_FIXED_RATE |
| 286 | * Follwing rates in user configuration are mapped to TPE rates |
| 287 | * Mapping is defined in the gHalUserFixedRateCfgToTpeRateTable |
| 288 | */ |
| 289 | #define QWLAN_HAL_CFG_FIXED_RATE_STAMIN 0 |
Madan Mohan Koyyalamudi | 20da993 | 2013-03-21 16:12:18 -0700 | [diff] [blame] | 290 | #define QWLAN_HAL_CFG_FIXED_RATE_STAMAX 226 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 291 | #define QWLAN_HAL_CFG_FIXED_RATE_STADEF 0 |
| 292 | #define QWLAN_HAL_CFG_FIXED_RATE_AUTO 0 |
| 293 | #define QWLAN_HAL_CFG_FIXED_RATE_1MBPS 1 |
| 294 | #define QWLAN_HAL_CFG_FIXED_RATE_2MBPS 2 |
| 295 | #define QWLAN_HAL_CFG_FIXED_RATE_5_5MBPS 3 |
| 296 | #define QWLAN_HAL_CFG_FIXED_RATE_11MBPS 4 |
| 297 | #define QWLAN_HAL_CFG_FIXED_RATE_6MBPS 5 |
| 298 | #define QWLAN_HAL_CFG_FIXED_RATE_9MBPS 6 |
| 299 | #define QWLAN_HAL_CFG_FIXED_RATE_12MBPS 7 |
| 300 | #define QWLAN_HAL_CFG_FIXED_RATE_18MBPS 8 |
| 301 | #define QWLAN_HAL_CFG_FIXED_RATE_24MBPS 9 |
| 302 | #define QWLAN_HAL_CFG_FIXED_RATE_36MBPS 10 |
| 303 | #define QWLAN_HAL_CFG_FIXED_RATE_48MBPS 11 |
| 304 | #define QWLAN_HAL_CFG_FIXED_RATE_54MBPS 12 |
| 305 | #define QWLAN_HAL_CFG_FIXED_RATE_6_5MBPS_MCS0_20MHZ_SIMO 13 |
| 306 | #define QWLAN_HAL_CFG_FIXED_RATE_13MBPS_MCS1_20MHZ_SIMO 14 |
| 307 | #define QWLAN_HAL_CFG_FIXED_RATE_19_5MBPS_MCS2_20MHZ_SIMO 15 |
| 308 | #define QWLAN_HAL_CFG_FIXED_RATE_26MBPS_MCS3_20MHZ_SIMO 16 |
| 309 | #define QWLAN_HAL_CFG_FIXED_RATE_39MBPS_MCS4_20MHZ_SIMO 17 |
| 310 | #define QWLAN_HAL_CFG_FIXED_RATE_52MBPS_MCS5_20MHZ_SIMO 18 |
| 311 | #define QWLAN_HAL_CFG_FIXED_RATE_58_5MBPS_MCS6_20MHZ_SIMO 19 |
| 312 | #define QWLAN_HAL_CFG_FIXED_RATE_65MBPS_MCS7_20MHZ_SIMO 20 |
| 313 | #define QWLAN_HAL_CFG_FIXED_RATE_7_2MBPS_MCS0_20MHZ_SIMO_SGI 21 |
| 314 | #define QWLAN_HAL_CFG_FIXED_RATE_14_4MBPS_MCS1_20MHZ_SIMO_SGI 22 |
| 315 | #define QWLAN_HAL_CFG_FIXED_RATE_21_7MBPS_MCS2_20MHZ_SIMO_SGI 23 |
| 316 | #define QWLAN_HAL_CFG_FIXED_RATE_28_9MBPS_MCS3_20MHZ_SIMO_SGI 24 |
| 317 | #define QWLAN_HAL_CFG_FIXED_RATE_43_3MBPS_MCS4_20MHZ_SIMO_SGI 25 |
| 318 | #define QWLAN_HAL_CFG_FIXED_RATE_57_8MBPS_MCS5_20MHZ_SIMO_SGI 26 |
| 319 | #define QWLAN_HAL_CFG_FIXED_RATE_65MBPS_MCS6_20MHZ_SIMO_SGI 27 |
| 320 | #define QWLAN_HAL_CFG_FIXED_RATE_72_2MBPS_MCS7_20MHZ_SIMO_SGI 28 |
| 321 | #define QWLAN_HAL_CFG_FIXED_RATE_13_5MBPS_MCS0_40MHZ_SIMO 29 |
| 322 | #define QWLAN_HAL_CFG_FIXED_RATE_27MBPS_MCS1_40MHZ_SIMO 30 |
| 323 | #define QWLAN_HAL_CFG_FIXED_RATE_40_5MBPS_MCS2_40MHZ_SIMO 31 |
| 324 | #define QWLAN_HAL_CFG_FIXED_RATE_54MBPS_MCS3_40MHZ_SIMO 32 |
| 325 | #define QWLAN_HAL_CFG_FIXED_RATE_81MBPS_MCS4_40MHZ_SIMO 33 |
| 326 | #define QWLAN_HAL_CFG_FIXED_RATE_108MBPS_MCS5_40MHZ_SIMO 34 |
| 327 | #define QWLAN_HAL_CFG_FIXED_RATE_121_5MBPS_MCS6_40MHZ_SIMO 35 |
| 328 | #define QWLAN_HAL_CFG_FIXED_RATE_135MBPS_MCS7_40MHZ_SIMO 36 |
| 329 | #define QWLAN_HAL_CFG_FIXED_RATE_15MBPS_MCS0_40MHZ_SIMO_SGI 37 |
| 330 | #define QWLAN_HAL_CFG_FIXED_RATE_30MBPS_MCS1_40MHZ_SIMO_SGI 38 |
| 331 | #define QWLAN_HAL_CFG_FIXED_RATE_45MBPS_MCS2_40MHZ_SIMO_SGI 39 |
| 332 | #define QWLAN_HAL_CFG_FIXED_RATE_60MBPS_MCS3_40MHZ_SIMO_SGI 40 |
| 333 | #define QWLAN_HAL_CFG_FIXED_RATE_90MBPS_MCS4_40MHZ_SIMO_SGI 41 |
| 334 | #define QWLAN_HAL_CFG_FIXED_RATE_120MBPS_MCS5_40MHZ_SIMO_SGI 42 |
| 335 | #define QWLAN_HAL_CFG_FIXED_RATE_135MBPS_MCS6_40MHZ_SIMO_SGI 43 |
| 336 | #define QWLAN_HAL_CFG_FIXED_RATE_150MBPS_MCS7_40MHZ_SIMO_SGI 44 |
| 337 | |
| 338 | /* QWLAN_HAL_CFG_RETRYRATE_POLICY */ |
| 339 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_STAMIN 0 |
| 340 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_STAMAX 255 |
| 341 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_STADEF 4 |
| 342 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_MIN_SUPPORTED 0 |
| 343 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_PRIMARY 1 |
| 344 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_RESERVED 2 |
| 345 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_CLOSEST 3 |
| 346 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_AUTOSELECT 4 |
| 347 | #define QWLAN_HAL_CFG_RETRYRATE_POLICY_MAX 5 |
| 348 | |
| 349 | /* QWLAN_HAL_CFG_RETRYRATE_SECONDARY */ |
| 350 | #define QWLAN_HAL_CFG_RETRYRATE_SECONDARY_STAMIN 0 |
| 351 | #define QWLAN_HAL_CFG_RETRYRATE_SECONDARY_STAMAX 255 |
| 352 | #define QWLAN_HAL_CFG_RETRYRATE_SECONDARY_STADEF 0 |
| 353 | |
| 354 | /* QWLAN_HAL_CFG_RETRYRATE_TERTIARY */ |
| 355 | #define QWLAN_HAL_CFG_RETRYRATE_TERTIARY_STAMIN 0 |
| 356 | #define QWLAN_HAL_CFG_RETRYRATE_TERTIARY_STAMAX 255 |
| 357 | #define QWLAN_HAL_CFG_RETRYRATE_TERTIARY_STADEF 0 |
| 358 | |
| 359 | /* QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION */ |
| 360 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_STAMIN 0 |
| 361 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_STAMAX 5 |
| 362 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_STADEF 5 |
| 363 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_DISABLE 0 |
| 364 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_CTS 1 |
| 365 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_RTS 2 |
| 366 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_DUAL_CTS 3 |
| 367 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_RTS_ALWAYS 4 |
| 368 | #define QWLAN_HAL_CFG_FORCE_POLICY_PROTECTION_AUTO 5 |
| 369 | |
| 370 | /* QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_24GHZ */ |
| 371 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_24GHZ_STAMIN 0 |
| 372 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_24GHZ_STAMAX QWLAN_HAL_CFG_FIXED_RATE_STAMAX |
| 373 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_24GHZ_STADEF QWLAN_HAL_CFG_FIXED_RATE_1MBPS |
| 374 | |
| 375 | /* QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_5GHZ */ |
| 376 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_5GHZ_STAMIN 0 |
| 377 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_5GHZ_STAMAX QWLAN_HAL_CFG_FIXED_RATE_STAMAX |
| 378 | #define QWLAN_HAL_CFG_FIXED_RATE_MULTICAST_5GHZ_STADEF QWLAN_HAL_CFG_FIXED_RATE_6MBPS |
| 379 | |
| 380 | /* QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_24GHZ */ |
| 381 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_24GHZ_STAMIN 0 |
| 382 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_24GHZ_STAMAX QWLAN_HAL_CFG_FIXED_RATE_STAMAX |
| 383 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_24GHZ_STADEF QWLAN_HAL_CFG_FIXED_RATE_1MBPS |
| 384 | |
| 385 | /* QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_5GHZ */ |
| 386 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_5GHZ_STAMIN 0 |
| 387 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_5GHZ_STAMAX QWLAN_HAL_CFG_FIXED_RATE_STAMAX |
| 388 | #define QWLAN_HAL_CFG_DEFAULT_RATE_INDEX_5GHZ_STADEF QWLAN_HAL_CFG_FIXED_RATE_6MBPS |
| 389 | |
| 390 | /* QWLAN_HAL_CFG_MAX_BA_SESSIONS */ |
| 391 | #define QWLAN_HAL_CFG_MAX_BA_SESSIONS_STAMIN 0 |
| 392 | #define QWLAN_HAL_CFG_MAX_BA_SESSIONS_STAMAX 64 |
| 393 | #define QWLAN_HAL_CFG_MAX_BA_SESSIONS_STADEF 40 |
| 394 | |
| 395 | /* QWLAN_HAL_CFG_PS_DATA_INACTIVITY_TIMEOUT */ |
| 396 | #define QWLAN_HAL_CFG_PS_DATA_INACTIVITY_TIMEOUT_STAMIN 1 |
| 397 | #define QWLAN_HAL_CFG_PS_DATA_INACTIVITY_TIMEOUT_STAMAX 255 |
| 398 | #define QWLAN_HAL_CFG_PS_DATA_INACTIVITY_TIMEOUT_STADEF 20 |
| 399 | |
| 400 | /* QWLAN_HAL_CFG_PS_TX_INACTIVITY_TIMEOUT */ |
| 401 | #define QWLAN_HAL_CFG_PS_TX_INACTIVITY_TIMEOUT_STAMIN 0 |
| 402 | #define QWLAN_HAL_CFG_PS_TX_INACTIVITY_TIMEOUT_STAMAX 255 |
| 403 | #define QWLAN_HAL_CFG_PS_TX_INACTIVITY_TIMEOUT_STADEF 300 |
| 404 | |
| 405 | /* QWLAN_HAL_CFG_PS_ENABLE_BCN_FILTER */ |
| 406 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_FILTER_STAMIN 0 |
| 407 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_FILTER_STAMAX 1 |
| 408 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_FILTER_STADEF 1 |
| 409 | |
| 410 | /* QWLAN_HAL_CFG_PS_ENABLE_RSSI_MONITOR */ |
| 411 | #define QWLAN_HAL_CFG_PS_ENABLE_RSSI_MONITOR_STAMIN 0 |
| 412 | #define QWLAN_HAL_CFG_PS_ENABLE_RSSI_MONITOR_STAMAX 1 |
| 413 | #define QWLAN_HAL_CFG_PS_ENABLE_RSSI_MONITOR_STADEF 1 |
| 414 | |
| 415 | /* QWLAN_HAL_CFG_NUM_BEACON_PER_RSSI_AVERAGE */ |
| 416 | #define QWLAN_HAL_CFG_NUM_BEACON_PER_RSSI_AVERAGE_STAMIN 1 |
| 417 | #define QWLAN_HAL_CFG_NUM_BEACON_PER_RSSI_AVERAGE_STAMAX 20 |
| 418 | #define QWLAN_HAL_CFG_NUM_BEACON_PER_RSSI_AVERAGE_STADEF 20 |
| 419 | |
| 420 | /* QWLAN_HAL_CFG_STATS_PERIOD */ |
| 421 | #define QWLAN_HAL_CFG_STATS_PERIOD_STAMIN 1 |
| 422 | #define QWLAN_HAL_CFG_STATS_PERIOD_STAMAX 10 |
| 423 | #define QWLAN_HAL_CFG_STATS_PERIOD_STADEF 10 |
| 424 | |
| 425 | /* QWLAN_HAL_CFG_CFP_MAX_DURATION */ |
| 426 | #define QWLAN_HAL_CFG_CFP_MAX_DURATION_STAMIN 0 |
| 427 | #define QWLAN_HAL_CFG_CFP_MAX_DURATION_STAMAX 65535 |
| 428 | #define QWLAN_HAL_CFG_CFP_MAX_DURATION_STADEF 30000 |
| 429 | |
| 430 | /* QWLAN_HAL_CFG_FRAME_TRANS_ENABLED */ |
| 431 | #define QWLAN_HAL_CFG_FRAME_TRANS_ENABLED_STAMIN 0 |
| 432 | #define QWLAN_HAL_CFG_FRAME_TRANS_ENABLED_STAMAX 1 |
| 433 | #define QWLAN_HAL_CFG_FRAME_TRANS_ENABLED_STADEF 0 |
| 434 | |
| 435 | /* QWLAN_HAL_CFG_DTIM_PERIOD */ |
| 436 | #define QWLAN_HAL_CFG_DTIM_PERIOD_STAMIN 0 |
| 437 | #define QWLAN_HAL_CFG_DTIM_PERIOD_STAMAX 65535 |
| 438 | #define QWLAN_HAL_CFG_DTIM_PERIOD_STADEF 1 |
| 439 | |
| 440 | /* QWLAN_HAL_CFG_BA_THRESHOLD_HIGH */ |
| 441 | #define QWLAN_HAL_CFG_BA_THRESHOLD_HIGH_STAMIN 0 |
| 442 | #define QWLAN_HAL_CFG_BA_THRESHOLD_HIGH_STAMAX 65535 |
| 443 | #define QWLAN_HAL_CFG_BA_THRESHOLD_HIGH_STADEF 1 |
| 444 | |
| 445 | /* QWLAN_HAL_CFG_MAX_BA_BUFFERS */ |
| 446 | #define QWLAN_HAL_CFG_MAX_BA_BUFFERS_STAMIN 0 |
| 447 | #define QWLAN_HAL_CFG_MAX_BA_BUFFERS_STAMAX 2560 |
| 448 | #define QWLAN_HAL_CFG_MAX_BA_BUFFERS_STADEF 2560 |
| 449 | |
| 450 | |
| 451 | |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 452 | /* ACM, AIFSN, [CWmin, CWmax, TxOp]-11A/11B/11G |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 453 | * Cwmin and Cwmax are two bytes each, MSB first. So Cwmax of [03 FF] is |
| 454 | * equivalent to 0x03ff = 1023*/ |
| 455 | #define QWLAN_HAL_CFG_EDCA_PROFILE_ACM_IDX 0 /* byte[0] */ |
| 456 | #define QWLAN_HAL_CFG_EDCA_PROFILE_AIFSN_IDX 1 /* byte[1] */ |
| 457 | #define QWLAN_HAL_CFG_EDCA_PROFILE_CWMINA_IDX 2 /* byte[2] & byte [3] */ |
| 458 | #define QWLAN_HAL_CFG_EDCA_PROFILE_CWMAXA_IDX 4 /* byte[4] & byte [5] */ |
| 459 | #define QWLAN_HAL_CFG_EDCA_PROFILE_TXOPA_IDX 6 /* byte[6] */ |
| 460 | #define QWLAN_HAL_CFG_EDCA_PROFILE_CWMINB_IDX 7 /* byte[7] & byte [8] */ |
| 461 | #define QWLAN_HAL_CFG_EDCA_PROFILE_CWMAXB_IDX 9 /* byte[9] & byte [10] */ |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 462 | #define QWLAN_HAL_CFG_EDCA_PROFILE_TXOPB_IDX 11 /* byte[11]*/ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 463 | #define QWLAN_HAL_CFG_EDCA_PROFILE_CWMING_IDX 12 /* byte[12] & byte [13] */ |
| 464 | #define QWLAN_HAL_CFG_EDCA_PROFILE_CWMAXG_IDX 14 /* byte[14] & byte [15] */ |
| 465 | #define QWLAN_HAL_CFG_EDCA_PROFILE_TXOPG_IDX 16 /* byte[16]*/ |
| 466 | #define QWLAN_HAL_CFG_EDCA_PARAM_MAX_LEN 20 |
| 467 | |
| 468 | /* QWLAN_HAL_CFG_EDCA_WMM_ACBK */ |
| 469 | #define QWLAN_HAL_CFG_EDCA_WMM_ACBK_DEFAULT "0007000F03FF00001F03FF00000F03FF00" |
| 470 | |
| 471 | /* QWLAN_HAL_CFG_EDCA_WMM_ACBE */ |
| 472 | #define QWLAN_HAL_CFG_EDCA_WMM_ACBE_DEFAULT "0003000F03FF00001F03FF00000F03FF00" |
| 473 | |
| 474 | /* QWLAN_HAL_CFG_EDCA_WMM_ACVI */ |
| 475 | #define QWLAN_HAL_CFG_EDCA_WMM_ACVI_DEFAULT "00020007000F5E000F001FBC0007000F5E" |
| 476 | |
| 477 | /* QWLAN_HAL_CFG_EDCA_WMM_ACVO */ |
| 478 | #define QWLAN_HAL_CFG_EDCA_WMM_ACVO_DEFAULT "0002000300072F0007000F66000300072F" |
| 479 | |
| 480 | |
| 481 | /* QWLAN_HAL_CFG_RPE_POLLING_THRESHOLD */ |
| 482 | #define QWLAN_CFG_RPE_POLLING_THRESHOLD_STAMIN 0 |
| 483 | #define QWLAN_CFG_RPE_POLLING_THRESHOLD_STAMAX 65535 |
| 484 | #define QWLAN_CFG_RPE_POLLING_THRESHOLD_STADEF 30 |
| 485 | |
| 486 | /* QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG */ |
| 487 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG_STAMIN 0 |
| 488 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG_STAMAX 65535 |
| 489 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG_STADEF 30 |
| 490 | |
| 491 | /* QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG */ |
| 492 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG_STAMIN 0 |
| 493 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG_STAMAX 65535 |
| 494 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG_STADEF 30 |
| 495 | |
| 496 | /* QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG */ |
| 497 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG_STAMIN 0 |
| 498 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG_STAMAX 65535 |
| 499 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG_STADEF 30 |
| 500 | |
| 501 | /* QWLAN_HAL_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG */ |
| 502 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG_STAMIN 0 |
| 503 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG_STAMAX 65535 |
| 504 | #define QWLAN_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG_STADEF 30 |
| 505 | |
| 506 | /* QWLAN_HAL_CFG_NO_OF_ONCHIP_REORDER_SESSIONS */ |
| 507 | #define QWLAN_CFG_NO_OF_ONCHIP_REORDER_SESSIONS_STAMIN 0 |
| 508 | #define QWLAN_CFG_NO_OF_ONCHIP_REORDER_SESSIONS_STAMAX 2 |
| 509 | #define QWLAN_CFG_NO_OF_ONCHIP_REORDER_SESSIONS_STADEF 1 |
| 510 | |
| 511 | #define QWLAN_HAL_CFG_PS_LISTEN_INTERVAL_STAMIN 0 |
| 512 | #define QWLAN_HAL_CFG_PS_LISTEN_INTERVAL_STAMAX 65535 |
| 513 | #define QWLAN_HAL_CFG_PS_LISTEN_INTERVAL_STADEF 1 |
| 514 | |
| 515 | #define QWLAN_HAL_CFG_PS_HEART_BEAT_THRESHOLD_STAMIN 0 |
| 516 | #define QWLAN_HAL_CFG_PS_HEART_BEAT_THRESHOLD_STAMAX 65535 |
| 517 | #define QWLAN_HAL_CFG_PS_HEART_BEAT_THRESHOLD_STADEF 40 |
| 518 | |
| 519 | #define QWLAN_HAL_CFG_PS_NTH_BEACON_FILTER_STAMIN 0 |
| 520 | #define QWLAN_HAL_CFG_PS_NTH_BEACON_FILTER_STAMAX 255 |
| 521 | #define QWLAN_HAL_CFG_PS_NTH_BEACON_FILTER_STADEF 10 |
| 522 | |
| 523 | #define QWLAN_HAL_CFG_PS_MAX_PS_POLL_STAMIN 0 |
| 524 | #define QWLAN_HAL_CFG_PS_MAX_PS_POLL_STAMAX 255 |
| 525 | #define QWLAN_HAL_CFG_PS_MAX_PS_POLL_STADEF 0 |
| 526 | |
| 527 | #define QWLAN_HAL_CFG_PS_MIN_RSSI_THRESHOLD_STAMIN 0 |
| 528 | #define QWLAN_HAL_CFG_PS_MIN_RSSI_THRESHOLD_STAMAX 10 |
| 529 | #define QWLAN_HAL_CFG_PS_MIN_RSSI_THRESHOLD_STADEF 10 |
| 530 | |
| 531 | #define QWLAN_HAL_CFG_PS_RSSI_FILTER_PERIOD_STAMIN 0 |
| 532 | #define QWLAN_HAL_CFG_PS_RSSI_FILTER_PERIOD_STAMAX 255 |
| 533 | #define QWLAN_HAL_CFG_PS_RSSI_FILTER_PERIOD_STADEF 20 |
| 534 | |
| 535 | #define QWLAN_HAL_CFG_PS_BROADCAST_FRAME_FILTER_ENABLE_STAMIN 0 |
| 536 | #define QWLAN_HAL_CFG_PS_BROADCAST_FRAME_FILTER_ENABLE_STAMAX 1 |
| 537 | #define QWLAN_HAL_CFG_PS_BROADCAST_FRAME_FILTER_ENABLE_STADEF 0 |
| 538 | |
| 539 | #define QWLAN_HAL_CFG_PS_IGNORE_DTIM_STAMIN 0 |
| 540 | #define QWLAN_HAL_CFG_PS_IGNORE_DTIM_STAMAX 1 |
| 541 | #define QWLAN_HAL_CFG_PS_IGNORE_DTIM_STADEF 0 |
| 542 | |
| 543 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_EARLY_TERM_STAMIN 0 |
| 544 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_EARLY_TERM_STAMAX 1 |
| 545 | #define QWLAN_HAL_CFG_PS_ENABLE_BCN_EARLY_TERM_STADEF 0 |
| 546 | |
| 547 | #define QWLAN_HAL_CFG_DYNAMIC_PS_POLL_VALUE_STAMIN 0 |
| 548 | #define QWLAN_HAL_CFG_DYNAMIC_PS_POLL_VALUE_STAMAX 255 |
| 549 | #define QWLAN_HAL_CFG_DYNAMIC_PS_POLL_VALUE_STADEF 0 |
| 550 | |
| 551 | #define QWLAN_HAL_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMIN 0 |
| 552 | #define QWLAN_HAL_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMAX 80 |
| 553 | #define QWLAN_HAL_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STADEF 0 |
| 554 | |
| 555 | /* QWLAN_HAL_CFG_TX_PWR_CTRL_ENABLE */ |
| 556 | #define QWLAN_CFG_TX_PWR_CTRL_ENABLE_STAMIN 0 |
| 557 | #define QWLAN_CFG_TX_PWR_CTRL_ENABLE_STAMAX 1 |
| 558 | #define QWLAN_CFG_TX_PWR_CTRL_ENABLE_STADEF 1 |
| 559 | |
| 560 | #define QWLAN_HAL_CFG_TELE_BCN_WAKEUP_EN_STAMIN 0 |
| 561 | #define QWLAN_HAL_CFG_TELE_BCN_WAKEUP_EN_STAMAX 1 |
| 562 | #define QWLAN_HAL_CFG_TELE_BCN_WAKEUP_EN_STADEF 0 |
| 563 | |
| 564 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI_STAMIN 0 |
| 565 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI_STAMAX 7 |
| 566 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI_STADEF 3 |
| 567 | |
| 568 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS_STAMIN 5 |
| 569 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS_STAMAX 255 |
| 570 | #define QWLAN_HAL_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS_STADEF 10 |
| 571 | |
| 572 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI_STAMIN 0 |
| 573 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI_STAMAX 7 |
| 574 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI_STADEF 5 |
| 575 | |
| 576 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI_IDLE_BCNS_STAMIN 5 |
| 577 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI_IDLE_BCNS_STAMAX 255 |
| 578 | #define QWLAN_HAL_CFG_TELE_BCN_MAX_LI_IDLE_BCNS_STADEF 15 |
| 579 | |
| 580 | #define QWLAN_HAL_CFG_MCAST_BCAST_FILTER_SETTING_STAMIN 0 |
| 581 | #define QWLAN_HAL_CFG_MCAST_BCAST_FILTER_SETTING_STAMAX 3 |
| 582 | #define QWLAN_HAL_CFG_MCAST_BCAST_FILTER_SETTING_STADEF 0 |
| 583 | |
| 584 | #define QWLAN_HAL_CFG_BCN_EARLY_TERM_WAKEUP_INTERVAL_STAMIN 1 |
| 585 | #define QWLAN_HAL_CFG_BCN_EARLY_TERM_WAKEUP_INTERVAL_STAMAX 255 |
| 586 | #define QWLAN_HAL_CFG_BCN_EARLY_TERM_WAKEUP_INTERVAL_STADEF 5 |
| 587 | |
| 588 | /*Values to be added in hexadecimal*/ |
| 589 | /* QWLAN_HAL_CFG_VALID_RADAR_LIST */ |
| 590 | #define QWLAN_HAL_CFG_VALID_RADAR_CHANNEL_LIST_DEFAULT "36" |
| 591 | #define QWLAN_HAL_CFG_RADAR_CHANNEL_LIST_LEN 20 |
| 592 | |
| 593 | /* QWLAN_HAL_CFG_TX_POWER_24_20 */ |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 594 | #define QWLAN_WLAN_TX_POWER_24_20_DEFAULT 299 |
| 595 | #define QWLAN_WLAN_TX_POWER_24_20_MIN 299 |
| 596 | #define QWLAN_WLAN_TX_POWER_24_20_MAX 299 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 597 | |
| 598 | /* QWLAN_HAL_CFG_TX_POWER_24_40 */ |
| 599 | #define QWLAN_WLAN_TX_POWER_24_40_DEFAULT 300 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 600 | #define QWLAN_WLAN_TX_POWER_24_40_MIN 299 |
| 601 | #define QWLAN_WLAN_TX_POWER_24_40_MAX 299 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 602 | |
| 603 | /* QWLAN_HAL_CFG_TX_POWER_50_20 */ |
| 604 | #define QWLAN_WLAN_TX_POWER_50_20_DEFAULT 301 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 605 | #define QWLAN_WLAN_TX_POWER_50_20_MIN 299 |
| 606 | #define QWLAN_WLAN_TX_POWER_50_20_MAX 299 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 607 | |
| 608 | /* QWLAN_HAL_CFG_TX_POWER_50_40 */ |
| 609 | #define QWLAN_WLAN_TX_POWER_50_40_DEFAULT 302 |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 610 | #define QWLAN_WLAN_TX_POWER_50_40_MIN 299 |
| 611 | #define QWLAN_WLAN_TX_POWER_50_40_MAX 299 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 612 | |
| 613 | /* QCOM_WLAN_CFG_MAX_TX_POWER_2_4 */ |
| 614 | #define QCOM_WLAN_CFG_MAX_TX_POWER_2_4_LEN 128 |
| 615 | /* byte[0] = 0x01 = First Channel; byte[1] = 0x0E = 14 = MaxChannels; byte[2] = 0x14 = 20 = Tx Power (dBm) */ |
| 616 | #define QCOM_WLAN_CFG_MAX_TX_POWER_2_4_DEFAULT "010E14" |
| 617 | |
| 618 | /* QCOM_WLAN_CFG_MAX_TX_POWER_5 */ |
| 619 | #define QCOM_WLAN_CFG_MAX_TX_POWER_5_LEN 128 |
| 620 | /* byte[0] = 0x24 = 36 = First Channel; byte[1] = 0x82 = 130 = MaxChannels; byte[2] = 0x14 = 20 = Tx Power (dBm) */ |
| 621 | #define QCOM_WLAN_CFG_MAX_TX_POWER_5_DEFAULT "248214" |
| 622 | |
| 623 | |
| 624 | #define QWLAN_HAL_CFG_INFRA_STA_KEEP_ALIVE_PERIOD_STAMIN 0 |
| 625 | #define QWLAN_HAL_CFG_INFRA_STA_KEEP_ALIVE_PERIOD_STAMAX 65535 |
| 626 | #define QWLAN_HAL_CFG_INFRA_STA_KEEP_ALIVE_PERIOD_STADEF 0 |
| 627 | |
| 628 | #define QWLAN_HAL_CFG_ENABLE_CLOSE_LOOP_MIN 0 |
| 629 | #define QWLAN_HAL_CFG_ENABLE_CLOSE_LOOP_MAX 1 |
| 630 | #define QWLAN_HAL_CFG_ENABLE_CLOSE_LOOP_DEF 0 |
| 631 | |
| 632 | /* QWLAN_HAL_CFG_BTC_EXECUTION_MODE */ |
| 633 | #define QWLAN_HAL_CFG_BTC_EXECUTION_MODE_MIN 0 |
| 634 | #define QWLAN_HAL_CFG_BTC_EXECUTION_MODE_MAX 5 |
| 635 | #define QWLAN_HAL_CFG_BTC_EXECUTION_MODE_DEF 0 |
| 636 | |
| 637 | /* QWLAN_HAL_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK */ |
| 638 | #define QWLAN_HAL_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK_MIN 0 |
| 639 | #define QWLAN_HAL_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK_MAX 255 |
| 640 | #define QWLAN_HAL_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK_DEF 0 |
| 641 | |
| 642 | /* QWLAN_HAL_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS */ |
| 643 | #define QWLAN_HAL_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS_MIN 0 |
| 644 | #define QWLAN_HAL_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS_MAX 255 |
| 645 | #define QWLAN_HAL_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS_DEF 15 |
| 646 | |
| 647 | /* QWLAN_HAL_CFG_WCNSS_API_VERSION */ |
| 648 | #define QWLAN_HAL_CFG_WCNSS_API_VERSION_MIN 0 /* equivalent to 0.0.0.0 */ |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 649 | #define QWLAN_HAL_CFG_WCNSS_API_VERSION_MAX 4294967295U /* equivalent to 255.255.255.255 */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 650 | #define QWLAN_HAL_CFG_WCNSS_API_VERSION_DEF 0 /* equivalent to 0.0.0.0 */ |
| 651 | |
| 652 | /* QWLAN_HAL_CFG_AP_KEEPALIVE_TIMEOUT */ |
| 653 | #define QWLAN_HAL_CFG_AP_KEEPALIVE_TIMEOUT_MIN 1 |
| 654 | #define QWLAN_HAL_CFG_AP_KEEPALIVE_TIMEOUT_MAX 255 |
| 655 | #define QWLAN_HAL_CFG_AP_KEEPALIVE_TIMEOUT_DEF 20 |
| 656 | |
| 657 | /* QWLAN_HAL_CFG_GO_KEEPALIVE_TIMEOUT */ |
| 658 | #define QWLAN_HAL_CFG_GO_KEEPALIVE_TIMEOUT_MIN 1 |
| 659 | #define QWLAN_HAL_CFG_GO_KEEPALIVE_TIMEOUT_MAX 255 |
| 660 | #define QWLAN_HAL_CFG_GO_KEEPALIVE_TIMEOUT_DEF 20 |
| 661 | |
Jeff Johnson | d13512a | 2012-07-17 11:42:19 -0700 | [diff] [blame] | 662 | /* QWLAN_HAL_CFG_ENABLE_MC_ADDR_LIST */ |
| 663 | #define QWLAN_HAL_CFG_ENABLE_MC_ADDR_LIST_MIN 0 |
| 664 | #define QWLAN_HAL_CFG_ENABLE_MC_ADDR_LIST_MAX 1 |
| 665 | #define QWLAN_HAL_CFG_ENABLE_MC_ADDR_LIST_DEF 0 |
| 666 | |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 667 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_BT */ |
| 668 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_BT_MIN 5000 |
| 669 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_BT_MAX 500000 |
| 670 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_BT_DEF 120000 |
| 671 | |
| 672 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_BT */ |
| 673 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_BT_MIN 5000 |
| 674 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_BT_MAX 500000 |
| 675 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_BT_DEF 10000 |
| 676 | |
| 677 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_BT */ |
| 678 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_BT_MIN 5000 |
| 679 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_BT_MAX 500000 |
| 680 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_BT_DEF 10000 |
| 681 | |
| 682 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_BT */ |
| 683 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_BT_MIN 5000 |
| 684 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_BT_MAX 500000 |
| 685 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_BT_DEF 10000 |
| 686 | |
| 687 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_WLAN */ |
| 688 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_WLAN_MIN 0 |
| 689 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_WLAN_MAX 500000 |
| 690 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_INQ_WLAN_DEF 30000 |
| 691 | |
| 692 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_WLAN */ |
| 693 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_WLAN_MIN 0 |
| 694 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_WLAN_MAX 500000 |
| 695 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_PAGE_WLAN_DEF 0 |
| 696 | |
| 697 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_WLAN */ |
| 698 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_WLAN_MIN 0 |
| 699 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_WLAN_MAX 500000 |
| 700 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_CONN_WLAN_DEF 0 |
| 701 | |
| 702 | /* QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_WLAN */ |
| 703 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_WLAN_MIN 0 |
| 704 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_WLAN_MAX 500000 |
| 705 | #define QWLAN_HAL_CFG_BTC_STATIC_LEN_LE_WLAN_DEF 0 |
| 706 | |
| 707 | /* QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_BT */ |
| 708 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_BT_MIN 25000 |
| 709 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_BT_MAX 500000 |
| 710 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_BT_DEF 250000 |
| 711 | |
| 712 | /* QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_WLAN */ |
| 713 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_WLAN_MIN 15000 |
| 714 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_WLAN_MAX 500000 |
| 715 | #define QWLAN_HAL_CFG_BTC_DYN_MAX_LEN_WLAN_DEF 45000 |
| 716 | |
| 717 | /* QWLAN_HAL_CFG_BTC_MAX_SCO_BLOCK_PERC */ |
| 718 | #define QWLAN_HAL_CFG_BTC_MAX_SCO_BLOCK_PERC_MIN 0 |
| 719 | #define QWLAN_HAL_CFG_BTC_MAX_SCO_BLOCK_PERC_MAX 100 |
| 720 | #define QWLAN_HAL_CFG_BTC_MAX_SCO_BLOCK_PERC_DEF 1 |
| 721 | |
| 722 | /* QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_A2DP */ |
| 723 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_A2DP_MIN 0 |
| 724 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_A2DP_MAX 1 |
| 725 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_A2DP_DEF 1 |
| 726 | |
| 727 | /* QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_SCO */ |
| 728 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_SCO_MIN 0 |
| 729 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_SCO_MAX 1 |
| 730 | #define QWLAN_HAL_CFG_BTC_DHCP_PROT_ON_SCO_DEF 0 |
| 731 | |
Madan Mohan Koyyalamudi | daac6d2 | 2012-10-15 15:25:04 -0700 | [diff] [blame] | 732 | /* QWLAN_HAL_CFG_ENABLE_UNICAST_FILTER */ |
| 733 | #define QWLAN_HAL_CFG_ENABLE_UNICAST_FILTER_MIN 0 |
| 734 | #define QWLAN_HAL_CFG_ENABLE_UNICAST_FILTER_MAX 1 |
| 735 | #define QWLAN_HAL_CFG_ENABLE_UNICAST_FILTER_DEF 0 |
| 736 | |
Anand Kumar | d0b17e4 | 2013-01-11 17:00:00 -0800 | [diff] [blame] | 737 | /* QWLAN_HAL_CFG_MAX_ASSOC_LIMIT */ |
| 738 | #define QWLAN_HAL_CFG_MAX_ASSOC_LIMIT_MIN 10 |
| 739 | #define QWLAN_HAL_CFG_MAX_ASSOC_LIMIT_MAX 32 |
| 740 | #define QWLAN_HAL_CFG_MAX_ASSOC_LIMIT_DEF 10 |
Madan Mohan Koyyalamudi | daac6d2 | 2012-10-15 15:25:04 -0700 | [diff] [blame] | 741 | |
Madan Mohan Koyyalamudi | c837a9c | 2012-12-07 14:13:30 -0800 | [diff] [blame] | 742 | /* QWLAN_HAL_CFG_ENABLE_LPWR_IMG_TRANSITION */ |
| 743 | #define QWLAN_HAL_CFG_ENABLE_LPWR_IMG_TRANSITION_MIN 0 |
| 744 | #define QWLAN_HAL_CFG_ENABLE_LPWR_IMG_TRANSITION_MAX 1 |
| 745 | #define QWLAN_HAL_CFG_ENABLE_LPWR_IMG_TRANSITION_DEF 0 |
| 746 | |
Madan Mohan Koyyalamudi | 2826000 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 747 | /* QWLAN_HAL_CFG_ENABLE_MCC_ADAPTIVE_SCHEDULER */ |
| 748 | #define QWLAN_HAL_CFG_ENABLE_MCC_ADAPTIVE_SCHEDULER_MIN 0 |
| 749 | #define QWLAN_HAL_CFG_ENABLE_MCC_ADAPTIVE_SCHEDULER_MAX 1 |
| 750 | #define QWLAN_HAL_CFG_ENABLE_MCC_ADAPTIVE_SCHEDULER_DEF 0 |
Madan Mohan Koyyalamudi | c837a9c | 2012-12-07 14:13:30 -0800 | [diff] [blame] | 751 | |
Madan Mohan Koyyalamudi | 20da993 | 2013-03-21 16:12:18 -0700 | [diff] [blame] | 752 | /* QWLAN_HAL_CFG_ENABLE_DETECT_PS_SUPPORT */ |
| 753 | #define QWLAN_HAL_CFG_ENABLE_DETECT_PS_SUPPORT_MIN 0 |
| 754 | #define QWLAN_HAL_CFG_ENABLE_DETECT_PS_SUPPORT_MAX 1 |
| 755 | #define QWLAN_HAL_CFG_ENABLE_DETECT_PS_SUPPORT_DEF 0 |
| 756 | |
Gopichand Nakkala | a8b65cf | 2013-03-11 12:49:14 -0700 | [diff] [blame] | 757 | /* QWLAN_HAL_CFG_AP_LINK_MONITOR_TIMEOUT */ |
| 758 | #define QWLAN_HAL_CFG_AP_LINK_MONITOR_TIMEOUT_MIN 1 |
| 759 | #define QWLAN_HAL_CFG_AP_LINK_MONITOR_TIMEOUT_MAX 255 |
| 760 | #define QWLAN_HAL_CFG_AP_LINK_MONITOR_TIMEOUT_DEF 3 |
| 761 | |
Madan Mohan Koyyalamudi | 20da993 | 2013-03-21 16:12:18 -0700 | [diff] [blame] | 762 | /*QWLAN_HAL_CFG_BTC_DWELL_TIME_MULTIPLIER*/ |
| 763 | /*This value is multiplied to ChannelDwellTime |
| 764 | *i.e If value is 300 then ChannelDwellTime is (3*ChannelDwelltime)*/ |
| 765 | #define QWLAN_HAL_CFG_BTC_DWELL_TIME_MULTIPLIER_MIN 0 |
| 766 | #define QWLAN_HAL_CFG_BTC_DWELL_TIME_MULTIPLIER_MAX 300 |
| 767 | #define QWLAN_HAL_CFG_BTC_DWELL_TIME_MULTIPLIER_DEF 300 |
| 768 | |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 769 | /* QWLAN_HAL_CFG_ENABLE_TDLS_OXYGEN_MODE */ |
| 770 | #define QWLAN_HAL_CFG_ENABLE_TDLS_OXYGEN_MODE_MIN 0 |
| 771 | #define QWLAN_HAL_CFG_ENABLE_TDLS_OXYGEN_MODE_MAX 1 |
| 772 | #define QWLAN_HAL_CFG_ENABLE_TDLS_OXYGEN_MODE_DEF 0 |
| 773 | |
| 774 | /* QWLAN_HAL_CFG_ENABLE_NAT_KEEP_ALIVE_FILTER */ |
| 775 | #define QWLAN_HAL_CFG_ENABLE_NAT_KEEP_ALIVE_FILTER_MIN 0 |
| 776 | #define QWLAN_HAL_CFG_ENABLE_NAT_KEEP_ALIVE_FILTER_MAX 1 |
| 777 | #define QWLAN_HAL_CFG_ENABLE_NAT_KEEP_ALIVE_FILTER_DEF 0 |
| 778 | |
| 779 | /* QWLAN_HAL_CFG_ENABLE_SAP_OBSS_PROT */ |
| 780 | #define QWLAN_HAL_CFG_ENABLE_SAP_OBSS_PROT_MIN 0 |
| 781 | #define QWLAN_HAL_CFG_ENABLE_SAP_OBSS_PROT_MAX 1 |
| 782 | #define QWLAN_HAL_CFG_ENABLE_SAP_OBSS_PROT_DEF 0 |
| 783 | |
| 784 | /* QWLAN_HAL_CFG_PSPOLL_DATA_RECEP_TIMEOUT */ |
| 785 | #define QWLAN_HAL_CFG_PSPOLL_DATA_RECEP_TIMEOUT_STAMIN 1 |
| 786 | #define QWLAN_HAL_CFG_PSPOLL_DATA_RECEP_TIMEOUT_STAMAX 255 |
| 787 | #define QWLAN_HAL_CFG_PSPOLL_DATA_RECEP_TIMEOUT_STADEF 20 |
| 788 | |
Gopichand Nakkala | efe3a23 | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 789 | /* QWLAN_HAL_CFG_TDLS_PUAPSD_BUFFER_STA_CAPABLE */ |
| 790 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_BUFFER_STA_CAPABLE_MIN 0 |
| 791 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_BUFFER_STA_CAPABLE_MAX 1 |
| 792 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_BUFFER_STA_CAPABLE_DEF 0 |
| 793 | |
| 794 | /* QWLAN_HAL_CFG_TDLS_PUAPSD_MASK */ |
| 795 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_MASK_MIN 0 |
| 796 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_MASK_MAX 0xf |
| 797 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_MASK_DEF 0 |
| 798 | |
| 799 | /* QWLAN_HAL_CFG_TDLS_PUAPSD_INACTIVITY_TIME */ |
| 800 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_INACTIVITY_TIME_MIN 0 |
| 801 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_INACTIVITY_TIME_MAX 10 |
| 802 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_INACTIVITY_TIME_DEF 0 |
| 803 | |
| 804 | /* QWLAN_HAL_CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_IN_SP */ |
| 805 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_IN_SP_MIN 10 |
| 806 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_IN_SP_MAX 20 |
| 807 | #define QWLAN_HAL_CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_IN_SP_DEF 10 |
| 808 | |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 809 | /* QWLAN_HAL_CFG_ANTENNA_DIVERSITY */ |
| 810 | #define QWLAN_HAL_CFG_ANTENNA_DIVERSITY_DEF 0 |
| 811 | #define QWLAN_HAL_CFG_ANTENNA_DIVERSITY_MIN 0 |
| 812 | #define QWLAN_HAL_CFG_ANTENNA_DIVERSITY_MAX 3 |
Gopichand Nakkala | efe3a23 | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 813 | |
Shailender Karmuchi | 3e7202f | 2013-06-25 01:14:09 -0700 | [diff] [blame] | 814 | #define QWLAN_HAL_CFG_ATH_DEF 0 |
| 815 | #define QWLAN_HAL_CFG_ATH_MIN 0 |
| 816 | #define QWLAN_HAL_CFG_ATH_MAX 1 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 817 | #endif //__WLAN_HAL_CFG_H__ |
| 818 | |
| 819 | |