1 //------------------------------------------------------------------------------
2 // Copyright (c) 2004-2010 Atheros Corporation. All rights reserved.
5 // Permission to use, copy, modify, and/or distribute this software for any
6 // purpose with or without fee is hereby granted, provided that the above
7 // copyright notice and this permission notice appear in all copies.
9 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 //------------------------------------------------------------------------------
19 //==============================================================================
20 // This file contains the tunable configuration items for the WLAN module
22 // Author(s): ="Atheros"
23 //==============================================================================
24 #ifndef _HOST_WLAN_CONFIG_H_
25 #define _HOST_WLAN_CONFIG_H_
27 /* Include definitions here that can be used to tune the WLAN module behavior.
28 * Different customers can tune the behavior as per their needs, here.
31 /* This configuration item when defined will consider the barker preamble
32 * mentioned in the ERP IE of the beacons from the AP to determine the short
33 * preamble support sent in the (Re)Assoc request frames.
35 #define WLAN_CONFIG_DONOT_IGNORE_BARKER_IN_ERP 0
37 /* This config item when defined will not send the power module state transition
38 * failure events that happen during scan, to the host.
40 #define WLAN_CONFIG_IGNORE_POWER_SAVE_FAIL_EVENT_DURING_SCAN 0
43 * This configuration item enable/disable keepalive support.
44 * Keepalive support: In the absence of any data traffic to AP, null
45 * frames will be sent to the AP at periodic interval, to keep the association
46 * active. This configuration item defines the periodic interval.
47 * Use value of zero to disable keepalive support
50 #define WLAN_CONFIG_KEEP_ALIVE_INTERVAL 60
53 * This configuration item sets the value of disconnect timeout
54 * Firmware delays sending the disconnec event to the host for this
55 * timeout after is gets disconnected from the current AP.
56 * If the firmware successly roams within the disconnect timeout
57 * it sends a new connect event
59 #define WLAN_CONFIG_DISCONNECT_TIMEOUT 10
62 * This configuration item disables 11n support.
66 #define WLAN_CONFIG_DISABLE_11N 0
69 * This configuration item enable BT clock sharing support
71 * 0 - Disable (Default)
73 #define WLAN_CONFIG_BT_SHARING 0
76 * This configuration item sets WIFI OFF policy
78 * 1 - DEEP_SLEEP (Default)
80 #define WLAN_CONFIG_WLAN_OFF 1
83 * This configuration item sets suspend policy
84 * 0 - CUT_POWER (Default)
87 * 3 - CUT_POWER if BT OFF (clock sharing designs only)
89 #define WLAN_CONFIG_PM_SUSPEND 0
92 * This configuration item sets suspend policy to use if PM_SUSPEND is
93 * set to WoW and device is not connected at the time of suspend
94 * 0 - CUT_POWER (Default)
97 * 3 - CUT_POWER if BT OFF (clock sharing designs only)
99 #define WLAN_CONFIG_PM_WOW2 0
102 * This configuration item enables/disables transmit bursting
103 * 0 - Enable tx Bursting (default)
104 * 1 - Disable tx bursting
106 #define WLAN_CONFIG_DISABLE_TX_BURSTING 0
108 #endif /* _HOST_WLAN_CONFIG_H_ */