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