Makefile 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645
  1. #
  2. # Copyright (C) 2007-2012 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:=2012-09-07
  11. PKG_RELEASE:=3
  12. PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
  13. PKG_MD5SUM:=59e0a114ee4b755a6e47cb6cd0f32ebc
  14. PKG_SOURCE:=compat-wireless-$(PKG_VERSION).tar.bz2
  15. PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
  16. PKG_BUILD_PARALLEL:=1
  17. PKG_MAINTAINER:=Felix Fietkau <[email protected]>
  18. PKG_DRIVERS = \
  19. ath5k libertas-usb libertas-sd p54-common p54-pci p54-usb p54-spi \
  20. rt2x00-lib rt2x00-pci rt2x00-usb rt2x00-soc rt2800-lib rt2400-pci \
  21. rt2500-pci rt2500-usb rt61-pci rt73-usb rt2800-pci rt2800-usb \
  22. rtl8180 rtl8187 zd1211rw mac80211-hwsim carl9170 b43 b43legacy \
  23. ath9k-common ath9k ath9k-htc ath net-libipw net-ipw2100 net-ipw2200 \
  24. mwl8k net-hermes net-hermes-pci net-hermes-plx net-hermes-pcmcia \
  25. iwl-legacy iwl3945 iwl4965 iwlagn wl12xx lib80211
  26. PKG_CONFIG_DEPENDS:= \
  27. CONFIG_PACKAGE_kmod-mac80211 \
  28. $(patsubst %,CONFIG_PACKAGE_kmod-%,$(PKG_DRIVERS)) \
  29. CONFIG_PACKAGE_MAC80211_DEBUGFS \
  30. CONFIG_PACKAGE_MAC80211_MESH \
  31. CONFIG_PACKAGE_ATH_DEBUG \
  32. CONFIG_PACKAGE_B43_DEBUG \
  33. CONFIG_PACKAGE_B43_PIO \
  34. CONFIG_PACKAGE_B43_N_PHY \
  35. CONFIG_ATH_USER_REGD \
  36. CARL9170_FW_VERSION:=1.9.4
  37. include $(INCLUDE_DIR)/package.mk
  38. WMENU:=Wireless Drivers
  39. define KernelPackage/mac80211/Default
  40. SUBMENU:=$(WMENU)
  41. URL:=http://linuxwireless.org/
  42. MAINTAINER:=Felix Fietkau <[email protected]>
  43. DEPENDS:=@(!(TARGET_avr32||TARGET_ps3||TARGET_pxcab)||BROKEN)
  44. endef
  45. define KernelPackage/cfg80211
  46. $(call KernelPackage/mac80211/Default)
  47. TITLE:=cfg80211 - wireless configuration API
  48. DEPENDS+= +iw
  49. FILES:= \
  50. $(PKG_BUILD_DIR)/compat/compat.ko \
  51. $(PKG_BUILD_DIR)/net/wireless/cfg80211.ko
  52. AUTOLOAD:=$(call AutoLoad,20,compat cfg80211)
  53. endef
  54. define KernelPackage/cfg80211/description
  55. cfg80211 is the Linux wireless LAN (802.11) configuration API.
  56. endef
  57. define KernelPackage/mac80211
  58. $(call KernelPackage/mac80211/Default)
  59. TITLE:=Linux 802.11 Wireless Networking Stack
  60. DEPENDS+= +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-aes +kmod-cfg80211
  61. KCONFIG:=\
  62. CONFIG_AVERAGE=y
  63. FILES:= $(PKG_BUILD_DIR)/net/mac80211/mac80211.ko
  64. AUTOLOAD:=$(call AutoLoad,21,mac80211)
  65. MENU:=1
  66. endef
  67. define KernelPackage/mac80211/config
  68. if PACKAGE_kmod-mac80211
  69. config PACKAGE_MAC80211_DEBUGFS
  70. bool "Export mac80211 internals in DebugFS"
  71. default y
  72. help
  73. Select this to see extensive information about
  74. the internal state of mac80211 in debugfs.
  75. Say N unless you know you need this.
  76. config PACKAGE_MAC80211_MESH
  77. bool "Enable 802.11s mesh support"
  78. default y
  79. endif
  80. endef
  81. define KernelPackage/mac80211/description
  82. Generic IEEE 802.11 Networking Stack (mac80211)
  83. endef
  84. PKG_LINUX_FIRMWARE_NAME:=linux-firmware
  85. PKG_LINUX_FIRMWARE_VERSION:=0d6729f2b0bc6254d3628eb831bc80a36b5a17db
  86. PKG_LINUX_FIRMWARE_SOURCE:=$(PKG_LINUX_FIRMWARE_NAME)-$(PKG_LINUX_FIRMWARE_VERSION).tar.bz2
  87. PKG_LINUX_FIRMWARE_PROTO:=git
  88. PKG_LINUX_FIRMWARE_SOURCE_URL:=git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
  89. PKG_LINUX_FIRMWARE_SUBDIR:=$(PKG_LINUX_FIRMWARE_NAME)-$(PKG_LINUX_FIRMWARE_VERSION)
  90. define Download/linux-firmware
  91. FILE:=$(PKG_LINUX_FIRMWARE_SOURCE)
  92. URL:=$(PKG_LINUX_FIRMWARE_SOURCE_URL)
  93. MD5SUM:=$(PKG_LINUX_FIRMWARE_MD5SUM)
  94. PROTO:=$(PKG_LINUX_FIRMWARE_PROTO)
  95. VERSION:=$(PKG_LINUX_FIRMWARE_VERSION)
  96. SUBDIR:=$(PKG_LINUX_FIRMWARE_SUBDIR)
  97. endef
  98. $(eval $(call Download,linux-firmware))
  99. # Prism54 drivers
  100. P54PCIFW:=2.13.12.0.arm
  101. P54USBFW:=2.13.24.0.lm87.arm
  102. P54SPIFW:=2.13.0.0.a.13.14.arm
  103. CARL9170_FW:=carl9170-1.fw
  104. define Download/p54usb
  105. FILE:=$(P54USBFW)
  106. URL:=http://daemonizer.de/prism54/prism54-fw/fw-usb
  107. MD5SUM:=8e8ab005a4f8f0123bcdc51bc25b47f6
  108. endef
  109. $(eval $(call Download,p54usb))
  110. define Download/p54pci
  111. FILE:=$(P54PCIFW)
  112. URL:=http://daemonizer.de/prism54/prism54-fw/fw-softmac
  113. MD5SUM:=ff7536af2092b1c4b21315bd103ef4c4
  114. endef
  115. $(eval $(call Download,p54pci))
  116. define Download/p54spi
  117. FILE:=$(P54SPIFW)
  118. URL:=http://daemonizer.de/prism54/prism54-fw/stlc4560
  119. MD5SUM:=42661f8ecbadd88012807493f596081d
  120. endef
  121. $(eval $(call Download,p54spi))
  122. define Download/carl9170
  123. FILE:=$(CARL9170_FW)-$(CARL9170_FW_VERSION)
  124. URL:=http://downloads.openwrt.org/sources/
  125. MD5SUM:=30e2ae80c33b3008d271556d1a14e3ea
  126. endef
  127. $(eval $(call Download,carl9170))
  128. define KernelPackage/p54/Default
  129. $(call KernelPackage/mac80211/Default)
  130. TITLE:=Prism54 Drivers
  131. endef
  132. define KernelPackage/p54/description
  133. Kernel module for Prism54 chipsets (mac80211)
  134. endef
  135. define KernelPackage/p54-common
  136. $(call KernelPackage/p54/Default)
  137. DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt
  138. TITLE+= (COMMON)
  139. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54common.ko
  140. AUTOLOAD:=$(call AutoLoad,30,p54common)
  141. endef
  142. define KernelPackage/p54-pci
  143. $(call KernelPackage/p54/Default)
  144. TITLE+= (PCI)
  145. DEPENDS+= @PCI_SUPPORT +kmod-p54-common
  146. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54pci.ko
  147. AUTOLOAD:=$(call AutoLoad,31,p54pci)
  148. endef
  149. define KernelPackage/p54-usb
  150. $(call KernelPackage/p54/Default)
  151. TITLE+= (USB)
  152. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-p54-common
  153. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54usb.ko
  154. AUTOLOAD:=$(call AutoLoad,31,p54usb)
  155. endef
  156. define KernelPackage/p54-spi
  157. $(call KernelPackage/p54/Default)
  158. TITLE+= (SPI)
  159. DEPENDS+= @TARGET_omap24xx +kmod-p54-common
  160. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54spi.ko
  161. AUTOLOAD:=$(call AutoLoad,31,p54spi)
  162. endef
  163. NEED_RT2X00_LIB_CRYPTO:=y
  164. NEED_RT2X00_LIB_FIRMWARE:=y
  165. NEED_RT2X00_LIB_EEPROM:=y
  166. NEED_RT2X00_LIB_HT:=y
  167. NEED_RT2X00_LIB_LEDS:=y
  168. define KernelPackage/rt2x00/Default
  169. $(call KernelPackage/mac80211/Default)
  170. TITLE:=Ralink Drivers for RT2x00 cards
  171. endef
  172. define KernelPackage/rt2x00-lib
  173. $(call KernelPackage/rt2x00/Default)
  174. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-mac80211 +kmod-lib-crc-itu-t
  175. TITLE+= (LIB)
  176. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00lib.ko
  177. AUTOLOAD:=$(call AutoLoad,25,rt2x00lib)
  178. MENU:=1
  179. endef
  180. define KernelPackage/rt2x00-lib/config
  181. if PACKAGE_kmod-rt2x00-lib
  182. config PACKAGE_RT2X00_LIB_DEBUGFS
  183. bool "Enable rt2x00 debugfs support"
  184. depends PACKAGE_MAC80211_DEBUGFS
  185. help
  186. Enable creation of debugfs files for the rt2x00 drivers.
  187. These debugfs files support both reading and writing of the
  188. most important register types of the rt2x00 hardware.
  189. config PACKAGE_RT2X00_DEBUG
  190. bool "Enable rt2x00 debug output"
  191. help
  192. Enable debugging output for all rt2x00 modules
  193. endif
  194. endef
  195. define KernelPackage/rt2x00-pci
  196. $(call KernelPackage/rt2x00/Default)
  197. DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6
  198. TITLE+= (PCI)
  199. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00pci.ko
  200. AUTOLOAD:=$(call AutoLoad,26,rt2x00pci)
  201. endef
  202. define KernelPackage/rt2x00-usb
  203. $(call KernelPackage/rt2x00/Default)
  204. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core
  205. TITLE+= (USB)
  206. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00usb.ko
  207. AUTOLOAD:=$(call AutoLoad,26,rt2x00usb)
  208. endef
  209. define KernelPackage/rt2x00-soc
  210. $(call KernelPackage/rt2x00/Default)
  211. DEPENDS+= @TARGET_ramips +kmod-rt2x00-lib
  212. TITLE+= (SoC)
  213. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00soc.ko
  214. AUTOLOAD:=$(call AutoLoad,26,rt2x00soc)
  215. endef
  216. define KernelPackage/rt2800-lib
  217. $(call KernelPackage/rt2x00/Default)
  218. DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +TARGET_ramips:kmod-rt2x00-soc +@DRIVER_11N_SUPPORT
  219. TITLE+= (rt2800 LIB)
  220. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800lib.ko
  221. AUTOLOAD:=$(call AutoLoad,27,rt2800lib)
  222. endef
  223. define KernelPackage/rt2400-pci
  224. $(call KernelPackage/rt2x00/Default)
  225. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
  226. TITLE+= (RT2400 PCI)
  227. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2400pci.ko
  228. AUTOLOAD:=$(call AutoLoad,27,rt2400pci)
  229. endef
  230. define KernelPackage/rt2500-pci
  231. $(call KernelPackage/rt2x00/Default)
  232. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
  233. TITLE+= (RT2500 PCI)
  234. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500pci.ko
  235. AUTOLOAD:=$(call AutoLoad,27,rt2500pci)
  236. endef
  237. define KernelPackage/rt2500-usb
  238. $(call KernelPackage/rt2x00/Default)
  239. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
  240. TITLE+= (RT2500 USB)
  241. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500usb.ko
  242. AUTOLOAD:=$(call AutoLoad,27,rt2500usb)
  243. endef
  244. define KernelPackage/rt61-pci
  245. $(call KernelPackage/rt2x00/Default)
  246. DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
  247. TITLE+= (RT2x61 PCI)
  248. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt61pci.ko
  249. AUTOLOAD:=$(call AutoLoad,27,rt61pci)
  250. endef
  251. define KernelPackage/rt73-usb
  252. $(call KernelPackage/rt2x00/Default)
  253. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
  254. TITLE+= (RT73 USB)
  255. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt73usb.ko
  256. AUTOLOAD:=$(call AutoLoad,27,rt73usb)
  257. endef
  258. define KernelPackage/rt2800-pci
  259. $(call KernelPackage/rt2x00/Default)
  260. DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-pci +kmod-rt2800-lib +kmod-lib-crc-ccitt +TARGET_ramips:kmod-rt2x00-soc
  261. TITLE+= (RT2860 PCI)
  262. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800pci.ko
  263. AUTOLOAD:=$(call AutoLoad,28,rt2800pci)
  264. endef
  265. define KernelPackage/rt2800-usb
  266. $(call KernelPackage/rt2x00/Default)
  267. DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-rt2800-lib +kmod-lib-crc-ccitt
  268. TITLE+= (RT2870 USB)
  269. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800usb.ko
  270. AUTOLOAD:=$(call AutoLoad,28,rt2800usb)
  271. endef
  272. define KernelPackage/rtl818x/Default
  273. $(call KernelPackage/mac80211/Default)
  274. TITLE:=Realtek Drivers for RTL818x devices
  275. URL:=http://wireless.kernel.org/en/users/Drivers/rtl8187
  276. DEPENDS+= +kmod-eeprom-93cx6 +kmod-mac80211
  277. endef
  278. define KernelPackage/rtl8180
  279. $(call KernelPackage/rtl818x/Default)
  280. DEPENDS+= @PCI_SUPPORT
  281. TITLE+= (RTL8180 PCI)
  282. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko
  283. AUTOLOAD:=$(call AutoLoad,27,rtl8180)
  284. endef
  285. define KernelPackage/rtl8187
  286. $(call KernelPackage/rtl818x/Default)
  287. DEPENDS+= @USB_SUPPORT +kmod-usb-core
  288. TITLE+= (RTL8187 USB)
  289. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko
  290. AUTOLOAD:=$(call AutoLoad,27,rtl8187)
  291. endef
  292. ZD1211FW_NAME:=zd1211-firmware
  293. ZD1211FW_VERSION:=1.4
  294. define Download/zd1211rw
  295. FILE:=$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
  296. URL:=@SF/zd1211/
  297. MD5SUM:=19f28781d76569af8551c9d11294c870
  298. endef
  299. $(eval $(call Download,zd1211rw))
  300. define KernelPackage/zd1211rw
  301. $(call KernelPackage/mac80211/Default)
  302. TITLE:=Zydas ZD1211 support
  303. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
  304. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zd1211rw/zd1211rw.ko
  305. AUTOLOAD:=$(call AutoLoad,60,zd1211rw)
  306. endef
  307. define KernelPackage/ath/config
  308. if PACKAGE_kmod-ath
  309. config ATH_USER_REGD
  310. bool "Force Atheros drivers to respect the user's regdomain settings"
  311. help
  312. Atheros' idea of regulatory handling is that the EEPROM of the card defines
  313. the regulatory limits and the user is only allowed to restrict the settings
  314. even further, even if the country allows frequencies or power levels that
  315. are forbidden by the EEPROM settings.
  316. Select this option if you want the driver to respect the user's decision about
  317. regulatory settings.
  318. config PACKAGE_ATH_DEBUG
  319. bool "Atheros wireless debugging"
  320. help
  321. Say Y, if you want to debug atheros wireless drivers.
  322. Right now only ath9k makes use of this.
  323. endif
  324. endef
  325. define KernelPackage/ath
  326. $(call KernelPackage/mac80211/Default)
  327. TITLE:=Atheros common driver part
  328. DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_atheros +kmod-mac80211
  329. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
  330. AUTOLOAD:=$(call AutoLoad,26,ath)
  331. MENU:=1
  332. endef
  333. define KernelPackage/ath/description
  334. This module contains some common parts needed by Atheros Wireless drivers.
  335. endef
  336. define KernelPackage/ath5k
  337. $(call KernelPackage/mac80211/Default)
  338. TITLE:=Atheros 5xxx wireless cards support
  339. URL:=http://linuxwireless.org/en/users/Drivers/ath5k
  340. DEPENDS+= @PCI_SUPPORT||@TARGET_atheros +kmod-ath
  341. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
  342. AUTOLOAD:=$(call AutoLoad,27,ath5k)
  343. endef
  344. define KernelPackage/ath5k/description
  345. This module adds support for wireless adapters based on
  346. Atheros 5xxx chipset.
  347. endef
  348. define KernelPackage/ath9k-common
  349. $(call KernelPackage/mac80211/Default)
  350. TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
  351. URL:=http://linuxwireless.org/en/users/Drivers/ath9k
  352. DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx +kmod-ath +@DRIVER_11N_SUPPORT
  353. FILES:= \
  354. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
  355. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
  356. AUTOLOAD:=$(call AutoLoad,27,ath9k_hw ath9k_common)
  357. endef
  358. define KernelPackage/ath9k
  359. $(call KernelPackage/mac80211/Default)
  360. TITLE:=Atheros 802.11n PCI wireless cards support
  361. URL:=http://linuxwireless.org/en/users/Drivers/ath9k
  362. DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath9k-common
  363. FILES:= \
  364. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko
  365. AUTOLOAD:=$(call AutoLoad,28,ath9k)
  366. endef
  367. define KernelPackage/ath9k/description
  368. This module adds support for wireless adapters based on
  369. Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
  370. endef
  371. define KernelPackage/ath9k-htc
  372. $(call KernelPackage/mac80211/Default)
  373. TITLE:=Atheros 802.11n USB device support
  374. URL:=http://linuxwireless.org/en/users/Drivers/ath9k
  375. DEPENDS+= @USB_SUPPORT +kmod-ath9k-common +kmod-usb-core
  376. FILES:= \
  377. $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
  378. AUTOLOAD:=$(call AutoLoad,55,ath9k_htc)
  379. endef
  380. define KernelPackage/ath9k-htc/description
  381. This module adds support for wireless adapters based on
  382. Atheros USB AR9271 and AR7010 family of chipsets.
  383. endef
  384. define KernelPackage/carl9170
  385. $(call KernelPackage/mac80211/Default)
  386. TITLE:=Driver for Atheros AR9170 USB sticks
  387. DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core +@DRIVER_11N_SUPPORT
  388. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/carl9170/carl9170.ko
  389. AUTOLOAD:=$(call AutoLoad,60,carl9170)
  390. endef
  391. define KernelPackage/carl9170/install
  392. $(INSTALL_DIR) $(1)/lib/firmware
  393. $(INSTALL_DATA) $(DL_DIR)/$(CARL9170_FW)-$(CARL9170_FW_VERSION) $(1)/lib/firmware/$(CARL9170_FW)
  394. endef
  395. define KernelPackage/lib80211
  396. $(call KernelPackage/mac80211/Default)
  397. TITLE:=802.11 Networking stack
  398. FILES:= \
  399. $(PKG_BUILD_DIR)/net/wireless/lib80211.ko \
  400. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_wep.ko \
  401. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_ccmp.ko \
  402. $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_tkip.ko
  403. AUTOLOAD:=$(call AutoLoad,21, \
  404. lib80211 \
  405. lib80211_crypt_wep \
  406. lib80211_crypt_ccmp \
  407. lib80211_crypt_tkip \
  408. )
  409. endef
  410. define KernelPackage/lib80211/description
  411. Kernel modules for 802.11 Networking stack
  412. Includes:
  413. - lib80211
  414. - lib80211_crypt_wep
  415. - lib80211_crypt_tkip
  416. - lib80211_crytp_ccmp
  417. endef
  418. define KernelPackage/libertas-usb
  419. $(call KernelPackage/mac80211/Default)
  420. DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 +@DRIVER_WEXT_SUPPORT
  421. TITLE:=Marvell 88W8015 Wireless Driver
  422. FILES:= \
  423. $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas.ko \
  424. $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/usb8xxx.ko
  425. AUTOLOAD:=$(call AutoLoad,27,libertas usb8xxx)
  426. endef
  427. define KernelPackage/libertas-sd
  428. $(call KernelPackage/mac80211/Default)
  429. DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +@DRIVER_WEXT_SUPPORT
  430. TITLE:=Marvell 88W8686 Wireless Driver
  431. FILES:= \
  432. $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas.ko \
  433. $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas_sdio.ko
  434. AUTOLOAD:=$(call AutoLoad,91,libertas libertas_sdio)
  435. endef
  436. define KernelPackage/mac80211-hwsim
  437. $(call KernelPackage/mac80211/Default)
  438. TITLE:=mac80211 HW simulation device
  439. DEPENDS+= +kmod-mac80211
  440. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.ko
  441. AUTOLOAD:=$(call AutoLoad,60,mac80211_hwsim)
  442. endef
  443. define KernelPackage/net-libipw
  444. $(call KernelPackage/mac80211/Default)
  445. TITLE:=libipw for ipw2100 and ipw2200
  446. DEPENDS:=@PCI_SUPPORT +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-aes +kmod-crypto-michael-mic +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT
  447. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ipw2x00/libipw.ko
  448. AUTOLOAD:=$(call AutoLoad,49,libipw)
  449. endef
  450. define KernelPackage/net-libipw/description
  451. Hardware independent IEEE 802.11 networking stack for ipw2100 and ipw2200.
  452. endef
  453. IPW2100_NAME:=ipw2100-fw
  454. IPW2100_VERSION:=1.3
  455. define Download/net-ipw2100
  456. URL:=http://bughost.org/firmware/
  457. FILE:=$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
  458. MD5SUM=46aa75bcda1a00efa841f9707bbbd113
  459. endef
  460. $(eval $(call Download,net-ipw2100))
  461. define KernelPackage/net-ipw2100
  462. $(call KernelPackage/mac80211/Default)
  463. TITLE:=Intel IPW2100 driver
  464. DEPENDS:=@PCI_SUPPORT +kmod-net-libipw
  465. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ipw2x00/ipw2100.ko
  466. AUTOLOAD:=$(call AutoLoad,50,ipw2100)
  467. endef
  468. define KernelPackage/net-ipw2100/description
  469. Kernel support for Intel IPW2100
  470. Includes:
  471. - ipw2100
  472. endef
  473. IPW2200_NAME:=ipw2200-fw
  474. IPW2200_VERSION:=3.1
  475. define Download/net-ipw2200
  476. URL:=http://bughost.org/firmware/
  477. FILE:=$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
  478. MD5SUM=eaba788643c7cc7483dd67ace70f6e99
  479. endef
  480. $(eval $(call Download,net-ipw2200))
  481. define KernelPackage/net-ipw2200
  482. $(call KernelPackage/mac80211/Default)
  483. TITLE:=Intel IPW2200 driver
  484. DEPENDS:=@PCI_SUPPORT +kmod-net-libipw
  485. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ipw2x00/ipw2200.ko
  486. AUTOLOAD:=$(call AutoLoad,50,ipw2200)
  487. endef
  488. define KernelPackage/net-ipw2200/description
  489. Kernel support for Intel IPW2200
  490. Includes:
  491. - ipw2200
  492. endef
  493. define KernelPackage/net-hermes
  494. $(call KernelPackage/mac80211/Default)
  495. TITLE:=Hermes 802.11b chipset support
  496. DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT
  497. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco.ko
  498. AUTOLOAD:=$(call AutoLoad,50,orinoco)
  499. endef
  500. define KernelPackage/net-hermes/description
  501. Kernel support for Hermes 802.11b chipsets
  502. endef
  503. define KernelPackage/net-hermes-pci
  504. $(call KernelPackage/mac80211/Default)
  505. TITLE:=Intersil Prism 2.5 PCI support
  506. DEPENDS:=@PCI_SUPPORT +kmod-net-hermes
  507. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco_pci.ko
  508. AUTOLOAD:=$(call AutoLoad,55,orinoco_pci)
  509. endef
  510. define KernelPackage/net-hermes-pci/description
  511. Kernel modules for Intersil Prism 2.5 PCI support
  512. endef
  513. define KernelPackage/net-hermes-plx
  514. $(call KernelPackage/mac80211/Default)
  515. TITLE:=PLX9052 based PCI adaptor
  516. DEPENDS:=@PCI_SUPPORT +kmod-net-hermes
  517. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco_plx.ko
  518. AUTOLOAD:=$(call AutoLoad,55,orinoco_plx)
  519. endef
  520. define KernelPackage/net-hermes-plx/description
  521. Kernel modules for Hermes in PLX9052 based PCI adaptors
  522. endef
  523. define KernelPackage/net-hermes-pcmcia
  524. $(call KernelPackage/mac80211/Default)
  525. TITLE:=Hermes based PCMCIA adaptors
  526. DEPENDS:=@PCMCIA_SUPPORT +kmod-net-hermes @BROKEN
  527. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco_cs.ko
  528. AUTOLOAD:=$(call AutoLoad,55,orinoco_cs)
  529. endef
  530. define KernelPackage/net-hermes-pcmcia/description
  531. Kernel modules for Hermes based PCMCIA adaptors
  532. endef
  533. define KernelPackage/iwlagn
  534. $(call KernelPackage/mac80211/Default)
  535. DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
  536. TITLE:=Intel AGN Wireless support
  537. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlwifi/iwlwifi.ko
  538. AUTOLOAD:=$(call AutoLoad,60,iwlwifi)
  539. MENU:=1
  540. endef
  541. define KernelPackage/iwlagn/description
  542. iwlagn kernel module for Intel 5000/5150/1000/6000/6050/6005/6030/100 support
  543. endef
  544. define KernelPackage/iwlagn/config
  545. if PACKAGE_kmod-iwlagn
  546. config IWL5000_FW
  547. bool "Intel 5000 Firmware"
  548. default y
  549. help
  550. Download and install firmware for:
  551. Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
  552. config IWL5150_FW
  553. bool "Intel 5150 Firmware"
  554. default y
  555. help
  556. Download and install firmware for:
  557. Intel Wireless WiFi 5150AGN
  558. config IWL1000_FW
  559. bool "Intel 1000 Firmware"
  560. default y
  561. help
  562. Download and install firmware for:
  563. Intel Centrino Wireless-N 1000
  564. config IWL6000_FW
  565. bool "Intel 6000 Firmware"
  566. default y
  567. help
  568. Download and install firmware for:
  569. Intel Centrino Ultimate-N 6300 and Advanced-N 6200
  570. config IWL6050_FW
  571. bool "Intel 6050 Firmware"
  572. default y
  573. help
  574. Download and install firmware for:
  575. Intel Centrino Advanced-N + WiMAX 6250 and Wireless-N + WiMAX 6150
  576. config IWL6005_FW
  577. bool "Intel 6005 Firmware"
  578. default y
  579. help
  580. Download and install firmware for:
  581. Intel Centrino Advanced-N 6205
  582. config IWL6030_FW
  583. bool "Intel 6030 Firmware"
  584. default y
  585. help
  586. Download and install firmware for:
  587. Intel Centrino Advanced-N 6230, Wireless-N 1030, Wireless-N 130 and Advanced-N 6235
  588. config IWL100_FW
  589. bool "Intel 100 Firmware"
  590. default y
  591. help
  592. Download and install firmware for:
  593. Intel Centrino Wireless-N 100
  594. config IWL2000_FW
  595. bool "Intel 2000 Firmware"
  596. default y
  597. help
  598. Download and install firmware for:
  599. Intel Centrino Wireless-N 2200
  600. config IWL2030_FW
  601. bool "Intel 2030 Firmware"
  602. default y
  603. help
  604. Download and install firmware for:
  605. Intel Centrino Wireless-N 2230
  606. config IWL105_FW
  607. bool "Intel 105 Firmware"
  608. default y
  609. help
  610. Download and install firmware for:
  611. Intel Centrino Wireless-N 105
  612. config IWL135_FW
  613. bool "Intel 135 Firmware"
  614. default y
  615. help
  616. Download and install firmware for:
  617. Intel Centrino Wireless-N 135
  618. endif
  619. endef
  620. define KernelPackage/iwl-legacy
  621. $(call KernelPackage/mac80211/Default)
  622. DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
  623. TITLE:=Intel legacy Wireless support
  624. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlegacy/iwlegacy.ko
  625. AUTOLOAD:=$(call AutoLoad,60,iwlegacy)
  626. endef
  627. define KernelPackage/iwl-legacy/description
  628. iwl-legacy kernel module for legacy Intel wireless support
  629. endef
  630. define KernelPackage/iwl3945
  631. $(call KernelPackage/mac80211/Default)
  632. DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy
  633. TITLE:=Intel iwl3945 Wireless support
  634. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlegacy/iwl3945.ko
  635. AUTOLOAD:=$(call AutoLoad,61,iwl3945)
  636. endef
  637. define KernelPackage/iwl3945/description
  638. iwl3945 kernel module for Intel 3945 support
  639. endef
  640. define KernelPackage/iwl4965
  641. $(call KernelPackage/mac80211/Default)
  642. DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy
  643. TITLE:=Intel iwl4965 Wireless support
  644. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlegacy/iwl4965.ko
  645. AUTOLOAD:=$(call AutoLoad,61,iwl4965)
  646. endef
  647. define KernelPackage/iwl4965/description
  648. iwl4965 kernel module for Intel 4965 support
  649. endef
  650. define KernelPackage/mwl8k
  651. $(call KernelPackage/mac80211/Default)
  652. TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
  653. URL:=http://wireless.kernel.org/en/users/Drivers/mwl8k
  654. DEPENDS+= @PCI_SUPPORT +kmod-mac80211
  655. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mwl8k.ko
  656. AUTOLOAD:=$(call AutoLoad,27,mwl8k)
  657. endef
  658. define KernelPackage/mwl8k/description
  659. Kernel modules for Marvell TOPDOG 802.11 Wireless cards
  660. endef
  661. define KernelPackage/wl12xx
  662. $(call KernelPackage/mac80211/Default)
  663. TITLE:=Driver for TI WL12xx
  664. URL:=http://wireless.kernel.org/en/users/Drivers/wl12xx
  665. DEPENDS+= @TARGET_omap4 +kmod-mac80211
  666. FILES:= \
  667. $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl12xx/wl12xx.ko \
  668. $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
  669. $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
  670. AUTOLOAD:=$(call AutoLoad,61,wlcore wlcore_sdio wl12xx)
  671. endef
  672. define KernelPackage/wl12xx/description
  673. Kernel modules for TI WL12xx
  674. endef
  675. #Broadcom firmware
  676. ifneq ($(CONFIG_B43_FW_5_10),)
  677. PKG_B43_FWV4_NAME:=broadcom-wl
  678. PKG_B43_FWV4_VERSION:=5.10.56.27.3
  679. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/driver/wl_apsta/wl_prebuilt.o
  680. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)_mipsel.tar.bz2
  681. PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
  682. PKG_B43_FWV4_MD5SUM:=3363e3a6b3d9d73c49dea870c7834eac
  683. else
  684. ifneq ($(CONFIG_B43_FW_4_178),)
  685. PKG_B43_FWV4_NAME:=broadcom-wl
  686. PKG_B43_FWV4_VERSION:=4.178.10.4
  687. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/linux/wl_apsta.o
  688. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
  689. PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
  690. PKG_B43_FWV4_MD5SUM:=14477e8cbbb91b11896affac9b219fdb
  691. else
  692. ifneq ($(CONFIG_B43_FW_5_100_138),)
  693. PKG_B43_FWV4_NAME:=broadcom-wl
  694. PKG_B43_FWV4_VERSION:=5.100.138
  695. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/linux/wl_apsta.o
  696. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
  697. PKG_B43_FWV4_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
  698. PKG_B43_FWV4_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
  699. else
  700. PKG_B43_FWV4_NAME:=broadcom-wl
  701. PKG_B43_FWV4_VERSION:=4.150.10.5
  702. PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/driver/wl_apsta_mimo.o
  703. PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
  704. PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
  705. PKG_B43_FWV4_MD5SUM:=0c6ba9687114c6b598e8019e262d9a60
  706. endif
  707. endif
  708. endif
  709. ifneq ($(CONFIG_B43_OPENFIRMWARE),)
  710. PKG_B43_FWV4_NAME:=broadcom-wl
  711. PKG_B43_FWV4_VERSION:=5.2
  712. PKG_B43_FWV4_OBJECT:=openfwwf-$(PKG_B43_FWV4_VERSION)
  713. PKG_B43_FWV4_SOURCE:=openfwwf-$(PKG_B43_FWV4_VERSION).tar.gz
  714. PKG_B43_FWV4_SOURCE_URL:=http://www.ing.unibs.it/openfwwf/firmware/
  715. PKG_B43_FWV4_MD5SUM:=e045a135453274e439ae183f8498b0fa
  716. endif
  717. PKG_B43_FWV3_NAME:=wl_apsta
  718. PKG_B43_FWV3_VERSION:=3.130.20.0
  719. PKG_B43_FWV3_SOURCE:=$(PKG_B43_FWV3_NAME)-$(PKG_B43_FWV3_VERSION).o
  720. PKG_B43_FWV3_SOURCE_URL:=http://downloads.openwrt.org/sources/
  721. PKG_B43_FWV3_MD5SUM:=e08665c5c5b66beb9c3b2dd54aa80cb3
  722. define Download/b43
  723. FILE:=$(PKG_B43_FWV4_SOURCE)
  724. URL:=$(PKG_B43_FWV4_SOURCE_URL)
  725. MD5SUM:=$(PKG_B43_FWV4_MD5SUM)
  726. endef
  727. $(eval $(call Download,b43))
  728. define Download/b43legacy
  729. FILE:=$(PKG_B43_FWV3_SOURCE)
  730. URL:=$(PKG_B43_FWV3_SOURCE_URL)
  731. MD5SUM:=$(PKG_B43_FWV3_MD5SUM)
  732. endef
  733. $(eval $(call Download,b43legacy))
  734. define KernelPackage/b43
  735. $(call KernelPackage/mac80211/Default)
  736. TITLE:=Broadcom 43xx wireless support
  737. URL:=http://linuxwireless.org/en/users/Drivers/b43
  738. KCONFIG:= \
  739. CONFIG_HW_RANDOM=y
  740. DEPENDS+= +kmod-mac80211 +!TARGET_brcm47xx:kmod-bcma +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
  741. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43/b43.ko
  742. AUTOLOAD:=$(call AutoLoad,30,b43)
  743. MENU:=1
  744. endef
  745. define KernelPackage/b43/config
  746. if PACKAGE_kmod-b43
  747. choice
  748. prompt "b43 firmware version"
  749. default B43_FW_5_100_138
  750. help
  751. This option allows you to select the version of the b43 firmware.
  752. config B43_FW_4_150
  753. bool "Firmware 410.2160 from driver 4.150.10.5 (old stable)"
  754. help
  755. Stable firmware for BCM43xx devices.
  756. If unsure, select this.
  757. config B43_FW_4_178
  758. bool "Firmware 478.104 from driver 4.178.10.4"
  759. help
  760. Experimental firmware for BCM43xx devices.
  761. This firmware is not tested as much as the "stable" firmware.
  762. If unsure, select the "stable" firmware.
  763. config B43_FW_5_10
  764. bool "Firmware 508.1084 from driver 5.10.56.27"
  765. help
  766. Newer experimental firmware for BCM43xx devices.
  767. This firmware is mostly untested. It is needed for some N-PHY devices.
  768. If unsure, select the "stable" firmware.
  769. config B43_FW_5_100_138
  770. bool "Firmware 666.2 from driver 5.100.138 (stable)"
  771. help
  772. Newer experimental firmware for BCM43xx devices.
  773. This firmware is mostly untested. It is needed for some N-PHY devices.
  774. If unsure, select the "stable" firmware.
  775. config B43_OPENFIRMWARE
  776. bool "Open FirmWare for WiFi networks"
  777. help
  778. Opensource firmware for BCM43xx devices.
  779. Do _not_ select this, unless you know what you are doing.
  780. The Opensource firmware is not suitable for embedded devices, yet.
  781. It does not support QoS, which is bad for AccessPoints.
  782. It does not support hardware crypto acceleration, which is a showstopper
  783. for embedded devices with low CPU resources.
  784. If unsure, select the "stable" firmware.
  785. endchoice
  786. config B43_FW_SQUASH
  787. bool "Remove unnecessary firmware files"
  788. depends on !B43_OPENFIRMWARE
  789. default y
  790. help
  791. This options allows you to remove unnecessary b43 firmware files
  792. from the final rootfs image. This can reduce the rootfs size by
  793. up to 200k.
  794. If unsure, say Y.
  795. config B43_FW_SQUASH_COREREVS
  796. string "Core revisions to include"
  797. depends on B43_FW_SQUASH
  798. default "5,6,7,8,9,10,11,13,14,15,16"
  799. help
  800. This is a comma seperated list of core revision numbers.
  801. Example (keep files for rev5 only):
  802. 5
  803. Example (keep files for rev5 and rev11):
  804. 5,11
  805. config B43_FW_SQUASH_PHYTYPES
  806. string "PHY types to include"
  807. depends on B43_FW_SQUASH
  808. default "G,LP,N"
  809. help
  810. This is a comma seperated list of PHY types:
  811. A => A-PHY
  812. AG => Dual A-PHY G-PHY
  813. G => G-PHY
  814. LP => LP-PHY
  815. N => N-PHY
  816. HT => HT-PHY
  817. LCN => LCN-PHY
  818. Example (keep files for G-PHY only):
  819. G
  820. Example (keep files for G-PHY and N-PHY):
  821. G,N
  822. config PACKAGE_B43_DEBUG
  823. bool "Enable debug output and debugfs for b43"
  824. default n
  825. help
  826. Enable additional debug output and runtime sanity checks for b43
  827. and enables the debugfs interface.
  828. If unsure, say N.
  829. config PACKAGE_B43_PIO
  830. bool "Enable support for PIO transfer mode"
  831. default n
  832. help
  833. Enable support for using PIO instead of DMA. Unless you have DMA
  834. transfer problems you don't need this.
  835. If unsure, say N.
  836. config PACKAGE_B43_PHY_N
  837. bool "Enable support for N-PHYs"
  838. default y
  839. help
  840. Enable support for BCM4321 and BCM4322.
  841. Currently only 11g speed is available.
  842. If unsure, say Y.
  843. config PACKAGE_B43_PHY_HT
  844. bool "Enable support for HT-PHYs"
  845. default n
  846. help
  847. Currently broken.
  848. If unsure, say N.
  849. config PACKAGE_B43_PHY_LCN
  850. bool "Enable support for LCN-PHYs"
  851. depends on BROKEN
  852. default n
  853. help
  854. Currently broken.
  855. If unsure, say N.
  856. endif
  857. endef
  858. define KernelPackage/b43/description
  859. Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
  860. endef
  861. define KernelPackage/b43legacy
  862. $(call KernelPackage/mac80211/Default)
  863. TITLE:=Broadcom 43xx-legacy wireless support
  864. URL:=http://linuxwireless.org/en/users/Drivers/b43
  865. KCONFIG:= \
  866. CONFIG_HW_RANDOM=y
  867. DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
  868. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.ko
  869. AUTOLOAD:=$(call AutoLoad,30,b43legacy)
  870. MENU:=1
  871. endef
  872. define KernelPackage/b43legacy/config
  873. if PACKAGE_kmod-b43legacy
  874. config B43LEGACY_FW_SQUASH
  875. bool "Remove unnecessary firmware files"
  876. default y
  877. help
  878. This options allows you to remove unnecessary b43legacy firmware files
  879. from the final rootfs image. This can reduce the rootfs size by
  880. up to 50k.
  881. If unsure, say Y.
  882. config B43LEGACY_FW_SQUASH_COREREVS
  883. string "Core revisions to include"
  884. depends on B43LEGACY_FW_SQUASH
  885. default "1,2,3,4"
  886. help
  887. This is a comma seperated list of core revision numbers.
  888. Example (keep files for rev4 only):
  889. 4
  890. Example (keep files for rev2 and rev4):
  891. 2,4
  892. endif
  893. endef
  894. define KernelPackage/b43legacy/description
  895. Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
  896. endef
  897. define KernelPackage/brcmutil
  898. $(call KernelPackage/mac80211/Default)
  899. TITLE:=Broadcom IEEE802.11n common driver parts
  900. URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
  901. DEPENDS+=@PCI_SUPPORT||USB_SUPPORT
  902. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko
  903. AUTOLOAD:=$(call AutoLoad,30,brcmutil)
  904. MENU:=1
  905. endef
  906. define KernelPackage/brcmutil/description
  907. This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
  908. endef
  909. define KernelPackage/brcmutil/config
  910. if PACKAGE_kmod-brcmutil
  911. config PACKAGE_BRCM80211_DEBUG
  912. bool "Broadcom wireless driver debugging"
  913. help
  914. Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
  915. endif
  916. endef
  917. PKG_BRCMSMAC_FW_NAME:=broadcom-wl
  918. PKG_BRCMSMAC_FW_VERSION:=5.100.138
  919. PKG_BRCMSMAC_FW_OBJECT:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION)/linux/wl_apsta.o
  920. PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.bz2
  921. PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
  922. PKG_BRCMSMAC_FW_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
  923. define KernelPackage/brcmsmac
  924. $(call KernelPackage/mac80211/Default)
  925. TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
  926. URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
  927. DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil
  928. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko
  929. AUTOLOAD:=$(call AutoLoad,31,brcmsmac)
  930. MENU:=1
  931. endef
  932. define KernelPackage/brcmsmac/description
  933. Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
  934. endef
  935. define KernelPackage/brcmsmac/config
  936. if PACKAGE_kmod-brcmsmac
  937. config BRCMSMAC_USE_FW_FROM_WL
  938. bool "Use firmware extracted from broadcom proprietary driver"
  939. default y
  940. help
  941. Instead of using the official brcmsmac firmware a firmware
  942. version 666.2 extracted from the proprietary Broadcom driver
  943. is used. This is needed to get core rev 17 used in bcm4716
  944. to work.
  945. If unsure, say Y.
  946. endif
  947. endef
  948. define KernelPackage/brcmfmac
  949. $(call KernelPackage/mac80211/Default)
  950. TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
  951. URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
  952. DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil
  953. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko
  954. AUTOLOAD:=$(call AutoLoad,60,brcmfmac)
  955. endef
  956. define KernelPackage/brcmfmac/description
  957. Kernel module for Broadcom IEEE802.11n USB Wireless cards
  958. endef
  959. BUILDFLAGS:= \
  960. -I$(PKG_BUILD_DIR)/include \
  961. -DCONFIG_CFG80211_INTERNAL_REGDB=y \
  962. $(foreach opt,$(CONFOPTS),-DCONFIG_$(opt)) \
  963. $(if $(CONFIG_PCI),-DCONFIG_B43_PCI_AUTOSELECT -DCONFIG_B43_PCICORE_AUTOSELECT) \
  964. $(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS) \
  965. -DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG \
  966. $(if $(CONFIG_PCI),-DCONFIG_ATH9K_PCI) \
  967. $(if $(CONFIG_TARGET_ar71xx),-DCONFIG_ATH9K_AHB) \
  968. $(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS), -DCONFIG_CFG80211_DEBUGFS -DCONFIG_MAC80211_DEBUGFS -DCONFIG_ATH9K_DEBUGFS -DCONFIG_CARL9170_DEBUGFS -DCONFIG_ATH9K_HTC_DEBUGFS -DCONFIG_ATH5K_DEBUG) \
  969. $(if $(CONFIG_PACKAGE_MAC80211_MESH),-DCONFIG_MAC80211_MESH) \
  970. $(if $(CONFIG_PACKAGE_ATH_DEBUG),-DCONFIG_ATH_DEBUG -DCONFIG_ATH9K_PKTLOG) \
  971. -D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
  972. -DCONFIG_MAC80211_RC_MINSTREL_HT \
  973. $(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1) \
  974. $(if $(CONFIG_PACKAGE_B43_DEBUG),-DCONFIG_B43_DEBUG) \
  975. $(if $(CONFIG_PACKAGE_B43_PIO),-DCONFIG_B43_PIO) \
  976. $(if $(CONFIG_PACKAGE_B43_PIO),-DCONFIG_B43_BCMA_PIO) \
  977. $(if $(CONFIG_PACKAGE_B43_PHY_N),-DCONFIG_B43_PHY_N) \
  978. $(if $(CONFIG_PACKAGE_B43_PHY_HT),-DCONFIG_B43_PHY_HT) \
  979. $(if $(CONFIG_PACKAGE_B43_PHY_LCN),-DCONFIG_B43_PHY_LCN) \
  980. -DCONFIG_B43_BCMA -DCONFIG_B43_BCMA_EXTRA \
  981. -DCONFIG_B43_SSB \
  982. $(if $(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS),-DCONFIG_RT2X00_LIB_DEBUGFS) \
  983. $(if $(CONFIG_PACKAGE_RT2X00_DEBUG),-DCONFIG_RT2X00_DEBUG) \
  984. $(if $(NEED_RT2X00_LIB_HT),-DCONFIG_RT2X00_LIB_HT) \
  985. $(if $(NEED_RT2X00_LIB_CRYPTO),-DCONFIG_RT2X00_LIB_CRYPTO) \
  986. $(if $(NEED_RT2X00_LIB_FIRMWARE),-DCONFIG_RT2X00_LIB_FIRMWARE) \
  987. $(if $(NEED_RT2X00_LIB_EEPROM),-DCONFIG_RT2X00_LIB_EEPROM) \
  988. $(if $(NEED_RT2X00_LIB_LEDS),-DCONFIG_RT2X00_LIB_LEDS) \
  989. $(if $(CONFIG_PACKAGE_kmod-rt2x00-pci),-DCONFIG_RT2X00_LIB_PCI) \
  990. $(if $(CONFIG_PACKAGE_kmod-rt2x00-usb),-DCONFIG_RT2X00_LIB_USB) \
  991. $(if $(CONFIG_PACKAGE_kmod-rt2x00-usb),-DCONFIG_RT2800USB_RT53XX) \
  992. $(if $(CONFIG_PACKAGE_kmod-rt2x00-soc),-DCONFIG_RT2X00_LIB_SOC) \
  993. $(if $(CONFIG_TARGET_atheros),-DCONFIG_ATH5K_AHB,-DCONFIG_ATH5K_PCI) \
  994. $(if $(CONFIG_PACKAGE_kmod-iwl3945),-DCONFIG_IWL3945) \
  995. $(if $(CONFIG_PACKAGE_kmod-iwl4965),-DCONFIG_COMPAT_IWL4965) \
  996. $(if $(CONFIG_PACKAGE_kmod-wl12xx),-DCONFIG_WL12XX -DCONFIG_COMPAT_WL12XX_SDIO) \
  997. $(if $(CONFIG_PACKAGE_BRCM80211_DEBUG),-DCONFIG_BRCMDBG) \
  998. $(if $(CONFIG_PACKAGE_kmod-brcmfmac),-DCONFIG_BRCMFMAC_USB)
  999. MAKE_OPTS:= \
  1000. CROSS_COMPILE="$(KERNEL_CROSS)" \
  1001. ARCH="$(LINUX_KARCH)" \
  1002. EXTRA_CFLAGS="$(BUILDFLAGS)" \
  1003. $(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \
  1004. CONFIG_CFG80211_INTERNAL_REGDB=y \
  1005. CONFIG_CFG80211=$(if $(CONFIG_PACKAGE_kmod-cfg80211),m) \
  1006. CONFIG_MAC80211=$(if $(CONFIG_PACKAGE_kmod-mac80211),m) \
  1007. CONFIG_MAC80211_RC_MINSTREL=y \
  1008. CONFIG_MAC80211_MESH=$(CONFIG_PACKAGE_MAC80211_MESH) \
  1009. CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS) \
  1010. CONFIG_CFG80211_DEBUGFS=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
  1011. CONFIG_MAC80211_DEBUGFS=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
  1012. CONFIG_B43_PCMCIA=n CONFIG_B43_PIO=n \
  1013. CONFIG_B43_PCI_AUTOSELECT=$(if $(CONFIG_PCI),y) \
  1014. CONFIG_B43_PCICORE_AUTOSELECT=$(if $(CONFIG_PCI),y) \
  1015. CONFIG_B43LEGACY_LEDS=$(CONFIG_LEDS_TRIGGERS) \
  1016. CONFIG_B43_LEDS=$(CONFIG_LEDS_TRIGGERS) \
  1017. CONFIG_B43_HWRNG=$(if $(CONFIG_HW_RANDOM),y) \
  1018. CONFIG_B43LEGACY_HWRNG=$(if $(CONFIG_HW_RANDOM),y) \
  1019. CONFIG_B43=$(if $(CONFIG_PACKAGE_kmod-b43),m) \
  1020. CONFIG_B43LEGACY=$(if $(CONFIG_PACKAGE_kmod-b43legacy),m) \
  1021. CONFIG_B43_DEBUG=$(if $(CONFIG_PACKAGE_B43_DEBUG),y) \
  1022. CONFIG_B43_PIO=$(if $(CONFIG_PACKAGE_B43_PIO),y) \
  1023. CONFIG_B43_BCMA_PIO=$(if $(CONFIG_PACKAGE_B43_PIO),y) \
  1024. CONFIG_B43_PHY_N=$(if $(CONFIG_PACKAGE_B43_PHY_N),y) \
  1025. CONFIG_B43_PHY_HT=$(if $(CONFIG_PACKAGE_B43_PHY_HT),y) \
  1026. CONFIG_B43_PHY_LCN=$(if $(CONFIG_PACKAGE_B43_PHY_LCN),y) \
  1027. CONFIG_B43_BCMA=y \
  1028. CONFIG_B43_SSB=y \
  1029. CONFIG_ATH_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath),m) \
  1030. CONFIG_ATH_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
  1031. CONFIG_ATH9K_PKTLOG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
  1032. CONFIG_ATH5K=$(if $(CONFIG_PACKAGE_kmod-ath5k),m) \
  1033. CONFIG_ATH5K_PCI=$(if $(CONFIG_TARGET_atheros),,y) \
  1034. CONFIG_ATH5K_AHB=$(if $(CONFIG_TARGET_atheros),y) \
  1035. CONFIG_ATH5K_DEBUG=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
  1036. CONFIG_ATH9K=$(if $(CONFIG_PACKAGE_kmod-ath9k),m) \
  1037. CONFIG_ATH9K_PCI=$(CONFIG_PCI) \
  1038. CONFIG_ATH9K_AHB=$(if $(CONFIG_TARGET_ar71xx),y) \
  1039. CONFIG_ATH9K_HTC=$(if $(CONFIG_PACKAGE_kmod-ath9k-htc),m) \
  1040. CONFIG_ATH9K_HTC_DEBUGFS=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
  1041. CONFIG_ATH9K_HW=$(if $(CONFIG_PACKAGE_kmod-ath9k-common),m) \
  1042. CONFIG_ATH9K_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath9k-common),m) \
  1043. CONFIG_ATH9K_DEBUGFS=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
  1044. CONFIG_CARL9170=$(if $(CONFIG_PACKAGE_kmod-carl9170),m) \
  1045. CONFIG_CARL9170_DEBUGFS=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
  1046. CONFIG_COMPAT_ZD1211RW=$(if $(CONFIG_PACKAGE_kmod-zd1211rw),m) \
  1047. CONFIG_P54_COMMON=$(if $(CONFIG_PACKAGE_kmod-p54-common),m) \
  1048. CONFIG_P54_PCI=$(if $(CONFIG_PACKAGE_kmod-p54-pci),m) \
  1049. CONFIG_P54_USB=$(if $(CONFIG_PACKAGE_kmod-p54-usb),m) \
  1050. CONFIG_P54_SPI=$(if $(CONFIG_PACKAGE_kmod-p54-spi),m) \
  1051. CONFIG_P54_SPI_DEFAULT_EEPROM=n \
  1052. CONFIG_RT2X00=$(if $(CONFIG_PACKAGE_kmod-rt2x00-lib),m) \
  1053. CONFIG_RT2X00_LIB=$(if $(CONFIG_PACKAGE_kmod-rt2x00-lib),m) \
  1054. CONFIG_RT2X00_LIB_PCI=$(if $(CONFIG_PACKAGE_kmod-rt2x00-pci),m) \
  1055. CONFIG_RT2X00_LIB_USB=$(if $(CONFIG_PACKAGE_kmod-rt2x00-usb),m) \
  1056. CONFIG_RT2X00_LIB_SOC=$(if $(CONFIG_PACKAGE_kmod-rt2x00-soc),m) \
  1057. CONFIG_RT2X00_LIB_DEBUGFS=$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) \
  1058. CONFIG_RT2X00_LIB_CRYPTO=$(NEED_RT2X00_LIB_CRYPTO) \
  1059. CONFIG_RT2X00_LIB_FIRMWARE=$(NEED_RT2X00_LIB_FIRMWARE) \
  1060. CONFIG_RT2X00_LIB_EEPROM=$(NEED_RT2X00_LIB_EEPROM) \
  1061. CONFIG_RT2X00_LIB_HT=$(NEED_RT2X00_LIB_HT) \
  1062. CONFIG_RT2X00_LIB_LEDS=$(NEED_RT2X00_LIB_LEDS) \
  1063. CONFIG_RT2400PCI=$(if $(CONFIG_PACKAGE_kmod-rt2400-pci),m) \
  1064. CONFIG_RT2500PCI=$(if $(CONFIG_PACKAGE_kmod-rt2500-pci),m) \
  1065. CONFIG_RT2500USB=$(if $(CONFIG_PACKAGE_kmod-rt2500-usb),m) \
  1066. CONFIG_RT61PCI=$(if $(CONFIG_PACKAGE_kmod-rt61-pci),m) \
  1067. CONFIG_RT73USB=$(if $(CONFIG_PACKAGE_kmod-rt73-usb),m) \
  1068. CONFIG_RT2800_LIB=$(if $(CONFIG_PACKAGE_kmod-rt2800-lib),m) \
  1069. CONFIG_RT2800PCI=$(if $(CONFIG_PACKAGE_kmod-rt2800-pci),m) \
  1070. CONFIG_RT2800USB=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),m) \
  1071. CONFIG_RTL8180=$(if $(CONFIG_PACKAGE_kmod-rtl8180),m) \
  1072. CONFIG_RTL8187=$(if $(CONFIG_PACKAGE_kmod-rtl8187),m) \
  1073. CONFIG_RTL8192CE= \
  1074. CONFIG_RTLWIFI= \
  1075. CONFIG_MAC80211_HWSIM=$(if $(CONFIG_PACKAGE_kmod-mac80211-hwsim),m) \
  1076. CONFIG_PCMCIA= \
  1077. CONFIG_LIBIPW=$(if $(CONFIG_PACKAGE_kmod-net-libipw),m) \
  1078. CONFIG_LIBERTAS=$(if $(CONFIG_PACKAGE_kmod-libertas-sd)$(CONFIG_PACKAGE_kmod-libertas-usb),m) \
  1079. CONFIG_LIBERTAS_CS= \
  1080. CONFIG_LIBERTAS_SPI= \
  1081. CONFIG_COMPAT_LIBERTAS_SDIO=$(if $(CONFIG_PACKAGE_kmod-libertas-sd),m) \
  1082. CONFIG_LIBERTAS_THINFIRM= \
  1083. CONFIG_LIBERTAS_USB=$(if $(CONFIG_PACKAGE_kmod-libertas-usb),m) \
  1084. CONFIG_IPW2100=$(if $(CONFIG_PACKAGE_kmod-net-ipw2100),m) \
  1085. CONFIG_IPW2200=$(if $(CONFIG_PACKAGE_kmod-net-ipw2200),m) \
  1086. CONFIG_NL80211=y \
  1087. CONFIG_LIB80211=$(if $(CONFIG_PACKAGE_kmod-lib80211),m) \
  1088. CONFIG_LIB80211_CRYPT_WEP=$(if $(CONFIG_PACKAGE_kmod-lib80211),m) \
  1089. CONFIG_LIB80211_CRYPT_CCMP=$(if $(CONFIG_PACKAGE_kmod-lib80211),m) \
  1090. CONFIG_LIB80211_CRYPT_TKIP=$(if $(CONFIG_PACKAGE_kmod-lib80211),m) \
  1091. CONFIG_IWLWIFI=$(if $(CONFIG_PACKAGE_kmod-iwlagn),m) \
  1092. CONFIG_IWLEGACY=$(if $(CONFIG_PACKAGE_kmod-iwl-legacy),m) \
  1093. CONFIG_COMPAT_IWL4965=$(if $(CONFIG_PACKAGE_kmod-iwl4965),m) \
  1094. CONFIG_IWL3945=$(if $(CONFIG_PACKAGE_kmod-iwl3945),m) \
  1095. CONFIG_MWL8K=$(if $(CONFIG_PACKAGE_kmod-mwl8k),m) \
  1096. CONFIG_ATMEL= \
  1097. CONFIG_PCMCIA_ATMEL= \
  1098. CONFIG_ADM8211= \
  1099. CONFIG_USB_NET_RNDIS_HOST= \
  1100. CONFIG_USB_NET_RNDIS_WLAN= \
  1101. CONFIG_USB_NET_CDCETHER= \
  1102. CONFIG_USB_USBNET= \
  1103. CONFIG_AT76C50X_USB= \
  1104. CONFIG_WL_TI=$(if $(CONFIG_PACKAGE_kmod-wl12xx),m) \
  1105. CONFIG_WLCORE=$(if $(CONFIG_PACKAGE_kmod-wl12xx),m) \
  1106. CONFIG_WL12XX=$(if $(CONFIG_PACKAGE_kmod-wl12xx),m) \
  1107. CONFIG_WLCORE_SDIO=$(if $(CONFIG_PACKAGE_kmod-wl12xx),m) \
  1108. CONFIG_EEPROM_93CX6= \
  1109. CONFIG_HERMES=$(if $(CONFIG_PACKAGE_kmod-net-hermes),m) \
  1110. CONFIG_HERMES_CACHE_FW_ON_INIT= \
  1111. CONFIG_PCI_HERMES=$(if $(CONFIG_PACKAGE_kmod-net-hermes-pci),m) \
  1112. CONFIG_PLX_HERMES=$(if $(CONFIG_PACKAGE_kmod-net-hermes-plx),m) \
  1113. CONFIG_PCMCIA_HERMES=$(if $(CONFIG_PACKAGE_kmod-net-hermes-pcmcia),m) \
  1114. CONFIG_HERMES_PRISM= \
  1115. CONFIG_APPLE_AIRPORT= \
  1116. CONFIG_TMD_HERMES= \
  1117. CONFIG_NORTEL_HERMES= \
  1118. CONFIG_PCMCIA_SPECTRUM= \
  1119. CONFIG_ORINOCO_USB= \
  1120. CONFIG_IWM= \
  1121. CONFIG_MWIFIEX= \
  1122. CONFIG_ATH6KL= \
  1123. CONFIG_MAC80211_RC_MINSTREL_HT=y \
  1124. MADWIFI= \
  1125. CONFIG_B44= \
  1126. CONFIG_ATL1= \
  1127. CONFIG_ATL2= \
  1128. CONFIG_ATL1E= \
  1129. CONFIG_ATL1C= \
  1130. CONFIG_BRCMUTIL=$(if $(CONFIG_PACKAGE_kmod-brcmutil),m) \
  1131. CONFIG_BRCMSMAC=$(if $(CONFIG_PACKAGE_kmod-brcmsmac),m) \
  1132. CONFIG_BRCMFMAC=$(if $(CONFIG_PACKAGE_kmod-brcmfmac),m) \
  1133. CONFIG_BRCMFMAC_USB=$(if $(CONFIG_PACKAGE_kmod-brcmfmac),y) \
  1134. CONFIG_BRCMDBG=$(if $(CONFIG_PACKAGE_BRCM80211_DEBUG),y) \
  1135. KLIB_BUILD="$(LINUX_DIR)" \
  1136. MODPROBE=true \
  1137. KLIB=$(TARGET_MODULES_DIR) \
  1138. KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
  1139. KBUILD_LDFLAGS_MODULE_PREREQ=
  1140. ifeq ($(CONFIG_PACKAGE_kmod-libertas-sd)$(CONFIG_PACKAGE_kmod-libertas-usb)$(CONFIG_PACKAGE_kmod-rt2x00-lib),)
  1141. MAKE_OPTS += CONFIG_COMPAT_KFIFO=
  1142. endif
  1143. define Build/Prepare
  1144. rm -rf $(PKG_BUILD_DIR)
  1145. mkdir -p $(PKG_BUILD_DIR)
  1146. $(PKG_UNPACK)
  1147. $(Build/Patch)
  1148. $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
  1149. $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
  1150. $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
  1151. $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_LINUX_FIRMWARE_SOURCE)
  1152. rm -rf $(PKG_BUILD_DIR)/include/linux/ssb
  1153. rm -rf $(PKG_BUILD_DIR)/include/linux/bcma
  1154. rm -rf $(PKG_BUILD_DIR)/include/net/bluetooth/
  1155. rm -f $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h
  1156. rm -f $(PKG_BUILD_DIR)/include/linux/wl12xx.h
  1157. rm -f $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h
  1158. rm -f $(PKG_BUILD_DIR)/include/net/ieee80211.h
  1159. echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version
  1160. $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
  1161. endef
  1162. ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
  1163. define Build/Compile/kmod
  1164. rm -rf $(PKG_BUILD_DIR)/modules
  1165. +$(MAKE) $(PKG_JOBS) -C "$(PKG_BUILD_DIR)" $(MAKE_OPTS) modules
  1166. endef
  1167. endif
  1168. define Build/Configure
  1169. cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
  1170. cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
  1171. cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
  1172. endef
  1173. define Build/Compile
  1174. $(call Build/Compile/kmod)
  1175. endef
  1176. define Build/InstallDev
  1177. mkdir -p \
  1178. $(1)/usr/include/mac80211 \
  1179. $(1)/usr/include/mac80211/ath \
  1180. $(1)/usr/include/net/mac80211
  1181. $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
  1182. $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
  1183. $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
  1184. endef
  1185. define KernelPackage/libertas-usb/install
  1186. $(INSTALL_DIR) $(1)/lib/firmware
  1187. $(INSTALL_DATA) \
  1188. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8388_v9.bin \
  1189. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8682.bin \
  1190. $(1)/lib/firmware/
  1191. endef
  1192. define KernelPackage/libertas-sd/install
  1193. $(INSTALL_DIR) $(1)/lib/firmware/libertas
  1194. $(INSTALL_DATA) \
  1195. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385_helper.bin \
  1196. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385.bin \
  1197. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9_helper.bin \
  1198. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9.bin \
  1199. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688_helper.bin \
  1200. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688.bin \
  1201. $(1)/lib/firmware/libertas
  1202. endef
  1203. define KernelPackage/cfg80211/install
  1204. $(INSTALL_DIR) $(1)/lib/wifi
  1205. $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
  1206. endef
  1207. define KernelPackage/p54-pci/install
  1208. $(INSTALL_DIR) $(1)/lib/firmware
  1209. $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
  1210. endef
  1211. define KernelPackage/p54-usb/install
  1212. $(INSTALL_DIR) $(1)/lib/firmware
  1213. $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
  1214. endef
  1215. define KernelPackage/p54-spi/install
  1216. $(INSTALL_DIR) $(1)/lib/firmware
  1217. $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
  1218. endef
  1219. define KernelPackage/rt61-pci/install
  1220. $(INSTALL_DIR) $(1)/lib/firmware
  1221. $(INSTALL_DATA) \
  1222. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561.bin \
  1223. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561s.bin \
  1224. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2661.bin \
  1225. $(1)/lib/firmware/
  1226. endef
  1227. define KernelPackage/rt73-usb/install
  1228. $(INSTALL_DIR) $(1)/lib/firmware
  1229. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt73.bin $(1)/lib/firmware/
  1230. endef
  1231. define KernelPackage/rt2800-pci/install
  1232. $(INSTALL_DIR) $(1)/lib/firmware
  1233. $(INSTALL_DATA) \
  1234. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2860.bin \
  1235. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt3290.bin \
  1236. $(1)/lib/firmware
  1237. endef
  1238. define KernelPackage/rt2800-usb/install
  1239. $(INSTALL_DIR) $(1)/lib/firmware
  1240. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2870.bin $(1)/lib/firmware/
  1241. endef
  1242. define KernelPackage/wl12xx/install
  1243. $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
  1244. $(INSTALL_DATA) \
  1245. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-mr.bin \
  1246. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-plt.bin \
  1247. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-sr.bin \
  1248. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl1271-nvs.bin \
  1249. $(1)/lib/firmware/ti-connectivity
  1250. endef
  1251. define KernelPackage/zd1211rw/install
  1252. $(INSTALL_DIR) $(1)/lib/firmware/zd1211
  1253. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
  1254. endef
  1255. define KernelPackage/ath9k-htc/install
  1256. $(INSTALL_DIR) $(1)/lib/firmware
  1257. $(INSTALL_DATA) \
  1258. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_9271.fw \
  1259. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_7010.fw \
  1260. $(1)/lib/firmware/
  1261. endef
  1262. define KernelPackage/mwl8k/install
  1263. $(INSTALL_DIR) $(1)/lib/firmware/mwl8k
  1264. $(INSTALL_DATA) \
  1265. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366_ap-2.fw \
  1266. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366.fw \
  1267. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8366.fw \
  1268. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8687.fw \
  1269. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8687.fw \
  1270. $(1)/lib/firmware/mwl8k/
  1271. endef
  1272. define KernelPackage/net-ipw2100/install
  1273. $(INSTALL_DIR) $(1)/lib/firmware
  1274. $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
  1275. endef
  1276. define KernelPackage/net-ipw2200/install
  1277. $(INSTALL_DIR) $(1)/lib/firmware
  1278. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
  1279. endef
  1280. define KernelPackage/iwlagn/install
  1281. $(INSTALL_DIR) $(1)/lib/firmware
  1282. ifneq ($(CONFIG_IWL5000_FW),)
  1283. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5000-5.ucode $(1)/lib/firmware
  1284. endif
  1285. ifneq ($(CONFIG_IWL5150_FW),)
  1286. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5150-2.ucode $(1)/lib/firmware
  1287. endif
  1288. ifneq ($(CONFIG_IWL1000_FW),)
  1289. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-1000-5.ucode $(1)/lib/firmware
  1290. endif
  1291. ifneq ($(CONFIG_IWL6000_FW),)
  1292. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000-4.ucode $(1)/lib/firmware
  1293. endif
  1294. ifneq ($(CONFIG_IWL6050_FW),)
  1295. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6050-5.ucode $(1)/lib/firmware
  1296. endif
  1297. ifneq ($(CONFIG_IWL6005_FW),)
  1298. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2a-6.ucode $(1)/lib/firmware
  1299. endif
  1300. ifneq ($(CONFIG_IWL6030_FW),)
  1301. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2b-6.ucode $(1)/lib/firmware
  1302. endif
  1303. ifneq ($(CONFIG_IWL100_FW),)
  1304. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-100-5.ucode $(1)/lib/firmware
  1305. endif
  1306. ifneq ($(CONFIG_IWL2000_FW),)
  1307. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2000-6.ucode $(1)/lib/firmware
  1308. endif
  1309. ifneq ($(CONFIG_IWL2030_FW),)
  1310. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2030-6.ucode $(1)/lib/firmware
  1311. endif
  1312. ifneq ($(CONFIG_IWL105_FW),)
  1313. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-105-6.ucode $(1)/lib/firmware
  1314. endif
  1315. ifneq ($(CONFIG_IWL135_FW),)
  1316. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-135-6.ucode $(1)/lib/firmware
  1317. endif
  1318. endef
  1319. define KernelPackage/iwl3945/install
  1320. $(INSTALL_DIR) $(1)/lib/firmware
  1321. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-3945-2.ucode $(1)/lib/firmware
  1322. endef
  1323. define KernelPackage/iwl4965/install
  1324. $(INSTALL_DIR) $(1)/lib/firmware
  1325. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-4965-2.ucode $(1)/lib/firmware
  1326. endef
  1327. define KernelPackage/b43/install
  1328. rm -rf $(1)/lib/firmware/
  1329. ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
  1330. tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1331. else
  1332. tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1333. endif
  1334. $(INSTALL_DIR) $(1)/lib/firmware/
  1335. ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
  1336. $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
  1337. $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
  1338. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
  1339. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
  1340. $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
  1341. else
  1342. b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
  1343. endif
  1344. ifneq ($(CONFIG_B43_FW_SQUASH),)
  1345. b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
  1346. endif
  1347. endef
  1348. define KernelPackage/b43legacy/install
  1349. $(INSTALL_DIR) $(1)/lib/firmware/
  1350. b43-fwcutter --unsupported -w $(1)/lib/firmware/ $(DL_DIR)/$(PKG_B43_FWV3_SOURCE)
  1351. ifneq ($(CONFIG_B43LEGACY_FW_SQUASH),)
  1352. b43-fwsquash.py "G" "$(CONFIG_B43LEGACY_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43legacy"
  1353. endif
  1354. endef
  1355. define KernelPackage/brcmsmac/install
  1356. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  1357. ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
  1358. tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
  1359. b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
  1360. else
  1361. $(INSTALL_DATA) \
  1362. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
  1363. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
  1364. $(1)/lib/firmware/brcm/
  1365. endif
  1366. endef
  1367. define KernelPackage/brcmfmac/install
  1368. $(INSTALL_DIR) $(1)/lib/firmware/brcm
  1369. $(INSTALL_DATA) \
  1370. $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \
  1371. $(1)/lib/firmware/brcm/
  1372. endef
  1373. $(eval $(call KernelPackage,ath5k))
  1374. $(eval $(call KernelPackage,lib80211))
  1375. $(eval $(call KernelPackage,libertas-usb))
  1376. $(eval $(call KernelPackage,libertas-sd))
  1377. $(eval $(call KernelPackage,cfg80211))
  1378. $(eval $(call KernelPackage,mac80211))
  1379. $(eval $(call KernelPackage,p54-common))
  1380. $(eval $(call KernelPackage,p54-pci))
  1381. $(eval $(call KernelPackage,p54-usb))
  1382. $(eval $(call KernelPackage,p54-spi))
  1383. $(eval $(call KernelPackage,rt2x00-lib))
  1384. $(eval $(call KernelPackage,rt2x00-pci))
  1385. $(eval $(call KernelPackage,rt2x00-usb))
  1386. $(eval $(call KernelPackage,rt2x00-soc))
  1387. $(eval $(call KernelPackage,rt2800-lib))
  1388. $(eval $(call KernelPackage,rt2400-pci))
  1389. $(eval $(call KernelPackage,rt2500-pci))
  1390. $(eval $(call KernelPackage,rt2500-usb))
  1391. $(eval $(call KernelPackage,rt61-pci))
  1392. $(eval $(call KernelPackage,rt73-usb))
  1393. $(eval $(call KernelPackage,rt2800-pci))
  1394. $(eval $(call KernelPackage,rt2800-usb))
  1395. $(eval $(call KernelPackage,rtl8180))
  1396. $(eval $(call KernelPackage,rtl8187))
  1397. $(eval $(call KernelPackage,zd1211rw))
  1398. $(eval $(call KernelPackage,mac80211-hwsim))
  1399. $(eval $(call KernelPackage,ath9k-common))
  1400. $(eval $(call KernelPackage,ath9k))
  1401. $(eval $(call KernelPackage,ath9k-htc))
  1402. $(eval $(call KernelPackage,ath))
  1403. $(eval $(call KernelPackage,carl9170))
  1404. $(eval $(call KernelPackage,b43))
  1405. $(eval $(call KernelPackage,b43legacy))
  1406. $(eval $(call KernelPackage,brcmutil))
  1407. $(eval $(call KernelPackage,brcmsmac))
  1408. $(eval $(call KernelPackage,brcmfmac))
  1409. $(eval $(call KernelPackage,net-libipw))
  1410. $(eval $(call KernelPackage,net-ipw2100))
  1411. $(eval $(call KernelPackage,net-ipw2200))
  1412. $(eval $(call KernelPackage,iwlagn))
  1413. $(eval $(call KernelPackage,iwl-legacy))
  1414. $(eval $(call KernelPackage,iwl4965))
  1415. $(eval $(call KernelPackage,iwl3945))
  1416. $(eval $(call KernelPackage,mwl8k))
  1417. $(eval $(call KernelPackage,net-hermes))
  1418. $(eval $(call KernelPackage,net-hermes-pci))
  1419. $(eval $(call KernelPackage,net-hermes-plx))
  1420. $(eval $(call KernelPackage,net-hermes-pcmcia))
  1421. $(eval $(call KernelPackage,wl12xx))