Merge branch 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal...
[pandora-kernel.git] / drivers / staging / ath6kl / Kconfig
1 config ATH6K_LEGACY
2         tristate "Atheros AR6003 support (non mac80211)"
3         depends on MMC && WLAN
4         select WIRELESS_EXT
5         select WEXT_PRIV
6         help
7         This module adds support for wireless adapters based on Atheros AR6003 chipset running over SDIO. If you choose to build it as a module, it will be called ath6kl. Pls note that AR6002 and AR6001 are not supported by this driver.
8
9 choice
10         prompt "AR6003 Board Data Configuration"
11         depends on ATH6K_LEGACY
12         default AR600x_SD31_XXX
13         help
14         Select the appropriate board data template from the list below that matches your AR6003 based reference design.
15
16 config AR600x_SD31_XXX
17         bool "SD31-xxx"
18         help
19         Board Data file for a standard SD31 reference design (File: bdata.SD31.bin)
20
21 config AR600x_WB31_XXX
22         bool "WB31-xxx"
23         help
24         Board Data file for a standard WB31 (BT/WiFi) reference design (File: bdata.WB31.bin)
25
26 config AR600x_SD32_XXX
27         bool "SD32-xxx"
28         help
29         Board Data file for a standard SD32 (5GHz) reference design (File: bdata.SD32.bin)
30
31 config AR600x_CUSTOM_XXX
32         bool "CUSTOM-xxx"
33         help
34         Board Data file for a custom reference design (File: should be named as bdata.CUSTOM.bin)
35 endchoice
36
37 config ATH6KL_ENABLE_COEXISTENCE
38         bool "BT Coexistence support"
39         depends on ATH6K_LEGACY
40         help
41         Enables WLAN/BT coexistence support. Select the apprpriate configuration from below.
42
43 choice
44         prompt "Front-End Antenna Configuration"
45         depends on ATH6KL_ENABLE_COEXISTENCE
46         default AR600x_DUAL_ANTENNA
47         help
48         Indicates the number of antennas being used by BT and WLAN. Select the appropriate configuration from the list below that matches your AR6003 based reference design.
49
50 config AR600x_DUAL_ANTENNA
51         bool "Dual Antenna"
52         help
53         Dual Antenna Design
54
55 config AR600x_SINGLE_ANTENNA
56         bool "Single Antenna"
57         help
58         Single Antenna Design
59 endchoice
60
61 choice
62         prompt "Collocated Bluetooth Type"
63         depends on ATH6KL_ENABLE_COEXISTENCE
64         default AR600x_BT_AR3001
65         help
66         Select the appropriate configuration from the list below that matches your AR6003 based reference design.
67
68 config AR600x_BT_QCOM
69         bool "Qualcomm BTS4020X"
70         help
71         Qualcomm BT (3 Wire PTA)
72
73 config AR600x_BT_CSR
74         bool "CSR BC06"
75         help
76         CSR BT (3 Wire PTA)
77
78 config AR600x_BT_AR3001
79         bool "Atheros AR3001"
80         help
81         Atheros BT (3 Wire PTA)
82 endchoice
83
84 config ATH6KL_HCI_BRIDGE
85         bool "HCI over SDIO support"
86         depends on ATH6K_LEGACY
87         help
88         Enables BT over SDIO. Applicable only for combo designs (eg: WB31)
89
90 config ATH6KL_CONFIG_GPIO_BT_RESET
91         bool "Configure BT Reset GPIO"
92         depends on ATH6KL_HCI_BRIDGE
93         help
94         Configure a WLAN GPIO for use with BT.
95
96 config AR600x_BT_RESET_PIN
97         int "GPIO"
98         depends on ATH6KL_CONFIG_GPIO_BT_RESET
99         default 22
100         help
101         WLAN GPIO to be used for resetting BT
102
103 config ATH6KL_HTC_RAW_INTERFACE
104         bool "RAW HTC support"
105         depends on ATH6K_LEGACY
106         help
107         Enables raw HTC interface. Allows application to directly talk to the HTC interface via the ioctl interface
108
109 config ATH6KL_VIRTUAL_SCATTER_GATHER
110         bool "Virtual Scatter-Gather support"
111         depends on ATH6K_LEGACY
112         help
113         Enables virtual scatter gather support for the hardware that does not support it natively.
114
115 config ATH6KL_SKIP_ABI_VERSION_CHECK
116         bool "Skip ABI version check support"
117         depends on ATH6K_LEGACY
118         help
119         Forces the driver to disable ABI version check. Caution: Incompatilbity between the host driver and target firmware may lead to unknown side effects.
120
121 config ATH6KL_BT_UART_FC_POLARITY
122         int "UART Flow Control Polarity"
123         depends on ATH6KL_LEGACY
124         default 0
125         help
126         Configures the polarity of UART Flow Control. A value of 0 implies active low and is the default setting. Set it to 1 for active high.
127
128 config ATH6KL_DEBUG
129         bool "Debug support"
130         depends on ATH6K_LEGACY
131         help
132         Enables debug support
133
134 config ATH6KL_ENABLE_HOST_DEBUG
135         bool "Host Debug support"
136         depends on ATH6KL_DEBUG
137         help
138         Enables debug support in the driver
139
140 config ATH6KL_ENABLE_TARGET_DEBUG_PRINTS
141         bool "Target Debug support - Enable UART prints"
142         depends on ATH6KL_DEBUG
143         help
144         Enables uart prints
145
146 config AR600x_DEBUG_UART_TX_PIN
147         int "GPIO"
148         depends on ATH6KL_ENABLE_TARGET_DEBUG_PRINTS
149         default 8
150         help
151         WLAN GPIO to be used for Debug UART (Tx)
152
153 config ATH6KL_DISABLE_TARGET_DBGLOGS
154         bool "Target Debug support - Disable Debug logs"
155         depends on ATH6KL_DEBUG
156         help
157         Enables debug logs