Makefile 57 KB

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