Makefile 59 KB

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