1 /**************************************************************************** 2 **+-----------------------------------------------------------------------+** 3 **| |** 4 **| Copyright(c) 1998 - 2008 Texas Instruments. All rights reserved. |** 5 **| All rights reserved. |** 6 **| |** 7 **| Redistribution and use in source and binary forms, with or without |** 8 **| modification, are permitted provided that the following conditions |** 9 **| are met: |** 10 **| |** 11 **| * Redistributions of source code must retain the above copyright |** 12 **| notice, this list of conditions and the following disclaimer. |** 13 **| * Redistributions in binary form must reproduce the above copyright |** 14 **| notice, this list of conditions and the following disclaimer in |** 15 **| the documentation and/or other materials provided with the |** 16 **| distribution. |** 17 **| * Neither the name Texas Instruments nor the names of its |** 18 **| contributors may be used to endorse or promote products derived |** 19 **| from this software without specific prior written permission. |** 20 **| |** 21 **| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |** 22 **| "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |** 23 **| LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |** 24 **| A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |** 25 **| OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |** 26 **| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |** 27 **| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |** 28 **| DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |** 29 **| THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |** 30 **| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |** 31 **| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |** 32 **| |** 33 **+-----------------------------------------------------------------------+** 34 ****************************************************************************/ 35 36 #ifndef __PARAM_MGR_H__ 37 #define __PARAM_MGR_H__ 38 39 /* This file contains the definitions for the parameters that can be Set/Get from outside. 40 The parmeters that can be Set/Get from inside the driver only are defined in the file paramIn.h */ 41 42 /**************************************************************************** 43 PARAMETERS ISSUE 44 Each parameter in the system is defined as UINT32. The parameter 45 structue is as following: 46 47 bit 31 30 - 24 23 22 - 16 15 - 8 7 - 0 48 +-----+----------+-----+----------+-----------+-----------+ 49 | Set | Reserved | Get | Reserved | Module | Parameter | 50 | bit | | bit | | number | number | 51 +-----+----------+-----+----------+-----------+-----------+ 52 53 The 'set' bit indicates whteher this parameter can be set from OS abstraction layer. 54 The 'get' bit indicates whteher this parameter can be get from OS abstraction layer. 55 (All the parameters can be Get/Set from insied the driver.) 56 The module number indicated who is the oner of the parameter. 57 The parameter number is the parameter unique number used to identify it. 58 59 ****************************************************************************/ 60 61 #define EXTERNAL_SET_ENABLE(x) (x & 0x80000000) 62 #define EXTERNAL_GET_ENABLE(x) (x & 0x00800000) 63 #define GET_PARAM_MODULE_NUMBER(x) ((x & 0x0000FF00) >> 8) 64 #ifdef GWSI_LIB 65 /* In some compilers the macro definition defaults to int, and 0x80000000 exceeds that limit */ 66 #define SET_BIT ((int)0x80000000) 67 #else 68 #define SET_BIT 0x80000000 69 #endif 70 #define GET_BIT 0x00800000 71 72 /* Following are the modules numbers */ 73 /* NOTICE! whenever you add a module, you have to increment MAX_PARAM_MODULE_NUMBER as well!!! */ 74 typedef enum 75 { 76 AUTH_MODULE_PARAM = 0x0100, 77 ASSOC_MODULE_PARAM = 0x0200, 78 RX_DATA_MODULE_PARAM = 0x0300, 79 TX_DATA_MODULE_PARAM = 0x0400, 80 CTRL_DATA_MODULE_PARAM = 0x0500, 81 SITE_MGR_MODULE_PARAM = 0x0600, 82 CONN_MODULE_PARAM = 0x0700, 83 RSN_MODULE_PARAM = 0x0800, 84 ADM_CTRL_MODULE_PARAM = 0x0900, 85 HAL_CTRL_MODULE_PARAM = 0x0A00, 86 REPORT_MODULE_PARAM = 0x0B00, 87 SME_SM_MODULE_PARAM = 0x0C00, 88 MLME_SM_MODULE_PARAM = 0x0D00, 89 REGULATORY_DOMAIN_MODULE_PARAM = 0x0E00, 90 MEASUREMENT_MODULE_PARAM = 0x0F00, 91 EXC_MANAGER_MODULE_PARAM = 0x1000, 92 ROAMING_MANAGER_MODULE_PARAM = 0x1100, 93 SOFT_GEMINI_PARAM = 0x1200, 94 QOS_MANAGER_PARAM = 0x1300, 95 POWER_MANAGER_PARAM = 0x1400, 96 SCAN_CNCN_PARAM = 0x1500, 97 SCAN_MNGR_PARAM = 0x1600, 98 99 /* 100 Last module - DO NOT TOUCH! 101 */ 102 MODULE_PARAM_LAST_MODULE 103 104 } moduleParam_e; 105 106 enum 107 { 108 /* 109 the MAX_PARAM_MODULE_PARAM is the module param last module +1 therefore there is a need 110 to -1 to get to real last module number. 111 */ 112 MAX_PARAM_MODULE_PARAM = MODULE_PARAM_LAST_MODULE - 1 113 }; 114 115 /* Following are the parameters numbers. Each module can have 256 parameters */ 116 typedef enum 117 { 118 /* Driver General section */ 119 DRIVER_STATUS_PARAM = GET_BIT | 0x00, 120 121 /* HAL Control section */ 122 HAL_CTRL_RTS_THRESHOLD_PARAM = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x01, 123 HAL_CTRL_FRAG_THRESHOLD_PARAM = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x02, 124 HAL_CTRL_COUNTERS_PARAM = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x03, 125 HAL_CTRL_LISTEN_INTERVAL_PARAM = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x04, 126 HAL_CTRL_CURRENT_BEACON_INTERVAL_PARAM = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x05, 127 HAL_CTRL_TX_POWER_PARAM = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x06, 128 HAL_CTRL_TX_ANTENNA_PARAM = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x07, 129 HAL_CTRL_RX_ANTENNA_PARAM = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x08, 130 HAL_CTRL_MIN_POWER_LEVEL = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x09, 131 HAL_CTRL_CLK_RUN_ENABLE = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x0A, 132 HAL_CTRL_QUEUES_PARAMS = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x0B, 133 HAL_CTRL_AC_PARAMS = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x0C, 134 HAL_CTRL_TX_RATE_CLASS_PARAMS = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x0D, 135 HAL_CTRL_DOT11_MAX_TX_MSDU_LIFE_TIME = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x0E, 136 HAL_CTRL_DOT11_MAX_RX_MSDU_LIFE_TIME = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x0F, 137 HAL_CTRL_PS_POLL_GENERATION_MODE = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x10, 138 HAL_CTRL_CTS_TO_SELF_PARAM = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x11, 139 HAL_CTRL_TX_ACK_POLICY = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x12, 140 141 HAL_CTRL_TX_COUNTERS_PARAM = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x14, 142 HAL_CTRL_RX_TIME_OUT_PARAM = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x15, 143 144 HAL_CTRL_ANTENNA_DIVERSITY_PARAMS = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x18, 145 HAL_CTRL_CURRENT_CHANNEL = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x19, 146 HAL_CTRL_RSSI_LEVEL_PARAM = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x1a, 147 HAL_CTRL_SNR_RATIO_PARAM = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x1b, 148 HAL_CTRL_BCN_BRC_OPTIONS = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x1c, 149 150 /* PLT params */ 151 HAL_CTRL_PLT_READ_REGISTER = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x1d, 152 HAL_CTRL_PLT_WRITE_REGISTER = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x1e, 153 154 HAL_CTRL_PLT_RX_PER_START = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x1f, 155 HAL_CTRL_PLT_RX_PER_STOP = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x20, 156 HAL_CTRL_PLT_RX_PER_CLEAR = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x21, 157 HAL_CTRL_PLT_RX_PER_GET_RESULTS = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x22, 158 HAL_CTRL_PLT_TX_CW = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x23, 159 HAL_CTRL_PLT_TX_CONTINUES = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x24, 160 HAL_CTRL_PLT_TX_STOP = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x25, 161 HAL_CTRL_PLT_WRITE_MIB = SET_BIT | HAL_CTRL_MODULE_PARAM | 0x26, 162 HAL_CTRL_PLT_READ_MIB = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x27, 163 164 HAL_CTRL_PLT_RX_TX_CAL = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x28, 165 HAL_CTRL_PLT_RX_CAL_STATUS = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x29, 166 167 /* misc section */ 168 HAL_CTRL_EARLY_WAKEUP = SET_BIT | GET_BIT | HAL_CTRL_MODULE_PARAM | 0x30, 169 HAL_CTRL_POWER_CONSUMPTION = GET_BIT | HAL_CTRL_MODULE_PARAM | 0x31, 170 171 172 /* Site manager section */ 173 SITE_MGR_DESIRED_CHANNEL_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x01, 174 SITE_MGR_DESIRED_BSSID_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x02, 175 SITE_MGR_DESIRED_SSID_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x03, 176 SITE_MGR_DESIRED_BSS_TYPE_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x04, 177 SITE_MGR_DESIRED_SUPPORTED_RATE_SET_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x05, 178 SITE_MGR_DESIRED_TX_RATE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x07, 179 SITE_MGR_DESIRED_MODULATION_TYPE_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x08, 180 SITE_MGR_DESIRED_BEACON_INTERVAL_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x09, 181 SITE_MGR_DESIRED_PREAMBLE_TYPE_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x0A, 182 183 SITE_MGR_CURRENT_RADIO_TYPE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x0D, 184 SITE_MGR_CURRENT_CHANNEL_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x0E, 185 SITE_MGR_CURRENT_SSID_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x0F, 186 SITE_MGR_CURRENT_RATE_PAIR_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x10, 187 SITE_MGR_CURRENT_MODULATION_TYPE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x11, 188 SITE_MGR_CURRENT_SIGNAL_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x12, 189 SITE_MGR_BSSID_LIST_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x13, 190 SITE_MGR_TI_WLAN_COUNTERS_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x14, 191 SITE_MGR_PRIMARY_SITE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x15, 192 SITE_MGR_EEPROM_VERSION_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x16, 193 SITE_MGR_FIRMWARE_VERSION_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x17, 194 SITE_MGR_DESIRED_DOT11_MODE_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x18, 195 SITE_MGR_OPERATIONAL_MODE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x19, 196 SITE_MGR_USE_DRAFT_NUM_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x1A, 197 SITE_MGR_DESIRED_SLOT_TIME_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x1B, 198 SITE_MGR_CURRENT_SLOT_TIME_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x1C, 199 SITE_MGR_CURRENT_PREAMBLE_TYPE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x1D, 200 SITE_MGR_BUILT_IN_TEST_STATUS_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x1E, 201 SITE_MGR_CONFIGURATION_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x1F, 202 SITE_MGR_DISASSOCIATE_PARAM = SET_BIT | SITE_MGR_MODULE_PARAM | 0x20, 203 SITE_MGR_DEAUTHENTICATE_PARAM = SET_BIT | SITE_MGR_MODULE_PARAM | 0x21, 204 SITE_MGR_BSSID_LIST_SCAN_PARAM = SET_BIT | SITE_MGR_MODULE_PARAM | 0x22, 205 SITE_MGR_AP_TX_POWER_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x23, 206 SITE_MGR_DESIRED_TX_RATE_PRCT_SET = SET_BIT | SITE_MGR_MODULE_PARAM | 0x26, 207 SITE_MGR_DESIRED_RSSI_THRESHOLD_SET = SET_BIT | SITE_MGR_MODULE_PARAM | 0x27, 208 209 SITE_MGR_SITE_ENTRY_BY_INDEX = GET_BIT | SITE_MGR_MODULE_PARAM | 0x28, 210 SITE_MGR_CUR_NUM_OF_SITES = GET_BIT | SITE_MGR_MODULE_PARAM | 0x29, 211 SITE_MGR_CURRENT_TSF_TIME_STAMP = GET_BIT | SITE_MGR_MODULE_PARAM | 0x2A, 212 SITE_MGR_GET_SELECTED_BSSID_INFO = GET_BIT | SITE_MGR_MODULE_PARAM | 0x2B, 213 SITE_MGR_DESIRED_CONS_TX_ERRORS_THREH = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x2C, 214 SITE_MGR_SUPPORTED_NETWORK_TYPES = GET_BIT | SITE_MGR_MODULE_PARAM | 0x2D, 215 SITE_MGR_GET_AP_QOS_CAPABILITIES = GET_BIT | SITE_MGR_MODULE_PARAM | 0x2E, 216 SITE_MGR_CURRENT_BSSID_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x2F, 217 SITE_MGR_LAST_RX_RATE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x30, 218 SITE_MGR_LAST_BEACON_BUF_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x31, 219 SITE_MGR_CURRENT_TX_RATE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x32, 220 SITE_MGR_CURRENT_BSS_TYPE_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x33, 221 SITE_MGR_BSSID_FULL_LIST_PARAM = GET_BIT | SITE_MGR_MODULE_PARAM | 0x34, 222 SITE_MGR_BEACON_FILTER_DESIRED_STATE_PARAM = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x35, 223 SITE_MGR_ALLOW_TX_POWER_CHECK = SET_BIT | GET_BIT | SITE_MGR_MODULE_PARAM | 0x36, 224 SITE_MGR_NETWORK_TYPE_IN_USE = GET_BIT | SITE_MGR_MODULE_PARAM | 0x37, 225 226 /* MLME section */ 227 MLME_BEACON_RECV = GET_BIT | MLME_SM_MODULE_PARAM | 0x01, 228 229 /* SME SM section */ 230 SITE_MGR_CONNECTION_STATUS_PARAM = GET_BIT | SME_SM_MODULE_PARAM | 0x01, 231 SME_SM_STATE_PARAM = GET_BIT | SME_SM_MODULE_PARAM | 0x02, 232 SME_SCAN_ENABLED_PARAM = SET_BIT | GET_BIT | SME_SM_MODULE_PARAM | 0x03, 233 234 /* Scan concentrator section */ 235 SCAN_CNCN_START_APP_SCAN = SET_BIT | SCAN_CNCN_PARAM | 0x01, 236 SCAN_CNCN_STOP_APP_SCAN = SET_BIT | SCAN_CNCN_PARAM | 0x02, 237 SCAN_CNCN_BSSID_LIST_SCAN_PARAM = SET_BIT | SCAN_CNCN_PARAM | 0x03, 238 239 /* Scan Manager module */ 240 SCAN_MNGR_SET_CONFIGURATION = SET_BIT | SCAN_MNGR_PARAM | 0x01, 241 SCAN_MNGR_BSS_LIST_GET = GET_BIT | SCAN_MNGR_PARAM | 0x02, 242 243 /* Connection section */ 244 CONN_SELF_TIMEOUT_PARAM = SET_BIT | GET_BIT | CONN_MODULE_PARAM | 0x01, 245 246 /* Auth section */ 247 AUTH_RESPONSE_TIMEOUT_PARAM = SET_BIT | GET_BIT | AUTH_MODULE_PARAM | 0x01, 248 AUTH_COUNTERS_PARAM = GET_BIT | AUTH_MODULE_PARAM | 0x02, 249 250 /* Assoc section */ 251 ASSOC_RESPONSE_TIMEOUT_PARAM = SET_BIT | GET_BIT | ASSOC_MODULE_PARAM | 0x01, 252 ASSOC_COUNTERS_PARAM = GET_BIT | ASSOC_MODULE_PARAM | 0x02, 253 ASSOC_ASSOCIATION_INFORMATION_PARAM = GET_BIT | ASSOC_MODULE_PARAM | 0x03, 254 ASSOC_ASSOCIATION_RESP_PARAM = GET_BIT | ASSOC_MODULE_PARAM | 0x04, 255 256 /* RSN section */ 257 RSN_PRIVACY_OPTION_IMPLEMENTED_PARAM = GET_BIT | RSN_MODULE_PARAM | 0x01, 258 RSN_KEY_PARAM = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x02, 259 RSN_SECURITY_STATE_PARAM = GET_BIT | RSN_MODULE_PARAM | 0x03, 260 RSN_ENCRYPTION_STATUS_PARAM = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x04, 261 RSN_ADD_KEY_PARAM = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x05, 262 RSN_REMOVE_KEY_PARAM = SET_BIT | RSN_MODULE_PARAM | 0x06, 263 RSN_EXT_AUTHENTICATION_MODE = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x07, 264 RSN_MIXED_MODE = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x08, 265 RSN_DEFAULT_KEY_ID = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x09, 266 RSN_EXC_NETWORK_EAP = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x0A, 267 RSN_AUTH_ENCR_CAPABILITY = GET_BIT | RSN_MODULE_PARAM | 0x11, 268 RSN_PMKID_LIST = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x12, 269 RSN_WPA_PROMOTE_AVAILABLE_OPTIONS = GET_BIT | RSN_MODULE_PARAM | 0x13, 270 RSN_WPA_PROMOTE_OPTIONS = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x14, 271 RSN_PRE_AUTH_STATUS = GET_BIT | RSN_MODULE_PARAM | 0x15, 272 RSN_EAP_TYPE = SET_BIT | GET_BIT | RSN_MODULE_PARAM | 0x16, 273 WPA_801_1X_AKM_EXISTS = GET_BIT | RSN_MODULE_PARAM | 0x17, 274 275 276 /* RX data section */ 277 RX_DATA_COUNTERS_PARAM = GET_BIT | RX_DATA_MODULE_PARAM | 0x01, 278 RX_DATA_EXCLUDE_UNENCRYPTED_PARAM = SET_BIT | GET_BIT | RX_DATA_MODULE_PARAM | 0x02, 279 RX_DATA_EXCLUDE_BROADCAST_UNENCRYPTED_PARAM = SET_BIT | GET_BIT | RX_DATA_MODULE_PARAM | 0x03, 280 RX_DATA_ENABLE_DISABLE_RX_DATA_FILTERS = SET_BIT | GET_BIT | RX_DATA_MODULE_PARAM | 0x04, 281 RX_DATA_ADD_RX_DATA_FILTER = SET_BIT | RX_DATA_MODULE_PARAM | 0x05, 282 RX_DATA_REMOVE_RX_DATA_FILTER = SET_BIT | RX_DATA_MODULE_PARAM | 0x06, 283 RX_DATA_GET_RX_DATA_FILTERS_STATISTICS = GET_BIT | RX_DATA_MODULE_PARAM | 0x07, 284 285 286 /* TX data section */ 287 TX_DATA_PORT_STATUS_PARAM = GET_BIT | TX_DATA_MODULE_PARAM | 0x01, 288 TX_DATA_COUNTERS_PARAM = GET_BIT | TX_DATA_MODULE_PARAM | 0x02, 289 TX_DATA_RESET_COUNTERS_PARAM = SET_BIT | TX_DATA_MODULE_PARAM | 0x03, 290 TX_DATA_ENCRYPTION_FIELD_SIZE = SET_BIT | TX_DATA_MODULE_PARAM | 0x04, 291 TX_DATA_PS_MODE_PARAM = SET_BIT | TX_DATA_MODULE_PARAM | 0x05, 292 TX_DATA_CONFIG_TX_QUEUE_SIZE = SET_BIT | TX_DATA_MODULE_PARAM | 0x07, 293 TX_DATA_CONVERT_HEADER_MODE = SET_BIT | GET_BIT | TX_DATA_MODULE_PARAM | 0x08, 294 TX_DATA_CONVERT_TAG_ZERO_HEADER_MODE = SET_BIT | TX_DATA_MODULE_PARAM | 0x09, 295 TX_DATA_TAG_TO_AC_CLASSIFIER_TABLE = SET_BIT | TX_DATA_MODULE_PARAM | 0x0A, 296 TX_DATA_PS_STATUS = SET_BIT | TX_DATA_MODULE_PARAM | 0x0B, 297 TX_DATA_SET_AC_QUEUE_INDEX = SET_BIT | TX_DATA_MODULE_PARAM | 0x0D, 298 TX_DATA_CONFIG_TX_QUEUE_OVFLOW_POLICY = SET_BIT | TX_DATA_MODULE_PARAM | 0x0E, 299 TX_DATA_CONFIG_AC_MSDU_LIFE_TIME = SET_BIT | TX_DATA_MODULE_PARAM | 0x0F, 300 TX_DATA_CONFIG_AC_ACK_POLICY = SET_BIT | TX_DATA_MODULE_PARAM | 0x10, 301 TX_DATA_AC_ADMISSION_STATE = SET_BIT | TX_DATA_MODULE_PARAM | 0x11, 302 TX_DATA_SET_MEDIUM_USAGE_THRESHOLD = SET_BIT | TX_DATA_MODULE_PARAM | 0x12, 303 TX_DATA_GET_MEDIUM_USAGE_THRESHOLD = SET_BIT | GET_BIT | TX_DATA_MODULE_PARAM | 0x13, 304 TX_DATA_POLL_AP_PACKETS_FROM_AC = SET_BIT | TX_DATA_MODULE_PARAM | 0x14, 305 TX_DATA_REPORT_TS_STATISTICS = GET_BIT | TX_DATA_MODULE_PARAM | 0x15, 306 TX_DATA_SET_VAD = SET_BIT | TX_DATA_MODULE_PARAM | 0x16, 307 TX_DATA_GET_VAD = GET_BIT | TX_DATA_MODULE_PARAM | 0x17, 308 309 /* CTRL data section */ 310 CTRL_DATA_COUNTERS_PARAM = GET_BIT | CTRL_DATA_MODULE_PARAM | 0x01, 311 CTRL_DATA_RATE_CONTROL_ENABLE_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x02, 312 CTRL_DATA_CURRENT_BSSID_PARAM = GET_BIT | CTRL_DATA_MODULE_PARAM | 0x03, 313 CTRL_DATA_CURRENT_BSS_TYPE_PARAM = GET_BIT | CTRL_DATA_MODULE_PARAM | 0x04, 314 CTRL_DATA_CURRENT_SUPPORTED_RATE_MASK_PARAM = GET_BIT | CTRL_DATA_MODULE_PARAM | 0x05, 315 CTRL_DATA_CURRENT_PREAMBLE_TYPE_PARAM = GET_BIT | CTRL_DATA_MODULE_PARAM | 0x06, 316 CTRL_DATA_CURRENT_PROTECTION_STATUS_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x07, 317 CTRL_DATA_MAC_ADDRESS = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x08, 318 CTRL_DATA_CURRENT_IBSS_PROTECTION_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x09, 319 CTRL_DATA_CURRENT_RTS_CTS_STATUS_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x0A, 320 CTRL_DATA_FOUR_X_ENABLE_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x0B, 321 CTRL_DATA_FOUR_X_CURRRENT_STATUS_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x0C, 322 CTRL_DATA_CLSFR_TYPE = GET_BIT | CTRL_DATA_MODULE_PARAM | 0x0D, 323 CTRL_DATA_CLSFR_CONFIG = SET_BIT | CTRL_DATA_MODULE_PARAM | 0x0E, 324 CTRL_DATA_CLSFR_REMOVE_ENTRY = SET_BIT | CTRL_DATA_MODULE_PARAM | 0x0F, 325 CTRL_DATA_GET_USER_PRIORITY_OF_STREAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x10, 326 CTRL_DATA_SHORT_RETRY_LIMIT_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x11, 327 CTRL_DATA_LONG_RETRY_LIMIT_PARAM = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x12, 328 CTRL_DATA_CURRENT_RATE_CLASS_CLIENT = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x13, 329 CTRL_DATA_NEXT_RATE_MASK_FOR_CLIENT = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x14, 330 331 CTRL_DATA_TRAFFIC_INTENSITY_THRESHOLD = SET_BIT | GET_BIT | CTRL_DATA_MODULE_PARAM | 0x15, 332 CTRL_DATA_TOGGLE_TRAFFIC_INTENSITY_EVENTS = SET_BIT | CTRL_DATA_MODULE_PARAM | 0x16, 333 CTRL_DATA_TSRS_PARAM = SET_BIT | CTRL_DATA_MODULE_PARAM | 0x17, 334 335 /* REPORT section */ 336 REPORT_MODULE_ON_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x01, 337 REPORT_MODULE_OFF_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x02, 338 REPORT_MODULE_TABLE_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x03, 339 REPORT_SEVERITY_ON_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x04, 340 REPORT_SEVERITY_OFF_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x05, 341 REPORT_SEVERITY_TABLE_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x06, 342 REPORT_PPMODE_VALUE_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x07, 343 REPORT_OS_DBG_STATE_VALUE_PARAM = SET_BIT | GET_BIT | REPORT_MODULE_PARAM | 0x08, 344 345 /* regulatory domain section */ 346 REGULATORY_DOMAIN_MANAGEMENT_CAPABILITY_ENABLED_PARAM = GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x02, 347 REGULATORY_DOMAIN_ENABLED_PARAM = GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x03, 348 REGULATORY_DOMAIN_CURRENT_REGULATORY_DOMAIN_PARAM = GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x04, 349 REGULATORY_DOMAIN_TX_POWER_LEVEL_TABLE_PARAM = GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x07, 350 REGULATORY_DOMAIN_CURRENT_TX_POWER_IN_DBM_PARAM = SET_BIT | GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x08, 351 REGULATORY_DOMAIN_UPDATE_CHANNEL_VALIDITY = SET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x09, 352 REGULATORY_DOMAIN_TEMPORARY_TX_ATTENUATION_PARAM = SET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x0B, 353 REGULATORY_DOMAIN_ENABLE_DISABLE_802_11D = SET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x0C, 354 REGULATORY_DOMAIN_ENABLE_DISABLE_802_11H = SET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x0D, 355 REGULATORY_DOMAIN_COUNTRY_2_4_PARAM = SET_BIT | GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x0E, 356 REGULATORY_DOMAIN_COUNTRY_5_PARAM = SET_BIT | GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x0F, 357 REGULATORY_DOMAIN_DFS_CHANNELS_RANGE = SET_BIT | GET_BIT | REGULATORY_DOMAIN_MODULE_PARAM | 0x10, 358 359 360 /* measurement section */ 361 MEASUREMENT_ENABLE_DISABLE_PARAM = SET_BIT | MEASUREMENT_MODULE_PARAM | 0x01, 362 MEASUREMENT_MAX_DURATION_PARAM = SET_BIT | MEASUREMENT_MODULE_PARAM | 0x02, 363 364 #ifdef EXC_MODULE_INCLUDED 365 /* EXC */ 366 367 EXC_CONFIGURATION = SET_BIT | GET_BIT | EXC_MANAGER_MODULE_PARAM | 0x01, 368 EXC_ROGUE_AP_DETECTED = SET_BIT | EXC_MANAGER_MODULE_PARAM | 0x02, 369 EXC_REPORT_ROGUE_APS = SET_BIT | EXC_MANAGER_MODULE_PARAM | 0x03, 370 EXC_AUTH_SUCCESS = SET_BIT | EXC_MANAGER_MODULE_PARAM | 0x04, 371 EXC_CCKM_REQUEST = SET_BIT | EXC_MANAGER_MODULE_PARAM | 0x05, 372 EXC_CCKM_RESULT = SET_BIT | EXC_MANAGER_MODULE_PARAM | 0x06, 373 EXC_ENABLED = SET_BIT | GET_BIT | EXC_MANAGER_MODULE_PARAM | 0x07, 374 EXC_CURRENT_AP_SUPPORTED_VERSION = GET_BIT | EXC_MANAGER_MODULE_PARAM | 0x08, 375 #endif 376 377 /* Roaming manager */ 378 ROAMING_MNGR_APPLICATION_CONFIGURATION = SET_BIT | GET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x01, 379 380 /* Parameters used for DEBUG */ 381 ROAMING_MNGR_TRIGGER_EVENT = SET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x02, 382 ROAMING_MNGR_CONN_STATUS = SET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x03, 383 ROAMING_MNGR_CONF_PARAM = GET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x04, 384 #ifdef TI_DBG 385 ROAMING_MNGR_PRINT_STATISTICS = GET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x05, 386 ROAMING_MNGR_RESET_STATISTICS = GET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x06, 387 ROAMING_MNGR_PRINT_CURRENT_STATUS = GET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x07, 388 ROAMING_MNGR_PRINT_CANDIDATE_TABLE = GET_BIT | ROAMING_MANAGER_MODULE_PARAM | 0x08, 389 #endif 390 391 392 SOFT_GEMINI_SET_ENABLE = SET_BIT | SOFT_GEMINI_PARAM | 0x01, 393 SOFT_GEMINI_SET_RATE = SET_BIT | SOFT_GEMINI_PARAM | 0x02, 394 SOFT_GEMINI_SET_CONFIG = SET_BIT | SOFT_GEMINI_PARAM | 0x03, 395 SOFT_GEMINI_GET_STATUS = GET_BIT | SOFT_GEMINI_PARAM | 0x04, 396 397 398 /* QOS manager params */ 399 QOS_MNGR_SHORT_RETRY_LIMIT_PARAM = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x01, 400 QOS_MNGR_LONG_RETRY_LIMIT_PARAM = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x02, 401 QOS_PACKET_BURST_ENABLE = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x03, 402 QOS_MNGR_SET_SITE_PROTOCOL = SET_BIT | QOS_MANAGER_PARAM | 0x04, 403 QOS_MNGR_SET_802_11_POWER_SAVE_STATUS = SET_BIT | QOS_MANAGER_PARAM | 0x05, 404 QOS_MNGR_SET_OS_PARAMS = SET_BIT | QOS_MANAGER_PARAM | 0x07, 405 QOS_MNGR_SET_OPERATIONAL_MODE = SET_BIT | QOS_MANAGER_PARAM | 0x08, 406 QOS_MNGR_CURRENT_PS_MODE = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x09, 407 QOS_MNGR_AP_QOS_PARAMETERS = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x0A, 408 QOS_MNGR_OS_TSPEC_PARAMS = SET_BIT | QOS_MANAGER_PARAM | 0x0B, 409 QOS_MNGR_AC_STATUS = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x0C, 410 QOS_MNGR_ADD_TSPEC_REQUEST = SET_BIT | QOS_MANAGER_PARAM | 0x0D, 411 QOS_MNGR_DEL_TSPEC_REQUEST = SET_BIT | QOS_MANAGER_PARAM | 0x0E, 412 QOS_MNGR_ACTIVE_PROTOCOL = GET_BIT | QOS_MANAGER_PARAM | 0x0F, 413 QOS_SET_RATE_THRESHOLD = SET_BIT | QOS_MANAGER_PARAM | 0x10, 414 QOS_GET_RATE_THRESHOLD = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x11, 415 QOS_MNGR_GET_DESIRED_PS_MODE = GET_BIT | QOS_MANAGER_PARAM | 0x12, 416 QOS_SET_RX_TIME_OUT = SET_BIT | QOS_MANAGER_PARAM | 0x14, 417 QOS_MNGR_VOICE_RE_NEGOTIATE_TSPEC = SET_BIT | GET_BIT | QOS_MANAGER_PARAM | 0x15, 418 QOS_MNGR_RESEND_TSPEC_REQUEST = SET_BIT | QOS_MANAGER_PARAM | 0x16, 419 420 /* Power Manager params */ 421 POWER_MGR_POWER_MODE = SET_BIT | GET_BIT | POWER_MANAGER_PARAM | 0x01, 422 POWER_MGR_DISABLE_PRIORITY = SET_BIT | POWER_MANAGER_PARAM | 0x02, 423 POWER_MGR_ENABLE_PRIORITY = SET_BIT | POWER_MANAGER_PARAM | 0x03, 424 POWER_MGR_POWER_LEVEL_PS = SET_BIT | GET_BIT | POWER_MANAGER_PARAM | 0x04, 425 POWER_MGR_POWER_LEVEL_DEFAULT = SET_BIT | GET_BIT | POWER_MANAGER_PARAM | 0x05, 426 POWER_MGR_POWER_LEVEL_DOZE_MODE = SET_BIT | GET_BIT | POWER_MANAGER_PARAM | 0x06, 427 428 } externalParam_e; 429 430 431 #endif /* __PARAM_MGR_H__ */ 432