Makefile 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832
  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 <nbd@openwrt.org>
  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 libertas-spi \
  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 <nbd@openwrt.org>
  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 +kmod-crypto-core +kmod-crypto-arc4
  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 +ath10k-firmware-qca988x
  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-crypto-core +kmod-crypto-arc4 +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/libertas-spi
  810. $(call KernelPackage/mac80211/Default)
  811. SUBMENU:=Wireless Drivers
  812. DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +@DRIVER_WEXT_SUPPORT +libertas-spi-firmware
  813. KCONFIG := \
  814. CONFIG_SPI=y \
  815. CONFIG_SPI_MASTER=y
  816. TITLE:=Marvell 88W8686 SPI Wireless Driver
  817. FILES:= \
  818. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
  819. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_spi.ko
  820. AUTOLOAD:=$(call AutoProbe,libertas libertas_spi)
  821. endef
  822. define KernelPackage/mac80211-hwsim
  823. $(call KernelPackage/mac80211/Default)
  824. TITLE:=mac80211 HW simulation device
  825. DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT
  826. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.ko
  827. AUTOLOAD:=$(call AutoProbe,mac80211_hwsim)
  828. endef
  829. define KernelPackage/mt7601u
  830. $(call KernelPackage/mac80211/Default)
  831. TITLE:=MT7601U-based USB dongles Wireless Driver
  832. DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT @USB_SUPPORT +kmod-usb-core +mt7601u-firmware
  833. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mediatek/mt7601u/mt7601u.ko
  834. AUTOLOAD:=$(call AutoProbe,mt7601u)
  835. endef
  836. define KernelPackage/mwl8k
  837. $(call KernelPackage/mac80211/Default)
  838. TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
  839. URL:=http://wireless.kernel.org/en/users/Drivers/mwl8k
  840. DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwl8k-firmware
  841. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwl8k.ko
  842. AUTOLOAD:=$(call AutoProbe,mwl8k)
  843. endef
  844. define KernelPackage/mwl8k/description
  845. Kernel modules for Marvell TOPDOG 802.11 Wireless cards
  846. endef
  847. define KernelPackage/mwifiex-pcie
  848. $(call KernelPackage/mac80211/Default)
  849. TITLE:=Driver for Marvell 802.11n/802.11ac PCIe Wireless cards
  850. URL:=http://wireless.kernel.org/en/users/Drivers/mwifiex
  851. DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwifiex-pcie-firmware
  852. FILES:= \
  853. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
  854. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_pcie.ko
  855. AUTOLOAD:=$(call AutoProbe,mwifiex_pcie)
  856. endef
  857. define KernelPackage/mwifiex-pcie/description
  858. Kernel modules for Marvell 802.11n/802.11ac PCIe Wireless cards
  859. endef
  860. # Prism54 drivers
  861. P54PCIFW:=2.13.12.0.arm
  862. P54USBFW:=2.13.24.0.lm87.arm
  863. P54SPIFW:=2.13.0.0.a.13.14.arm
  864. define Download/p54usb
  865. FILE:=$(P54USBFW)
  866. URL:=http://daemonizer.de/prism54/prism54-fw/fw-usb
  867. MD5SUM:=8e8ab005a4f8f0123bcdc51bc25b47f6
  868. endef
  869. $(eval $(call Download,p54usb))
  870. define Download/p54pci
  871. FILE:=$(P54PCIFW)
  872. URL:=http://daemonizer.de/prism54/prism54-fw/fw-softmac
  873. MD5SUM:=ff7536af2092b1c4b21315bd103ef4c4
  874. endef
  875. $(eval $(call Download,p54pci))
  876. define Download/p54spi
  877. FILE:=$(P54SPIFW)
  878. URL:=http://daemonizer.de/prism54/prism54-fw/stlc4560
  879. MD5SUM:=42661f8ecbadd88012807493f596081d
  880. endef
  881. $(eval $(call Download,p54spi))
  882. define KernelPackage/p54/Default
  883. $(call KernelPackage/mac80211/Default)
  884. TITLE:=Prism54 Drivers
  885. endef
  886. define KernelPackage/p54/description
  887. Kernel module for Prism54 chipsets (mac80211)
  888. endef
  889. define KernelPackage/p54-common
  890. $(call KernelPackage/p54/Default)
  891. DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt
  892. TITLE+= (COMMON)
  893. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54common.ko
  894. endef
  895. define KernelPackage/p54-pci
  896. $(call KernelPackage/p54/Default)
  897. TITLE+= (PCI)
  898. DEPENDS+= @PCI_SUPPORT +kmod-p54-common
  899. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54pci.ko
  900. AUTOLOAD:=$(call AutoProbe,p54pci)
  901. endef
  902. define KernelPackage/p54-usb
  903. $(call KernelPackage/p54/Default)
  904. TITLE+= (USB)
  905. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-p54-common
  906. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54usb.ko
  907. AUTOLOAD:=$(call AutoProbe,p54usb)
  908. endef
  909. define KernelPackage/p54-spi
  910. $(call KernelPackage/p54/Default)
  911. TITLE+= (SPI)
  912. DEPENDS+= @TARGET_omap24xx +kmod-p54-common
  913. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54spi.ko
  914. AUTOLOAD:=$(call AutoProbe,p54spi)
  915. endef
  916. define KernelPackage/rt2x00/Default
  917. $(call KernelPackage/mac80211/Default)
  918. TITLE:=Ralink Drivers for RT2x00 cards
  919. endef
  920. define KernelPackage/rt2x00-lib
  921. $(call KernelPackage/rt2x00/Default)
  922. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-mac80211 +kmod-lib-crc-itu-t
  923. TITLE+= (LIB)
  924. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
  925. MENU:=1
  926. endef
  927. define KernelPackage/rt2x00-lib/config
  928. if PACKAGE_kmod-rt2x00-lib
  929. config PACKAGE_RT2X00_LIB_DEBUGFS
  930. bool "Enable rt2x00 debugfs support"
  931. depends on PACKAGE_MAC80211_DEBUGFS
  932. help
  933. Enable creation of debugfs files for the rt2x00 drivers.
  934. These debugfs files support both reading and writing of the
  935. most important register types of the rt2x00 hardware.
  936. config PACKAGE_RT2X00_DEBUG
  937. bool "Enable rt2x00 debug output"
  938. help
  939. Enable debugging output for all rt2x00 modules
  940. endif
  941. endef
  942. define KernelPackage/rt2x00-mmio
  943. $(call KernelPackage/rt2x00/Default)
  944. DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6
  945. HIDDEN:=1
  946. TITLE+= (MMIO)
  947. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.ko
  948. endef
  949. define KernelPackage/rt2x00-pci
  950. $(call KernelPackage/rt2x00/Default)
  951. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib
  952. HIDDEN:=1
  953. TITLE+= (PCI)
  954. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko
  955. AUTOLOAD:=$(call AutoProbe,rt2x00pci)
  956. endef
  957. define KernelPackage/rt2x00-usb
  958. $(call KernelPackage/rt2x00/Default)
  959. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core
  960. HIDDEN:=1
  961. TITLE+= (USB)
  962. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
  963. AUTOLOAD:=$(call AutoProbe,rt2x00usb)
  964. endef
  965. define KernelPackage/rt2800-lib
  966. $(call KernelPackage/rt2x00/Default)
  967. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-lib-crc-ccitt +@DRIVER_11N_SUPPORT
  968. HIDDEN:=1
  969. TITLE+= (rt2800 LIB)
  970. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
  971. endef
  972. define KernelPackage/rt2400-pci
  973. $(call KernelPackage/rt2x00/Default)
  974. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
  975. TITLE+= (RT2400 PCI)
  976. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2400pci.ko
  977. AUTOLOAD:=$(call AutoProbe,rt2400pci)
  978. endef
  979. define KernelPackage/rt2500-pci
  980. $(call KernelPackage/rt2x00/Default)
  981. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
  982. TITLE+= (RT2500 PCI)
  983. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500pci.ko
  984. AUTOLOAD:=$(call AutoProbe,rt2500pci)
  985. endef
  986. define KernelPackage/rt2500-usb
  987. $(call KernelPackage/rt2x00/Default)
  988. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
  989. TITLE+= (RT2500 USB)
  990. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500usb.ko
  991. AUTOLOAD:=$(call AutoProbe,rt2500usb)
  992. endef
  993. define KernelPackage/rt2800-mmio
  994. $(call KernelPackage/rt2x00/Default)
  995. TITLE += (RT28xx/RT3xxx MMIO)
  996. DEPENDS += +kmod-rt2800-lib +kmod-rt2x00-mmio
  997. HIDDEN:=1
  998. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko
  999. endef
  1000. define KernelPackage/rt2800-soc
  1001. $(call KernelPackage/rt2x00/Default)
  1002. DEPENDS += @(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620) +kmod-rt2800-mmio +kmod-rt2800-lib
  1003. TITLE += (RT28xx/RT3xxx SoC)
  1004. FILES := \
  1005. $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00soc.ko \
  1006. $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800soc.ko
  1007. AUTOLOAD:=$(call AutoProbe,rt2800soc)
  1008. endef
  1009. define KernelPackage/rt2800-pci
  1010. $(call KernelPackage/rt2x00/Default)
  1011. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +kmod-rt2800-lib +kmod-rt2800-mmio +rt2800-pci-firmware
  1012. TITLE+= (RT2860 PCI)
  1013. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800pci.ko
  1014. AUTOLOAD:=$(call AutoProbe,rt2800pci)
  1015. endef
  1016. define KernelPackage/rt2800-usb
  1017. $(call KernelPackage/rt2x00/Default)
  1018. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-rt2800-lib +kmod-lib-crc-ccitt +rt2800-usb-firmware
  1019. TITLE+= (RT2870 USB)
  1020. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
  1021. AUTOLOAD:=$(call AutoProbe,rt2800usb)
  1022. endef
  1023. define KernelPackage/rt61-pci
  1024. $(call KernelPackage/rt2x00/Default)
  1025. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +rt61-pci-firmware
  1026. TITLE+= (RT2x61 PCI)
  1027. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt61pci.ko
  1028. AUTOLOAD:=$(call AutoProbe,rt61pci)
  1029. endef
  1030. define KernelPackage/rt73-usb
  1031. $(call KernelPackage/rt2x00/Default)
  1032. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +rt73-usb-firmware
  1033. TITLE+= (RT73 USB)
  1034. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt73usb.ko
  1035. AUTOLOAD:=$(call AutoProbe,rt73usb)
  1036. endef
  1037. define KernelPackage/rtl818x/Default
  1038. $(call KernelPackage/mac80211/Default)
  1039. TITLE:=Realtek Drivers for RTL818x devices
  1040. URL:=http://wireless.kernel.org/en/users/Drivers/rtl8187
  1041. DEPENDS+= +kmod-eeprom-93cx6 +kmod-mac80211
  1042. endef
  1043. define KernelPackage/rtl8180
  1044. $(call KernelPackage/rtl818x/Default)
  1045. DEPENDS+= @PCI_SUPPORT
  1046. TITLE+= (RTL8180 PCI)
  1047. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl818x_pci.ko
  1048. AUTOLOAD:=$(call AutoProbe,rtl818x_pci)
  1049. endef
  1050. define KernelPackage/rtl8187
  1051. $(call KernelPackage/rtl818x/Default)
  1052. DEPENDS+= @USB_SUPPORT +kmod-usb-core
  1053. TITLE+= (RTL8187 USB)
  1054. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.ko
  1055. AUTOLOAD:=$(call AutoProbe,rtl8187)
  1056. endef
  1057. define KernelPackage/rtlwifi/config
  1058. config PACKAGE_RTLWIFI_DEBUG
  1059. bool "Realtek wireless debugging"
  1060. depends on PACKAGE_kmod-rtlwifi
  1061. help
  1062. Say Y, if you want to debug realtek wireless drivers.
  1063. endef
  1064. define KernelPackage/rtlwifi
  1065. $(call KernelPackage/mac80211/Default)
  1066. TITLE:=Realtek common driver part
  1067. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT
  1068. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
  1069. HIDDEN:=1
  1070. endef
  1071. define KernelPackage/rtlwifi-pci
  1072. $(call KernelPackage/mac80211/Default)
  1073. TITLE:=Realtek common driver part (PCI support)
  1074. DEPENDS+= @PCI_SUPPORT +kmod-rtlwifi
  1075. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko
  1076. AUTOLOAD:=$(call AutoProbe,rtl_pci)
  1077. HIDDEN:=1
  1078. endef
  1079. define KernelPackage/rtlwifi-usb
  1080. $(call KernelPackage/mac80211/Default)
  1081. TITLE:=Realtek common driver part (USB support)
  1082. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-rtlwifi
  1083. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
  1084. AUTOLOAD:=$(call AutoProbe,rtl_usb)
  1085. HIDDEN:=1
  1086. endef
  1087. define KernelPackage/rtl8192c-common
  1088. $(call KernelPackage/mac80211/Default)
  1089. TITLE:=Realtek RTL8192CE/RTL8192CU common support module
  1090. DEPENDS+= +kmod-rtlwifi
  1091. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko
  1092. HIDDEN:=1
  1093. endef
  1094. define KernelPackage/rtl8192ce
  1095. $(call KernelPackage/mac80211/Default)
  1096. TITLE:=Realtek RTL8192CE/RTL8188CE support
  1097. DEPENDS+= +kmod-rtlwifi-pci +kmod-rtl8192c-common +rtl8192ce-firmware
  1098. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rtl8192ce.ko
  1099. AUTOLOAD:=$(call AutoProbe,rtl8192ce)
  1100. endef
  1101. define KernelPackage/rtl8192se
  1102. $(call KernelPackage/mac80211/Default)
  1103. TITLE:=Realtek RTL8192SE/RTL8191SE support
  1104. DEPENDS+= +kmod-rtlwifi-pci +rtl8192se-firmware
  1105. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192se/rtl8192se.ko
  1106. AUTOLOAD:=$(call AutoProbe,rtl8192se)
  1107. endef
  1108. define KernelPackage/rtl8192de
  1109. $(call KernelPackage/mac80211/Default)
  1110. TITLE:=Realtek RTL8192DE/RTL8188DE support
  1111. DEPENDS+= +kmod-rtlwifi-pci +rtl8192de-firmware
  1112. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192de/rtl8192de.ko
  1113. AUTOLOAD:=$(call AutoProbe,rtl8192de)
  1114. endef
  1115. define KernelPackage/rtl8192cu
  1116. $(call KernelPackage/mac80211/Default)
  1117. TITLE:=Realtek RTL8192CU/RTL8188CU support
  1118. DEPENDS+= +kmod-rtlwifi-usb +kmod-rtl8192c-common +rtl8192cu-firmware
  1119. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
  1120. AUTOLOAD:=$(call AutoProbe,rtl8192cu)
  1121. endef
  1122. define KernelPackage/rtl8xxxu
  1123. $(call KernelPackage/mac80211/Default)
  1124. TITLE:=alternative Realtek RTL8XXXU support
  1125. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
  1126. FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko
  1127. AUTOLOAD:=$(call AutoProbe,rtl8xxxu)
  1128. endef
  1129. define KernelPackage/rtl8xxxu/description
  1130. This is an alternative driver for various Realtek RTL8XXX
  1131. parts written to utilize the Linux mac80211 stack.
  1132. The driver is known to work with a number of RTL8723AU,
  1133. RL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU devices
  1134. This driver is under development and has a limited feature
  1135. set. In particular it does not yet support 40MHz channels
  1136. and power management. However it should have a smaller
  1137. memory footprint than the vendor drivers and benetifs
  1138. from the in kernel mac80211 stack.
  1139. It can coexist with drivers from drivers/staging/rtl8723au,
  1140. drivers/staging/rtl8192u, and drivers/net/wireless/rtlwifi,
  1141. but you will need to control which module you wish to load.
  1142. RTL8XXXU_UNTESTED is enabled
  1143. This option enables detection of Realtek 8723/8188/8191/8192 WiFi
  1144. USB devices which have not been tested directly by the driver
  1145. author or reported to be working by third parties.
  1146. Please report your results!
  1147. endef
  1148. define KernelPackage/wlcore
  1149. $(call KernelPackage/mac80211/Default)
  1150. TITLE:=TI common driver part
  1151. DEPENDS+= @TARGET_omap +kmod-mac80211 +@DRIVER_11N_SUPPORT
  1152. FILES:= \
  1153. $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
  1154. $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
  1155. AUTOLOAD:=$(call AutoProbe,wlcore wlcore_sdio)
  1156. endef
  1157. define KernelPackage/wlcore/description
  1158. This module contains some common parts needed by TI Wireless drivers.
  1159. endef
  1160. define KernelPackage/wl12xx
  1161. $(call KernelPackage/mac80211/Default)
  1162. TITLE:=Driver for TI WL12xx
  1163. URL:=http://wireless.kernel.org/en/users/Drivers/wl12xx
  1164. DEPENDS+= +kmod-wlcore +wl12xx-firmware
  1165. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl12xx/wl12xx.ko
  1166. AUTOLOAD:=$(call AutoProbe,wl12xx)
  1167. endef
  1168. define KernelPackage/wl12xx/description
  1169. Kernel modules for TI WL12xx
  1170. endef
  1171. define KernelPackage/wl18xx
  1172. $(call KernelPackage/mac80211/Default)
  1173. TITLE:=Driver for TI WL18xx
  1174. URL:=http://wireless.kernel.org/en/users/Drivers/wl18xx
  1175. DEPENDS+= +kmod-wlcore +wl18xx-firmware
  1176. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl18xx/wl18xx.ko
  1177. AUTOLOAD:=$(call AutoProbe,wl18xx)
  1178. endef
  1179. define KernelPackage/wl18xx/description
  1180. Kernel modules for TI WL18xx
  1181. endef
  1182. ZD1211FW_NAME:=zd1211-firmware
  1183. ZD1211FW_VERSION:=1.4
  1184. define Download/zd1211rw
  1185. FILE:=$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
  1186. URL:=@SF/zd1211/
  1187. MD5SUM:=19f28781d76569af8551c9d11294c870
  1188. endef
  1189. $(eval $(call Download,zd1211rw))
  1190. define KernelPackage/zd1211rw
  1191. $(call KernelPackage/mac80211/Default)
  1192. TITLE:=Zydas ZD1211 support
  1193. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
  1194. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zydas/zd1211rw/zd1211rw.ko
  1195. AUTOLOAD:=$(call AutoProbe,zd1211rw)
  1196. endef
  1197. config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
  1198. config-y:= \
  1199. WLAN \
  1200. NL80211_TESTMODE \
  1201. CFG80211_WEXT \
  1202. CFG80211_INTERNAL_REGDB \
  1203. CFG80211_CERTIFICATION_ONUS \
  1204. MAC80211_RC_MINSTREL \
  1205. MAC80211_RC_MINSTREL_HT \
  1206. MAC80211_RC_MINSTREL_VHT \
  1207. MAC80211_RC_DEFAULT_MINSTREL \
  1208. WLAN_VENDOR_ADMTEK \
  1209. WLAN_VENDOR_ATH \
  1210. WLAN_VENDOR_ATMEL \
  1211. WLAN_VENDOR_BROADCOM \
  1212. WLAN_VENDOR_INTEL \
  1213. WLAN_VENDOR_INTERSIL \
  1214. WLAN_VENDOR_MARVELL \
  1215. WLAN_VENDOR_MEDIATEK \
  1216. WLAN_VENDOR_RALINK \
  1217. WLAN_VENDOR_REALTEK \
  1218. WLAN_VENDOR_RSI \
  1219. WLAN_VENDOR_ST \
  1220. WLAN_VENDOR_TI \
  1221. WLAN_VENDOR_ZYDAS \
  1222. config-$(call config_package,cfg80211) += CFG80211
  1223. config-$(call config_package,mac80211) += MAC80211
  1224. config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
  1225. ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
  1226. config-y += \
  1227. CFG80211_DEBUGFS \
  1228. MAC80211_DEBUGFS \
  1229. ATH9K_DEBUGFS \
  1230. ATH9K_HTC_DEBUGFS \
  1231. ATH10K_DEBUGFS \
  1232. CARL9170_DEBUGFS \
  1233. ATH5K_DEBUG
  1234. endif
  1235. ifdef CONFIG_PACKAGE_MAC80211_TRACING
  1236. config-y += \
  1237. ATH10K_TRACING \
  1238. ATH6KL_TRACING \
  1239. ATH_TRACEPOINTS \
  1240. WIL6210_TRACING \
  1241. ATH5K_TRACER \
  1242. IWLWIFI_DEVICE_TRACING
  1243. endif
  1244. config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
  1245. config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
  1246. config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
  1247. config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
  1248. config-$(call config_package,ath9k) += ATH9K
  1249. config-$(call config_package,ath9k-common) += ATH9K_COMMON
  1250. config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
  1251. config-$(CONFIG_PCI) += ATH9K_PCI
  1252. config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
  1253. config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
  1254. config-$(call config_package,ath9k-htc) += ATH9K_HTC
  1255. config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
  1256. config-$(call config_package,ath5k) += ATH5K
  1257. ifdef CONFIG_TARGET_ath25
  1258. config-y += ATH5K_AHB
  1259. else
  1260. config-y += ATH5K_PCI
  1261. endif
  1262. config-$(call config_package,carl9170) += CARL9170
  1263. config-$(call config_package,b43) += B43
  1264. config-$(CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB) += B43_BUSES_BCMA_AND_SSB
  1265. config-$(CONFIG_PACKAGE_B43_BUSES_BCMA) += B43_BUSES_BCMA
  1266. config-$(CONFIG_PACKAGE_B43_BUSES_SSB) += B43_BUSES_SSB
  1267. config-$(CONFIG_PACKAGE_B43_PHY_G) += B43_PHY_G
  1268. config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
  1269. config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
  1270. config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
  1271. config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
  1272. config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
  1273. config-$(call config_package,b43legacy) += B43LEGACY
  1274. config-y += B43LEGACY_DMA_MODE
  1275. config-$(call config_package,brcmutil) += BRCMUTIL
  1276. config-$(call config_package,brcmsmac) += BRCMSMAC
  1277. config-$(call config_package,brcmfmac) += BRCMFMAC
  1278. config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
  1279. config-$(CONFIG_BRCMFMAC_USB) += BRCMFMAC_USB
  1280. config-$(CONFIG_BRCMFMAC_PCIE) += BRCMFMAC_PCIE
  1281. config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
  1282. config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
  1283. config-$(call config_package,mt7601u) += MT7601U
  1284. config-y += WL_MEDIATEK
  1285. config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
  1286. config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
  1287. config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
  1288. config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
  1289. config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
  1290. config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
  1291. config-$(call config_package,rt2400-pci) += RT2400PCI
  1292. config-$(call config_package,rt2500-pci) += RT2500PCI
  1293. config-$(call config_package,rt2500-usb) += RT2500USB
  1294. config-$(call config_package,rt61-pci) += RT61PCI
  1295. config-$(call config_package,rt73-usb) += RT73USB
  1296. config-$(call config_package,rt2800-lib) += RT2800_LIB
  1297. config-$(call config_package,rt2800-soc) += RT2800SOC
  1298. config-$(call config_package,rt2800-pci) += RT2800PCI
  1299. config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
  1300. config-$(call config_package,rt2800-usb) += RT2800USB
  1301. config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX RT2800USB_UNKNOWN
  1302. config-$(call config_package,iwl-legacy) += IWLEGACY
  1303. config-$(call config_package,iwl3945) += IWL3945
  1304. config-$(call config_package,iwl4965) += IWL4965
  1305. config-$(call config_package,iwlwifi) += IWLWIFI IWLDVM IWLMVM
  1306. config-$(CONFIG_PACKAGE_IWLWIFI_DEBUG)+= IWLWIFI_DEBUG
  1307. config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS
  1308. config-$(call config_package,libipw) += LIBIPW
  1309. config-$(call config_package,ipw2100) += IPW2100
  1310. config-$(call config_package,ipw2200) += IPW2200
  1311. config-$(call config_package,p54-common) += P54_COMMON
  1312. config-$(call config_package,p54-pci) += P54_PCI
  1313. config-$(call config_package,p54-usb) += P54_USB
  1314. config-$(call config_package,p54-spi) += P54_SPI
  1315. config-$(call config_package,hermes) += HERMES
  1316. config-$(call config_package,hermes-pci) += PCI_HERMES
  1317. config-$(call config_package,hermes-plx) += PLX_HERMES
  1318. config-$(call config_package,hermes-pcmcia) += PCMCIA_HERMES
  1319. config-y += HERMES_PRISM
  1320. config-$(call config_package,adm8211) += ADM8211
  1321. config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
  1322. config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
  1323. config-$(call config_package,libertas-spi) += LIBERTAS LIBERTAS_SPI
  1324. config-$(call config_package,mwl8k) += MWL8K
  1325. config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
  1326. config-$(call config_package,rtl8180) += RTL8180
  1327. config-$(call config_package,rtl8187) += RTL8187
  1328. config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
  1329. config-$(call config_package,wl12xx) += WL12XX
  1330. config-$(call config_package,wl18xx) += WL18XX
  1331. config-y += WL_TI WILINK_PLATFORM_DATA
  1332. config-$(call config_package,zd1211rw) += ZD1211RW
  1333. config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
  1334. config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
  1335. config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
  1336. config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
  1337. config-$(call config_package,rtl8192ce) += RTL8192CE
  1338. config-$(call config_package,rtl8192se) += RTL8192SE
  1339. config-$(call config_package,rtl8192de) += RTL8192DE
  1340. config-$(call config_package,rtl8192cu) += RTL8192CU
  1341. config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
  1342. config-$(call config_package,rtl8xxxu) += RTL8XXXU
  1343. config-y += RTL8XXXU_UNTESTED
  1344. config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
  1345. MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
  1346. CROSS_COMPILE="$(KERNEL_CROSS)" \
  1347. ARCH="$(LINUX_KARCH)" \
  1348. EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include $(IREMAP_CFLAGS)" \
  1349. KLIB_BUILD="$(LINUX_DIR)" \
  1350. MODPROBE=true \
  1351. KLIB=$(TARGET_MODULES_DIR) \
  1352. KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
  1353. KBUILD_LDFLAGS_MODULE_PREREQ=
  1354. ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
  1355. MAKE_OPTS += V=1
  1356. endif
  1357. define ConfigVars
  1358. $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
  1359. ))
  1360. endef
  1361. define mac80211_config
  1362. $(call ConfigVars,m)$(call ConfigVars,y)
  1363. endef
  1364. $(eval $(call shexport,mac80211_config))
  1365. define Build/Prepare
  1366. rm -rf $(PKG_BUILD_DIR)
  1367. mkdir -p $(PKG_BUILD_DIR)
  1368. $(PKG_UNPACK)
  1369. $(Build/Patch)
  1370. $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
  1371. $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
  1372. $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
  1373. rm -rf \
  1374. $(PKG_BUILD_DIR)/include/linux/ssb \
  1375. $(PKG_BUILD_DIR)/include/linux/bcma \
  1376. $(PKG_BUILD_DIR)/include/net/bluetooth
  1377. rm -f \
  1378. $(PKG_BUILD_DIR)/include/linux/cordic.h \
  1379. $(PKG_BUILD_DIR)/include/linux/crc8.h \
  1380. $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
  1381. $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
  1382. $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
  1383. $(PKG_BUILD_DIR)/include/net/ieee80211.h \
  1384. $(PKG_BUILD_DIR)/backport-include/linux/bcm47xx_nvram.h
  1385. echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version
  1386. $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
  1387. endef
  1388. ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
  1389. define Build/Compile/kmod
  1390. rm -rf $(PKG_BUILD_DIR)/modules
  1391. +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
  1392. endef
  1393. endif
  1394. define Build/Configure
  1395. cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
  1396. cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
  1397. cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
  1398. endef
  1399. define Build/Compile
  1400. $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
  1401. $(MAKE) $(MAKE_OPTS) allnoconfig
  1402. $(call Build/Compile/kmod)
  1403. endef
  1404. define Build/InstallDev
  1405. mkdir -p \
  1406. $(1)/usr/include/mac80211 \
  1407. $(1)/usr/include/mac80211-backport \
  1408. $(1)/usr/include/mac80211/ath \
  1409. $(1)/usr/include/net/mac80211
  1410. $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
  1411. $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
  1412. $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
  1413. $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
  1414. rm -f $(1)/usr/include/mac80211-backport/linux/module.h
  1415. endef
  1416. define KernelPackage/b43/install
  1417. rm -rf $(1)/lib/firmware/
  1418. ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
  1419. tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1420. else
  1421. tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1422. endif
  1423. $(INSTALL_DIR) $(1)/lib/firmware/
  1424. ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
  1425. $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
  1426. $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
  1427. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
  1428. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
  1429. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
  1430. else
  1431. b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
  1432. endif
  1433. ifneq ($(CONFIG_B43_FW_SQUASH),)
  1434. b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
  1435. endif
  1436. endef
  1437. define KernelPackage/brcmsmac/install
  1438. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  1439. ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
  1440. tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1441. b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
  1442. endif
  1443. endef
  1444. define KernelPackage/cfg80211/install
  1445. $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
  1446. $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
  1447. $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
  1448. endef
  1449. define KernelPackage/ipw2100/install
  1450. $(INSTALL_DIR) $(1)/lib/firmware
  1451. $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
  1452. endef
  1453. define KernelPackage/ipw2200/install
  1454. $(INSTALL_DIR) $(1)/lib/firmware
  1455. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
  1456. endef
  1457. define KernelPackage/p54-pci/install
  1458. $(INSTALL_DIR) $(1)/lib/firmware
  1459. $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
  1460. endef
  1461. define KernelPackage/p54-usb/install
  1462. $(INSTALL_DIR) $(1)/lib/firmware
  1463. $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
  1464. endef
  1465. define KernelPackage/p54-spi/install
  1466. $(INSTALL_DIR) $(1)/lib/firmware
  1467. $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
  1468. endef
  1469. define KernelPackage/zd1211rw/install
  1470. $(INSTALL_DIR) $(1)/lib/firmware/zd1211
  1471. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
  1472. endef
  1473. $(eval $(call KernelPackage,adm8211))
  1474. $(eval $(call KernelPackage,ath))
  1475. $(eval $(call KernelPackage,ath10k))
  1476. $(eval $(call KernelPackage,ath5k))
  1477. $(eval $(call KernelPackage,ath9k))
  1478. $(eval $(call KernelPackage,ath9k-common))
  1479. $(eval $(call KernelPackage,ath9k-htc))
  1480. $(eval $(call KernelPackage,b43))
  1481. $(eval $(call KernelPackage,b43legacy))
  1482. $(eval $(call KernelPackage,brcmsmac))
  1483. $(eval $(call KernelPackage,brcmfmac))
  1484. $(eval $(call KernelPackage,brcmutil))
  1485. $(eval $(call KernelPackage,carl9170))
  1486. $(eval $(call KernelPackage,cfg80211))
  1487. $(eval $(call KernelPackage,hermes))
  1488. $(eval $(call KernelPackage,hermes-pci))
  1489. $(eval $(call KernelPackage,hermes-plx))
  1490. $(eval $(call KernelPackage,hermes-pcmcia))
  1491. $(eval $(call KernelPackage,iwlwifi))
  1492. $(eval $(call KernelPackage,iwl-legacy))
  1493. $(eval $(call KernelPackage,iwl4965))
  1494. $(eval $(call KernelPackage,iwl3945))
  1495. $(eval $(call KernelPackage,lib80211))
  1496. $(eval $(call KernelPackage,libertas-usb))
  1497. $(eval $(call KernelPackage,libertas-sdio))
  1498. $(eval $(call KernelPackage,libertas-spi))
  1499. $(eval $(call KernelPackage,libipw))
  1500. $(eval $(call KernelPackage,ipw2100))
  1501. $(eval $(call KernelPackage,ipw2200))
  1502. $(eval $(call KernelPackage,mac80211))
  1503. $(eval $(call KernelPackage,mac80211-hwsim))
  1504. $(eval $(call KernelPackage,mt7601u))
  1505. $(eval $(call KernelPackage,mwl8k))
  1506. $(eval $(call KernelPackage,mwifiex-pcie))
  1507. $(eval $(call KernelPackage,p54-common))
  1508. $(eval $(call KernelPackage,p54-pci))
  1509. $(eval $(call KernelPackage,p54-usb))
  1510. $(eval $(call KernelPackage,p54-spi))
  1511. $(eval $(call KernelPackage,rt2x00-lib))
  1512. $(eval $(call KernelPackage,rt2x00-mmio))
  1513. $(eval $(call KernelPackage,rt2x00-pci))
  1514. $(eval $(call KernelPackage,rt2x00-usb))
  1515. $(eval $(call KernelPackage,rt2800-lib))
  1516. $(eval $(call KernelPackage,rt2400-pci))
  1517. $(eval $(call KernelPackage,rt2500-pci))
  1518. $(eval $(call KernelPackage,rt2500-usb))
  1519. $(eval $(call KernelPackage,rt2800-mmio))
  1520. $(eval $(call KernelPackage,rt2800-soc))
  1521. $(eval $(call KernelPackage,rt2800-pci))
  1522. $(eval $(call KernelPackage,rt2800-usb))
  1523. $(eval $(call KernelPackage,rt61-pci))
  1524. $(eval $(call KernelPackage,rt73-usb))
  1525. $(eval $(call KernelPackage,rtl8180))
  1526. $(eval $(call KernelPackage,rtl8187))
  1527. $(eval $(call KernelPackage,rtlwifi))
  1528. $(eval $(call KernelPackage,rtlwifi-pci))
  1529. $(eval $(call KernelPackage,rtlwifi-usb))
  1530. $(eval $(call KernelPackage,rtl8192c-common))
  1531. $(eval $(call KernelPackage,rtl8192ce))
  1532. $(eval $(call KernelPackage,rtl8192se))
  1533. $(eval $(call KernelPackage,rtl8192de))
  1534. $(eval $(call KernelPackage,rtl8192cu))
  1535. $(eval $(call KernelPackage,rtl8xxxu))
  1536. $(eval $(call KernelPackage,wlcore))
  1537. $(eval $(call KernelPackage,wl12xx))
  1538. $(eval $(call KernelPackage,wl18xx))
  1539. $(eval $(call KernelPackage,zd1211rw))