1config 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 9choice 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 16config AR600x_SD31_XXX 17 bool "SD31-xxx" 18 help 19 Board Data file for a standard SD31 reference design (File: bdata.SD31.bin) 20 21config 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 26config 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 31config 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) 35endchoice 36 37config 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 43choice 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 50config AR600x_DUAL_ANTENNA 51 bool "Dual Antenna" 52 help 53 Dual Antenna Design 54 55config AR600x_SINGLE_ANTENNA 56 bool "Single Antenna" 57 help 58 Single Antenna Design 59endchoice 60 61choice 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 68config AR600x_BT_QCOM 69 bool "Qualcomm BTS4020X" 70 help 71 Qualcomm BT (3 Wire PTA) 72 73config AR600x_BT_CSR 74 bool "CSR BC06" 75 help 76 CSR BT (3 Wire PTA) 77 78config AR600x_BT_AR3001 79 bool "Atheros AR3001" 80 help 81 Atheros BT (3 Wire PTA) 82endchoice 83 84config 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 90config 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 96config 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 103config ATH6KL_CFG80211 104 bool "CFG80211 support" 105 depends on ATH6K_LEGACY && CFG80211 106 help 107 Enables support for CFG80211 APIs. The default option is to use WEXT. Even with this option enabled, WEXT is not explicitly disabled and the onus of not exercising WEXT lies on the application(s) running in the user space. 108 109config ATH6KL_HTC_RAW_INTERFACE 110 bool "RAW HTC support" 111 depends on ATH6K_LEGACY 112 help 113 Enables raw HTC interface. Allows application to directly talk to the HTC interface via the ioctl interface 114 115config ATH6KL_VIRTUAL_SCATTER_GATHER 116 bool "Virtual Scatter-Gather support" 117 depends on ATH6K_LEGACY 118 help 119 Enables virtual scatter gather support for the hardware that does not support it natively. 120 121config ATH6KL_SKIP_ABI_VERSION_CHECK 122 bool "Skip ABI version check support" 123 depends on ATH6K_LEGACY 124 help 125 Forces the driver to disable ABI version check. Caution: Incompatilbity between the host driver and target firmware may lead to unknown side effects. 126 127config ATH6KL_BT_UART_FC_POLARITY 128 int "UART Flow Control Polarity" 129 depends on ATH6KL_LEGACY 130 default 0 131 help 132 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. 133 134config ATH6KL_DEBUG 135 bool "Debug support" 136 depends on ATH6K_LEGACY 137 help 138 Enables debug support 139 140config ATH6KL_ENABLE_HOST_DEBUG 141 bool "Host Debug support" 142 depends on ATH6KL_DEBUG 143 help 144 Enables debug support in the driver 145 146config ATH6KL_ENABLE_TARGET_DEBUG_PRINTS 147 bool "Target Debug support - Enable UART prints" 148 depends on ATH6KL_DEBUG 149 help 150 Enables uart prints 151 152config AR600x_DEBUG_UART_TX_PIN 153 int "GPIO" 154 depends on ATH6KL_ENABLE_TARGET_DEBUG_PRINTS 155 default 8 156 help 157 WLAN GPIO to be used for Debug UART (Tx) 158 159config ATH6KL_DISABLE_TARGET_DBGLOGS 160 bool "Target Debug support - Disable Debug logs" 161 depends on ATH6KL_DEBUG 162 help 163 Enables debug logs 164