Makefile 58 KB

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