Makefile 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816
  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-01-10
  11. PKG_RELEASE:=1
  12. PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
  13. PKG_BACKPORT_VERSION:=
  14. PKG_MD5SUM:=be5fae2e8d6f7490f9b073374fb895ba
  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 <[email protected]>
  19. PKG_DRIVERS = \
  20. adm8211 \
  21. ath ath5k ath9k ath9k-common ath9k-htc ath10k \
  22. b43 b43legacy \
  23. carl9170 \
  24. hermes hermes-pci hermes-pcmcia hermes-plx\
  25. iwl-legacy iwl3945 iwl4965 iwlwifi \
  26. lib80211 \
  27. libipw ipw2100 ipw2200 \
  28. libertas-sdio libertas-usb \
  29. mac80211-hwsim \
  30. mt7601u \
  31. mwl8k mwifiex-pcie \
  32. p54-common p54-pci p54-spi p54-usb \
  33. rt2x00-lib rt2x00-pci rt2x00-usb \
  34. rt2400-pci rt2500-pci rt2500-usb \
  35. rt2800-lib rt2800-mmio rt2800-pci rt2800-soc rt2800-usb \
  36. rt61-pci rt73-usb \
  37. rtl8180 rtl8187 \
  38. rtlwifi rtlwifi-pci rtlwifi-usb rtl8192c-common rtl8192ce rtl8192se \
  39. rtl8192de rtl8192cu \
  40. rtl8xxxu \
  41. wlcore wl12xx wl18xx \
  42. zd1211rw
  43. PKG_CONFIG_DEPENDS:= \
  44. CONFIG_PACKAGE_kmod-mac80211 \
  45. $(patsubst %,CONFIG_PACKAGE_kmod-%,$(PKG_DRIVERS)) \
  46. CONFIG_PACKAGE_MAC80211_DEBUGFS \
  47. CONFIG_PACKAGE_MAC80211_MESH \
  48. CONFIG_PACKAGE_ATH_DEBUG \
  49. CONFIG_PACKAGE_ATH_DFS \
  50. CONFIG_PACKAGE_B43_DEBUG \
  51. CONFIG_PACKAGE_B43_PIO \
  52. CONFIG_PACKAGE_B43_PHY_G \
  53. CONFIG_PACKAGE_B43_PHY_N \
  54. CONFIG_PACKAGE_B43_PHY_LP \
  55. CONFIG_PACKAGE_B43_PHY_HT \
  56. CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB \
  57. CONFIG_PACKAGE_B43_BUSES_BCMA \
  58. CONFIG_PACKAGE_B43_BUSES_SSB \
  59. CONFIG_PACKAGE_RTLWIFI_DEBUG \
  60. CONFIG_ATH_USER_REGD \
  61. include $(INCLUDE_DIR)/package.mk
  62. WMENU:=Wireless Drivers
  63. define KernelPackage/mac80211/Default
  64. SUBMENU:=$(WMENU)
  65. URL:=https://wireless.wiki.kernel.org/
  66. MAINTAINER:=Felix Fietkau <[email protected]>
  67. endef
  68. define KernelPackage/cfg80211
  69. $(call KernelPackage/mac80211/Default)
  70. TITLE:=cfg80211 - wireless configuration API
  71. DEPENDS+= +iw
  72. FILES:= \
  73. $(PKG_BUILD_DIR)/compat/compat.ko \
  74. $(PKG_BUILD_DIR)/net/wireless/cfg80211.ko
  75. endef
  76. define KernelPackage/cfg80211/description
  77. cfg80211 is the Linux wireless LAN (802.11) configuration API.
  78. endef
  79. define KernelPackage/mac80211
  80. $(call KernelPackage/mac80211/Default)
  81. TITLE:=Linux 802.11 Wireless Networking Stack
  82. DEPENDS+= +kmod-cfg80211 +hostapd-common
  83. KCONFIG:=\
  84. CONFIG_AVERAGE=y
  85. FILES:= $(PKG_BUILD_DIR)/net/mac80211/mac80211.ko
  86. MENU:=1
  87. endef
  88. define KernelPackage/mac80211/config
  89. if PACKAGE_kmod-mac80211
  90. config PACKAGE_MAC80211_DEBUGFS
  91. bool "Export mac80211 internals in DebugFS"
  92. select KERNEL_DEBUG_FS
  93. default y
  94. help
  95. Select this to see extensive information about
  96. the internal state of mac80211 in debugfs.
  97. config PACKAGE_MAC80211_TRACING
  98. bool "Enable tracing (mac80211 and supported drivers)"
  99. select KERNEL_FTRACE
  100. select KERNEL_ENABLE_DEFAULT_TRACERS
  101. default n
  102. help
  103. Select this to enable tracing of mac80211 and
  104. related wifi drivers (using trace-cmd).
  105. config PACKAGE_MAC80211_MESH
  106. bool "Enable 802.11s mesh support"
  107. default y
  108. endif
  109. endef
  110. define KernelPackage/mac80211/description
  111. Generic IEEE 802.11 Networking Stack (mac80211)
  112. endef
  113. define KernelPackage/adm8211
  114. $(call KernelPackage/mac80211/Default)
  115. TITLE:=ADMTek 8211 support
  116. DEPENDS+=@PCI_SUPPORT +kmod-mac80211 +kmod-eeprom-93cx6
  117. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/admtek/adm8211.ko
  118. AUTOLOAD:=$(call AutoProbe,adm8211)
  119. endef
  120. define KernelPackage/ath/config
  121. if PACKAGE_kmod-ath
  122. config ATH_USER_REGD
  123. bool "Force Atheros drivers to respect the user's regdomain settings"
  124. help
  125. Atheros' idea of regulatory handling is that the EEPROM of the card defines
  126. the regulatory limits and the user is only allowed to restrict the settings
  127. even further, even if the country allows frequencies or power levels that
  128. are forbidden by the EEPROM settings.
  129. Select this option if you want the driver to respect the user's decision about
  130. regulatory settings.
  131. config PACKAGE_ATH_DEBUG
  132. bool "Atheros wireless debugging"
  133. help
  134. Say Y, if you want to debug atheros wireless drivers.
  135. Only ath9k & ath10k make use of this.
  136. config PACKAGE_ATH_DFS
  137. bool "Enable DFS support"
  138. default y
  139. help
  140. Dynamic frequency selection (DFS) is required for most of the 5 GHz band
  141. channels in Europe, US, and Japan.
  142. Select this option if you want to use such channels.
  143. endif
  144. endef
  145. define KernelPackage/ath
  146. $(call KernelPackage/mac80211/Default)
  147. TITLE:=Atheros common driver part
  148. DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_ath25 +kmod-mac80211
  149. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
  150. MENU:=1
  151. endef
  152. define KernelPackage/ath/description
  153. This module contains some common parts needed by Atheros Wireless drivers.
  154. endef
  155. define KernelPackage/ath5k
  156. $(call KernelPackage/mac80211/Default)
  157. TITLE:=Atheros 5xxx wireless cards support
  158. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath5k
  159. DEPENDS+= @PCI_SUPPORT||@TARGET_ath25 +kmod-ath
  160. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
  161. AUTOLOAD:=$(call AutoProbe,ath5k)
  162. endef
  163. define KernelPackage/ath5k/description
  164. This module adds support for wireless adapters based on
  165. Atheros 5xxx chipset.
  166. endef
  167. define KernelPackage/ath9k-common
  168. $(call KernelPackage/mac80211/Default)
  169. TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
  170. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
  171. DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT +@KERNEL_RELAY
  172. FILES:= \
  173. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
  174. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
  175. endef
  176. define KernelPackage/ath9k
  177. $(call KernelPackage/mac80211/Default)
  178. TITLE:=Atheros 802.11n PCI wireless cards support
  179. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
  180. DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath9k-common
  181. FILES:= \
  182. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko
  183. AUTOLOAD:=$(call AutoProbe,ath9k)
  184. endef
  185. define KernelPackage/ath9k/description
  186. This module adds support for wireless adapters based on
  187. Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
  188. endef
  189. define KernelPackage/ath9k/config
  190. config ATH9K_SUPPORT_PCOEM
  191. bool "Support chips used in PC OEM cards"
  192. depends on PACKAGE_kmod-ath9k
  193. endef
  194. define KernelPackage/ath9k-htc
  195. $(call KernelPackage/mac80211/Default)
  196. TITLE:=Atheros 802.11n USB device support
  197. URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
  198. DEPENDS+= @USB_SUPPORT +kmod-ath9k-common +kmod-usb-core +ath9k-htc-firmware
  199. FILES:= \
  200. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
  201. AUTOLOAD:=$(call AutoProbe,ath9k_htc)
  202. endef
  203. define KernelPackage/ath9k-htc/description
  204. This module adds support for wireless adapters based on
  205. Atheros USB AR9271 and AR7010 family of chipsets.
  206. endef
  207. define KernelPackage/ath10k
  208. $(call KernelPackage/mac80211/Default)
  209. TITLE:=Atheros 802.11ac wireless cards support
  210. URL:=https://wireless.wiki.kernel.org/en/users/Drivers/ath10k
  211. DEPENDS+= @PCI_SUPPORT +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT +@KERNEL_RELAY
  212. FILES:= \
  213. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_core.ko \
  214. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
  215. AUTOLOAD:=$(call AutoLoad,55,ath10k_core ath10k_pci)
  216. endef
  217. define KernelPackage/ath10k/description
  218. This module adds support for wireless adapters based on
  219. Atheros IEEE 802.11ac family of chipsets. For now only
  220. PCI is supported.
  221. endef
  222. #Broadcom firmware
  223. ifneq ($(CONFIG_B43_FW_6_30),)
  224. PKG_B43_FWV4_NAME:=broadcom-wl
  225. PKG_B43_FWV4_VERSION:=6.30.163.46
  226. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).wl_apsta.o
  227. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
  228. PKG_B43_FWV4_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
  229. PKG_B43_FWV4_MD5SUM:=6fe97e9368d25342a1ab943d3cf3496d
  230. else
  231. ifneq ($(CONFIG_B43_FW_5_10),)
  232. PKG_B43_FWV4_NAME:=broadcom-wl
  233. PKG_B43_FWV4_VERSION:=5.10.56.27.3
  234. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/driver/wl_apsta/wl_prebuilt.o
  235. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)_mipsel.tar.bz2
  236. PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
  237. PKG_B43_FWV4_MD5SUM:=3363e3a6b3d9d73c49dea870c7834eac
  238. else
  239. ifneq ($(CONFIG_B43_FW_4_178),)
  240. PKG_B43_FWV4_NAME:=broadcom-wl
  241. PKG_B43_FWV4_VERSION:=4.178.10.4
  242. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/linux/wl_apsta.o
  243. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
  244. PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
  245. PKG_B43_FWV4_MD5SUM:=14477e8cbbb91b11896affac9b219fdb
  246. else
  247. ifneq ($(CONFIG_B43_FW_5_100_138),)
  248. PKG_B43_FWV4_NAME:=broadcom-wl
  249. PKG_B43_FWV4_VERSION:=5.100.138
  250. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/linux/wl_apsta.o
  251. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
  252. PKG_B43_FWV4_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
  253. PKG_B43_FWV4_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
  254. else
  255. PKG_B43_FWV4_NAME:=broadcom-wl
  256. PKG_B43_FWV4_VERSION:=4.150.10.5
  257. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/driver/wl_apsta_mimo.o
  258. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
  259. PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
  260. PKG_B43_FWV4_MD5SUM:=0c6ba9687114c6b598e8019e262d9a60
  261. endif
  262. endif
  263. endif
  264. endif
  265. ifneq ($(CONFIG_B43_OPENFIRMWARE),)
  266. PKG_B43_FWV4_NAME:=broadcom-wl
  267. PKG_B43_FWV4_VERSION:=5.2
  268. PKG_B43_FWV4_OBJECT:=openfwwf-$(PKG_B43_FWV4_VERSION)
  269. PKG_B43_FWV4_SOURCE:=openfwwf-$(PKG_B43_FWV4_VERSION).tar.gz
  270. PKG_B43_FWV4_SOURCE_URL:=http://www.ing.unibs.it/openfwwf/firmware/
  271. PKG_B43_FWV4_MD5SUM:=e045a135453274e439ae183f8498b0fa
  272. endif
  273. define Download/b43
  274. FILE:=$(PKG_B43_FWV4_SOURCE)
  275. URL:=$(PKG_B43_FWV4_SOURCE_URL)
  276. MD5SUM:=$(PKG_B43_FWV4_MD5SUM)
  277. endef
  278. $(eval $(call Download,b43))
  279. define KernelPackage/b43
  280. $(call KernelPackage/mac80211/Default)
  281. TITLE:=Broadcom 43xx wireless support
  282. URL:=https://wireless.wiki.kernel.org/en/users/drivers/b43
  283. KCONFIG:= \
  284. CONFIG_HW_RANDOM=y
  285. # Depend on PCI_SUPPORT to make sure we can select kmod-bcma or kmod-ssb
  286. DEPENDS += \
  287. @PCI_SUPPORT +kmod-mac80211 \
  288. $(if $(CONFIG_PACKAGE_B43_USE_SSB),+kmod-ssb) \
  289. $(if $(CONFIG_PACKAGE_B43_USE_BCMA),+kmod-bcma)
  290. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/b43/b43.ko
  291. AUTOLOAD:=$(call AutoProbe,b43)
  292. MENU:=1
  293. endef
  294. define KernelPackage/b43/config
  295. config PACKAGE_B43_USE_SSB
  296. select PACKAGE_kmod-ssb
  297. tristate
  298. depends on !TARGET_brcm47xx && !TARGET_brcm63xx
  299. default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
  300. default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_SSB
  301. config PACKAGE_B43_USE_BCMA
  302. select PACKAGE_kmod-bcma
  303. tristate
  304. depends on !TARGET_brcm47xx && !TARGET_bcm53xx
  305. default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
  306. default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA
  307. if PACKAGE_kmod-b43
  308. choice
  309. prompt "b43 firmware version"
  310. default B43_FW_5_100_138
  311. help
  312. This option allows you to select the version of the b43 firmware.
  313. config B43_FW_4_150
  314. bool "Firmware 410.2160 from driver 4.150.10.5 (old stable)"
  315. help
  316. Old stable firmware for BCM43xx devices.
  317. If unsure, select this.
  318. config B43_FW_4_178
  319. bool "Firmware 478.104 from driver 4.178.10.4"
  320. help
  321. Older firmware for BCM43xx devices.
  322. If unsure, select the "stable" firmware.
  323. config B43_FW_5_10
  324. bool "Firmware 508.1084 from driver 5.10.56.27"
  325. help
  326. Older firmware for BCM43xx devices.
  327. If unsure, select the "stable" firmware.
  328. config B43_FW_5_100_138
  329. bool "Firmware 666.2 from driver 5.100.138 (stable)"
  330. help
  331. The currently default firmware for BCM43xx devices.
  332. This firmware currently gets most of the testing and is needed for some N-PHY devices.
  333. If unsure, select the this firmware.
  334. config B43_FW_6_30
  335. bool "Firmware 784.2 from driver 6.30.163.46 (experimental)"
  336. help
  337. Newer experimental firmware for BCM43xx devices.
  338. This firmware is mostly untested.
  339. If unsure, select the "stable" firmware.
  340. config B43_OPENFIRMWARE
  341. bool "Open FirmWare for WiFi networks"
  342. help
  343. Opensource firmware for BCM43xx devices.
  344. Do _not_ select this, unless you know what you are doing.
  345. The Opensource firmware is not suitable for embedded devices, yet.
  346. It does not support QoS, which is bad for AccessPoints.
  347. It does not support hardware crypto acceleration, which is a showstopper
  348. for embedded devices with low CPU resources.
  349. If unsure, select the "stable" firmware.
  350. endchoice
  351. config B43_FW_SQUASH
  352. bool "Remove unnecessary firmware files"
  353. depends on !B43_OPENFIRMWARE
  354. default y
  355. help
  356. This options allows you to remove unnecessary b43 firmware files
  357. from the final rootfs image. This can reduce the rootfs size by
  358. up to 200k.
  359. If unsure, say Y.
  360. config B43_FW_SQUASH_COREREVS
  361. string "Core revisions to include"
  362. depends on B43_FW_SQUASH
  363. default "5,6,7,8,9,10,11,13,15" if TARGET_brcm47xx_legacy
  364. default "16,28,29,30" if TARGET_brcm47xx_mips74k
  365. default "5,6,7,8,9,10,11,13,15,16,28,29,30"
  366. help
  367. This is a comma seperated list of core revision numbers.
  368. Example (keep files for rev5 only):
  369. 5
  370. Example (keep files for rev5 and rev11):
  371. 5,11
  372. config B43_FW_SQUASH_PHYTYPES
  373. string "PHY types to include"
  374. depends on B43_FW_SQUASH
  375. default "G,N,LP" if TARGET_brcm47xx_legacy
  376. default "N,HT" if TARGET_brcm47xx_mips74k
  377. default "G,N,LP,HT"
  378. help
  379. This is a comma seperated list of PHY types:
  380. A => A-PHY
  381. AG => Dual A-PHY G-PHY
  382. G => G-PHY
  383. LP => LP-PHY
  384. N => N-PHY
  385. HT => HT-PHY
  386. LCN => LCN-PHY
  387. LCN40 => LCN40-PHY
  388. AC => AC-PHY
  389. Example (keep files for G-PHY only):
  390. G
  391. Example (keep files for G-PHY and N-PHY):
  392. G,N
  393. choice
  394. prompt "Supported buses"
  395. default PACKAGE_B43_BUSES_BCMA_AND_SSB
  396. help
  397. This allows choosing buses that b43 should support.
  398. config PACKAGE_B43_BUSES_BCMA_AND_SSB
  399. depends on !TARGET_brcm47xx_legacy && !TARGET_brcm47xx_mips74k && !TARGET_bcm53xx
  400. bool "BCMA and SSB"
  401. config PACKAGE_B43_BUSES_BCMA
  402. depends on !TARGET_brcm47xx_legacy
  403. bool "BCMA only"
  404. config PACKAGE_B43_BUSES_SSB
  405. depends on !TARGET_brcm47xx_mips74k && !TARGET_bcm53xx
  406. bool "SSB only"
  407. endchoice
  408. config PACKAGE_B43_DEBUG
  409. bool "Enable debug output and debugfs for b43"
  410. default n
  411. help
  412. Enable additional debug output and runtime sanity checks for b43
  413. and enables the debugfs interface.
  414. If unsure, say N.
  415. config PACKAGE_B43_PIO
  416. bool "Enable support for PIO transfer mode"
  417. default n
  418. help
  419. Enable support for using PIO instead of DMA. Unless you have DMA
  420. transfer problems you don't need this.
  421. If unsure, say N.
  422. config PACKAGE_B43_PHY_G
  423. bool "Enable support for G-PHYs"
  424. default n if TARGET_brcm47xx_mips74k
  425. default y
  426. help
  427. Enable support for G-PHY. This includes support for the following devices:
  428. PCI: BCM4306, BCM4311, BCM4318
  429. SoC: BCM5352E, BCM4712
  430. If unsure, say Y.
  431. config PACKAGE_B43_PHY_N
  432. bool "Enable support for N-PHYs"
  433. default y
  434. help
  435. Enable support for N-PHY. This includes support for the following devices:
  436. PCI: BCM4321, BCM4322, BCM43222, BCM43224, BCM43225
  437. SoC: BCM4716, BCM4717, BCM4718
  438. Currently only 11g speed is available.
  439. If unsure, say Y.
  440. config PACKAGE_B43_PHY_LP
  441. bool "Enable support for LP-PHYs"
  442. default n if TARGET_brcm47xx_mips74k
  443. default y
  444. help
  445. Enable support for LP-PHY. This includes support for the following devices:
  446. PCI: BCM4312
  447. SoC: BCM5354
  448. If unsure, say Y.
  449. config PACKAGE_B43_PHY_HT
  450. bool "Enable support for HT-PHYs"
  451. default n if TARGET_brcm47xx_legacy
  452. default y
  453. help
  454. Enable support for HT-PHY. This includes support for the following devices:
  455. PCI: BCM4331
  456. Currently only 11g speed is available.
  457. If unsure, say Y.
  458. config PACKAGE_B43_PHY_LCN
  459. bool "Enable support for LCN-PHYs"
  460. depends on BROKEN
  461. default n
  462. help
  463. Currently broken.
  464. If unsure, say N.
  465. endif
  466. endef
  467. define KernelPackage/b43/description
  468. Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
  469. endef
  470. define KernelPackage/b43legacy
  471. $(call KernelPackage/mac80211/Default)
  472. TITLE:=Broadcom 43xx-legacy wireless support
  473. URL:=https://wireless.wiki.kernel.org/en/users/drivers/b43
  474. KCONFIG:= \
  475. CONFIG_HW_RANDOM=y
  476. DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb +b43legacy-firmware
  477. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko
  478. AUTOLOAD:=$(call AutoProbe,b43legacy)
  479. MENU:=1
  480. endef
  481. define KernelPackage/b43legacy/description
  482. Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
  483. endef
  484. define KernelPackage/brcmutil
  485. $(call KernelPackage/mac80211/Default)
  486. TITLE:=Broadcom IEEE802.11n common driver parts
  487. URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
  488. DEPENDS+=@PCI_SUPPORT||USB_SUPPORT
  489. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko
  490. AUTOLOAD:=$(call AutoProbe,brcmutil)
  491. MENU:=1
  492. endef
  493. define KernelPackage/brcmutil/description
  494. This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
  495. endef
  496. define KernelPackage/brcmutil/config
  497. if PACKAGE_kmod-brcmutil
  498. config PACKAGE_BRCM80211_DEBUG
  499. bool "Broadcom wireless driver debugging"
  500. help
  501. Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
  502. endif
  503. endef
  504. PKG_BRCMSMAC_FW_NAME:=broadcom-wl
  505. PKG_BRCMSMAC_FW_VERSION:=5.100.138
  506. PKG_BRCMSMAC_FW_OBJECT:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION)/linux/wl_apsta.o
  507. PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.bz2
  508. PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
  509. PKG_BRCMSMAC_FW_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
  510. define Download/brcmsmac
  511. FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
  512. URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
  513. MD5SUM:=$(PKG_BRCMSMAC_FW_MD5SUM)
  514. endef
  515. $(eval $(call Download,brcmsmac))
  516. define KernelPackage/brcmsmac
  517. $(call KernelPackage/mac80211/Default)
  518. TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
  519. URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
  520. DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil +!BRCMSMAC_USE_FW_FROM_WL:brcmsmac-firmware
  521. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko
  522. AUTOLOAD:=$(call AutoProbe,brcmsmac)
  523. MENU:=1
  524. endef
  525. define KernelPackage/brcmsmac/description
  526. Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
  527. endef
  528. define KernelPackage/brcmsmac/config
  529. if PACKAGE_kmod-brcmsmac
  530. config BRCMSMAC_USE_FW_FROM_WL
  531. bool "Use firmware extracted from broadcom proprietary driver"
  532. default y
  533. help
  534. Instead of using the official brcmsmac firmware a firmware
  535. version 666.2 extracted from the proprietary Broadcom driver
  536. is used. This is needed to get core rev 17 used in bcm4716
  537. to work.
  538. If unsure, say Y.
  539. endif
  540. endef
  541. define KernelPackage/brcmfmac
  542. $(call KernelPackage/mac80211/Default)
  543. TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
  544. URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
  545. DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil \
  546. +BRCMFMAC_PCIE:brcmfmac-firmware-pcie \
  547. +BRCMFMAC_SDIO:kmod-mmc +BRCMFMAC_SDIO:brcmfmac-firmware-sdio \
  548. +BRCMFMAC_USB:kmod-usb-core +BRCMFMAC_USB:brcmfmac-firmware-usb
  549. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
  550. AUTOLOAD:=$(call AutoProbe,brcmfmac)
  551. endef
  552. define KernelPackage/brcmfmac/description
  553. Kernel module for Broadcom IEEE802.11n USB Wireless cards
  554. endef
  555. define KernelPackage/brcmfmac/config
  556. if PACKAGE_kmod-brcmfmac
  557. config BRCMFMAC_SDIO
  558. bool "Enable SDIO bus interface support"
  559. default n
  560. help
  561. Enable support for cards attached to an SDIO bus.
  562. Select this option only if you are sure that your
  563. board has a Broadcom wireless chip atacched to
  564. that bus.
  565. config BRCMFMAC_USB
  566. bool "Enable USB bus interface support"
  567. depends on USB_SUPPORT
  568. default y
  569. help
  570. Supported USB connected chipsets:
  571. BCM43235, BCM43236, BCM43238 (all in revision 3 only)
  572. BCM43143, BCM43242, BCM43566, BCM43569
  573. config BRCMFMAC_PCIE
  574. bool "Enable PCIE bus interface support"
  575. depends on PCI_SUPPORT
  576. default y
  577. help
  578. Supported PCIe connected chipsets:
  579. BCM4354, BCM4356, BCM43567, BCM43570, BCM43602
  580. endif
  581. endef
  582. define KernelPackage/carl9170
  583. $(call KernelPackage/mac80211/Default)
  584. TITLE:=Driver for Atheros AR9170 USB sticks
  585. DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core +@DRIVER_11N_SUPPORT +carl9170-firmware
  586. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/carl9170/carl9170.ko
  587. AUTOLOAD:=$(call AutoProbe,carl9170)
  588. endef
  589. define KernelPackage/hermes
  590. $(call KernelPackage/mac80211/Default)
  591. TITLE:=Hermes 802.11b chipset support
  592. DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT +kmod-crypto-michael-mic
  593. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco.ko
  594. AUTOLOAD:=$(call AutoProbe,orinoco)
  595. endef
  596. define KernelPackage/hermes/description
  597. Kernel support for Hermes 802.11b chipsets
  598. endef
  599. define KernelPackage/hermes-pci
  600. $(call KernelPackage/mac80211/Default)
  601. TITLE:=Intersil Prism 2.5 PCI support
  602. DEPENDS:=@PCI_SUPPORT +kmod-hermes
  603. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_pci.ko
  604. AUTOLOAD:=$(call AutoProbe,orinoco_pci)
  605. endef
  606. define KernelPackage/hermes-pci/description
  607. Kernel modules for Intersil Prism 2.5 PCI support
  608. endef
  609. define KernelPackage/hermes-plx
  610. $(call KernelPackage/mac80211/Default)
  611. TITLE:=PLX9052 based PCI adaptor
  612. DEPENDS:=@PCI_SUPPORT +kmod-hermes
  613. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_plx.ko
  614. AUTOLOAD:=$(call AutoProbe,orinoco_plx)
  615. endef
  616. define KernelPackage/hermes-plx/description
  617. Kernel modules for Hermes in PLX9052 based PCI adaptors
  618. endef
  619. define KernelPackage/hermes-pcmcia
  620. $(call KernelPackage/mac80211/Default)
  621. TITLE:=Hermes based PCMCIA adaptors
  622. DEPENDS:=@PCMCIA_SUPPORT +kmod-hermes @BROKEN
  623. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_cs.ko
  624. AUTOLOAD:=$(call AutoProbe,orinoco_cs)
  625. endef
  626. define KernelPackage/hermes-pcmcia/description
  627. Kernel modules for Hermes based PCMCIA adaptors
  628. endef
  629. define KernelPackage/iwlwifi
  630. $(call KernelPackage/mac80211/Default)
  631. DEPENDS:= +kmod-mac80211 @PCI_SUPPORT +@DRIVER_11N_SUPPORT +iwlwifi-firmware
  632. TITLE:=Intel AGN Wireless support
  633. FILES:= \
  634. $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \
  635. $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko \
  636. $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
  637. AUTOLOAD:=$(call AutoProbe,iwlwifi iwldvm iwlmvm)
  638. MENU:=1
  639. endef
  640. define KernelPackage/iwlwifi/description
  641. iwlwifi kernel module for
  642. Intel Wireless WiFi Link 6250AGN Adapter
  643. Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
  644. Intel WiFi Link 1000BGN
  645. Intel Wireless WiFi 5150AGN
  646. Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
  647. Intel 6005 Series Wi-Fi Adapters
  648. Intel 6030 Series Wi-Fi Adapters
  649. Intel Wireless WiFi Link 6150BGN 2 Adapter
  650. Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
  651. Intel 2000 Series Wi-Fi Adapters
  652. Intel 7260 Wi-Fi Adapter
  653. Intel 3160 Wi-Fi Adapter
  654. Intel 7265 Wi-Fi Adapter
  655. Intel 8260 Wi-Fi Adapter
  656. Intel 3165 Wi-Fi Adapter
  657. endef
  658. define KernelPackage/iwlwifi/config
  659. if PACKAGE_kmod-iwlwifi
  660. config PACKAGE_IWLWIFI_DEBUG
  661. bool "Enable full debugging output in the iwlwifi driver"
  662. default n
  663. help
  664. This option will enable debug tracing output for the iwlwifi drivers
  665. This will result in the kernel module being ~100k larger. You can
  666. control which debug output is sent to the kernel log by setting the
  667. value in
  668. /sys/module/iwlwifi/parameters/debug
  669. This entry will only exist if this option is enabled.
  670. To set a value, simply echo an 8-byte hex value to the same file:
  671. % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
  672. You can find the list of debug mask values in:
  673. drivers/net/wireless/intel/iwlwifi/iwl-debug.h
  674. If this is your first time using this driver, you should say Y here
  675. as the debug information can assist others in helping you resolve
  676. any problems you may encounter.
  677. config PACKAGE_IWLWIFI_DEBUGFS
  678. bool "iwlwifi debugfs support"
  679. depends on PACKAGE_MAC80211_DEBUGFS
  680. default n
  681. help
  682. Enable creation of debugfs files for the iwlwifi drivers. This
  683. is a low-impact option that allows getting insight into the
  684. driver's state at runtime.
  685. endif
  686. endef
  687. define KernelPackage/iwl-legacy
  688. $(call KernelPackage/mac80211/Default)
  689. DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
  690. TITLE:=Intel legacy Wireless support
  691. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwlegacy.ko
  692. AUTOLOAD:=$(call AutoProbe,iwlegacy)
  693. endef
  694. define KernelPackage/iwl-legacy/description
  695. iwl-legacy kernel module for legacy Intel wireless support
  696. endef
  697. define KernelPackage/iwl3945
  698. $(call KernelPackage/mac80211/Default)
  699. DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +iwl3945-firmware
  700. TITLE:=Intel iwl3945 Wireless support
  701. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl3945.ko
  702. AUTOLOAD:=$(call AutoProbe,iwl3945)
  703. endef
  704. define KernelPackage/iwl3945/description
  705. iwl3945 kernel module for Intel 3945 support
  706. endef
  707. define KernelPackage/iwl4965
  708. $(call KernelPackage/mac80211/Default)
  709. DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +@DRIVER_11N_SUPPORT +iwl4965-firmware
  710. TITLE:=Intel iwl4965 Wireless support
  711. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl4965.ko
  712. AUTOLOAD:=$(call AutoProbe,iwl4965)
  713. endef
  714. define KernelPackage/iwl4965/description
  715. iwl4965 kernel module for Intel 4965 support
  716. endef
  717. define KernelPackage/lib80211
  718. $(call KernelPackage/mac80211/Default)
  719. TITLE:=802.11 Networking stack
  720. DEPENDS:=+kmod-cfg80211
  721. FILES:= \
  722. $(PKG_BUILD_DIR)/net/wireless/lib80211.ko \
  723. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_wep.ko \
  724. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_ccmp.ko \
  725. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_tkip.ko
  726. AUTOLOAD:=$(call AutoProbe, \
  727. lib80211 \
  728. lib80211_crypt_wep \
  729. lib80211_crypt_ccmp \
  730. lib80211_crypt_tkip \
  731. )
  732. endef
  733. define KernelPackage/lib80211/description
  734. Kernel modules for 802.11 Networking stack
  735. Includes:
  736. - lib80211
  737. - lib80211_crypt_wep
  738. - lib80211_crypt_tkip
  739. - lib80211_crytp_ccmp
  740. endef
  741. define KernelPackage/libipw
  742. $(call KernelPackage/mac80211/Default)
  743. TITLE:=libipw for ipw2100 and ipw2200
  744. DEPENDS:=@PCI_SUPPORT +kmod-crypto-michael-mic +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT @!BIG_ENDIAN
  745. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/libipw.ko
  746. AUTOLOAD:=$(call AutoProbe,libipw)
  747. endef
  748. define KernelPackage/libipw/description
  749. Hardware independent IEEE 802.11 networking stack for ipw2100 and ipw2200.
  750. endef
  751. IPW2100_NAME:=ipw2100-fw
  752. IPW2100_VERSION:=1.3
  753. define Download/ipw2100
  754. URL:=http://bughost.org/firmware/
  755. FILE:=$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
  756. MD5SUM=46aa75bcda1a00efa841f9707bbbd113
  757. endef
  758. $(eval $(call Download,ipw2100))
  759. define KernelPackage/ipw2100
  760. $(call KernelPackage/mac80211/Default)
  761. TITLE:=Intel IPW2100 driver
  762. DEPENDS:=@PCI_SUPPORT +kmod-libipw
  763. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2100.ko
  764. AUTOLOAD:=$(call AutoProbe,ipw2100)
  765. endef
  766. define KernelPackage/ipw2100/description
  767. Kernel support for Intel IPW2100
  768. Includes:
  769. - ipw2100
  770. endef
  771. IPW2200_NAME:=ipw2200-fw
  772. IPW2200_VERSION:=3.1
  773. define Download/ipw2200
  774. URL:=http://bughost.org/firmware/
  775. FILE:=$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
  776. MD5SUM=eaba788643c7cc7483dd67ace70f6e99
  777. endef
  778. $(eval $(call Download,ipw2200))
  779. define KernelPackage/ipw2200
  780. $(call KernelPackage/mac80211/Default)
  781. TITLE:=Intel IPW2200 driver
  782. DEPENDS:=@PCI_SUPPORT +kmod-libipw
  783. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2200.ko
  784. AUTOLOAD:=$(call AutoProbe,ipw2200)
  785. endef
  786. define KernelPackage/ipw2200/description
  787. Kernel support for Intel IPW2200
  788. Includes:
  789. - ipw2200
  790. endef
  791. define KernelPackage/libertas-usb
  792. $(call KernelPackage/mac80211/Default)
  793. DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 +@DRIVER_WEXT_SUPPORT +libertas-usb-firmware
  794. TITLE:=Marvell 88W8015 Wireless Driver
  795. FILES:= \
  796. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
  797. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/usb8xxx.ko
  798. AUTOLOAD:=$(call AutoProbe,libertas usb8xxx)
  799. endef
  800. define KernelPackage/libertas-sdio
  801. $(call KernelPackage/mac80211/Default)
  802. DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware
  803. TITLE:=Marvell 88W8686 Wireless Driver
  804. FILES:= \
  805. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
  806. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_sdio.ko
  807. AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio)
  808. endef
  809. define KernelPackage/mac80211-hwsim
  810. $(call KernelPackage/mac80211/Default)
  811. TITLE:=mac80211 HW simulation device
  812. DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT
  813. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.ko
  814. AUTOLOAD:=$(call AutoProbe,mac80211_hwsim)
  815. endef
  816. define KernelPackage/mt7601u
  817. $(call KernelPackage/mac80211/Default)
  818. TITLE:=MT7601U-based USB dongles Wireless Driver
  819. DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT @USB_SUPPORT +kmod-usb-core +mt7601u-firmware
  820. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mediatek/mt7601u/mt7601u.ko
  821. AUTOLOAD:=$(call AutoProbe,mt7601u)
  822. endef
  823. define KernelPackage/mwl8k
  824. $(call KernelPackage/mac80211/Default)
  825. TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
  826. URL:=http://wireless.kernel.org/en/users/Drivers/mwl8k
  827. DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwl8k-firmware
  828. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwl8k.ko
  829. AUTOLOAD:=$(call AutoProbe,mwl8k)
  830. endef
  831. define KernelPackage/mwl8k/description
  832. Kernel modules for Marvell TOPDOG 802.11 Wireless cards
  833. endef
  834. define KernelPackage/mwifiex-pcie
  835. $(call KernelPackage/mac80211/Default)
  836. TITLE:=Driver for Marvell 802.11n/802.11ac PCIe Wireless cards
  837. URL:=http://wireless.kernel.org/en/users/Drivers/mwifiex
  838. DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwifiex-pcie-firmware
  839. FILES:= \
  840. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
  841. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_pcie.ko
  842. AUTOLOAD:=$(call AutoProbe,mwifiex_pcie)
  843. endef
  844. define KernelPackage/mwifiex-pcie/description
  845. Kernel modules for Marvell 802.11n/802.11ac PCIe Wireless cards
  846. endef
  847. # Prism54 drivers
  848. P54PCIFW:=2.13.12.0.arm
  849. P54USBFW:=2.13.24.0.lm87.arm
  850. P54SPIFW:=2.13.0.0.a.13.14.arm
  851. define Download/p54usb
  852. FILE:=$(P54USBFW)
  853. URL:=http://daemonizer.de/prism54/prism54-fw/fw-usb
  854. MD5SUM:=8e8ab005a4f8f0123bcdc51bc25b47f6
  855. endef
  856. $(eval $(call Download,p54usb))
  857. define Download/p54pci
  858. FILE:=$(P54PCIFW)
  859. URL:=http://daemonizer.de/prism54/prism54-fw/fw-softmac
  860. MD5SUM:=ff7536af2092b1c4b21315bd103ef4c4
  861. endef
  862. $(eval $(call Download,p54pci))
  863. define Download/p54spi
  864. FILE:=$(P54SPIFW)
  865. URL:=http://daemonizer.de/prism54/prism54-fw/stlc4560
  866. MD5SUM:=42661f8ecbadd88012807493f596081d
  867. endef
  868. $(eval $(call Download,p54spi))
  869. define KernelPackage/p54/Default
  870. $(call KernelPackage/mac80211/Default)
  871. TITLE:=Prism54 Drivers
  872. endef
  873. define KernelPackage/p54/description
  874. Kernel module for Prism54 chipsets (mac80211)
  875. endef
  876. define KernelPackage/p54-common
  877. $(call KernelPackage/p54/Default)
  878. DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt
  879. TITLE+= (COMMON)
  880. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54common.ko
  881. endef
  882. define KernelPackage/p54-pci
  883. $(call KernelPackage/p54/Default)
  884. TITLE+= (PCI)
  885. DEPENDS+= @PCI_SUPPORT +kmod-p54-common
  886. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54pci.ko
  887. AUTOLOAD:=$(call AutoProbe,p54pci)
  888. endef
  889. define KernelPackage/p54-usb
  890. $(call KernelPackage/p54/Default)
  891. TITLE+= (USB)
  892. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-p54-common
  893. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54usb.ko
  894. AUTOLOAD:=$(call AutoProbe,p54usb)
  895. endef
  896. define KernelPackage/p54-spi
  897. $(call KernelPackage/p54/Default)
  898. TITLE+= (SPI)
  899. DEPENDS+= @TARGET_omap24xx +kmod-p54-common
  900. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54spi.ko
  901. AUTOLOAD:=$(call AutoProbe,p54spi)
  902. endef
  903. define KernelPackage/rt2x00/Default
  904. $(call KernelPackage/mac80211/Default)
  905. TITLE:=Ralink Drivers for RT2x00 cards
  906. endef
  907. define KernelPackage/rt2x00-lib
  908. $(call KernelPackage/rt2x00/Default)
  909. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-mac80211 +kmod-lib-crc-itu-t
  910. TITLE+= (LIB)
  911. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
  912. MENU:=1
  913. endef
  914. define KernelPackage/rt2x00-lib/config
  915. if PACKAGE_kmod-rt2x00-lib
  916. config PACKAGE_RT2X00_LIB_DEBUGFS
  917. bool "Enable rt2x00 debugfs support"
  918. depends on PACKAGE_MAC80211_DEBUGFS
  919. help
  920. Enable creation of debugfs files for the rt2x00 drivers.
  921. These debugfs files support both reading and writing of the
  922. most important register types of the rt2x00 hardware.
  923. config PACKAGE_RT2X00_DEBUG
  924. bool "Enable rt2x00 debug output"
  925. help
  926. Enable debugging output for all rt2x00 modules
  927. endif
  928. endef
  929. define KernelPackage/rt2x00-mmio
  930. $(call KernelPackage/rt2x00/Default)
  931. DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6
  932. HIDDEN:=1
  933. TITLE+= (MMIO)
  934. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.ko
  935. endef
  936. define KernelPackage/rt2x00-pci
  937. $(call KernelPackage/rt2x00/Default)
  938. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib
  939. HIDDEN:=1
  940. TITLE+= (PCI)
  941. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko
  942. AUTOLOAD:=$(call AutoProbe,rt2x00pci)
  943. endef
  944. define KernelPackage/rt2x00-usb
  945. $(call KernelPackage/rt2x00/Default)
  946. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core
  947. HIDDEN:=1
  948. TITLE+= (USB)
  949. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
  950. AUTOLOAD:=$(call AutoProbe,rt2x00usb)
  951. endef
  952. define KernelPackage/rt2800-lib
  953. $(call KernelPackage/rt2x00/Default)
  954. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-lib-crc-ccitt +@DRIVER_11N_SUPPORT
  955. HIDDEN:=1
  956. TITLE+= (rt2800 LIB)
  957. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
  958. endef
  959. define KernelPackage/rt2400-pci
  960. $(call KernelPackage/rt2x00/Default)
  961. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
  962. TITLE+= (RT2400 PCI)
  963. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2400pci.ko
  964. AUTOLOAD:=$(call AutoProbe,rt2400pci)
  965. endef
  966. define KernelPackage/rt2500-pci
  967. $(call KernelPackage/rt2x00/Default)
  968. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
  969. TITLE+= (RT2500 PCI)
  970. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500pci.ko
  971. AUTOLOAD:=$(call AutoProbe,rt2500pci)
  972. endef
  973. define KernelPackage/rt2500-usb
  974. $(call KernelPackage/rt2x00/Default)
  975. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
  976. TITLE+= (RT2500 USB)
  977. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500usb.ko
  978. AUTOLOAD:=$(call AutoProbe,rt2500usb)
  979. endef
  980. define KernelPackage/rt2800-mmio
  981. $(call KernelPackage/rt2x00/Default)
  982. TITLE += (RT28xx/RT3xxx MMIO)
  983. DEPENDS += +kmod-rt2800-lib +kmod-rt2x00-mmio
  984. HIDDEN:=1
  985. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko
  986. endef
  987. define KernelPackage/rt2800-soc
  988. $(call KernelPackage/rt2x00/Default)
  989. DEPENDS += @(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620) +kmod-rt2800-mmio +kmod-rt2800-lib
  990. TITLE += (RT28xx/RT3xxx SoC)
  991. FILES := \
  992. $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00soc.ko \
  993. $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800soc.ko
  994. AUTOLOAD:=$(call AutoProbe,rt2800soc)
  995. endef
  996. define KernelPackage/rt2800-pci
  997. $(call KernelPackage/rt2x00/Default)
  998. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +kmod-rt2800-lib +kmod-rt2800-mmio +rt2800-pci-firmware
  999. TITLE+= (RT2860 PCI)
  1000. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800pci.ko
  1001. AUTOLOAD:=$(call AutoProbe,rt2800pci)
  1002. endef
  1003. define KernelPackage/rt2800-usb
  1004. $(call KernelPackage/rt2x00/Default)
  1005. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-rt2800-lib +kmod-lib-crc-ccitt +rt2800-usb-firmware
  1006. TITLE+= (RT2870 USB)
  1007. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
  1008. AUTOLOAD:=$(call AutoProbe,rt2800usb)
  1009. endef
  1010. define KernelPackage/rt61-pci
  1011. $(call KernelPackage/rt2x00/Default)
  1012. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +rt61-pci-firmware
  1013. TITLE+= (RT2x61 PCI)
  1014. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt61pci.ko
  1015. AUTOLOAD:=$(call AutoProbe,rt61pci)
  1016. endef
  1017. define KernelPackage/rt73-usb
  1018. $(call KernelPackage/rt2x00/Default)
  1019. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +rt73-usb-firmware
  1020. TITLE+= (RT73 USB)
  1021. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt73usb.ko
  1022. AUTOLOAD:=$(call AutoProbe,rt73usb)
  1023. endef
  1024. define KernelPackage/rtl818x/Default
  1025. $(call KernelPackage/mac80211/Default)
  1026. TITLE:=Realtek Drivers for RTL818x devices
  1027. URL:=http://wireless.kernel.org/en/users/Drivers/rtl8187
  1028. DEPENDS+= +kmod-eeprom-93cx6 +kmod-mac80211
  1029. endef
  1030. define KernelPackage/rtl8180
  1031. $(call KernelPackage/rtl818x/Default)
  1032. DEPENDS+= @PCI_SUPPORT
  1033. TITLE+= (RTL8180 PCI)
  1034. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl818x_pci.ko
  1035. AUTOLOAD:=$(call AutoProbe,rtl818x_pci)
  1036. endef
  1037. define KernelPackage/rtl8187
  1038. $(call KernelPackage/rtl818x/Default)
  1039. DEPENDS+= @USB_SUPPORT +kmod-usb-core
  1040. TITLE+= (RTL8187 USB)
  1041. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.ko
  1042. AUTOLOAD:=$(call AutoProbe,rtl8187)
  1043. endef
  1044. define KernelPackage/rtlwifi/config
  1045. config PACKAGE_RTLWIFI_DEBUG
  1046. bool "Realtek wireless debugging"
  1047. depends on PACKAGE_kmod-rtlwifi
  1048. help
  1049. Say Y, if you want to debug realtek wireless drivers.
  1050. endef
  1051. define KernelPackage/rtlwifi
  1052. $(call KernelPackage/mac80211/Default)
  1053. TITLE:=Realtek common driver part
  1054. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT
  1055. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
  1056. HIDDEN:=1
  1057. endef
  1058. define KernelPackage/rtlwifi-pci
  1059. $(call KernelPackage/mac80211/Default)
  1060. TITLE:=Realtek common driver part (PCI support)
  1061. DEPENDS+= @PCI_SUPPORT +kmod-rtlwifi
  1062. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko
  1063. AUTOLOAD:=$(call AutoProbe,rtl_pci)
  1064. HIDDEN:=1
  1065. endef
  1066. define KernelPackage/rtlwifi-usb
  1067. $(call KernelPackage/mac80211/Default)
  1068. TITLE:=Realtek common driver part (USB support)
  1069. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-rtlwifi
  1070. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
  1071. AUTOLOAD:=$(call AutoProbe,rtl_usb)
  1072. HIDDEN:=1
  1073. endef
  1074. define KernelPackage/rtl8192c-common
  1075. $(call KernelPackage/mac80211/Default)
  1076. TITLE:=Realtek RTL8192CE/RTL8192CU common support module
  1077. DEPENDS+= +kmod-rtlwifi
  1078. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko
  1079. HIDDEN:=1
  1080. endef
  1081. define KernelPackage/rtl8192ce
  1082. $(call KernelPackage/mac80211/Default)
  1083. TITLE:=Realtek RTL8192CE/RTL8188CE support
  1084. DEPENDS+= +kmod-rtlwifi-pci +kmod-rtl8192c-common +rtl8192ce-firmware
  1085. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rtl8192ce.ko
  1086. AUTOLOAD:=$(call AutoProbe,rtl8192ce)
  1087. endef
  1088. define KernelPackage/rtl8192se
  1089. $(call KernelPackage/mac80211/Default)
  1090. TITLE:=Realtek RTL8192SE/RTL8191SE support
  1091. DEPENDS+= +kmod-rtlwifi-pci +rtl8192se-firmware
  1092. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192se/rtl8192se.ko
  1093. AUTOLOAD:=$(call AutoProbe,rtl8192se)
  1094. endef
  1095. define KernelPackage/rtl8192de
  1096. $(call KernelPackage/mac80211/Default)
  1097. TITLE:=Realtek RTL8192DE/RTL8188DE support
  1098. DEPENDS+= +kmod-rtlwifi-pci +rtl8192de-firmware
  1099. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192de/rtl8192de.ko
  1100. AUTOLOAD:=$(call AutoProbe,rtl8192de)
  1101. endef
  1102. define KernelPackage/rtl8192cu
  1103. $(call KernelPackage/mac80211/Default)
  1104. TITLE:=Realtek RTL8192CU/RTL8188CU support
  1105. DEPENDS+= +kmod-rtlwifi-usb +kmod-rtl8192c-common +rtl8192cu-firmware
  1106. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
  1107. AUTOLOAD:=$(call AutoProbe,rtl8192cu)
  1108. endef
  1109. define KernelPackage/rtl8xxxu
  1110. $(call KernelPackage/mac80211/Default)
  1111. TITLE:=alternative Realtek RTL8XXXU support
  1112. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
  1113. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko
  1114. AUTOLOAD:=$(call AutoProbe,rtl8xxxu)
  1115. endef
  1116. define KernelPackage/rtl8xxxu/description
  1117. This is an alternative driver for various Realtek RTL8XXX
  1118. parts written to utilize the Linux mac80211 stack.
  1119. The driver is known to work with a number of RTL8723AU,
  1120. RL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU devices
  1121. This driver is under development and has a limited feature
  1122. set. In particular it does not yet support 40MHz channels
  1123. and power management. However it should have a smaller
  1124. memory footprint than the vendor drivers and benetifs
  1125. from the in kernel mac80211 stack.
  1126. It can coexist with drivers from drivers/staging/rtl8723au,
  1127. drivers/staging/rtl8192u, and drivers/net/wireless/rtlwifi,
  1128. but you will need to control which module you wish to load.
  1129. RTL8XXXU_UNTESTED is enabled
  1130. This option enables detection of Realtek 8723/8188/8191/8192 WiFi
  1131. USB devices which have not been tested directly by the driver
  1132. author or reported to be working by third parties.
  1133. Please report your results!
  1134. endef
  1135. define KernelPackage/wlcore
  1136. $(call KernelPackage/mac80211/Default)
  1137. TITLE:=TI common driver part
  1138. DEPENDS+= @TARGET_omap +kmod-mac80211 +@DRIVER_11N_SUPPORT
  1139. FILES:= \
  1140. $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
  1141. $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
  1142. AUTOLOAD:=$(call AutoProbe,wlcore wlcore_sdio)
  1143. endef
  1144. define KernelPackage/wlcore/description
  1145. This module contains some common parts needed by TI Wireless drivers.
  1146. endef
  1147. define KernelPackage/wl12xx
  1148. $(call KernelPackage/mac80211/Default)
  1149. TITLE:=Driver for TI WL12xx
  1150. URL:=http://wireless.kernel.org/en/users/Drivers/wl12xx
  1151. DEPENDS+= +kmod-wlcore +wl12xx-firmware
  1152. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl12xx/wl12xx.ko
  1153. AUTOLOAD:=$(call AutoProbe,wl12xx)
  1154. endef
  1155. define KernelPackage/wl12xx/description
  1156. Kernel modules for TI WL12xx
  1157. endef
  1158. define KernelPackage/wl18xx
  1159. $(call KernelPackage/mac80211/Default)
  1160. TITLE:=Driver for TI WL18xx
  1161. URL:=http://wireless.kernel.org/en/users/Drivers/wl18xx
  1162. DEPENDS+= +kmod-wlcore +wl18xx-firmware
  1163. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl18xx/wl18xx.ko
  1164. AUTOLOAD:=$(call AutoProbe,wl18xx)
  1165. endef
  1166. define KernelPackage/wl18xx/description
  1167. Kernel modules for TI WL18xx
  1168. endef
  1169. ZD1211FW_NAME:=zd1211-firmware
  1170. ZD1211FW_VERSION:=1.4
  1171. define Download/zd1211rw
  1172. FILE:=$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
  1173. URL:=@SF/zd1211/
  1174. MD5SUM:=19f28781d76569af8551c9d11294c870
  1175. endef
  1176. $(eval $(call Download,zd1211rw))
  1177. define KernelPackage/zd1211rw
  1178. $(call KernelPackage/mac80211/Default)
  1179. TITLE:=Zydas ZD1211 support
  1180. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
  1181. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zydas/zd1211rw/zd1211rw.ko
  1182. AUTOLOAD:=$(call AutoProbe,zd1211rw)
  1183. endef
  1184. config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
  1185. config-y:= \
  1186. WLAN \
  1187. NL80211_TESTMODE \
  1188. CFG80211_WEXT \
  1189. CFG80211_INTERNAL_REGDB \
  1190. CFG80211_CERTIFICATION_ONUS \
  1191. MAC80211_RC_MINSTREL \
  1192. MAC80211_RC_MINSTREL_HT \
  1193. MAC80211_RC_MINSTREL_VHT \
  1194. MAC80211_RC_DEFAULT_MINSTREL \
  1195. WLAN_VENDOR_ADMTEK \
  1196. WLAN_VENDOR_ATH \
  1197. WLAN_VENDOR_ATMEL \
  1198. WLAN_VENDOR_BROADCOM \
  1199. WLAN_VENDOR_INTEL \
  1200. WLAN_VENDOR_INTERSIL \
  1201. WLAN_VENDOR_MARVELL \
  1202. WLAN_VENDOR_MEDIATEK \
  1203. WLAN_VENDOR_RALINK \
  1204. WLAN_VENDOR_REALTEK \
  1205. WLAN_VENDOR_RSI \
  1206. WLAN_VENDOR_ST \
  1207. WLAN_VENDOR_TI \
  1208. WLAN_VENDOR_ZYDAS \
  1209. config-$(call config_package,cfg80211) += CFG80211
  1210. config-$(call config_package,mac80211) += MAC80211
  1211. config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
  1212. ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
  1213. config-y += \
  1214. CFG80211_DEBUGFS \
  1215. MAC80211_DEBUGFS \
  1216. ATH9K_DEBUGFS \
  1217. ATH9K_HTC_DEBUGFS \
  1218. ATH10K_DEBUGFS \
  1219. CARL9170_DEBUGFS \
  1220. ATH5K_DEBUG
  1221. endif
  1222. ifdef CONFIG_PACKAGE_MAC80211_TRACING
  1223. config-y += \
  1224. ATH10K_TRACING \
  1225. ATH6KL_TRACING \
  1226. ATH_TRACEPOINTS \
  1227. WIL6210_TRACING \
  1228. ATH5K_TRACER \
  1229. IWLWIFI_DEVICE_TRACING
  1230. endif
  1231. config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
  1232. config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
  1233. config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
  1234. config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
  1235. config-$(call config_package,ath9k) += ATH9K
  1236. config-$(call config_package,ath9k-common) += ATH9K_COMMON
  1237. config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
  1238. config-$(CONFIG_PCI) += ATH9K_PCI
  1239. config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
  1240. config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
  1241. config-$(call config_package,ath9k-htc) += ATH9K_HTC
  1242. config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
  1243. config-$(call config_package,ath5k) += ATH5K
  1244. ifdef CONFIG_TARGET_ath25
  1245. config-y += ATH5K_AHB
  1246. else
  1247. config-y += ATH5K_PCI
  1248. endif
  1249. config-$(call config_package,carl9170) += CARL9170
  1250. config-$(call config_package,b43) += B43
  1251. config-$(CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB) += B43_BUSES_BCMA_AND_SSB
  1252. config-$(CONFIG_PACKAGE_B43_BUSES_BCMA) += B43_BUSES_BCMA
  1253. config-$(CONFIG_PACKAGE_B43_BUSES_SSB) += B43_BUSES_SSB
  1254. config-$(CONFIG_PACKAGE_B43_PHY_G) += B43_PHY_G
  1255. config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
  1256. config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
  1257. config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
  1258. config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
  1259. config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
  1260. config-$(call config_package,b43legacy) += B43LEGACY
  1261. config-y += B43LEGACY_DMA_MODE
  1262. config-$(call config_package,brcmutil) += BRCMUTIL
  1263. config-$(call config_package,brcmsmac) += BRCMSMAC
  1264. config-$(call config_package,brcmfmac) += BRCMFMAC
  1265. config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
  1266. config-$(CONFIG_BRCMFMAC_USB) += BRCMFMAC_USB
  1267. config-$(CONFIG_BRCMFMAC_PCIE) += BRCMFMAC_PCIE
  1268. config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
  1269. config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
  1270. config-$(call config_package,mt7601u) += MT7601U
  1271. config-y += WL_MEDIATEK
  1272. config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
  1273. config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
  1274. config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
  1275. config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
  1276. config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
  1277. config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
  1278. config-$(call config_package,rt2400-pci) += RT2400PCI
  1279. config-$(call config_package,rt2500-pci) += RT2500PCI
  1280. config-$(call config_package,rt2500-usb) += RT2500USB
  1281. config-$(call config_package,rt61-pci) += RT61PCI
  1282. config-$(call config_package,rt73-usb) += RT73USB
  1283. config-$(call config_package,rt2800-lib) += RT2800_LIB
  1284. config-$(call config_package,rt2800-soc) += RT2800SOC
  1285. config-$(call config_package,rt2800-pci) += RT2800PCI
  1286. config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
  1287. config-$(call config_package,rt2800-usb) += RT2800USB
  1288. config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX RT2800USB_UNKNOWN
  1289. config-$(call config_package,iwl-legacy) += IWLEGACY
  1290. config-$(call config_package,iwl3945) += IWL3945
  1291. config-$(call config_package,iwl4965) += IWL4965
  1292. config-$(call config_package,iwlwifi) += IWLWIFI IWLDVM IWLMVM
  1293. config-$(CONFIG_PACKAGE_IWLWIFI_DEBUG)+= IWLWIFI_DEBUG
  1294. config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS
  1295. config-$(call config_package,libipw) += LIBIPW
  1296. config-$(call config_package,ipw2100) += IPW2100
  1297. config-$(call config_package,ipw2200) += IPW2200
  1298. config-$(call config_package,p54-common) += P54_COMMON
  1299. config-$(call config_package,p54-pci) += P54_PCI
  1300. config-$(call config_package,p54-usb) += P54_USB
  1301. config-$(call config_package,p54-spi) += P54_SPI
  1302. config-$(call config_package,hermes) += HERMES
  1303. config-$(call config_package,hermes-pci) += PCI_HERMES
  1304. config-$(call config_package,hermes-plx) += PLX_HERMES
  1305. config-$(call config_package,hermes-pcmcia) += PCMCIA_HERMES
  1306. config-y += HERMES_PRISM
  1307. config-$(call config_package,adm8211) += ADM8211
  1308. config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
  1309. config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
  1310. config-$(call config_package,mwl8k) += MWL8K
  1311. config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
  1312. config-$(call config_package,rtl8180) += RTL8180
  1313. config-$(call config_package,rtl8187) += RTL8187
  1314. config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
  1315. config-$(call config_package,wl12xx) += WL12XX
  1316. config-$(call config_package,wl18xx) += WL18XX
  1317. config-y += WL_TI WILINK_PLATFORM_DATA
  1318. config-$(call config_package,zd1211rw) += ZD1211RW
  1319. config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
  1320. config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
  1321. config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
  1322. config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
  1323. config-$(call config_package,rtl8192ce) += RTL8192CE
  1324. config-$(call config_package,rtl8192se) += RTL8192SE
  1325. config-$(call config_package,rtl8192de) += RTL8192DE
  1326. config-$(call config_package,rtl8192cu) += RTL8192CU
  1327. config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
  1328. config-$(call config_package,rtl8xxxu) += RTL8XXXU
  1329. config-y += RTL8XXXU_UNTESTED
  1330. config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
  1331. MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
  1332. CROSS_COMPILE="$(KERNEL_CROSS)" \
  1333. ARCH="$(LINUX_KARCH)" \
  1334. EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include $(IREMAP_CFLAGS)" \
  1335. KLIB_BUILD="$(LINUX_DIR)" \
  1336. MODPROBE=true \
  1337. KLIB=$(TARGET_MODULES_DIR) \
  1338. KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
  1339. KBUILD_LDFLAGS_MODULE_PREREQ=
  1340. ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
  1341. MAKE_OPTS += V=1
  1342. endif
  1343. define ConfigVars
  1344. $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
  1345. ))
  1346. endef
  1347. define mac80211_config
  1348. $(call ConfigVars,m)$(call ConfigVars,y)
  1349. endef
  1350. $(eval $(call shexport,mac80211_config))
  1351. define Build/Prepare
  1352. rm -rf $(PKG_BUILD_DIR)
  1353. mkdir -p $(PKG_BUILD_DIR)
  1354. $(PKG_UNPACK)
  1355. $(Build/Patch)
  1356. $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
  1357. $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
  1358. $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
  1359. rm -rf \
  1360. $(PKG_BUILD_DIR)/include/linux/ssb \
  1361. $(PKG_BUILD_DIR)/include/linux/bcma \
  1362. $(PKG_BUILD_DIR)/include/net/bluetooth
  1363. rm -f \
  1364. $(PKG_BUILD_DIR)/include/linux/cordic.h \
  1365. $(PKG_BUILD_DIR)/include/linux/crc8.h \
  1366. $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
  1367. $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
  1368. $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
  1369. $(PKG_BUILD_DIR)/include/net/ieee80211.h \
  1370. $(PKG_BUILD_DIR)/backport-include/linux/bcm47xx_nvram.h
  1371. echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version
  1372. $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
  1373. endef
  1374. ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
  1375. define Build/Compile/kmod
  1376. rm -rf $(PKG_BUILD_DIR)/modules
  1377. +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
  1378. endef
  1379. endif
  1380. define Build/Configure
  1381. cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
  1382. cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
  1383. cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
  1384. endef
  1385. define Build/Compile
  1386. $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
  1387. $(MAKE) $(MAKE_OPTS) allnoconfig
  1388. $(call Build/Compile/kmod)
  1389. endef
  1390. define Build/InstallDev
  1391. mkdir -p \
  1392. $(1)/usr/include/mac80211 \
  1393. $(1)/usr/include/mac80211-backport \
  1394. $(1)/usr/include/mac80211/ath \
  1395. $(1)/usr/include/net/mac80211
  1396. $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
  1397. $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
  1398. $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
  1399. $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
  1400. rm -f $(1)/usr/include/mac80211-backport/linux/module.h
  1401. endef
  1402. define KernelPackage/b43/install
  1403. rm -rf $(1)/lib/firmware/
  1404. ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
  1405. tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1406. else
  1407. tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1408. endif
  1409. $(INSTALL_DIR) $(1)/lib/firmware/
  1410. ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
  1411. $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
  1412. $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
  1413. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
  1414. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
  1415. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
  1416. else
  1417. b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
  1418. endif
  1419. ifneq ($(CONFIG_B43_FW_SQUASH),)
  1420. b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
  1421. endif
  1422. endef
  1423. define KernelPackage/brcmsmac/install
  1424. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  1425. ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
  1426. tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1427. b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
  1428. endif
  1429. endef
  1430. define KernelPackage/cfg80211/install
  1431. $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
  1432. $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
  1433. $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
  1434. endef
  1435. define KernelPackage/ipw2100/install
  1436. $(INSTALL_DIR) $(1)/lib/firmware
  1437. $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
  1438. endef
  1439. define KernelPackage/ipw2200/install
  1440. $(INSTALL_DIR) $(1)/lib/firmware
  1441. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
  1442. endef
  1443. define KernelPackage/p54-pci/install
  1444. $(INSTALL_DIR) $(1)/lib/firmware
  1445. $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
  1446. endef
  1447. define KernelPackage/p54-usb/install
  1448. $(INSTALL_DIR) $(1)/lib/firmware
  1449. $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
  1450. endef
  1451. define KernelPackage/p54-spi/install
  1452. $(INSTALL_DIR) $(1)/lib/firmware
  1453. $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
  1454. endef
  1455. define KernelPackage/zd1211rw/install
  1456. $(INSTALL_DIR) $(1)/lib/firmware/zd1211
  1457. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
  1458. endef
  1459. $(eval $(call KernelPackage,adm8211))
  1460. $(eval $(call KernelPackage,ath))
  1461. $(eval $(call KernelPackage,ath10k))
  1462. $(eval $(call KernelPackage,ath5k))
  1463. $(eval $(call KernelPackage,ath9k))
  1464. $(eval $(call KernelPackage,ath9k-common))
  1465. $(eval $(call KernelPackage,ath9k-htc))
  1466. $(eval $(call KernelPackage,b43))
  1467. $(eval $(call KernelPackage,b43legacy))
  1468. $(eval $(call KernelPackage,brcmsmac))
  1469. $(eval $(call KernelPackage,brcmfmac))
  1470. $(eval $(call KernelPackage,brcmutil))
  1471. $(eval $(call KernelPackage,carl9170))
  1472. $(eval $(call KernelPackage,cfg80211))
  1473. $(eval $(call KernelPackage,hermes))
  1474. $(eval $(call KernelPackage,hermes-pci))
  1475. $(eval $(call KernelPackage,hermes-plx))
  1476. $(eval $(call KernelPackage,hermes-pcmcia))
  1477. $(eval $(call KernelPackage,iwlwifi))
  1478. $(eval $(call KernelPackage,iwl-legacy))
  1479. $(eval $(call KernelPackage,iwl4965))
  1480. $(eval $(call KernelPackage,iwl3945))
  1481. $(eval $(call KernelPackage,lib80211))
  1482. $(eval $(call KernelPackage,libertas-usb))
  1483. $(eval $(call KernelPackage,libertas-sdio))
  1484. $(eval $(call KernelPackage,libipw))
  1485. $(eval $(call KernelPackage,ipw2100))
  1486. $(eval $(call KernelPackage,ipw2200))
  1487. $(eval $(call KernelPackage,mac80211))
  1488. $(eval $(call KernelPackage,mac80211-hwsim))
  1489. $(eval $(call KernelPackage,mt7601u))
  1490. $(eval $(call KernelPackage,mwl8k))
  1491. $(eval $(call KernelPackage,mwifiex-pcie))
  1492. $(eval $(call KernelPackage,p54-common))
  1493. $(eval $(call KernelPackage,p54-pci))
  1494. $(eval $(call KernelPackage,p54-usb))
  1495. $(eval $(call KernelPackage,p54-spi))
  1496. $(eval $(call KernelPackage,rt2x00-lib))
  1497. $(eval $(call KernelPackage,rt2x00-mmio))
  1498. $(eval $(call KernelPackage,rt2x00-pci))
  1499. $(eval $(call KernelPackage,rt2x00-usb))
  1500. $(eval $(call KernelPackage,rt2800-lib))
  1501. $(eval $(call KernelPackage,rt2400-pci))
  1502. $(eval $(call KernelPackage,rt2500-pci))
  1503. $(eval $(call KernelPackage,rt2500-usb))
  1504. $(eval $(call KernelPackage,rt2800-mmio))
  1505. $(eval $(call KernelPackage,rt2800-soc))
  1506. $(eval $(call KernelPackage,rt2800-pci))
  1507. $(eval $(call KernelPackage,rt2800-usb))
  1508. $(eval $(call KernelPackage,rt61-pci))
  1509. $(eval $(call KernelPackage,rt73-usb))
  1510. $(eval $(call KernelPackage,rtl8180))
  1511. $(eval $(call KernelPackage,rtl8187))
  1512. $(eval $(call KernelPackage,rtlwifi))
  1513. $(eval $(call KernelPackage,rtlwifi-pci))
  1514. $(eval $(call KernelPackage,rtlwifi-usb))
  1515. $(eval $(call KernelPackage,rtl8192c-common))
  1516. $(eval $(call KernelPackage,rtl8192ce))
  1517. $(eval $(call KernelPackage,rtl8192se))
  1518. $(eval $(call KernelPackage,rtl8192de))
  1519. $(eval $(call KernelPackage,rtl8192cu))
  1520. $(eval $(call KernelPackage,rtl8xxxu))
  1521. $(eval $(call KernelPackage,wlcore))
  1522. $(eval $(call KernelPackage,wl12xx))
  1523. $(eval $(call KernelPackage,wl18xx))
  1524. $(eval $(call KernelPackage,zd1211rw))