2 ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k ath10k-smallbuffers \
3 carl9170 owl-loader ar5523 wil6210
5 PKG_CONFIG_DEPENDS
+= \
6 CONFIG_PACKAGE_ATH_DEBUG \
7 CONFIG_PACKAGE_ATH_DFS \
8 CONFIG_PACKAGE_ATH_SPECTRAL \
9 CONFIG_PACKAGE_ATH_DYNACK \
11 CONFIG_ATH9K_SUPPORT_PCOEM \
14 CONFIG_ATH10K_THERMAL \
17 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
28 ifdef CONFIG_PACKAGE_MAC80211_TRACING
37 config-
$(call config_package
,ath
) += ATH_CARDS ATH_COMMON
38 config-
$(CONFIG_PACKAGE_ATH_DEBUG
) += ATH_DEBUG ATH10K_DEBUG ATH9K_STATION_STATISTICS
39 config-
$(CONFIG_PACKAGE_ATH_DFS
) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
40 config-
$(CONFIG_PACKAGE_ATH_SPECTRAL
) += ATH9K_COMMON_SPECTRAL ATH10K_SPECTRAL
41 config-
$(CONFIG_PACKAGE_ATH_DYNACK
) += ATH9K_DYNACK
42 config-
$(call config_package
,ath9k
) += ATH9K
43 config-
$(call config_package
,ath9k-common
) += ATH9K_COMMON
44 config-
$(call config_package
,owl-loader
) += ATH9K_PCI_NO_EEPROM
45 config-
$(CONFIG_TARGET_ath79
) += ATH9K_AHB
46 config-
$(CONFIG_TARGET_ipq40xx
) += ATH10K_AHB
47 config-
$(CONFIG_PCI
) += ATH9K_PCI
48 config-
$(CONFIG_ATH_USER_REGD
) += ATH_USER_REGD ATH_REG_DYNAMIC_USER_REG_HINTS
49 config-
$(CONFIG_ATH9K_HWRNG
) += ATH9K_HWRNG
50 config-
$(CONFIG_ATH9K_SUPPORT_PCOEM
) += ATH9K_PCOEM
51 config-
$(CONFIG_ATH9K_TX99
) += ATH9K_TX99
52 config-
$(CONFIG_ATH9K_UBNTHSR
) += ATH9K_UBNTHSR
53 config-
$(CONFIG_ATH10K_LEDS
) += ATH10K_LEDS
54 config-
$(CONFIG_ATH10K_THERMAL
) += ATH10K_THERMAL
56 config-
$(call config_package
,ath9k-htc
) += ATH9K_HTC
57 config-
$(call config_package
,ath10k
) += ATH10K ATH10K_PCI
58 config-
$(call config_package
,ath10k-smallbuffers
) += ATH10K ATH10K_PCI ATH10K_SMALLBUFFERS
60 config-
$(call config_package
,ath5k
) += ATH5K
61 ifdef CONFIG_TARGET_ath25
67 config-
$(call config_package
,ath6kl
) += ATH6KL
68 config-
$(call config_package
,ath6kl-sdio
) += ATH6KL_SDIO
69 config-
$(call config_package
,ath6kl-usb
) += ATH6KL_USB
71 config-
$(call config_package
,carl9170
) += CARL9170
72 config-
$(call config_package
,ar5523
) += AR5523
74 config-
$(call config_package
,wil6210
) += WIL6210
76 define KernelPackage
/ath
/config
79 bool
"Force Atheros drivers to respect the user's regdomain settings"
82 Atheros
' idea of regulatory handling is that the EEPROM of the card defines
83 the regulatory limits and the user is only allowed to restrict the settings
84 even further, even if the country allows frequencies or power levels that
85 are forbidden by the EEPROM settings.
87 Select this option if you want the driver to respect the user's decision about
90 config PACKAGE_ATH_DEBUG
91 bool
"Atheros wireless debugging"
93 Say Y
, if you want to debug atheros wireless drivers.
94 Only ath9k
& ath10k make use of this.
96 config PACKAGE_ATH_DFS
97 bool
"Enable DFS support"
100 Dynamic frequency selection
(DFS
) is required for most of the
5 GHz band
101 channels in Europe
, US
, and Japan.
103 Select this option if you want to use such channels.
105 config PACKAGE_ATH_SPECTRAL
106 bool
"Atheros spectral scan support"
107 depends on PACKAGE_ATH_DEBUG
110 Say Y to enable access to the FFT
/spectral data via debugfs.
112 config PACKAGE_ATH_DYNACK
113 bool
"Enable Dynack support"
114 depends on PACKAGE_kmod-ath9k-common
116 Enables support for Dynamic ACK estimation
, which allows the fastest possible speed
117 at any distance automatically by increasing
/decreasing the max frame ACK time for
118 the most remote station detected. It can be enabled by using iw
(iw phy0 set distance auto
),
119 or by sending the NL80211_ATTR_WIPHY_DYN_ACK flag to mac80211 driver using netlink.
121 Select this option if you want to enable this feature
126 define KernelPackage
/ath
127 $(call KernelPackage
/mac80211
/Default
)
128 TITLE
:=Atheros common driver part
129 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ath79||TARGET_ath25
+kmod-mac80211
130 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath.ko
134 define KernelPackage
/ath
/description
135 This module contains some common parts needed by Atheros Wireless drivers.
138 define KernelPackage
/ath5k
139 $(call KernelPackage
/mac80211
/Default
)
140 TITLE
:=Atheros
5xxx wireless cards support
141 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath5k
142 DEPENDS
+= @
(PCI_SUPPORT||TARGET_ath25
) +kmod-ath
143 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath5k
/ath5k.ko
144 AUTOLOAD
:=$(call AutoProbe
,ath5k
)
147 define KernelPackage
/ath5k
/description
148 This module adds support for wireless adapters based on
149 Atheros
5xxx chipset.
152 define KernelPackage
/ath6kl
153 $(call KernelPackage
/mac80211
/Default
)
154 TITLE
:=Atheros FullMAC wireless devices
(common code for ath6kl_sdio and ath6kl_usb
)
155 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath6kl
157 DEPENDS
+= +kmod-ath
+@DRIVER_11N_SUPPORT
158 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath6kl
/ath6kl_core.ko
161 define KernelPackage
/ath6kl-sdio
162 $(call KernelPackage
/mac80211
/Default
)
163 TITLE
:=Atheros
802.11n SDIO wireless cards support
164 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath6kl
165 DEPENDS
+= +kmod-mmc
+kmod-ath6kl
166 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath6kl
/ath6kl_sdio.ko
167 AUTOLOAD
:=$(call AutoProbe
,ath6kl_sdio
)
170 define KernelPackage
/ath6kl-sdio
/description
171 This module adds support for wireless adapters based on
172 Atheros IEEE
802.11n AR6003 and AR6004 family of chipsets.
175 define KernelPackage
/ath6kl-usb
176 $(call KernelPackage
/mac80211
/Default
)
177 TITLE
:=Atheros
802.11n USB wireless cards support
178 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath6kl
179 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-ath6kl
180 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath6kl
/ath6kl_usb.ko
181 AUTOLOAD
:=$(call AutoProbe
,ath6kl_usb
)
184 define KernelPackage
/ath6kl-usb
/description
185 This module adds support for wireless adapters based on the
186 Atheros IEEE
802.11n AR6004 chipset.
189 define KernelPackage
/ath9k-common
190 $(call KernelPackage
/mac80211
/Default
)
191 TITLE
:=Atheros
802.11n wireless devices
(common code for ath9k and ath9k_htc
)
192 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath9k
194 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ath79
+kmod-ath
+@DRIVER_11N_SUPPORT
196 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_common.ko \
197 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_hw.ko
200 define KernelPackage
/ath9k
201 $(call KernelPackage
/mac80211
/Default
)
202 TITLE
:=Atheros
802.11n PCI wireless cards support
203 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath9k
204 DEPENDS
+= @PCI_SUPPORT||TARGET_ath79
+kmod-ath9k-common
206 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k.ko
207 AUTOLOAD
:=$(call AutoProbe
,ath9k
)
210 define KernelPackage
/ath9k
/description
211 This module adds support for wireless adapters based on
212 Atheros IEEE
802.11n AR5008 and AR9001 family of chipsets.
215 define KernelPackage
/ath9k
/config
218 bool
"Add wireless noise as source of randomness to kernel entropy pool"
219 depends on PACKAGE_kmod-ath9k
220 select PACKAGE_kmod-random-core
223 config ATH9K_SUPPORT_PCOEM
224 bool
"Support chips used in PC OEM cards"
225 depends on PACKAGE_kmod-ath9k
226 default y if
(x86_64 || i386
)
229 bool
"Enable TX99 support (WARNING: testing only, breaks normal operation!)"
230 depends on PACKAGE_kmod-ath9k
233 bool
"Support for Ubiquiti UniFi Outdoor+ access point"
234 depends on PACKAGE_kmod-ath9k
&& TARGET_ath79
239 define KernelPackage
/ath9k-htc
240 $(call KernelPackage
/mac80211
/Default
)
241 TITLE
:=Atheros
802.11n USB device support
242 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath9k
243 DEPENDS
+= @USB_SUPPORT
+kmod-ath9k-common
+kmod-usb-core
+ath9k-htc-firmware
245 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_htc.ko
246 AUTOLOAD
:=$(call AutoProbe
,ath9k_htc
)
249 define KernelPackage
/ath9k-htc
/description
250 This module adds support for wireless adapters based on
251 Atheros USB AR9271 and AR7010 family of chipsets.
254 define KernelPackage
/ath10k
255 $(call KernelPackage
/mac80211
/Default
)
256 TITLE
:=Atheros
802.11ac wireless cards support
257 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath10k
258 DEPENDS
+= @PCI_SUPPORT
+kmod-ath
+@DRIVER_11N_SUPPORT
+@DRIVER_11AC_SUPPORT \
259 +ATH10K_THERMAL
:kmod-hwmon-core
+ATH10K_THERMAL
:kmod-thermal
261 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_core.ko \
262 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_pci.ko
263 AUTOLOAD
:=$(call AutoProbe
,ath10k_pci
)
267 define KernelPackage
/ath10k
/description
268 This module adds support for wireless adapters based on
269 Atheros IEEE
802.11ac family of chipsets. For now only
273 define KernelPackage
/ath10k
/config
276 bool
"Enable LED support"
278 depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
280 config ATH10K_THERMAL
281 bool
"Enable thermal sensors and throttling support"
282 depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
286 define KernelPackage
/ath10k-smallbuffers
287 $(call KernelPackage
/ath10k
)
288 TITLE
+= (small buffers for low-RAM devices
)
289 VARIANT
:=smallbuffers
292 define KernelPackage
/carl9170
293 $(call KernelPackage
/mac80211
/Default
)
294 TITLE
:=Driver for Atheros AR9170 USB sticks
295 DEPENDS
:=@USB_SUPPORT
+kmod-mac80211
+kmod-ath
+kmod-usb-core
+kmod-input-core
+@DRIVER_11N_SUPPORT
+carl9170-firmware
296 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/carl9170
/carl9170.ko
297 AUTOLOAD
:=$(call AutoProbe
,carl9170
)
300 define KernelPackage
/owl-loader
301 $(call KernelPackage
/mac80211
/Default
)
302 TITLE
:=Owl loader for initializing Atheros PCI
(e
) Wifi chips
303 DEPENDS
:=@PCI_SUPPORT
+kmod-ath9k
304 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_pci_owl_loader.ko
305 AUTOLOAD
:=$(call AutoProbe
,ath9k_pci_owl_loader
)
308 define KernelPackage
/owl-loader
/description
309 Kernel module that helps to initialize certain Qualcomm
310 Atheros
' PCI(e) Wifi chips, which have the init data
311 (which contains the PCI device ID for example) stored
312 together with the calibration data in the file system.
314 This is necessary for devices like the Cisco Meraki Z1.
317 define KernelPackage/ar5523
318 $(call KernelPackage/mac80211/Default)
319 TITLE:=Driver for Atheros AR5523 USB sticks
320 DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core
321 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ar5523/ar5523.ko
322 AUTOLOAD:=$(call AutoProbe,ar5523)
325 define KernelPackage/wil6210
326 $(call KernelPackage/mac80211/Default)
327 TITLE:=QCA/Wilocity 60g WiFi card wil6210 support
328 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +wil6210-firmware
329 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/wil6210/wil6210.ko
330 AUTOLOAD:=$(call AutoProbe,wil6210)