Makefile 58 KB

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