Makefile 57 KB

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