• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * coreDefaultParams.h
3  *
4  * Copyright(c) 1998 - 2010 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 #ifndef _CORE_DEFAULT_PARAMS_H
35 #define _CORE_DEFAULT_PARAMS_H
36 
37 #if defined(__ARMCC__)
38 #include "public_infoele.h"
39 #endif
40 /************************************/
41 /*      Min, Max & Default values   */
42 /************************************/
43 
44 /* In this section are defined default, min & max values for parameters, according to the MIB */
45 /* This values are used as following:
46         - By the OS abstraction layer in order to fill the init table with the default values
47         if the NVRAM/Registry value for the parameter is invalid
48         - By the core modules in order to perform validity check upon setting a parameter. */
49 
50 /* This is the max possible string length from INI file */
51 #define BEACON_FILTER_STRING_MAX_LEN            300
52 
53 #define SITE_MGR_CHANNEL_MIN                    1
54 /* Band A*/
55 #define SITE_MGR_CHANNEL_A_MIN                  36
56 /* Band B&G*/
57 #define SITE_MGR_CHANNEL_B_G_MAX                14
58 #define SITE_MGR_CHANNEL_MAX                    201
59 #define SITE_MGR_CHANNEL_DEF                    11
60 
61 #define SITE_MGR_DOT_11_MODE_MIN                DOT11_B_MODE
62 #define SITE_MGR_DOT_11_MODE_MAX                DOT11_DUAL_MODE
63 #define SITE_MGR_DOT_11_MODE_DEF                DOT11_G_MODE
64 
65 #define SITE_MGR_BSS_TYPE_DEF                   BSS_INFRASTRUCTURE
66 
67 #define SITE_MGR_BEACON_INTERVAL_MIN            1
68 #define SITE_MGR_BEACON_INTERVAL_MAX            65535
69 #define SITE_MGR_BEACON_INTERVAL_DEF            200
70 
71 /* number of events to wake up on -
72     For WakeOnBeacon- Aging interval =  SITE_MGR_NUMBER_OF_EVENTS_BEFORE_AGING * BeaconInterval
73     For WakeOnDtim - Aging interval =  SITE_MGR_NUMBER_OF_EVENTS_BEFORE_AGING * BeaconInterval * DtimPeriod */
74 #define SITE_MGR_NUMBER_OF_EVENTS_BEFORE_AGING_MIN  2
75 #define SITE_MGR_NUMBER_OF_EVENTS_BEFORE_AGING_MAX  20
76 #define SITE_MGR_NUMBER_OF_EVENTS_BEFORE_AGING_DEF  10
77 
78 #define SITE_MGR_NUMBER_OF_TX_FAILURE_BEFORE_AGING_MIN  3
79 #define SITE_MGR_NUMBER_OF_TX_FAILURE_BEFORE_AGING_MAX  100
80 #define SITE_MGR_NUMBER_OF_TX_FAILURE_BEFORE_AGING_DEF  6
81 
82 /* In seconds */
83 #define SITE_MGR_ROAMING_STATS_RESET_TIMEOUT_MIN   5
84 #define SITE_MGR_ROAMING_STATS_RESET_TIMEOUT_MAX   60
85 #define SITE_MGR_ROAMING_STATS_RESET_TIMEOUT_DEF   10
86 
87 #define SITE_MGR_LNA_BEACON_INT_COUNT_MIN       2
88 #define SITE_MGR_LNA_BEACON_INT_COUNT_MAX       0xFFFF
89 #define SITE_MGR_LNA_BEACON_INT_COUNT_DEF       3
90 
91 #define SITE_MGR_LNA_PD_THRESHOLD_LOW_MIN       0x00
92 #define SITE_MGR_LNA_PD_THRESHOLD_LOW_MAX       0xff
93 #define SITE_MGR_LNA_PD_THRESHOLD_LOW_DEF       0x90
94 
95 #define SITE_MGR_LNA_PD_THRESHOLD_HIGH_MIN      0x00
96 #define SITE_MGR_LNA_PD_THRESHOLD_HIGH_MAX      0xff
97 #define SITE_MGR_LNA_PD_THRESHOLD_HIGH_DEF      0xD5
98 
99 #define SITE_MGR_LNA_EN_DINAMYC_TX_ALGO_DEF     0
100 #define SITE_MGR_LNA_EN_DINAMYC_TX_ALGO_MAX     1
101 #define SITE_MGR_LNA_EN_DINAMYC_TX_ALGO_MIN     0
102 
103 #define SITE_MGR_PREAMBLE_TYPE_DEF              PREAMBLE_SHORT
104 
105 #define SITE_MGR_EXTERNAL_MODE_MIN              0
106 #define SITE_MGR_EXTERNAL_MODE_MAX              1
107 #define SITE_MGR_EXTERNAL_MODE_DEF              0
108 
109 #define SITE_MGR_PERFORM_BUILD_IN_TEST_RECOVEY_MIN      TI_FALSE
110 #define SITE_MGR_PERFORM_BUILD_IN_TEST_RECOVEY_MAX      TI_TRUE
111 #define SITE_MGR_PERFORM_BUILD_IN_TEST_RECOVEY_DEF      TI_FALSE
112 
113 #define SITE_MGR_WiFiAdHoc_MIN                  0
114 #define SITE_MGR_WiFiAdHoc_MAX                  1
115 #define SITE_MGR_WiFiAdHoc_DEF                  0
116 
117 #define SITE_MGR_RX_LEVEL_TABLE_SIZE_DEF        44
118 
119 /* due to the fact we use the site table only to connect we need just 2 entries each table */
120 #define MAX_SITES_BG_BAND   2
121 #define MAX_SITES_A_BAND    2
122 #define NUM_OF_SITE_TABLE   2
123 
124 /* Beacon broadcast options */
125 #define BCN_RX_TIMEOUT_DEF_VALUE 10000
126 #define BCN_RX_TIMEOUT_MIN_VALUE 1
127 #define BCN_RX_TIMEOUT_MAX_VALUE 65535
128 
129 #define BROADCAST_RX_TIMEOUT_DEF_VALUE 20000
130 #define BROADCAST_RX_TIMEOUT_MIN_VALUE 1
131 #define BROADCAST_RX_TIMEOUT_MAX_VALUE 65535
132 
133 #define RX_BROADCAST_IN_PS_DEF_VALUE 1
134 #define RX_BROADCAST_IN_PS_MIN_VALUE 0
135 #define RX_BROADCAST_IN_PS_MAX_VALUE 1
136 
137 #define CONSECUTIVE_PS_POLL_FAILURE_DEF 20
138 #define CONSECUTIVE_PS_POLL_FAILURE_MIN 1
139 #define CONSECUTIVE_PS_POLL_FAILURE_MAX 100
140 
141 #define PS_POLL_FAILURE_PERIOD_DEF 20
142 #define PS_POLL_FAILURE_PERIOD_MIN 0       /* '0' is disabled */
143 #define PS_POLL_FAILURE_PERIOD_MAX 60000
144 
145 /*---------------------------*/
146 /*  Classifier parameters    */
147 /*---------------------------*/
148 
149 /* 1 - Dtag, 2 - Port, 3 - IP & port */
150 #define CLSFR_TYPE_MIN                          1
151 #define CLSFR_TYPE_DEF                      1
152 #define CLSFR_TYPE_MAX                      3
153 
154 /* general values of D-tags */
155 #define CLASSIFIER_DTAG_MIN                 0
156 #define CLASSIFIER_DTAG_MAX                 7
157 #define CLASSIFIER_DTAG_DEF                 0
158 
159 /* general values of code points in
160 the DSCP classification table*/
161 #define CLASSIFIER_CODE_POINT_MIN       0
162 #define CLASSIFIER_CODE_POINT_MAX       63
163 #define CLASSIFIER_CODE_POINT_DEF       0
164 
165 /* general values of port numbers */
166 #define CLASSIFIER_PORT_MIN                 1
167 #define CLASSIFIER_PORT_MAX                 65535
168 #define CLASSIFIER_PORT_DEF                 1024
169 
170 /* General values of IP addresses */
171 /* TBD according to spec!*/
172 #define CLASSIFIER_IPADDRESS_MIN                0x0
173 /* MY IP ... TBD according to spec!*/
174 #define CLASSIFIER_IPADDRESS_DEF                0x0A030DC4
175 /* TBD according to spec!*/
176 #define CLASSIFIER_IPADDRESS_MAX                0xFFFFFFFF
177 
178 /* DSCP (differentiated services code
179 point) classifier parameters
180 --------------------------------*/
181 /* number of classifier entries in the
182    classification table (in case of DSCP classifier) */
183 
184 #define NUM_OF_CODE_POINTS_MIN              0
185 #define NUM_OF_CODE_POINTS_MAX              16
186 #define NUM_OF_CODE_POINTS_DEF              4
187 
188 /* def values of code points in the DSCP classification table*/
189 #define DSCP_CLASSIFIER_CODE_POINT_DEF  0x0
190 #define DSCP_CLASSIFIER_CODE_POINT_00  0
191 #define DSCP_CLASSIFIER_CODE_POINT_01  8
192 #define DSCP_CLASSIFIER_CODE_POINT_02  40
193 #define DSCP_CLASSIFIER_CODE_POINT_03  56
194 
195 /* def values of D-tags in the DSCP classification table*/
196 #define DSCP_CLASSIFIER_DTAG_DEF            0
197 #define DSCP_CLASSIFIER_DTAG_00            0
198 #define DSCP_CLASSIFIER_DTAG_01            1
199 #define DSCP_CLASSIFIER_DTAG_02            5
200 #define DSCP_CLASSIFIER_DTAG_03            6
201 
202 /* Port Classifier parameters
203 --------------------------------*/
204 
205 /* number of entries in the classification table (in case of destination port classifier) */
206 #define NUM_OF_PORT_CLASSIFIERS_MIN         0
207 #define NUM_OF_PORT_CLASSIFIERS_MAX         16
208 #define NUM_OF_PORT_CLASSIFIERS_DEF         0
209 
210 /* def values of port numbers in the destination port classification table*/
211 #define PORT_CLASSIFIER_PORT_DEF            5000
212 
213 /* def values of D-tags in the destination port classification table*/
214 #define PORT_CLASSIFIER_DTAG_DEF            7
215 
216 /* IP&Port Classifier parameters
217 --------------------------------*/
218 
219 /* number of active entries in the
220 IP&Port classification table  */
221 #define NUM_OF_IPPORT_CLASSIFIERS_MIN       0
222 #define NUM_OF_IPPORT_CLASSIFIERS_MAX       16
223 #define NUM_OF_IPPORT_CLASSIFIERS_DEF       0
224 
225 /* def values of IP addresses in the IP&Port classification table*/
226 #define IPPORT_CLASSIFIER_IPADDRESS_DEF 167972292
227 
228 /* def values of port numbers in the IP&Port classification table*/
229 #define IPPORT_CLASSIFIER_PORT_DEF      5004
230 
231 /* def values of D-tags in the IP&Port classification table*/
232 #define IPPORT_CLASSIFIER_DTAG_DEF      7
233 
234 /* end of classifier parameters */
235 
236 #define MAX_USER_PRIORITY                       7
237 
238 
239 
240 #define  WME_ENABLED_MIN                        TI_FALSE
241 #define  WME_ENABLED_MAX                        TI_TRUE
242 #define  WME_ENABLED_DEF                        TI_TRUE
243 
244 #define  QOS_TRAFFIC_ADM_CTRL_ENABLED_MIN       TI_FALSE
245 #define  QOS_TRAFFIC_ADM_CTRL_ENABLED_MAX       TI_TRUE
246 #define  QOS_TRAFFIC_ADM_CTRL_ENABLED_DEF       TI_TRUE
247 
248 #define  QOS_DESIRED_PS_MODE_MIN            PS_SCHEME_LEGACY
249 #define  QOS_DESIRED_PS_MODE_MAX            MAX_PS_SCHEME
250 #define  QOS_DESIRED_PS_MODE_DEF            PS_SCHEME_UPSD_TRIGGER
251 
252 #define  QOS_TAG_ZERO_PRIO_MIN                  TI_FALSE
253 #define  QOS_TAG_ZERO_PRIO_MAX                  TI_TRUE
254 #define  QOS_TAG_ZERO_PRIO_DEF                  TI_TRUE
255 
256 
257 /* for the AC */
258 #define  QOS_TX_OP_CONTINUATION_MIN             0
259 #define  QOS_TX_OP_CONTINUATION_MAX             1
260 #define  QOS_TX_OP_CONTINUATION_DEF            1
261 
262 #define  QOS_TX_OP_LIMIT_MIN                   0
263 #define  QOS_TX_OP_LIMIT_MAX                   32000
264 #define  QOS_TX_OP_LIMIT_DEF                   0
265 
266 /* for packet burst in non-qos protocol */
267 #define  QOS_PACKET_BURST_ENABLE_MIN             0
268 #define  QOS_PACKET_BURST_ENABLE_DEF            0
269 #define  QOS_PACKET_BURST_ENABLE_MAX             1
270 
271 #define  QOS_PACKET_BURST_TXOP_LIMIT_MIN         0
272 #define  QOS_PACKET_BURST_TXOP_LIMIT_MAX         1000
273 #define  QOS_PACKET_BURST_TXOP_LIMIT_DEF         93
274 
275 #define  QOS_RX_TIMEOUT_PS_POLL_MIN                0
276 #define  QOS_RX_TIMEOUT_PS_POLL_MAX             200000
277 #define  QOS_RX_TIMEOUT_PS_POLL_DEF                15
278 
279 #define  QOS_RX_TIMEOUT_UPSD_MIN                   0
280 #define  QOS_RX_TIMEOUT_UPSD_MAX                200000
281 #define  QOS_RX_TIMEOUT_UPSD_DEF                   15
282 
283 #define  QOS_MSDU_LIFE_TIME_MIN                0
284 #define  QOS_MSDU_LIFE_TIME_MAX                1024
285 
286 #define  QOS_MSDU_LIFE_TIME_BE_MIN              QOS_MSDU_LIFE_TIME_MIN
287 #define  QOS_MSDU_LIFE_TIME_BE_MAX              QOS_MSDU_LIFE_TIME_MAX
288 #define  QOS_MSDU_LIFE_TIME_BE_DEF              512
289 #define  QOS_MSDU_LIFE_TIME_BE_DEF_WIFI_MODE    512
290 
291 #define  QOS_MSDU_LIFE_TIME_BK_MIN              QOS_MSDU_LIFE_TIME_MIN
292 #define  QOS_MSDU_LIFE_TIME_BK_MAX              QOS_MSDU_LIFE_TIME_MAX
293 #define  QOS_MSDU_LIFE_TIME_BK_DEF              100
294 #define  QOS_MSDU_LIFE_TIME_BK_DEF_WIFI_MODE    512
295 
296 #define  QOS_MSDU_LIFE_TIME_VI_MIN              QOS_MSDU_LIFE_TIME_MIN
297 #define  QOS_MSDU_LIFE_TIME_VI_MAX              QOS_MSDU_LIFE_TIME_MAX
298 #define  QOS_MSDU_LIFE_TIME_VI_DEF              100
299 #define  QOS_MSDU_LIFE_TIME_VI_DEF_WIFI_MODE    512
300 
301 #define  QOS_MSDU_LIFE_TIME_VO_MIN              QOS_MSDU_LIFE_TIME_MIN
302 #define  QOS_MSDU_LIFE_TIME_VO_MAX              QOS_MSDU_LIFE_TIME_MAX
303 #define  QOS_MSDU_LIFE_TIME_VO_DEF              40
304 #define  QOS_MSDU_LIFE_TIME_VO_DEF_WIFI_MODE    512
305 
306 #define  QOS_WME_PS_MODE_BE_MIN                 PS_SCHEME_LEGACY
307 #define  QOS_WME_PS_MODE_BE_MAX                 MAX_PS_SCHEME
308 #define  QOS_WME_PS_MODE_BE_DEF                 PS_SCHEME_LEGACY
309 
310 #define  QOS_WME_PS_MODE_BK_MIN                 PS_SCHEME_LEGACY
311 #define  QOS_WME_PS_MODE_BK_MAX                 MAX_PS_SCHEME
312 #define  QOS_WME_PS_MODE_BK_DEF                 PS_SCHEME_LEGACY
313 
314 #define  QOS_WME_PS_MODE_VI_MIN                 PS_SCHEME_LEGACY
315 #define  QOS_WME_PS_MODE_VI_MAX                 MAX_PS_SCHEME
316 #define  QOS_WME_PS_MODE_VI_DEF                 PS_SCHEME_LEGACY
317 
318 #define  QOS_WME_PS_MODE_VO_MIN                 PS_SCHEME_LEGACY
319 #define  QOS_WME_PS_MODE_VO_MAX                 MAX_PS_SCHEME
320 #define  QOS_WME_PS_MODE_VO_DEF                 PS_SCHEME_UPSD_TRIGGER
321 
322 
323 /* Minimum reserved Tx mem block in FW per AC: */
324 /***********************************************/
325 /* By default, partially optimize for Tx QoS on expense of Rx throughput */
326 #define  QOS_TX_BLKS_THRESHOLD_BK_DEF           0
327 #define  QOS_TX_BLKS_THRESHOLD_BE_DEF           20
328 #define  QOS_TX_BLKS_THRESHOLD_VI_DEF           20
329 #define  QOS_TX_BLKS_THRESHOLD_VO_DEF           20
330 /* In WiFi mode, fully optimized for Tx QoS on expense of Rx throughput */
331 #define  QOS_TX_BLKS_THRESHOLD_BK_DEF_WIFI_MODE 0
332 #define  QOS_TX_BLKS_THRESHOLD_BE_DEF_WIFI_MODE 30
333 #define  QOS_TX_BLKS_THRESHOLD_VI_DEF_WIFI_MODE 30
334 #define  QOS_TX_BLKS_THRESHOLD_VO_DEF_WIFI_MODE 30
335 /* In performance-boost, optimize for Rx throughput on expense of Tx QoS */
336 #define  QOS_TX_BLKS_THRESHOLD_BK_DEF_BOOST_MODE 0
337 #define  QOS_TX_BLKS_THRESHOLD_BE_DEF_BOOST_MODE 10
338 #define  QOS_TX_BLKS_THRESHOLD_VI_DEF_BOOST_MODE 10
339 #define  QOS_TX_BLKS_THRESHOLD_VO_DEF_BOOST_MODE 10
340 
341 /* HW Rx mem-blocks Number */
342 #define  RX_MEM_BLKS_NUM_MIN                    20
343 #define  RX_MEM_BLKS_NUM_MAX                    120
344 #define  RX_MEM_BLKS_NUM_DEF                    50   /* By default, partially optimize for Tx QoS on expense of Rx throughput */
345 #define  RX_MEM_BLKS_NUM_DEF_WIFI_MODE          40   /* In WiFi mode, fully optimize for Tx QoS on expense of Rx throughput */
346 #define  RX_MEM_BLKS_NUM_DEF_BOOST_MODE         70   /* In performance-boost, optimize for Rx throughput on expense of Tx QoS */
347 
348 /* WiFi mode on/off */
349 #define  WIFI_MODE_DEF                          0
350 #define  WIFI_MODE_MIN                          0
351 #define  WIFI_MODE_MAX                          1
352 
353 /* Performance-boost mode (QoS/Speed tradeoff) */
354 #define  BOOST_MODE_OPTIMIZE_FOR_QOS            0   /* Optimize for Tx QoS on expense of Rx throughput */
355 #define  BOOST_MODE_OPTIMIZE_FOR_SPEED          1   /* Optimize for Rx throughput on expense of Tx QoS */
356 #define  PERFORMANCE_BOOST_MODE_DEF             BOOST_MODE_OPTIMIZE_FOR_QOS
357 #define  PERFORMANCE_BOOST_MODE_MIN             BOOST_MODE_OPTIMIZE_FOR_QOS
358 #define  PERFORMANCE_BOOST_MODE_MAX             BOOST_MODE_OPTIMIZE_FOR_SPEED
359 
360 /* Maximum AMPDU Size */
361 #define MAX_MPDU_DEF                            MAX_MPDU_8191_OCTETS
362 
363 /* STOP NETWORK STACK TX mode defines */
364 #define  STOP_NET_STACK_TX_DEF                  0
365 #define  STOP_NET_STACK_TX_MIN                  0
366 #define  STOP_NET_STACK_TX_MAX                  1
367 #define  STOP_NET_STACK_TX_DEF_WIFI_MODE        0
368 
369 /* Tx send pacing threshold: num of Tx pkts to queue before handling them (excluding voice queue) */
370 #define  TX_SEND_PACE_THRESH_DEF                1
371 #define  TX_SEND_PACE_THRESH_MIN                1
372 #define  TX_SEND_PACE_THRESH_MAX                16
373 #define  TX_SEND_PACE_THRESH_DEF_WIFI_MODE      1
374 
375 #define  QOS_TX_BLKS_THRESHOLD_MIN              0
376 #define  QOS_TX_BLKS_THRESHOLD_MAX              200
377 
378 #define  QOS_QID_MIN                           0
379 #define  QOS_QID_MAX                           3
380 
381 #define  QOS_AC_MIN                            QOS_QID_MIN
382 #define  QOS_AC_MAX                            QOS_QID_MAX
383 
384 #define  QOS_AIFS_MIN                          1
385 #define  QOS_AIFS_MAX                          15
386 
387 #define QOS_CWMIN_MIN                          0
388 #define QOS_CWMIN_MAX                          15
389 
390 #define QOS_CWMAX_MIN                          0
391 #define QOS_CWMAX_MAX                          15
392 
393 #define QOS_TIMEOUT_MIN                        0
394 #define QOS_TIMEOUT_MAX                        65535
395 
396 #define QOS_ACK_POLICY_MIN                     0
397 #define QOS_ACK_POLICY_MAX                     1
398 
399 #define QOS_TRAFFIC_TYPE_MIN                   0
400 #define QOS_TRAFFIC_TYPE_MAX                   1
401 
402 #define QOS_SHORT_RETRY_LIMIT_MIN              1
403 #define QOS_SHORT_RETRY_LIMIT_MAX              255
404 #define QOS_SHORT_RETRY_LIMIT_DEF              10
405 
406 #define QOS_SHORT_RETRY_LIMIT_BE_MIN            QOS_SHORT_RETRY_LIMIT_MIN
407 #define QOS_SHORT_RETRY_LIMIT_BE_MAX            QOS_SHORT_RETRY_LIMIT_MAX
408 #define QOS_SHORT_RETRY_LIMIT_BE_DEF            QOS_SHORT_RETRY_LIMIT_DEF
409 
410 #define QOS_SHORT_RETRY_LIMIT_BK_MIN            QOS_SHORT_RETRY_LIMIT_MIN
411 #define QOS_SHORT_RETRY_LIMIT_BK_MAX            QOS_SHORT_RETRY_LIMIT_MAX
412 #define QOS_SHORT_RETRY_LIMIT_BK_DEF            QOS_SHORT_RETRY_LIMIT_DEF
413 
414 #define QOS_SHORT_RETRY_LIMIT_VI_MIN            QOS_SHORT_RETRY_LIMIT_MIN
415 #define QOS_SHORT_RETRY_LIMIT_VI_MAX            QOS_SHORT_RETRY_LIMIT_MAX
416 #define QOS_SHORT_RETRY_LIMIT_VI_DEF            QOS_SHORT_RETRY_LIMIT_DEF
417 
418 #define QOS_SHORT_RETRY_LIMIT_VO_MIN            QOS_SHORT_RETRY_LIMIT_MIN
419 #define QOS_SHORT_RETRY_LIMIT_VO_MAX            QOS_SHORT_RETRY_LIMIT_MAX
420 #define QOS_SHORT_RETRY_LIMIT_VO_DEF            4
421 
422 
423 #define QOS_LONG_RETRY_LIMIT_MIN               1
424 #define QOS_LONG_RETRY_LIMIT_MAX               255
425 #define QOS_LONG_RETRY_LIMIT_DEF               4
426 
427 #define QOS_LONG_RETRY_LIMIT_BE_MIN             QOS_LONG_RETRY_LIMIT_MIN
428 #define QOS_LONG_RETRY_LIMIT_BE_MAX             QOS_LONG_RETRY_LIMIT_MAX
429 #define QOS_LONG_RETRY_LIMIT_BE_DEF             QOS_LONG_RETRY_LIMIT_DEF
430 
431 #define QOS_LONG_RETRY_LIMIT_BK_MIN             QOS_LONG_RETRY_LIMIT_MIN
432 #define QOS_LONG_RETRY_LIMIT_BK_MAX             QOS_LONG_RETRY_LIMIT_MAX
433 #define QOS_LONG_RETRY_LIMIT_BK_DEF             QOS_LONG_RETRY_LIMIT_DEF
434 
435 #define QOS_LONG_RETRY_LIMIT_VI_MIN             QOS_LONG_RETRY_LIMIT_MIN
436 #define QOS_LONG_RETRY_LIMIT_VI_MAX             QOS_LONG_RETRY_LIMIT_MAX
437 #define QOS_LONG_RETRY_LIMIT_VI_DEF             QOS_LONG_RETRY_LIMIT_DEF
438 
439 #define QOS_LONG_RETRY_LIMIT_VO_MIN             QOS_LONG_RETRY_LIMIT_MIN
440 #define QOS_LONG_RETRY_LIMIT_VO_MAX             QOS_LONG_RETRY_LIMIT_MAX
441 #define QOS_LONG_RETRY_LIMIT_VO_DEF             QOS_LONG_RETRY_LIMIT_DEF
442 
443 #define QOS_QUEUE_0_OVFLOW_POLICY_MIN           DROP_NEW_PACKET
444 #define QOS_QUEUE_0_OVFLOW_POLICY_MAX           DROP_OLD_PACKET
445 #define QOS_QUEUE_0_OVFLOW_POLICY_DEF           DROP_NEW_PACKET
446 
447 #define QOS_QUEUE_1_OVFLOW_POLICY_MIN           DROP_NEW_PACKET
448 #define QOS_QUEUE_1_OVFLOW_POLICY_MAX           DROP_OLD_PACKET
449 #define QOS_QUEUE_1_OVFLOW_POLICY_DEF           DROP_NEW_PACKET
450 
451 #define QOS_QUEUE_2_OVFLOW_POLICY_MIN           DROP_NEW_PACKET
452 #define QOS_QUEUE_2_OVFLOW_POLICY_MAX           DROP_OLD_PACKET
453 #define QOS_QUEUE_2_OVFLOW_POLICY_DEF           DROP_NEW_PACKET
454 
455 #define QOS_QUEUE_3_OVFLOW_POLICY_MIN           DROP_NEW_PACKET
456 #define QOS_QUEUE_3_OVFLOW_POLICY_MAX           DROP_OLD_PACKET
457 #define QOS_QUEUE_3_OVFLOW_POLICY_DEF           DROP_NEW_PACKET
458 
459 #define QOS_ACK_POLICY_BE_MIN                   ACK_POLICY_LEGACY
460 #define QOS_ACK_POLICY_BE_MAX                   MAX_ACK_POLICY
461 #define QOS_ACK_POLICY_BE_DEF                   ACK_POLICY_LEGACY
462 
463 #define QOS_ACK_POLICY_BK_MIN                   ACK_POLICY_LEGACY
464 #define QOS_ACK_POLICY_BK_MAX                   MAX_ACK_POLICY
465 #define QOS_ACK_POLICY_BK_DEF                   ACK_POLICY_LEGACY
466 
467 #define QOS_ACK_POLICY_VI_MIN                   ACK_POLICY_LEGACY
468 #define QOS_ACK_POLICY_VI_MAX                   MAX_ACK_POLICY
469 #define QOS_ACK_POLICY_VI_DEF                   ACK_POLICY_LEGACY
470 
471 #define QOS_ACK_POLICY_VO_MIN                   ACK_POLICY_LEGACY
472 #define QOS_ACK_POLICY_VO_MAX                   MAX_ACK_POLICY
473 #define QOS_ACK_POLICY_VO_DEF                   ACK_POLICY_LEGACY
474 
475 
476 /* MAX_SP_LEN_VALUES
477   00 - all buffered frames
478   01 - 2
479   10 - 4
480   11 - 6
481 */
482 
483 #define QOS_MAX_SP_LEN_MIN                      0
484 #define QOS_MAX_SP_LEN_MAX                      3
485 /* Means maxSpLen = 2 (changed for SoftGemini requiremnet) */
486 #define QOS_MAX_SP_LEN_DEF                      1
487 
488 /* CW setting from the ini */
489 #define QOS_CW_USER_ENABLE_MIN                  0
490 #define QOS_CW_USER_ENABLE_MAX                  1
491 #define QOS_CW_USER_ENABLE_DEF                  0
492 
493 #define QOS_CW_CWMIN_MIN                        QOS_CWMIN_MIN
494 #define QOS_CW_CWMIN_MAX                        QOS_CWMIN_MAX
495 #define QOS_CW_CWMIN_DEF                        CW_MIN_DEF
496 
497 #define QOS_CW_CWMAX_MIN                        QOS_CWMAX_MIN
498 #define QOS_CW_CWMAX_MAX                        QOS_CWMAX_MAX
499 #define QOS_CW_CWMAX_DEF                        CW_MAX_DEF
500 
501 /*
502  * 802.11n HT settion
503  */
504 #define  HT_11N_ENABLED_MIN                         TI_FALSE
505 #define  HT_11N_ENABLED_MAX                         TI_TRUE
506 #define  HT_11N_ENABLED_DEF                         TI_TRUE
507 
508 /* policies: 0 - disable, 1 - initiator, 2 - receiver, 3 -  initiator& receiver. */
509 #define  HT_BA_POLICY_MIN                           0
510 #define  HT_BA_POLICY_MAX                           3
511 #define  HT_BA_POLICY_DEF                           0
512 
513 /* In the 11n spec in order to set endless timeout the value is 0 */
514 #define  HT_BA_INACTIVITY_TIMEOUT_MIN               0
515 #define  HT_BA_INACTIVITY_TIMEOUT_MAX               0xffff
516 #define  HT_BA_INACTIVITY_TIMEOUT_DEF               10000
517 
518 /*---------------------------
519       ROAMING parameters
520 -----------------------------*/
521 #define ROAMING_MNGR_ENABLE_MIN             0
522 #define ROAMING_MNGR_ENABLE_MAX             1
523 #define ROAMING_MNGR_ENABLE_DEF             0
524 
525 #define ROAMING_MNGR_ENABLE_PERIODIC_SCAN_MIN       0
526 #define ROAMING_MNGR_ENABLE_PERIODIC_SCAN_MAX       1
527 #define ROAMING_MNGR_ENABLE_PERIODIC_SCAN_DEF       0
528 
529 #define ROAMING_MNGR_RSSI_GAP_MIN                   0
530 #define ROAMING_MNGR_RSSI_GAP_MAX                   50
531 #define ROAMING_MNGR_RSSI_GAP_DEF                   10
532 
533 #define ROAMING_MNGR_PERIODIC_SCAN_TIEMOUT_MIN      1000
534 #define ROAMING_MNGR_PERIODIC_SCAN_TIEMOUT_MAX      10000
535 #define ROAMING_MNGR_PERIODIC_SCAN_TIEMOUT_DEF      3000
536 
537 #define ROAMING_MNGR_PERIODIC_SCAN_MIN_CH_MIN       5
538 #define ROAMING_MNGR_PERIODIC_SCAN_MIN_CH_MAX       60
539 #define ROAMING_MNGR_PERIODIC_SCAN_MIN_CH_DEF       5
540 
541 #define ROAMING_MNGR_PERIODIC_SCAN_MAX_CH_MIN       5
542 #define ROAMING_MNGR_PERIODIC_SCAN_MAX_CH_MAX       60
543 #define ROAMING_MNGR_PERIODIC_SCAN_MAX_CH_DEF       20
544 
545 #define ROAMING_MNGR_PERIODIC_SCAN_ET_MODE_MIN      0
546 #define ROAMING_MNGR_PERIODIC_SCAN_ET_MODE_MAX      3
547 #define ROAMING_MNGR_PERIODIC_SCAN_ET_MODE_DEF      3
548 
549 #define ROAMING_MNGR_PERIODIC_SCAN_MAX_NUM_FRAMES_MIN       1
550 #define ROAMING_MNGR_PERIODIC_SCAN_MAX_NUM_FRAMES_MAX       30
551 #define ROAMING_MNGR_PERIODIC_SCAN_MAX_NUM_FRAMES_DEF       1
552 
553 #define ROAMING_MNGR_PERIODIC_SCAN_NUM_PROBE_REQ_MIN        1
554 #define ROAMING_MNGR_PERIODIC_SCAN_NUM_PROBE_REQ_MAX        10
555 #define ROAMING_MNGR_PERIODIC_SCAN_NUM_PROBE_REQ_DEF        2
556 
557 #define ROAMING_MNGR_OPERATIONAL_MODE_MIN       0 /* 0 - manual , 1 - auto*/
558 #define ROAMING_MNGR_OPERATIONAL_MODE_MAX       1
559 #define ROAMING_MNGR_OPERATIONAL_MODE_DEF       1
560 
561 #define ROAMING_MNGR_SEND_TSPEC_IN_REASSO_PKT_MIN       0 /* 0 - do not send , 1 - send */
562 #define ROAMING_MNGR_SEND_TSPEC_IN_REASSO_PKT_MAX       1
563 #define ROAMING_MNGR_SEND_TSPEC_IN_REASSO_PKT_DEF       1
564 
565 
566 /*---------------------------
567     Measurement parameters
568 -----------------------------*/
569 
570 /* Packets Per Second threshold */
571 #define MEASUREMENT_TRAFFIC_THRSHLD_MIN         1
572 #define MEASUREMENT_TRAFFIC_THRSHLD_MAX             1000
573 #define MEASUREMENT_TRAFFIC_THRSHLD_DEF             400
574 
575 /* In ms */
576 #define MEASUREMENT_MAX_DUR_NON_SRV_CHANNEL_MIN 1
577 #define MEASUREMENT_MAX_DUR_NON_SRV_CHANNEL_MAX             1000
578 #define MEASUREMENT_MAX_DUR_NON_SRV_CHANNEL_DEF             300
579 
580 
581 /*---------------------------
582       XCC Manager parameters
583 -----------------------------*/
584 #define XCC_MNGR_ENABLE_MIN             XCC_MODE_DISABLED
585 #define XCC_MNGR_ENABLE_MAX             XCC_MODE_STANDBY
586 #define XCC_MNGR_ENABLE_DEF             XCC_MODE_ENABLED
587 
588 #define XCC_TEST_IGNORE_DEAUTH_0_DEF            1
589 #define XCC_TEST_IGNORE_DEAUTH_0_MIN            0
590 #define XCC_TEST_IGNORE_DEAUTH_0_MAX            1
591 
592 #define SITE_MGR_ROAMING_TX_RATE_PERCENTAGE_MIN         30
593 #define SITE_MGR_ROAMING_TX_RATE_PERCENTAGE_MAX         75
594 #define SITE_MGR_ROAMING_TX_RATE_PERCENTAGE_DEF         40
595 
596 
597 #define SITE_MGR_ROAMING_RSSI_MIN                       0
598 #define SITE_MGR_ROAMING_RSSI_MAX                       100
599 #define SITE_MGR_ROAMING_RSSI_DEF                       80
600 
601 #define SITE_MGR_ROAMING_CONS_TX_ERRORS_MIN             1
602 #define SITE_MGR_ROAMING_CONS_TX_ERRORS_MAX             200
603 #define SITE_MGR_ROAMING_CONS_TX_ERRORS_DEF             10
604 
605 /*6 sec*/
606 #define SITE_MGR_POSTDISCONNECT_TIMEOUT_DEF     6000
607 #define SITE_MGR_POSTDISCONNECT_TIMEOUT_MIN     1000
608 #define SITE_MGR_POSTDISCONNECT_TIMEOUT_MAX     10000
609 
610 /* 1 seconds */
611 #define CONN_SELF_TIMEOUT_MIN                   (1 * 1000)
612 /* 1 minute */
613 #define CONN_SELF_TIMEOUT_MAX                   (60 * 1000)
614 /* 10 seconds */
615 #define CONN_SELF_TIMEOUT_DEF                   (10 * 1000)
616 
617 #define AUTH_RESPONSE_TIMEOUT_MIN               100
618 #define AUTH_RESPONSE_TIMEOUT_MAX               5000
619 #define AUTH_RESPONSE_TIMEOUT_DEF               500
620 
621 #define AUTH_MAX_RETRY_COUNT_MIN                1
622 #define AUTH_MAX_RETRY_COUNT_MAX                5
623 #define AUTH_MAX_RETRY_COUNT_DEF                2
624 
625 #define ASSOC_RESPONSE_TIMEOUT_MIN              1000
626 #define ASSOC_RESPONSE_TIMEOUT_MAX              5000
627 #define ASSOC_RESPONSE_TIMEOUT_DEF              2000
628 
629 #define ASSOC_MAX_RETRY_COUNT_MIN               1
630 #define ASSOC_MAX_RETRY_COUNT_MAX               5
631 #define ASSOC_MAX_RETRY_COUNT_DEF               2
632 
633 #define RX_DATA_FILTERS_ENABLED_MIN             TI_FALSE
634 #define RX_DATA_FILTERS_ENABLED_MAX             TI_TRUE
635 #define RX_DATA_FILTERS_ENABLED_DEF             TI_FALSE
636 
637 #define RX_DATA_FILTERS_DEFAULT_ACTION_MIN      FILTER_DROP
638 #define RX_DATA_FILTERS_DEFAULT_ACTION_MAX      FILTER_FW_HANDLE
639 #define RX_DATA_FILTERS_DEFAULT_ACTION_DEF      FILTER_DROP
640 
641 #define RX_DATA_FILTERS_FILTER_OFFSET_DEF       0
642 #define RX_DATA_FILTERS_FILTER_OFFSET_MIN       0
643 #define RX_DATA_FILTERS_FILTER_OFFSET_MAX       255
644 
645 #define RX_DATA_FILTERS_FILTER_MASK_DEF         ""
646 #define RX_DATA_FILTERS_FILTER_MASK_LEN_DEF     0
647 
648 #define RX_DATA_FILTERS_FILTER_PATTERN_DEF      ""
649 #define RX_DATA_FILTERS_FILTER_PATTERN_LEN_DEF  0
650 
651 #define RX_DATA_RE_AUTH_ACTIVE_TIMEOUT_DEF				500
652 #define RX_DATA_RE_AUTH_ACTIVE_TIMEOUT_MIN				500
653 #define RX_DATA_RE_AUTH_ACTIVE_TIMEOUT_MAX				800
654 
655 #define TX_DATA_CREDIT_CALC_TIMOEUT_DEF         100
656 #define TX_DATA_CREDIT_CALC_TIMOEUT_MIN         20
657 #define TX_DATA_CREDIT_CALC_TIMOEUT_MAX         1000
658 
659 #define TRAFFIC_ADM_CONTROL_TIMEOUT_MIN         10
660 #define TRAFFIC_ADM_CONTROL_TIMEOUT_MAX         10000
661 #define TRAFFIC_ADM_CONTROL_TIMEOUT_DEF         5000
662 
663 /* Traffic intensity threshold - Measured in packets */
664 #define CTRL_DATA_TRAFFIC_THRESHOLD_HIGH_MIN    1
665 #define CTRL_DATA_TRAFFIC_THRESHOLD_HIGH_MAX    1000
666 #define CTRL_DATA_TRAFFIC_THRESHOLD_HIGH_DEF    100
667 
668 /* Traffic intensity threshold - Measured in packets */
669 #define CTRL_DATA_TRAFFIC_THRESHOLD_LOW_MIN     1
670 #define CTRL_DATA_TRAFFIC_THRESHOLD_LOW_MAX     1000
671 #define CTRL_DATA_TRAFFIC_THRESHOLD_LOW_DEF     25
672 
673 /* Traffic intensity threshold - Traffic test interval - measured in ms */
674 #define CTRL_DATA_TRAFFIC_THRESHOLD_INTERVAL_MIN   50
675 #define CTRL_DATA_TRAFFIC_THRESHOLD_INTERVAL_MAX   10000
676 #define CTRL_DATA_TRAFFIC_THRESHOLD_INTERVAL_DEF   1000
677 
678 #define CTRL_DATA_TRAFFIC_THRESHOLD_ENABLED_MIN TI_FALSE
679 #define CTRL_DATA_TRAFFIC_THRESHOLD_ENABLED_MAX TI_TRUE
680 #define CTRL_DATA_TRAFFIC_THRESHOLD_ENABLED_DEF TI_FALSE
681 
682 #define TRAFFIC_MONITOR_MIN_INTERVAL_PERCENT_MIN   10
683 #define TRAFFIC_MONITOR_MIN_INTERVAL_PERCENT_MAX   90
684 #define TRAFFIC_MONITOR_MIN_INTERVAL_PERCENT_DEF   50
685 
686 #define CTRL_DATA_CONT_TX_THRESHOLD_MIN  2
687 #define CTRL_DATA_CONT_TX_THRESHOLD_MAX  256
688 #define CTRL_DATA_CONT_TX_THRESHOLD_DEF  30
689 
690 #define CTRL_DATA_STEP_UP_TX_THRESHOLD_MIN    2
691 #define CTRL_DATA_STEP_UP_TX_THRESHOLD_MAX    256
692 #define CTRL_DATA_STEP_UP_TX_THRESHOLD_DEF    10
693 
694 #define CTRL_DATA_FB_SHORT_INTERVAL_MIN         20
695 #define CTRL_DATA_FB_SHORT_INTERVAL_MAX         2000
696 #define CTRL_DATA_FB_SHORT_INTERVAL_DEF         50
697 
698 #define CTRL_DATA_FB_LONG_INTERVAL_MIN          100
699 #define CTRL_DATA_FB_LONG_INTERVAL_MAX          10000
700 #define CTRL_DATA_FB_LONG_INTERVAL_DEF          2000
701 
702 #define RATE_ADAPTATION_TIMEOUT_MIN             1
703 #define RATE_ADAPTATION_TIMEOUT_MAX             3600
704 #define RATE_ADAPTATION_TIMEOUT_DEF             300
705 
706 #define RATE_ADAPT_HIGH_TRSH_AC_VO_MIN          0
707 #define RATE_ADAPT_HIGH_TRSH_AC_VO_MAX          54
708 #define RATE_ADAPT_HIGH_TRSH_AC_VO_DEF          0
709 
710 #define RATE_ADAPT_HIGH_TRSH_AC_VI_MIN          0
711 #define RATE_ADAPT_HIGH_TRSH_AC_VI_MAX          54
712 #define RATE_ADAPT_HIGH_TRSH_AC_VI_DEF          0
713 
714 #define RATE_ADAPT_HIGH_TRSH_AC_BE_MIN          0
715 #define RATE_ADAPT_HIGH_TRSH_AC_BE_MAX          54
716 #define RATE_ADAPT_HIGH_TRSH_AC_BE_DEF          0
717 
718 #define RATE_ADAPT_HIGH_TRSH_AC_BK_MIN          0
719 #define RATE_ADAPT_HIGH_TRSH_AC_BK_MAX          54
720 #define RATE_ADAPT_HIGH_TRSH_AC_BK_DEF          0
721 
722 #define RATE_ADAPT_LOW_TRSH_AC_VO_MIN           0
723 #define RATE_ADAPT_LOW_TRSH_AC_VO_MAX           54
724 #define RATE_ADAPT_LOW_TRSH_AC_VO_DEF           0
725 
726 #define RATE_ADAPT_LOW_TRSH_AC_VI_MIN           0
727 #define RATE_ADAPT_LOW_TRSH_AC_VI_MAX           54
728 #define RATE_ADAPT_LOW_TRSH_AC_VI_DEF           0
729 
730 #define RATE_ADAPT_LOW_TRSH_AC_BE_MIN           0
731 #define RATE_ADAPT_LOW_TRSH_AC_BE_MAX           54
732 #define RATE_ADAPT_LOW_TRSH_AC_BE_DEF           0
733 
734 #define RATE_ADAPT_LOW_TRSH_AC_BK_MIN           0
735 #define RATE_ADAPT_LOW_TRSH_AC_BK_MAX           54
736 #define RATE_ADAPT_LOW_TRSH_AC_BK_DEF           0
737 
738 #define CTRL_DATA_RATE_POLICY_USER_SHORT_RETRY_LIMIT_MIN 1
739 #define CTRL_DATA_RATE_POLICY_USER_SHORT_RETRY_LIMIT_MAX 255
740 #define CTRL_DATA_RATE_POLICY_USER_SHORT_RETRY_LIMIT_DEF 10
741 
742 #define CTRL_DATA_RATE_POLICY_USER_LONG_RETRY_LIMIT_MIN 1
743 #define CTRL_DATA_RATE_POLICY_USER_LONG_RETRY_LIMIT_MAX 255
744 #define CTRL_DATA_RATE_POLICY_USER_LONG_RETRY_LIMIT_DEF 10
745 
746 #define CTRL_DATA_RATE_POLICY_USER_EN_DIS_MASK_MIN			0
747 #define CTRL_DATA_RATE_POLICY_USER_EN_DIS_MASK_MAX 			0xFFFFFFFF
748 #define CTRL_DATA_RATE_POLICY_USER_EN_DIS_MASK_CCK_DEF	 	0x0000001F
749 #define CTRL_DATA_RATE_POLICY_USER_EN_DIS_MASK_OFDM_DEF	 	0x00001FEF
750 #define CTRL_DATA_RATE_POLICY_USER_EN_DIS_MASK_OFDMA_DEF	0x00001FE0
751 #define CTRL_DATA_RATE_POLICY_USER_EN_DIS_MASK_OFDMN_DEF	0x001FFFEF
752 
753 #define REPORT_SEVERITY_VALUE_MIN               0
754 #define REPORT_SEVERITY_VALUE_MAX               0xFF
755 /* WLAN_SEVERITY_WARNING | WLAN_SEVERITY_ERROR | WLAN_SEVERITY_FATAL_ERROR | WLAN_SEVERITY_CONSOLE */
756 #define REPORT_SEVERITY_VALUE_DEF               0xB8
757 
758 #define RSN_AUTH_SUITE_MIN                      RSN_AUTH_OPEN
759 #define RSN_AUTH_SUITE_MAX                      RSN_AUTH_NONE
760 #define RSN_AUTH_SUITE_DEF                      RSN_AUTH_OPEN
761 
762 #define RSN_DEFAULT_KEY_ID_MIN                  0
763 #define RSN_DEFAULT_KEY_ID_MAX                  (DOT11_MAX_DEFAULT_WEP_KEYS - 1)
764 #define RSN_DEFAULT_KEY_ID_DEF                  0
765 
766 /* 1 sec */
767 #define RSN_PMKSA_LIFETIME_MIN                  1
768 /* 49 days in sec */
769 #define RSN_PMKSA_LIFETIME_MAX                  4233600
770 /* 1 day in sec */
771 #define RSN_PMKSA_LIFETIME_DEF                  86400
772 
773 #define RSN_WEP_STATUS_MIN                      0
774 #define RSN_WEP_STATUS_MAX                      1
775 #define RSN_WEP_STATUS_DEF                      0
776 
777 #define RSN_WEPMIXEDMODE_ENABLED_MIN                    0
778 #define RSN_WEPMIXEDMODE_ENABLED_MAX                    1
779 #define RSN_WEPMIXEDMODE_ENABLED_DEF                    0
780 
781 #define RSN_WPAMIXEDMODE_ENABLE_MIN             0
782 #define RSN_WPAMIXEDMODE_ENABLE_MAX             1
783 #define RSN_WPAMIXEDMODE_ENABLE_DEF             1
784 
785 #define RSN_PREAUTH_ENABLE_MIN                  0
786 #define RSN_PREAUTH_ENABLE_MAX                  1
787 #define RSN_PREAUTH_ENABLE_DEF                  1
788 
789 /* In mSec units */
790 #define RSN_PREAUTH_TIMEOUT_MIN                  500
791 #define RSN_PREAUTH_TIMEOUT_MAX                  60000
792 #define RSN_PREAUTH_TIMEOUT_DEF                 2000
793 
794 #define PAIRWISE_MIC_FAIL_FILTER_MIN			0
795 #define PAIRWISE_MIC_FAIL_FILTER_MAX			1
796 #define PAIRWISE_MIC_FAIL_FILTER_DEF			1
797 
798 #define  RSN_PMKIDCANDLIST_DELAY_MIN            3000
799 #define  RSN_PMKIDCANDLIST_DELAY_MAX            9000
800 #define  RSN_PMKIDCANDLIST_DELAY_DEF            4000
801 
802 #define RSN_EXTERNAL_MODE_ENABLE_MIN            0
803 #define RSN_EXTERNAL_MODE_ENABLE_MAX            1
804 #define RSN_EXTERNAL_MODE_ENABLE_DEF            0
805 
806 
807 #define ETHER_MAX_PAYLOAD_SIZE            1500
808 
809 /* SME Values */
810 #define SME_SCAN_RSSI_THRESHOLD_MIN             -100
811 #define SME_SCAN_RSSI_THRESHOLD_MAX             0
812 #define SME_SCAN_RSSI_THRESHOLD_DEF             "-97"
813 #define SME_SCAN_RSSI_THRESHOLD_DEF_NUM         -97
814 
815 #define SME_SCAN_SNR_THRESHOLD_MIN              -5
816 #define SME_SCAN_SNR_THRESHOLD_MAX              20
817 #define SME_SCAN_SNR_THRESHOLD_DEF              "0"
818 #define SME_SCAN_SNR_THRESHOLD_DEF_NUM          0
819 
820 #define SME_SCAN_CYCLES_MIN                     0
821 #define SME_SCAN_CYCLES_MAX                     100
822 #define SME_SCAN_CYCLES_DEF                     50
823 
824 #define SME_SCAN_MAX_DWELL_MIN                  5     /* in milli-seconds */
825 #define SME_SCAN_MAX_DWELL_MAX                  500
826 #define SME_SCAN_MAX_DWELL_DEF                  60
827 
828 #define SME_SCAN_MIN_DWELL_MIN                  5     /* in milli-seconds */
829 #define SME_SCAN_MIN_DWELL_MAX                  500
830 #define SME_SCAN_MIN_DWELL_DEF                  30
831 
832 #define SME_SCAN_PROBE_REQ_MIN                  1
833 #define SME_SCAN_PROBE_REQ_MAX                  10
834 #define SME_SCAN_PROBE_REQ_DEF                  3
835 
836 #define SME_SCAN_INTERVALS_LIST_VAL_DEF         "0,1000,2000,3000,4000,8000,16000,32000,64000,128000,256000,512000,512000,512000,512000,512000"
837 #define SME_SCAN_INTERVALS_LIST_STRING_MAX_SIZE 255
838 
839 #define SME_SCAN_CHANNELS_LIST_G_VAL_DEF        "1,2,3,4,5,6,7,8,9,10,11,12,13,14"
840 #define SME_SCAN_CHANNELS_LIST_G_STRING_MAX_SIZE 255
841 
842 #define SME_SCAN_CHANNELS_LIST_A_VAL_DEF        "36,40,44,48,52,56,60,64"
843 #define SME_SCAN_CHANNELS_LIST_A_STRING_MAX_SIZE 255
844 
845 /* Scan SRV parameters */
846 #define SCAN_SRV_NUMBER_OF_NO_SCAN_COMPLETE_TO_RECOVERY_DEF     3
847 #define SCAN_SRV_NUMBER_OF_NO_SCAN_COMPLETE_TO_RECOVERY_MIN     1
848 #define SCAN_SRV_NUMBER_OF_NO_SCAN_COMPLETE_TO_RECOVERY_MAX     1000000
849 
850 #define SCAN_SRV_TRIGGERED_SCAN_TIME_OUT_DEF        50000
851 #define SCAN_SRV_TRIGGERED_SCAN_TIME_OUT_MIN        0
852 #define SCAN_SRV_TRIGGERED_SCAN_TIME_OUT_MAX        0xffffffff
853 
854 
855 /*
856   EEPROM-less support
857 */
858 #define REG_MAC_ADDR_STR_LEN                    17
859 #define REG_ARP_IP_ADDR_STR_LEN                 11
860 #define REG_MAC_ADDR_PREAMBLE_STR_LEN           9
861 
862 #define TWD_EEPROMLESS_ENABLE_DEF               1
863 #define TWD_EEPROMLESS_ENABLE_MIN               0
864 #define TWD_EEPROMLESS_ENABLE_MAX               1
865 
866 /* Scanning Channel Values */
867 #define MAX_CHAN_BITMAP_BYTES                   26
868 
869 #define MIN_CHANNEL_IN_BAND_2_4                  1
870 #define MAX_CHANNEL_IN_BAND_2_4                 14
871 
872 #define SCAN_CONTROL_TABLE_ENTRY_MIN            0x00
873 #define SCAN_CONTROL_TABLE_ENTRY_MAX            0xff
874 #define SCAN_CONTROL_TABLE_ENTRY_DEF            0xff
875 
876 /* country code reset time out */
877 /* 1 sec   */
878 #define REGULATORY_DOMAIN_COUNTRY_TIME_RESET_MIN     1000
879 /* 1 day */
880 #define REGULATORY_DOMAIN_COUNTRY_TIME_RESET_MAX     86400000
881 /* 1 minutes  */
882 #define REGULATORY_DOMAIN_COUNTRY_TIME_RESET_DEF     60000
883 
884 /* d/h Enabling */
885 
886 /* 802.11d */
887 #define MULTI_REGULATORY_DOMAIN_ENABLED_MIN     TI_FALSE
888 #define MULTI_REGULATORY_DOMAIN_ENABLED_MAX     TI_TRUE
889 #define MULTI_REGULATORY_DOMAIN_ENABLED_DEF     TI_FALSE
890 
891 /* 802.11h */
892 #define SPECTRUM_MANAGEMENT_ENABLED_MIN         TI_FALSE
893 #define SPECTRUM_MANAGEMENT_ENABLED_MAX         TI_TRUE
894 #define SPECTRUM_MANAGEMENT_ENABLED_DEF         TI_FALSE
895 
896 /* Tx Power table (Power level to Dbm)*/
897 #define TX_POWER_LEVEL_TABLE_24                 "21,13,10,7"
898 #define TX_POWER_LEVEL_TABLE_5                  "20,12,9,6"
899 
900 /* Scan concentrator init parameters - number of entries in app scan result table */
901 #define SCAN_CNCN_MIN_DURATION_FOR_OS_SCANS_DEF 5
902 #define SCAN_CNCN_MIN_DURATION_FOR_OS_SCANS_MIN 0
903 #define SCAN_CNCN_MIN_DURATION_FOR_OS_SCANS_MAX 3600
904 
905 #define SCAN_CNCN_REGULATORY_DOMAIN_PASSIVE_DWELL_TIME_DEF    150
906 
907 #define SCAN_CNCN_DFS_PASSIVE_DWELL_TIME_DEF    150
908 #define SCAN_CNCN_DFS_PASSIVE_DWELL_TIME_MIN    10
909 #define SCAN_CNCN_DFS_PASSIVE_DWELL_TIME_MAX    500
910 
911 #define SCAN_CNCN_APP_PUSH_MODE_DEF             TI_FALSE
912 #define SCAN_CNCN_APP_PUSH_MODE_MIN             TI_FALSE
913 #define SCAN_CNCN_APP_PUSH_MODE_MAX             TI_TRUE
914 
915 #define SCAN_CNCN_APP_SRA_DEF                   20
916 #define SCAN_CNCN_APP_SRA_MIN                   0
917 #define SCAN_CNCN_APP_SRA_MAX                   1000
918 
919 #define SCAN_CNCN_RSSI_DEF                      (-100)
920 #define SCAN_CNCN_RSSI_MIN                      (-100)
921 #define SCAN_CNCN_RSSI_MAX                      0
922 
923 /* Current BSS init paramaters - keep alive default interval */
924 #define NULL_KL_PERIOD_DEF      10
925 #define NULL_KL_PERIOD_MIN      0
926 #define NULL_KL_PERIOD_MAX      3600
927 
928 /* Context-Engine init paramaters */
929 #define CONTEXT_SWITCH_REQUIRED_DEF     TI_TRUE
930 #define CONTEXT_SWITCH_REQUIRED_MIN     TI_FALSE
931 #define CONTEXT_SWITCH_REQUIRED_MAX     TI_TRUE
932 
933 /* WSC */
934 #define WSC_PARSE_IN_BEACON_DEF 1
935 #define WSC_PARSE_IN_BEACON_MIN 0
936 #define WSC_PARSE_IN_BEACON_MAX 1
937 
938 #define WSC_INCLUDE_IN_BEACON_DEF 1
939 #define WSC_INCLUDE_IN_BEACON_MIN 0
940 #define WSC_INCLUDE_IN_BEACON_MAX 1
941 
942 
943 /* Packet Filtering Define */
944 #define MIN_NUM_OF_BEACONS_IN_BUFFER 1
945 #define DEF_NUM_OF_BEACONS_IN_BUFFER 5
946 #define MAX_NUM_OF_BEACONS_IN_BUFFER 10
947 
948 /* Soft Gemini Enabling */
949 #define SOFT_GEMINI_ENABLED_MIN                 SG_DISABLE
950 #define SOFT_GEMINI_ENABLED_MAX                 SG_OPPORTUNISTIC
951 #define SOFT_GEMINI_ENABLED_DEF                 SG_PROTECTIVE
952 
953 #define SOFT_GEMINI_PARAMS_INDEX_MIN			0
954 #define SOFT_GEMINI_PARAMS_INDEX_MAX			(SOFT_GEMINI_PARAMS_MAX-1)
955 #define SOFT_GEMINI_PARAMS_INDEX_DEF			0
956 
957 #define SOFT_GEMINI_PARAMS_VALUE_MIN			0
958 #define SOFT_GEMINI_PARAMS_VALUE_MAX			10000000
959 #define SOFT_GEMINI_PARAMS_VALUE_DEF			0
960 
961 
962 #define SOFT_GEMINI_PARAMS_PER_THRESHOLD_MIN			0
963 #define SOFT_GEMINI_PARAMS_PER_THRESHOLD_MAX			10000000
964 #define SOFT_GEMINI_PARAMS_PER_THRESHOLD_DEF			7500
965 
966 #define SOFT_GEMINI_PARAMS_NFS_SAMPLE_INTERVAL_MIN	1
967 #define SOFT_GEMINI_PARAMS_NFS_SAMPLE_INTERVAL_MAX	65000
968 #define SOFT_GEMINI_PARAMS_NFS_SAMPLE_INTERVAL_DEF	400
969 
970 #define SOFT_GEMINI_PARAMS_LOAD_RATIO_MIN				0
971 #define SOFT_GEMINI_PARAMS_LOAD_RATIO_MAX				65000
972 #define SOFT_GEMINI_PARAMS_LOAD_RATIO_DEF				200
973 
974 #define SOFT_GEMINI_PARAMS_AUTO_PS_MODE_MIN				0
975 #define SOFT_GEMINI_PARAMS_AUTO_PS_MODE_MAX				1
976 #define SOFT_GEMINI_PARAMS_AUTO_PS_MODE_DEF				1
977 
978 #define SOFT_GEMINI_PARAMS_AUTO_SCAN_PROBE_REQ_MIN		0
979 #define SOFT_GEMINI_PARAMS_AUTO_SCAN_PROBE_REQ_MAX		255
980 #define SOFT_GEMINI_PARAMS_AUTO_SCAN_PROBE_REQ_DEF		170
981 
982 #define SOFT_GEMINI_PARAMS_ACTIVE_SCAN_DURATION_FACTOR_HV3_MIN		0
983 #define SOFT_GEMINI_PARAMS_ACTIVE_SCAN_DURATION_FACTOR_HV3_MAX		255
984 #define SOFT_GEMINI_PARAMS_ACTIVE_SCAN_DURATION_FACTOR_HV3_DEF		50
985 
986 #define SOFT_GEMINI_PARAMS_ACTIVE_SCAN_DURATION_FACTOR_A2DP_MIN		0
987 #define SOFT_GEMINI_PARAMS_ACTIVE_SCAN_DURATION_FACTOR_A2DP_MAX		255
988 #define SOFT_GEMINI_PARAMS_ACTIVE_SCAN_DURATION_FACTOR_A2DP_DEF		100
989 
990 #define SOFT_GEMINI_HV3_MAX_OVERRIDE_MIN       0
991 #define SOFT_GEMINI_HV3_MAX_OVERRIDE_MAX       10
992 #define SOFT_GEMINI_HV3_MAX_OVERRIDE_DEF       0
993 
994 #define SOFT_GEMINI_ANTENNA_CONFIGURATION_MIN       0
995 #define SOFT_GEMINI_ANTENNA_CONFIGURATION_MAX       1
996 #define SOFT_GEMINI_ANTENNA_CONFIGURATION_DEF       0
997 
998 #define SOFT_GEMINI_BEACON_MISS_PERCENT_MIN       0
999 #define SOFT_GEMINI_BEACON_MISS_PERCENT_MAX       100
1000 #define SOFT_GEMINI_BEACON_MISS_PERCENT_DEF       60
1001 
1002 #define SOFT_GEMINI_RATE_ADAPT_THRESH_MIN       1
1003 #define SOFT_GEMINI_RATE_ADAPT_THRESH_MAX       54
1004 #define SOFT_GEMINI_RATE_ADAPT_THRESH_DEF       12
1005 
1006 #define SOFT_GEMINI_RATE_ADAPT_SNR_MIN       0
1007 #define SOFT_GEMINI_RATE_ADAPT_SNR_MAX       255
1008 #define SOFT_GEMINI_RATE_ADAPT_SNR_DEF       0
1009 
1010 
1011 
1012 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MIN_BR_MIN 		 0
1013 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MIN_BR_MAX 		 1000
1014 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MIN_BR_DEF 		 10
1015 
1016 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MAX_BR_MIN 		 0
1017 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MAX_BR_MAX 		 1000
1018 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MAX_BR_DEF 		 30
1019 
1020 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_MASTER_BR_MIN 		 0
1021 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_MASTER_BR_MAX 		 1000
1022 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_MASTER_BR_DEF 		 8
1023 
1024 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MIN_BR_MIN 		 0
1025 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MIN_BR_MAX 		 1000
1026 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MIN_BR_DEF 		 20
1027 
1028 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MAX_BR_MIN 		 0
1029 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MAX_BR_MAX 		 1000
1030 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MAX_BR_DEF 		 50
1031 
1032 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_SLAVE_BR_MIN 		 0
1033 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_SLAVE_BR_MAX 		 1000
1034 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_SLAVE_BR_DEF 		 8
1035 
1036 
1037 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MIN_EDR_MIN 		 0
1038 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MIN_EDR_MAX 		 1000
1039 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MIN_EDR_DEF 		 7
1040 
1041 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MAX_EDR_MIN 		 0
1042 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MAX_EDR_MAX 		 1000
1043 #define SOFT_GEMINI_WLAN_PS_BT_ACL_MASTER_MAX_EDR_DEF 		 25
1044 
1045 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_MASTER_EDR_MIN 		 0
1046 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_MASTER_EDR_MAX 		 1000
1047 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_MASTER_EDR_DEF 		 20
1048 
1049 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MIN_EDR_MIN 		 0
1050 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MIN_EDR_MAX 		 1000
1051 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MIN_EDR_DEF 		 8
1052 
1053 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MAX_EDR_MIN 		 0
1054 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MAX_EDR_MAX 		 1000
1055 #define SOFT_GEMINI_WLAN_PS_BT_ACL_SLAVE_MAX_EDR_DEF 		 40
1056 
1057 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_SLAVE_EDR_MIN 		 0
1058 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_SLAVE_EDR_MAX 		 1000
1059 #define SOFT_GEMINI_WLAN_PS_MAX_BT_ACL_SLAVE_EDR_DEF 		 20
1060 
1061 
1062 
1063 
1064 
1065 #define SOFT_GEMINI_RXT_MIN 		 		0
1066 #define SOFT_GEMINI_RXT_MAX 		 		65535
1067 #define SOFT_GEMINI_RXT_DEF 		 		1200
1068 
1069 #define SOFT_GEMINI_TXT_MIN 		 		0
1070 #define SOFT_GEMINI_TXT_MAX 		 		65535
1071 #define SOFT_GEMINI_TXT_DEF 		 		1000
1072 
1073 #define SOFT_GEMINI_ADAPTIVE_RXT_TXT_MIN   	0
1074 #define SOFT_GEMINI_ADAPTIVE_RXT_TXT_MAX 	1
1075 #define SOFT_GEMINI_ADAPTIVE_RXT_TXT_DEF 	1 /* 0 = Disabled, 1= Enabled */
1076 
1077 #define SOFT_GEMINI_PS_POLL_TIMEOUT_MIN   	0
1078 #define SOFT_GEMINI_PS_POLL_TIMEOUT_MAX 	1000000
1079 #define SOFT_GEMINI_PS_POLL_TIMEOUT_DEF 	10
1080 
1081 #define SOFT_GEMINI_UPSD_TIMEOUT_MIN   		0
1082 #define SOFT_GEMINI_UPSD_TIMEOUT_MAX 		1000000
1083 #define SOFT_GEMINI_UPSD_TIMEOUT_DEF 		10
1084 
1085 
1086 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_MASTER_MIN_EDR_MIN   0
1087 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_MASTER_MIN_EDR_MAX 	1000
1088 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_MASTER_MIN_EDR_DEF 	7
1089 
1090 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_MASTER_MAX_EDR_MIN   0
1091 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_MASTER_MAX_EDR_MAX 	1000
1092 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_MASTER_MAX_EDR_DEF 	15
1093 
1094 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_MASTER_EDR_MIN   0
1095 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_MASTER_EDR_MAX 	1000
1096 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_MASTER_EDR_DEF 	15
1097 
1098 
1099 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MIN_EDR_MIN    0
1100 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MIN_EDR_MAX 	1000
1101 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MIN_EDR_DEF 	8
1102 
1103 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MAX_EDR_MIN    0
1104 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MAX_EDR_MAX 	1000
1105 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MAX_EDR_DEF 	20
1106 
1107 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_SLAVE_EDR_MIN    0
1108 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_SLAVE_EDR_MAX 	1000
1109 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_SLAVE_EDR_DEF 	15
1110 
1111 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MIN_BR_MIN    0
1112 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MIN_BR_MAX    1000
1113 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MIN_BR_DEF    20
1114 
1115 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MAX_BR_MIN    0
1116 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MAX_BR_MAX    1000
1117 #define SOFT_GEMINI_WLAN_ACTIVE_BT_ACL_SLAVE_MAX_BR_DEF    50
1118 
1119 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_SLAVE_BR_MIN    0
1120 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_SLAVE_BR_MAX    1000
1121 #define SOFT_GEMINI_WLAN_ACTIVE_MAX_BT_ACL_SLAVE_BR_DEF    10
1122 
1123 #define SOFT_GEMINI_PASSIVE_SCAN_DURATION_FACTOR_HV3_MIN    0
1124 #define SOFT_GEMINI_PASSIVE_SCAN_DURATION_FACTOR_HV3_MAX 	1000
1125 #define SOFT_GEMINI_PASSIVE_SCAN_DURATION_FACTOR_HV3_DEF 	200
1126 
1127 #define SOFT_GEMINI_PASSIVE_SCAN_DURATION_FACTOR_A2DP_MIN    0
1128 #define SOFT_GEMINI_PASSIVE_SCAN_DURATION_FACTOR_A2DP_MAX 	1000
1129 #define SOFT_GEMINI_PASSIVE_SCAN_DURATION_FACTOR_A2DP_DEF 	800
1130 
1131 #define SOFT_GEMINI_PASSIVE_SCAN_A2DP_BT_TIME_MIN    0
1132 #define SOFT_GEMINI_PASSIVE_SCAN_A2DP_BT_TIME_MAX 	100
1133 #define SOFT_GEMINI_PASSIVE_SCAN_A2DP_BT_TIME_DEF 	75
1134 
1135 #define SOFT_GEMINI_PASSIVE_SCAN_A2DP_WLAN_TIME_MIN  0
1136 #define SOFT_GEMINI_PASSIVE_SCAN_A2DP_WLAN_TIME_MAX 	100
1137 #define SOFT_GEMINI_PASSIVE_SCAN_A2DP_WLAN_TIME_DEF 	15
1138 
1139 #define SOFT_GEMINI_DHCP_TIME_MIN  	0
1140 #define SOFT_GEMINI_DHCP_TIME_MAX 	65535
1141 #define SOFT_GEMINI_DHCP_TIME_DEF 	5000
1142 
1143 #define SOFT_GEMINI_HV3_MAX_SERVED_MIN	0
1144 #define SOFT_GEMINI_HV3_MAX_SERVED_MAX 	256
1145 #define SOFT_GEMINI_HV3_MAX_SERVED_DEF 	6
1146 
1147 #define SOFT_GEMINI_TEMP_PARAM_1_MIN    0
1148 #define SOFT_GEMINI_TEMP_PARAM_1_MAX 	100000
1149 #define SOFT_GEMINI_TEMP_PARAM_1_DEF 	0
1150 
1151 #define SOFT_GEMINI_TEMP_PARAM_2_MIN    0
1152 #define SOFT_GEMINI_TEMP_PARAM_2_MAX 	100000
1153 #define SOFT_GEMINI_TEMP_PARAM_2_DEF 	0
1154 
1155 #define SOFT_GEMINI_TEMP_PARAM_3_MIN    0
1156 #define SOFT_GEMINI_TEMP_PARAM_3_MAX 	100000
1157 #define SOFT_GEMINI_TEMP_PARAM_3_DEF 	0
1158 
1159 #define SOFT_GEMINI_TEMP_PARAM_4_MIN    0
1160 #define SOFT_GEMINI_TEMP_PARAM_4_MAX 	100000
1161 #define SOFT_GEMINI_TEMP_PARAM_4_DEF 	23
1162 
1163 #define SOFT_GEMINI_TEMP_PARAM_5_MIN    0
1164 #define SOFT_GEMINI_TEMP_PARAM_5_MAX 	100000
1165 #define SOFT_GEMINI_TEMP_PARAM_5_DEF 	22
1166 
1167 
1168 #define WIFI_WMM_PS_MIN                         0
1169 #define WIFI_WMM_PS_MAX                         1
1170 #define WIFI_WMM_PS_DEF                         0
1171 #define SOFT_GEMINI_PARAMS_ALLOW_PA_SD_MIN                  (0)
1172 #define SOFT_GEMINI_PARAMS_ALLOW_PA_SD_MAX                  (1)
1173 #define SOFT_GEMINI_PARAMS_ALLOW_PA_SD_DEF                  (1)
1174 
1175 #define SOFT_GEMINI_PARAMS_TIME_BEFORE_BEACON_MIN           (0)
1176 #define SOFT_GEMINI_PARAMS_TIME_BEFORE_BEACON_MAX           (20000)
1177 #define SOFT_GEMINI_PARAMS_TIME_BEFORE_BEACON_DEF           (6300)
1178 
1179 #define SOFT_GEMINI_PARAMS_HPDM_MAX_GUARD_MIN           (0)
1180 #define SOFT_GEMINI_PARAMS_HPDM_MAX_GUARD_MAX           (50000)
1181 #define SOFT_GEMINI_PARAMS_HPDM_MAX_GUARD_DEF           (1050)
1182 
1183 #define SOFT_GEMINI_PARAMS_TIME_OUT_NEXT_WLAN_MIN           (100)
1184 #define SOFT_GEMINI_PARAMS_TIME_OUT_NEXT_WLAN_MAX           (50000)
1185 #define SOFT_GEMINI_PARAMS_TIME_OUT_NEXT_WLAN_DEF           (2550)
1186 
1187 #define SOFT_GEMINI_PARAMS_AUTO_MODE_NO_CTS_MIN         (0)
1188 #define SOFT_GEMINI_PARAMS_AUTO_MODE_NO_CTS_MAX         (1)
1189 #define SOFT_GEMINI_PARAMS_AUTO_MODE_NO_CTS_DEF         (0)
1190 
1191 #define SOFT_GEMINI_PARAMS_BT_HP_RESPECTED_MIN          (0)
1192 #define SOFT_GEMINI_PARAMS_BT_HP_RESPECTED_MAX          (20)
1193 #define SOFT_GEMINI_PARAMS_BT_HP_RESPECTED_DEF          (3)
1194 
1195 #define SOFT_GEMINI_PARAMS_WLAN_RX_MIN_RATE_MIN         (0)
1196 #define SOFT_GEMINI_PARAMS_WLAN_RX_MIN_RATE_MAX         (54)
1197 #define SOFT_GEMINI_PARAMS_WLAN_RX_MIN_RATE_DEF         (24)
1198 
1199 /* CoexActivity table */
1200 #define COEX_ACTIVITY_PARAMS_COEX_IP_MIN               (0)
1201 #define COEX_ACTIVITY_PARAMS_COEX_IP_MAX               (1)
1202 #define COEX_ACTIVITY_PARAMS_COEX_IP_DEF               (1)
1203 
1204 #define COEX_ACTIVITY_PARAMS_ACTIVITY_ID_MIN           (0)
1205 #define COEX_ACTIVITY_PARAMS_ACTIVITY_ID_MAX           (24)
1206 #define COEX_ACTIVITY_PARAMS_ACTIVITY_ID_DEF           (0)
1207 
1208 #define COEX_ACTIVITY_PARAMS_DEFAULT_PRIO_MIN          (0)
1209 #define COEX_ACTIVITY_PARAMS_DEFAULT_PRIO_MAX          (255)
1210 #define COEX_ACTIVITY_PARAMS_DEFAULT_PRIO_DEF          (0)
1211 
1212 #define COEX_ACTIVITY_PARAMS_RAISED_PRIO_MIN           (0)
1213 #define COEX_ACTIVITY_PARAMS_RAISED_PRIO_MAX           (255)
1214 #define COEX_ACTIVITY_PARAMS_RAISED_PRIO_DEF           (0)
1215 
1216 #define COEX_ACTIVITY_PARAMS_MIN_SERVICE_MIN           (0)
1217 #define COEX_ACTIVITY_PARAMS_MIN_SERVICE_MAX           (65535)
1218 #define COEX_ACTIVITY_PARAMS_MIN_SERVICE_DEF           (0)
1219 
1220 #define COEX_ACTIVITY_PARAMS_MAX_SERVICE_MIN           (0)
1221 #define COEX_ACTIVITY_PARAMS_MAX_SERVICE_MAX           (65535)
1222 #define COEX_ACTIVITY_PARAMS_MAX_SERVICE_DEF           (0)
1223 
1224 /* FM Coexistence */
1225 #define FM_COEX_ENABLE_DEF                             TI_TRUE
1226 #define FM_COEX_ENABLE_MIN                             TI_FALSE
1227 #define FM_COEX_ENABLE_MAX                             TI_TRUE
1228 
1229 #define FM_COEX_SWALLOW_PERIOD_DEF                     5
1230 #define FM_COEX_SWALLOW_PERIOD_MIN                     0
1231 #define FM_COEX_SWALLOW_PERIOD_MAX                     0xFF
1232 
1233 #define FM_COEX_N_DIVIDER_FREF_SET1_DEF                0xFF
1234 #define FM_COEX_N_DIVIDER_FREF_SET1_MIN                0
1235 #define FM_COEX_N_DIVIDER_FREF_SET1_MAX                0xFF
1236 
1237 #define FM_COEX_N_DIVIDER_FREF_SET2_DEF                12
1238 #define FM_COEX_N_DIVIDER_FREF_SET2_MIN                0
1239 #define FM_COEX_N_DIVIDER_FREF_SET2_MAX                0xFF
1240 
1241 #define FM_COEX_M_DIVIDER_FREF_SET1_DEF                148
1242 #define FM_COEX_M_DIVIDER_FREF_SET1_MIN                0
1243 #define FM_COEX_M_DIVIDER_FREF_SET1_MAX                0xFFFF
1244 
1245 #define FM_COEX_M_DIVIDER_FREF_SET2_DEF                0xFFFF
1246 #define FM_COEX_M_DIVIDER_FREF_SET2_MIN                0
1247 #define FM_COEX_M_DIVIDER_FREF_SET2_MAX                0xFFFF
1248 
1249 #define FM_COEX_PLL_STABILIZATION_TIME_DEF             0xFFFFFFFF
1250 #define FM_COEX_PLL_STABILIZATION_TIME_MIN             0
1251 #define FM_COEX_PLL_STABILIZATION_TIME_MAX             0xFFFFFFFF
1252 
1253 #define FM_COEX_LDO_STABILIZATION_TIME_DEF             0xFFFF
1254 #define FM_COEX_LDO_STABILIZATION_TIME_MIN             0
1255 #define FM_COEX_LDO_STABILIZATION_TIME_MAX             0xFFFF
1256 
1257 #define FM_COEX_DISTURBED_BAND_MARGIN_DEF              0xFF
1258 #define FM_COEX_DISTURBED_BAND_MARGIN_MIN              0
1259 #define FM_COEX_DISTURBED_BAND_MARGIN_MAX              0xFF
1260 
1261 #define FM_COEX_SWALLOW_CLK_DIF_DEF                    0xFF
1262 #define FM_COEX_SWALLOW_CLK_DIF_MIN                    0
1263 #define FM_COEX_SWALLOW_CLK_DIF_MAX                    0xFF
1264 
1265 
1266 /* Rate Management */
1267 
1268 #define RATE_MNG_RATE_RETRY_SCORE_DEF    32000
1269 #define RATE_MNG_RATE_RETRY_SCORE_MIN    0
1270 #define RATE_MNG_RATE_RETRY_SCORE_MAX    65536
1271 
1272 #define RATE_MNG_PER_ADD_DEF             8192
1273 #define RATE_MNG_PER_ADD_MIN             0
1274 #define RATE_MNG_PER_ADD_MAX             65536
1275 
1276 #define RATE_MNG_PER_TH1_DEF             2048
1277 #define RATE_MNG_PER_TH1_MIN             0
1278 #define RATE_MNG_PER_TH1_MAX             65536
1279 
1280 #define RATE_MNG_PER_TH2_DEF             4096
1281 #define RATE_MNG_PER_TH2_MIN             0
1282 #define RATE_MNG_PER_TH2_MAX             65536
1283 
1284 #define RATE_MNG_MAX_PER_DEF             8100
1285 #define RATE_MNG_MAX_PER_MIN             0
1286 #define RATE_MNG_MAX_PER_MAX             65536
1287 
1288 #define RATE_MNG_INVERSE_CURISITY_FACTOR_DEF 5
1289 #define RATE_MNG_INVERSE_CURISITY_FACTOR_MIN 0
1290 #define RATE_MNG_INVERSE_CURISITY_FACTOR_MAX 256
1291 
1292 #define RATE_MNG_TX_FAIL_LOW_TH_DEF       4
1293 #define RATE_MNG_TX_FAIL_LOW_TH_MIN       0
1294 #define RATE_MNG_TX_FAIL_LOW_TH_MAX       256
1295 
1296 #define RATE_MNG_TX_FAIL_HIGH_TH_DEF      10
1297 #define RATE_MNG_TX_FAIL_HIGH_TH_MIN      0
1298 #define RATE_MNG_TX_FAIL_HIGH_TH_MAX      256
1299 
1300 #define RATE_MNG_PER_ALPHA_SHIFT_DEF       4
1301 #define RATE_MNG_PER_ALPHA_SHIFT_MIN       0
1302 #define RATE_MNG_PER_ALPHA_SHIFT_MAX       256
1303 
1304 #define RATE_MNG_PER_ADD_SHIFT_DEF         13
1305 #define RATE_MNG_PER_ADD_SHIFT_MIM         0
1306 #define RATE_MNG_PER_ADD_SHIFT_MAX         256
1307 
1308 #define RATE_MNG_PER_BETA1_SHIFT_DEF       10
1309 #define RATE_MNG_PER_BETA1_SHIFT_MIN       0
1310 #define RATE_MNG_PER_BETA1_SHIFT_MAX       256
1311 
1312 #define RATE_MNG_PER_BETA2_SHIFT_DEF	   8
1313 #define RATE_MNG_PER_BETA2_SHIFT_MIN       0
1314 #define RATE_MNG_PER_BETA2_SHIFT_MAX       256
1315 
1316 #define RATE_MNG_MAX_PER_DEF               8100
1317 #define RATE_MNG_MAX_PER_MIN               0
1318 #define RATE_MNG_MAX_PER_MAX               65536
1319 
1320 #define RATE_MNG_RATE_CHECK_UP_DEF         2
1321 #define RATE_MNG_RATE_CHECK_UP_MIN         0
1322 #define RATE_MNG_RATE_CHECK_UP_MAX         256
1323 
1324 #define RATE_MNG_RATE_CHECK_DOWN_DEF       12
1325 #define RATE_MNG_RATE_CHECK_DOWN_MIN       0
1326 #define RATE_MNG_RATE_CHECK_DOWN_MAX       256
1327 
1328 #define RATE_MNG_RATE_RETRY_POLICY_DEF_TABLE  "1,1,1,3,3,3,6,6,6,6,9,9,9"
1329 #define RATE_MNG_MAX_RETRY_POLICY_PARAMS_LEN  13
1330 #define RATE_MNG_MAX_STR_LEN  255
1331 
1332 
1333 
1334 /* Configurable Scan Rate */
1335 #define SCAN_RATE_MODE_B_MIN                    DRV_RATE_1M
1336 #define SCAN_RATE_MODE_B_MAX                    DRV_RATE_11M
1337 #define SCAN_RATE_MODE_B_DEF                    DRV_RATE_2M
1338 
1339 #define SCAN_RATE_MODE_G_MIN                    DRV_RATE_1M
1340 #define SCAN_RATE_MODE_G_MAX                    DRV_RATE_54M
1341 #define SCAN_RATE_MODE_G_DEF                    DRV_RATE_2M
1342 
1343 #define SCAN_RATE_MODE_A_MIN                    DRV_RATE_6M
1344 #define SCAN_RATE_MODE_A_MAX                    DRV_RATE_54M
1345 #define SCAN_RATE_MODE_A_DEF                    DRV_RATE_6M
1346 
1347 /* Probe request number during scan */
1348 #define SCAN_PROBE_REQ_NUMBER_MIN   1
1349 #define SCAN_PROBE_REQ_NUMBER_MAX   7
1350 #define SCAN_PROBE_REQ_NUMBER_DEF   3
1351 
1352 
1353 #define ACX_64BITS_WEP_KEY_LENGTH_BYTES         5
1354 #define ACX_128BITS_WEP_KEY_LENGTH_BYTES        13
1355 #define ACX_256BITS_WEP_KEY_LENGTH_BYTES        29
1356 #define ACX_MAX_WEP_KEY_LENGTH_BYTES            29
1357 
1358 
1359 /* Configurable radio parameters */
1360 #define RADIO_TX_PER_POWER_LIMITS_2_4_NORMAL_DEF_TABLE      "1d,1f,22,26,28,29"
1361 #define RADIO_TX_PER_POWER_LIMITS_2_4_DEGRADED_DEF_TABLE    "1a,1f,22,24,26,28"
1362 #define RADIO_TX_PER_POWER_LIMITS_2_4_EXTREME_DEF_TABLE     "16,1d,1e,20,24,25"
1363 
1364 
1365 #define RADIO_TX_PER_POWER_LIMITS_2_4_11B_DEF_TABLE         "50,50,50,50,50,50,50,50,50,50,50,50,50,50"
1366 #define RADIO_TX_PER_POWER_LIMITS_2_4_OFDM_DEF_TABLE        "50,50,50,50,50,50,50,50,50,50,50,50,50,50"
1367 #define RADIO_TX_PA_GAIN_VS_BIAS_OFFSET_2_4_DEF_TABLE       "f3,54,55,56,57,58"
1368 #define RADIO_TX_PD_VS_RATE_OFFSET_2_4_DEF_TABLE            "01,02,02,02,02,00"
1369 #define RADIO_TX_BIAS_2_4_DEF_TABLE                         "11,11,15,11,15,0f"
1370 #define RADIO_TX_BIP_REF_VOLTAGE_DEF_TABLE_5G               "173,188,187,18b,18a,186,18c"
1371 #define RADIO_TX_BIP_REF_POWER_DEF_TABLE_5G                 "80,80,80,80,80,80,80"
1372 #define RADIO_TX_BIP_OFF_BD_5G                              "00,00,00,00,00,00"
1373 
1374 
1375 #define RADIO_TX_PER_POWER_LIMITS_5_NORMAL_DEF_TABLE        "50,50,50,50,50,50"
1376 #define RADIO_TX_PER_POWER_LIMITS_5_DEGRADED_DEF_TABLE      "50,50,50,50,50,50"
1377 #define RADIO_TX_PER_POWER_LIMITS_5_EXTREME_DEF_TABLE       "50,50,50,50,50,50"
1378 
1379 #define RADIO_TX_PER_POWER_LIMITS_5_OFDM_DEF_TABLE          "50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50"
1380 #define RADIO_TX_PD_VS_RATE_OFFSET_5_DEF_TABLE              "00,00,00,00,00,00"
1381 #define RADIO_TX_BIAS_5_DEF_TABLE                           "10,10,10,10,10,10"
1382 #define RADIO_RX_FEM_INSERT_LOSS_5_DEF_TABLE                "10,10,10,10,10,10,10"
1383 #define RADIO_RX_TRACE_INSERT_LOSS_5_DEF_TABLE              "00,00,00,00,00,00,00"
1384 #define RADIO_TX_TRACE_LOSS_5_DEF_TABLE                     "00,00,00,00,00,00,00"
1385 
1386 #define RADIO_RX_FEM_INSERT_LOSS_2_4_MIN                    0
1387 #define RADIO_RX_FEM_INSERT_LOSS_2_4_DEF                    375  /* 0x15e
1388  */
1389 #define RADIO_RX_FEM_INSERT_LOSS_2_4_MAX                    0xffff
1390 
1391 
1392 #define RADIO_DEGRADED_LOW_TO_NORMAL_THR_2_4G_MIN        0
1393 #define RADIO_DEGRADED_LOW_TO_NORMAL_THR_2_4G_DEF        30      /* 0x1e */
1394 #define RADIO_DEGRADED_LOW_TO_NORMAL_THR_2_4G_MAX        255
1395 
1396 #define RADIO_NORMAL_TO_DEGRADED_HIGH_THR_2_4G_MIN       0
1397 #define RADIO_NORMAL_TO_DEGRADED_HIGH_THR_2_4G_DEF       45      /* 0x2d */
1398 #define RADIO_NORMAL_TO_DEGRADED_HIGH_THR_2_4G_MAX       255
1399 
1400 #define RADIO_DEGRADED_LOW_TO_NORMAL_THR_5G_MIN          0
1401 #define RADIO_DEGRADED_LOW_TO_NORMAL_THR_5G_DEF          30      /* 0x1e */
1402 #define RADIO_DEGRADED_LOW_TO_NORMAL_THR_5G_MAX          255
1403 
1404 #define RADIO_NORMAL_TO_DEGRADED_HIGH_THR_5G_MIN         0
1405 #define RADIO_NORMAL_TO_DEGRADED_HIGH_THR_5G_DEF         45      /* 0x2d */
1406 #define RADIO_NORMAL_TO_DEGRADED_HIGH_THR_5G_MAX         255
1407 
1408 
1409 #define RADIO_RX_TRACE_INSERT_LOSS_2_4_MIN                  0
1410 #define RADIO_RX_TRACE_INSERT_LOSS_2_4_DEF                  0
1411 #define RADIO_RX_TRACE_INSERT_LOSS_2_4_MAX                  255
1412 
1413 #define RADIO_RX_RSSI_PROCESS_2_4_DEF_TABLE                 "7a,7b,7c,7d,7e,7f,80,81,82,83,84,85,86,87,88"
1414 #define RADIO_RX_RSSI_PROCESS_5_DEF_TABLE                   "00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"
1415 
1416 #define RADIO_TX_PER_CH_POWER_COMPENSATION_2_4_DEF	       "00,00,00,00,00,00,00"
1417 #define RADIO_TX_PER_CH_POWER_COMPENSATION_5_DEF	       "00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"
1418 
1419 #define RADIO_FREF_CLOCK_SETTING_TIME_MIN    				0
1420 #define RADIO_FREF_CLOCK_SETTING_TIME_DEF    				5
1421 #define RADIO_FREF_CLOCK_SETTING_TIME_MAX    				15
1422 
1423 #define RADIO_FREF_CLOCK_ENABLED_MIN                        TI_FALSE
1424 #define RADIO_FREF_CLOCK_ENABLED_MAX                        TI_TRUE
1425 #define RADIO_FREF_CLOCK_ENABLED_DEF                        TI_FALSE
1426 
1427 #define RADIO_FREF_CLOCK_MIN                        		0	/* 19.2, 26, 38.4, 52 MHz */
1428 #define RADIO_FREF_CLOCK_DEF                        		2
1429 #define RADIO_FREF_CLOCK_MAX                        		31
1430 
1431 
1432 /*
1433  * Driver-Main parameters values
1434  */
1435 /* Set WLAN driver thread priority - Note that this is an OS dependent parameter! */
1436 #define WLAN_DRV_THREAD_PRIORITY_MIN                        0
1437 #define WLAN_DRV_THREAD_PRIORITY_MAX                        255
1438 #define WLAN_DRV_THREAD_PRIORITY_DEF                        251
1439 
1440 /* Set bus driver thread priority - Note that this is an OS dependent parameter! */
1441 #define BUS_DRV_THREAD_PRIORITY_MIN                         0
1442 #define BUS_DRV_THREAD_PRIORITY_MAX                         255
1443 #define BUS_DRV_THREAD_PRIORITY_DEF                         251
1444 
1445 /* In SDIO block-mode:  BlkSize = 1 << BlkSizeShift    (current block size is: 1<<9 = 512 bytes) */
1446 #define SDIO_BLK_SIZE_SHIFT_MIN                             0
1447 #define SDIO_BLK_SIZE_SHIFT_MAX                             16
1448 #define SDIO_BLK_SIZE_SHIFT_DEF                             9
1449 
1450 
1451 /*****************************************************************************
1452  **         POWER MANAGER MODULE REGISTRY DEFINITIONS                       **
1453  *****************************************************************************/
1454 /** \enum PowerMode_e */
1455 /* MUST be sync with OS_802_11_POWER_PROFILE */
1456 typedef enum
1457 {
1458     POWER_MODE_AUTO,        /**< In this mode the power manager module is toggle states
1459                              * (ACTIVE, SHORT_DOZE and LONG_DOZE) by its own inner algorithm.
1460                              */
1461 
1462     POWER_MODE_ACTIVE,      /**< In this mode there is no power save, the host interface & the radio
1463                              * is always active. The TNET is constantly awake. This mode is used,
1464                              * for example, when the device is powered from an AC power source,
1465                              * and provides maximum throughput and minimal latency.
1466                              */
1467 
1468     POWER_MODE_SHORT_DOZE,  /**< In this mode the system is going to ELP state and awakes (by the
1469                              * FW) every beacon. The F/W wakes up the host on every Beacon passes
1470                              * the Beacon to the driver and returns to ELP Doze as soon as possible.
1471                              */
1472 
1473     POWER_MODE_LONG_DOZE,    /**< In this mode the system is going to ELP state and awakes (by the
1474                              * FW) every DTIM or listen interval. This mode consumes low power,
1475                              * while still waking-up for Beacons once in a while. The system spends
1476                              * a lot of time in ELP-Doze, and the F/W rarely wakes up the host.
1477                              */
1478 
1479     POWER_MODE_PS_ONLY,     /**< In this mode the system is setting the Ps as ON.
1480                              * the ELP state is changing to SHORT or LONG DOZE (According to last configuration).
1481                              * Auto mode won't be used here.
1482                              */
1483 
1484     POWER_MODE_MAX
1485 }PowerMgr_PowerMode_e;
1486 
1487 
1488 /** \enum PowerMgr_Priority_e */
1489 typedef enum
1490 {
1491     POWER_MANAGER_USER_PRIORITY,           /**< indicates the default user priority. */
1492     POWER_MANAGER_SG_PRIORITY,             /**< Indicate the Soft Gemini priority */
1493     POWER_MANAGER_REAUTH_PRIORITY,         /**< Indicate 802.1x reauthentication priority */
1494     POWER_MANAGER_PS_POLL_FAILURE_PRIORITY,/**< After receiving the PsPoll failure event */
1495     POWER_MANAGER_MAX_PRIORITY
1496 }PowerMgr_Priority_e;
1497 
1498 
1499 enum PowerMgr_registryDefinitions
1500 {
1501     POWER_MODE_MIN_VALUE = POWER_MODE_AUTO,
1502     POWER_MODE_MAX_VALUE = POWER_MODE_LONG_DOZE,
1503     POWER_MODE_DEF_VALUE = POWER_MODE_AUTO,
1504 
1505     BEACON_RECEIVE_TIME_MIN_VALUE = 10,
1506     BEACON_RECEIVE_TIME_MAX_VALUE = 1000,
1507     BEACON_RECEIVE_TIME_DEF_VALUE = 50,
1508 
1509     BASE_BAND_WAKE_UP_TIME_MIN_VALUE = 100,      /* in micro seconds */
1510     BASE_BAND_WAKE_UP_TIME_MAX_VALUE = 10000,
1511     BASE_BAND_WAKE_UP_TIME_DEF_VALUE = 2000,
1512 
1513     PLL_LOCK_TIME_MIN_VALUE = 500,
1514     PLL_LOCK_TIME_MAX_VALUE = 20000,
1515     PLL_LOCK_TIME_DEF_VALUE = 4000,
1516 
1517     HANGOVER_PERIOD_MIN_VALUE = 5,
1518     HANGOVER_PERIOD_MAX_VALUE = 255,
1519     HANGOVER_PERIOD_DEF_VALUE = 10,
1520 
1521     BEACON_LISTEN_INTERVAL_MIN_VALUE = 1,
1522     BEACON_LISTEN_INTERVAL_MAX_VALUE = 50,
1523     BEACON_LISTEN_INTERVAL_DEF_VALUE = 1,
1524 
1525     DTIM_LISTEN_INTERVAL_MIN_VALUE = 1,
1526     DTIM_LISTEN_INTERVAL_MAX_VALUE = 50,
1527     DTIM_LISTEN_INTERVAL_DEF_VALUE = 1,
1528 
1529     BEACON_FILTERING_MIN_VALUE = 0,
1530     BEACON_FILTERING_MAX_VALUE = 30,
1531     BEACON_FILTERING_DEF_VALUE = 10,
1532 
1533     N_CONSECUTIVE_BEACONS_MISSED_MIN_VALUE = 0,
1534     N_CONSECUTIVE_BEACONS_MISSED_MAX_VALUE = 50,
1535     N_CONSECUTIVE_BEACONS_MISSED_DEF_VALUE = 1,
1536 
1537     ENTER_TO_802_11_POWER_SAVE_RETRIES_MIN_VALUE = 0,
1538     ENTER_TO_802_11_POWER_SAVE_RETRIES_MAX_VALUE = 50,
1539     ENTER_TO_802_11_POWER_SAVE_RETRIES_DEF_VALUE = 5,
1540 
1541     AUTO_POWER_MODE_INTERVAL_MIN_VALUE = 100,
1542     AUTO_POWER_MODE_INTERVAL_MAX_VALUE = 30000,
1543     AUTO_POWER_MODE_INTERVAL_DEF_VALUE = 1000,
1544 
1545     AUTO_POWER_MODE_ACTIVE_TH_MIN_VALUE = 2,
1546     AUTO_POWER_MODE_ACTIVE_TH_MAX_VALUE = 30000,
1547     AUTO_POWER_MODE_ACTIVE_TH_DEF_VALUE = 15,
1548 
1549     AUTO_POWER_MODE_DOZE_TH_MIN_VALUE = 1,
1550     AUTO_POWER_MODE_DOZE_TH_MAX_VALUE = 30000,
1551     AUTO_POWER_MODE_DOZE_TH_DEF_VALUE = 8,
1552 
1553     AUTO_POWER_MODE_DOZE_MODE_MIN_VALUE = POWER_MODE_SHORT_DOZE,
1554     AUTO_POWER_MODE_DOZE_MODE_MAX_VALUE = POWER_MODE_LONG_DOZE,
1555     AUTO_POWER_MODE_DOZE_MODE_DEF_VALUE = POWER_MODE_SHORT_DOZE,
1556 
1557     DCO_ITRIM_ENABLE_MIN = TI_FALSE,
1558     DCO_ITRIM_ENABLE_MAX = TI_TRUE,
1559     DCO_ITRIM_ENABLE_DEF = TI_FALSE,
1560 
1561     DCO_ITRIM_MODERATION_TIMEOUT_MIN = 10000,
1562     DCO_ITRIM_MODERATION_TIMEOUT_MAX = 1000000,
1563     DCO_ITRIM_MODERATION_TIMEOUT_DEF = 50000,
1564 
1565     POWER_MGMNT_MODE_DEF_VALUE = 1,
1566     POWER_MGMNT_MODE_MIN_VALUE = 0,
1567     POWER_MGMNT_MODE_MAX_VALUE = 1,
1568 
1569     POWER_MGMNT_NEED_TO_SEND_NULL_PACKET_DEF_VALUE = 1,
1570     POWER_MGMNT_NEED_TO_SEND_NULL_PACKET_MIN_VALUE = 0,
1571     POWER_MGMNT_NEED_TO_SEND_NULL_PACKET_MAX_VALUE = 1,
1572 
1573     /*
1574      bit14 - "1" send Prob Request in PBCC
1575      bit15 - "1" short preamble, "0" long preammle
1576      bit0:bit12  Rates
1577      */
1578     POWER_MGMNT_NULL_PACKET_RATE_MOD_DEF_VALUE =  ((1<<DRV_RATE_1M) | (1<<DRV_RATE_2M)),
1579     POWER_MGMNT_NULL_PACKET_RATE_MOD_MIN_VALUE = 0,
1580     POWER_MGMNT_NULL_PACKET_RATE_MOD_MAX_VALUE = 255 ,
1581 
1582     POWER_MGMNT_NUM_NULL_PACKET_RETRY_DEF_VALUE = 5,
1583     POWER_MGMNT_NUM_NULL_PACKET_RETRY_MIN_VALUE = 1,
1584     POWER_MGMNT_NUM_NULL_PACKET_RETRY_MAX_VALUE = 255,
1585 
1586 	POWER_MGMNT_RE_AUTH_ACTIVE_PRIO_DEF_VALUE = 0,
1587     POWER_MGMNT_RE_AUTH_ACTIVE_PRIO_MIN_VALUE = 0,
1588     POWER_MGMNT_RE_AUTH_ACTIVE_PRIO_MAX_VALUE = 1,
1589 
1590     /*BET*/
1591     POWER_MGMNT_BET_ENABLE_MIN = 0,
1592     POWER_MGMNT_BET_ENABLE_MAX = 1,
1593     POWER_MGMNT_BET_ENABLE_DEF = 1,
1594     POWER_MGMNT_BET_DISABLE_THRESHOLD_MIN = 0,
1595     POWER_MGMNT_BET_DISABLE_THRESHOLD_MAX = 255,
1596     POWER_MGMNT_BET_DISABLE_THRESHOLD_DEF = 8,
1597     POWER_MGMNT_BET_MAX_CONSC_MIN = 1,
1598     POWER_MGMNT_BET_MAX_CONSC_MAX = 50,
1599     POWER_MGMNT_BET_MAX_CONSC_DEF = 8,
1600     HAL_CTRL_BET_DISABLE_THRESHOLD_MIN = 0,
1601     HAL_CTRL_BET_DISABLE_THRESHOLD_MAX = 255,
1602     HAL_CTRL_BET_DISABLE_THRESHOLD_DEF = 12,
1603 
1604 /*--------------- Maximal time between full beacon reception ------------------*/
1605     POWER_MGMNT_MAX_FULL_BEACON_MIN = 0,
1606     POWER_MGMNT_MAX_FULL_BEACON_MAX = 10000,
1607     POWER_MGMNT_MAX_FULL_BEACON_DEF = 5000,
1608 
1609     HOST_CLK_SETTLE_TIME_USEC_MIN = 0,
1610     HOST_CLK_SETTLE_TIME_USEC_MAX = 30000,
1611     HOST_CLK_SETTLE_TIME_USEC_DEF = 5000,
1612 
1613     HOST_FAST_WAKE_SUPPORT_MIN = 0,
1614     HOST_FAST_WAKE_SUPPORT_MAX = 1,
1615     HOST_FAST_WAKE_SUPPORT_DEF = 0
1616 
1617 };
1618 
1619 /*****************************************************************************
1620  **         END POWER MANAGER MODULE REGISTRY DEFINITIONS                   **
1621  *****************************************************************************/
1622 
1623 
1624 typedef enum
1625 {
1626     ERP_PROTECTION_NONE       = 0,
1627     ERP_PROTECTION_STANDARD   = 1,
1628     ERP_PROTECTION_TI_TRICK   = 2
1629 } erpProtectionType_e;
1630 
1631 
1632 #endif /* _CORE_DEFAULT_PARAMS_H */
1633 
1634