Makefile 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. #
  2. # Copyright (C) 2007-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=mac80211
  10. PKG_VERSION:=2016-10-08
  11. PKG_RELEASE:=1
  12. PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
  13. PKG_BACKPORT_VERSION:=
  14. PKG_HASH:=4f6350e3b75815060bfdf47ef266ad613c7bfea5b7b1dc4552dee69e1bebe4fb
  15. PKG_SOURCE:=compat-wireless-$(PKG_VERSION)$(PKG_BACKPORT_VERSION).tar.bz2
  16. PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
  19. PKG_DRIVERS = \
  20. ath ath5k ath9k ath9k-common ath9k-htc \
  21. carl9170 \
  22. lib80211 \
  23. mac80211-hwsim \
  24. rt2800-lib rt2800-mmio rt2800-soc \
  25. PKG_CONFIG_DEPENDS:= \
  26. CONFIG_PACKAGE_kmod-mac80211 \
  27. $(patsubst %,CONFIG_PACKAGE_kmod-%,$(PKG_DRIVERS)) \
  28. CONFIG_PACKAGE_MAC80211_DEBUGFS \
  29. CONFIG_PACKAGE_MAC80211_MESH \
  30. CONFIG_PACKAGE_MAC80211_TRACING \
  31. CONFIG_PACKAGE_ATH_DEBUG \
  32. CONFIG_PACKAGE_ATH_DFS \
  33. CONFIG_ATH_USER_REGD \
  34. include $(INCLUDE_DIR)/package.mk
  35. WMENU:=Wireless Drivers
  36. define KernelPackage/mac80211/Default
  37. SUBMENU:=$(WMENU)
  38. URL:=https://wireless.wiki.kernel.org/
  39. MAINTAINER:=Felix Fietkau <nbd@nbd.name>
  40. endef
  41. define KernelPackage/cfg80211
  42. $(call KernelPackage/mac80211/Default)
  43. TITLE:=cfg80211 - wireless configuration API
  44. DEPENDS+= +iw
  45. FILES:= \
  46. $(PKG_BUILD_DIR)/compat/compat.ko \
  47. $(PKG_BUILD_DIR)/net/wireless/cfg80211.ko
  48. endef
  49. define KernelPackage/cfg80211/description
  50. cfg80211 is the Linux wireless LAN (802.11) configuration API.
  51. endef
  52. define KernelPackage/mac80211
  53. $(call KernelPackage/mac80211/Default)
  54. TITLE:=Linux 802.11 Wireless Networking Stack
  55. DEPENDS+= +kmod-cfg80211 +hostapd-common
  56. KCONFIG:=\
  57. CONFIG_AVERAGE=y
  58. FILES:= $(PKG_BUILD_DIR)/net/mac80211/mac80211.ko
  59. MENU:=1
  60. endef
  61. define KernelPackage/mac80211/config
  62. if PACKAGE_kmod-mac80211
  63. config PACKAGE_MAC80211_DEBUGFS
  64. bool "Export mac80211 internals in DebugFS"
  65. select KERNEL_DEBUG_FS
  66. default y
  67. help
  68. Select this to see extensive information about
  69. the internal state of mac80211 in debugfs.
  70. config PACKAGE_MAC80211_TRACING
  71. bool "Enable tracing (mac80211 and supported drivers)"
  72. select KERNEL_FTRACE
  73. select KERNEL_ENABLE_DEFAULT_TRACERS
  74. default n
  75. help
  76. Select this to enable tracing of mac80211 and
  77. related wifi drivers (using trace-cmd).
  78. config PACKAGE_MAC80211_MESH
  79. bool "Enable 802.11s mesh support"
  80. default y
  81. endif
  82. endef
  83. define KernelPackage/mac80211/description
  84. Generic IEEE 802.11 Networking Stack (mac80211)
  85. endef
  86. define KernelPackage/adm8211
  87. $(call KernelPackage/mac80211/Default)
  88. TITLE:=ADMTek 8211 support
  89. DEPENDS+=@PCI_SUPPORT +kmod-mac80211 +kmod-eeprom-93cx6
  90. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/admtek/adm8211.ko
  91. AUTOLOAD:=$(call AutoProbe,adm8211)
  92. endef
  93. define KernelPackage/airo
  94. $(call KernelPackage/mac80211/Default)
  95. TITLE:=Cisco Aironet driver
  96. DEPENDS+=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-cfg80211 @TARGET_x86
  97. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/cisco/airo.ko
  98. AUTOLOAD:=$(call AutoProbe,airo)
  99. endef
  100. define KernelPackage/airo/description
  101. Kernel support for Cisco Aironet cards
  102. endef
  103. define KernelPackage/ath/config
  104. if PACKAGE_kmod-ath
  105. config ATH_USER_REGD
  106. bool "Force Atheros drivers to respect the user's regdomain settings"
  107. default y
  108. help
  109. Atheros' idea of regulatory handling is that the EEPROM of the card defines
  110. the regulatory limits and the user is only allowed to restrict the settings
  111. even further, even if the country allows frequencies or power levels that
  112. are forbidden by the EEPROM settings.
  113. Select this option if you want the driver to respect the user's decision about
  114. regulatory settings.
  115. config PACKAGE_ATH_DEBUG
  116. bool "Atheros wireless debugging"
  117. help
  118. Say Y, if you want to debug atheros wireless drivers.
  119. Only ath9k makes use of this.
  120. config PACKAGE_ATH_DFS
  121. bool "Enable DFS support"
  122. default y
  123. help
  124. Dynamic frequency selection (DFS) is required for most of the 5 GHz band
  125. channels in Europe, US, and Japan.
  126. Select this option if you want to use such channels.
  127. endif
  128. endef
  129. define KernelPackage/ath
  130. $(call KernelPackage/mac80211/Default)
  131. TITLE:=Atheros common driver part
  132. DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_ath25 +kmod-mac80211
  133. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
  134. MENU:=1
  135. endef
  136. define KernelPackage/ath/description
  137. This module contains some common parts needed by Atheros Wireless drivers.
  138. endef
  139. define KernelPackage/ath5k
  140. $(call KernelPackage/mac80211/Default)
  141. TITLE:=Atheros 5xxx wireless cards support
  142. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath5k
  143. DEPENDS+= @PCI_SUPPORT||@TARGET_ath25 +kmod-ath +@DRIVER_11W_SUPPORT
  144. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
  145. AUTOLOAD:=$(call AutoProbe,ath5k)
  146. endef
  147. define KernelPackage/ath5k/description
  148. This module adds support for wireless adapters based on
  149. Atheros 5xxx chipset.
  150. endef
  151. define KernelPackage/ath9k-common
  152. $(call KernelPackage/mac80211/Default)
  153. TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
  154. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
  155. HIDDEN:=1
  156. DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT +@KERNEL_RELAY
  157. FILES:= \
  158. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
  159. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
  160. endef
  161. define KernelPackage/ath9k
  162. $(call KernelPackage/mac80211/Default)
  163. TITLE:=Atheros 802.11n PCI wireless cards support
  164. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
  165. DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath9k-common
  166. FILES:= \
  167. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko
  168. AUTOLOAD:=$(call AutoProbe,ath9k)
  169. endef
  170. define KernelPackage/ath9k/description
  171. This module adds support for wireless adapters based on
  172. Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
  173. endef
  174. define KernelPackage/ath9k/config
  175. config ATH9K_SUPPORT_PCOEM
  176. bool "Support chips used in PC OEM cards"
  177. depends on PACKAGE_kmod-ath9k
  178. config ATH9K_TX99
  179. bool "Enable TX99 support"
  180. depends on PACKAGE_kmod-ath9k
  181. config ATH9K_UBNTHSR
  182. bool "Support for Ubiquiti UniFi Outdoor+ access point"
  183. depends on PACKAGE_kmod-ath9k && TARGET_ar71xx_generic
  184. default y
  185. endef
  186. define KernelPackage/ath9k-htc
  187. $(call KernelPackage/mac80211/Default)
  188. TITLE:=Atheros 802.11n USB device support
  189. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
  190. DEPENDS+= @USB_SUPPORT +kmod-ath9k-common +kmod-usb-core +ath9k-htc-firmware
  191. FILES:= \
  192. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
  193. AUTOLOAD:=$(call AutoProbe,ath9k_htc)
  194. endef
  195. define KernelPackage/ath9k-htc/description
  196. This module adds support for wireless adapters based on
  197. Atheros USB AR9271 and AR7010 family of chipsets.
  198. endef
  199. define KernelPackage/carl9170
  200. $(call KernelPackage/mac80211/Default)
  201. TITLE:=Driver for Atheros AR9170 USB sticks
  202. DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core +@DRIVER_11N_SUPPORT +carl9170-firmware
  203. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/carl9170/carl9170.ko
  204. AUTOLOAD:=$(call AutoProbe,carl9170)
  205. endef
  206. define KernelPackage/lib80211
  207. $(call KernelPackage/mac80211/Default)
  208. TITLE:=802.11 Networking stack
  209. DEPENDS:=+kmod-cfg80211 +kmod-crypto-hash
  210. FILES:= \
  211. $(PKG_BUILD_DIR)/net/wireless/lib80211.ko \
  212. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_wep.ko \
  213. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_ccmp.ko \
  214. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_tkip.ko
  215. AUTOLOAD:=$(call AutoProbe, \
  216. lib80211 \
  217. lib80211_crypt_wep \
  218. lib80211_crypt_ccmp \
  219. lib80211_crypt_tkip \
  220. )
  221. endef
  222. define KernelPackage/lib80211/description
  223. Kernel modules for 802.11 Networking stack
  224. Includes:
  225. - lib80211
  226. - lib80211_crypt_wep
  227. - lib80211_crypt_tkip
  228. - lib80211_crytp_ccmp
  229. endef
  230. define KernelPackage/mac80211-hwsim
  231. $(call KernelPackage/mac80211/Default)
  232. TITLE:=mac80211 HW simulation device
  233. DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT
  234. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.ko
  235. AUTOLOAD:=$(call AutoProbe,mac80211_hwsim)
  236. endef
  237. define KernelPackage/rt2800-lib
  238. $(call KernelPackage/rt2x00/Default)
  239. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-lib-crc-ccitt +@DRIVER_11N_SUPPORT
  240. HIDDEN:=1
  241. TITLE+= (rt2800 LIB)
  242. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
  243. endef
  244. define KernelPackage/rt2800-mmio
  245. $(call KernelPackage/rt2x00/Default)
  246. TITLE += (RT28xx/RT3xxx MMIO)
  247. DEPENDS += +kmod-rt2800-lib +kmod-rt2x00-mmio
  248. HIDDEN:=1
  249. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko
  250. endef
  251. define KernelPackage/rt2800-soc
  252. $(call KernelPackage/rt2x00/Default)
  253. DEPENDS += @(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620) +kmod-rt2800-mmio +kmod-rt2800-lib
  254. TITLE += (RT28xx/RT3xxx SoC)
  255. FILES := \
  256. $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00soc.ko \
  257. $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800soc.ko
  258. AUTOLOAD:=$(call AutoProbe,rt2800soc)
  259. endef
  260. config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
  261. config-y:= \
  262. WLAN \
  263. NL80211_TESTMODE \
  264. CFG80211_WEXT \
  265. CFG80211_INTERNAL_REGDB \
  266. CFG80211_CERTIFICATION_ONUS \
  267. MAC80211_RC_MINSTREL \
  268. MAC80211_RC_MINSTREL_HT \
  269. MAC80211_RC_MINSTREL_VHT \
  270. MAC80211_RC_DEFAULT_MINSTREL \
  271. WLAN_VENDOR_ADMTEK \
  272. WLAN_VENDOR_ATH \
  273. WLAN_VENDOR_ATMEL \
  274. WLAN_VENDOR_INTEL \
  275. WLAN_VENDOR_INTERSIL \
  276. WLAN_VENDOR_MARVELL \
  277. WLAN_VENDOR_MEDIATEK \
  278. WLAN_VENDOR_RALINK \
  279. WLAN_VENDOR_REALTEK \
  280. WLAN_VENDOR_RSI \
  281. WLAN_VENDOR_ST \
  282. WLAN_VENDOR_TI \
  283. WLAN_VENDOR_ZYDAS \
  284. config-$(call config_package,cfg80211) += CFG80211
  285. config-$(call config_package,mac80211) += MAC80211
  286. config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
  287. ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
  288. config-y += \
  289. CFG80211_DEBUGFS \
  290. MAC80211_DEBUGFS \
  291. ATH9K_DEBUGFS \
  292. ATH9K_HTC_DEBUGFS \
  293. CARL9170_DEBUGFS \
  294. ATH5K_DEBUG
  295. endif
  296. ifdef CONFIG_PACKAGE_MAC80211_TRACING
  297. config-y += \
  298. ATH6KL_TRACING \
  299. ATH_TRACEPOINTS \
  300. WIL6210_TRACING \
  301. ATH5K_TRACER \
  302. IWLWIFI_DEVICE_TRACING
  303. endif
  304. config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
  305. config-$(call config_package,airo) += AIRO
  306. config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
  307. config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH9K_STATION_STATISTICS
  308. config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED
  309. config-$(call config_package,ath9k) += ATH9K
  310. config-$(call config_package,ath9k-common) += ATH9K_COMMON
  311. config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
  312. config-$(CONFIG_PCI) += ATH9K_PCI
  313. config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
  314. config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
  315. config-$(CONFIG_ATH9K_TX99) += ATH9K_TX99
  316. config-$(CONFIG_ATH9K_UBNTHSR) += ATH9K_UBNTHSR
  317. config-$(call config_package,ath9k-htc) += ATH9K_HTC
  318. config-$(call config_package,ath5k) += ATH5K
  319. ifdef CONFIG_TARGET_ath25
  320. config-y += ATH5K_AHB
  321. else
  322. config-y += ATH5K_PCI
  323. endif
  324. config-$(call config_package,carl9170) += CARL9170
  325. config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
  326. config-$(call config_package,rt2800-lib) += RT2800_LIB
  327. config-$(call config_package,rt2800-soc) += RT2800SOC
  328. config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS
  329. MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
  330. CROSS_COMPILE="$(KERNEL_CROSS)" \
  331. ARCH="$(LINUX_KARCH)" \
  332. EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include $(IREMAP_CFLAGS)" \
  333. KLIB_BUILD="$(LINUX_DIR)" \
  334. MODPROBE=true \
  335. KLIB=$(TARGET_MODULES_DIR) \
  336. KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
  337. KBUILD_LDFLAGS_MODULE_PREREQ=
  338. ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
  339. MAKE_OPTS += V=1
  340. endif
  341. define ConfigVars
  342. $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
  343. ))
  344. endef
  345. define mac80211_config
  346. $(call ConfigVars,m)$(call ConfigVars,y)
  347. endef
  348. $(eval $(call shexport,mac80211_config))
  349. define Build/Prepare
  350. rm -rf $(PKG_BUILD_DIR)
  351. mkdir -p $(PKG_BUILD_DIR)
  352. $(PKG_UNPACK)
  353. $(Build/Patch)
  354. rm -rf \
  355. $(PKG_BUILD_DIR)/include/linux/ssb \
  356. $(PKG_BUILD_DIR)/include/linux/bcma \
  357. $(PKG_BUILD_DIR)/include/net/bluetooth
  358. rm -f \
  359. $(PKG_BUILD_DIR)/include/linux/cordic.h \
  360. $(PKG_BUILD_DIR)/include/linux/crc8.h \
  361. $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
  362. $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
  363. $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
  364. $(PKG_BUILD_DIR)/include/net/ieee80211.h \
  365. $(PKG_BUILD_DIR)/backport-include/linux/bcm47xx_nvram.h
  366. echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version
  367. $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
  368. endef
  369. ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
  370. define Build/Compile/kmod
  371. rm -rf $(PKG_BUILD_DIR)/modules
  372. +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
  373. endef
  374. endif
  375. define Build/Configure
  376. cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
  377. cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
  378. endef
  379. define Build/Compile
  380. $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
  381. $(MAKE) $(MAKE_OPTS) allnoconfig
  382. $(call Build/Compile/kmod)
  383. endef
  384. define Build/InstallDev
  385. mkdir -p \
  386. $(1)/usr/include/mac80211 \
  387. $(1)/usr/include/mac80211-backport \
  388. $(1)/usr/include/mac80211/ath \
  389. $(1)/usr/include/net/mac80211
  390. $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
  391. $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
  392. $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
  393. $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
  394. rm -f $(1)/usr/include/mac80211-backport/linux/module.h
  395. endef
  396. define KernelPackage/cfg80211/install
  397. $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
  398. $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
  399. $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
  400. $(INSTALL_DIR) $(1)/etc/hotplug.d/ieee80211
  401. $(INSTALL_DATA) ./files/mac80211.hotplug $(1)/etc/hotplug.d/ieee80211/00-wifi-detect
  402. endef
  403. $(eval $(call KernelPackage,ath))
  404. $(eval $(call KernelPackage,ath5k))
  405. $(eval $(call KernelPackage,ath9k))
  406. $(eval $(call KernelPackage,ath9k-common))
  407. $(eval $(call KernelPackage,ath9k-htc))
  408. $(eval $(call KernelPackage,carl9170))
  409. $(eval $(call KernelPackage,cfg80211))
  410. $(eval $(call KernelPackage,lib80211))
  411. $(eval $(call KernelPackage,mac80211))
  412. $(eval $(call KernelPackage,mac80211-hwsim))
  413. $(eval $(call KernelPackage,rt2800-lib))
  414. $(eval $(call KernelPackage,rt2800-mmio))
  415. $(eval $(call KernelPackage,rt2800-soc))