wireless.mk 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #
  2. # Copyright (C) 2006-2008 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. WIRELESS_MENU:=Wireless Drivers
  8. define KernelPackage/net-airo
  9. SUBMENU:=$(WIRELESS_MENU)
  10. TITLE:=Cisco Aironet driver
  11. DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
  12. KCONFIG:=CONFIG_AIRO
  13. FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.ko
  14. AUTOLOAD:=$(call AutoProbe,airo)
  15. endef
  16. define KernelPackage/net-airo/description
  17. Kernel support for Cisco Aironet cards
  18. endef
  19. $(eval $(call KernelPackage,net-airo))
  20. define KernelPackage/net-prism54
  21. SUBMENU:=$(WIRELESS_MENU)
  22. TITLE:=Intersil Prism54 support
  23. DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
  24. KCONFIG:=CONFIG_PRISM54
  25. FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko
  26. AUTOLOAD:=$(call AutoProbe,prism54)
  27. endef
  28. define KernelPackage/net-prism54/description
  29. Kernel modules for Intersil Prism54 support
  30. endef
  31. # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
  32. PRISM54_FW:=1.0.4.3.arm
  33. define Download/net-prism54
  34. FILE:=$(PRISM54_FW)
  35. URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
  36. MD5SUM:=8bd4310971772a486b9784c77f8a6df9
  37. endef
  38. define KernelPackage/net-prism54/install
  39. $(INSTALL_DIR) $(1)/lib/firmware
  40. $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
  41. endef
  42. $(eval $(call Download,net-prism54))
  43. $(eval $(call KernelPackage,net-prism54))
  44. define KernelPackage/net-rtl8188eu
  45. SUBMENU:=$(WIRELESS_MENU)
  46. TITLE:=RTL8188EU support (staging)
  47. DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT +r8188eu-firmware +kmod-usb-core
  48. KCONFIG:=\
  49. CONFIG_STAGING=y \
  50. CONFIG_R8188EU \
  51. CONFIG_88EU_AP_MODE=y \
  52. CONFIG_88EU_P2P=n
  53. FILES:=$(LINUX_DIR)/drivers/staging/rtl8188eu/r8188eu.ko
  54. AUTOLOAD:=$(call AutoProbe,r8188eu)
  55. endef
  56. define KernelPackage/net-rtl8188eu/description
  57. Kernel modules for RealTek RTL8188EU support
  58. endef
  59. $(eval $(call KernelPackage,net-rtl8188eu))
  60. define KernelPackage/net-rtl8192su
  61. SUBMENU:=$(WIRELESS_MENU)
  62. TITLE:=RTL8192SU support (staging)
  63. DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-usb-core
  64. KCONFIG:=\
  65. CONFIG_STAGING=y \
  66. CONFIG_R8712U
  67. FILES:=$(LINUX_DIR)/drivers/staging/rtl8712/r8712u.ko
  68. AUTOLOAD:=$(call AutoProbe,r8712u)
  69. endef
  70. define KernelPackage/net-rtl8192su/description
  71. Kernel modules for RealTek RTL8712 and RTL81XXSU fullmac support.
  72. endef
  73. # R8712 FullMAC firmware
  74. R8712_FW:=rtl8712u.bin
  75. define Download/net-rtl8192su
  76. FILE:=$(R8712_FW)
  77. URL:=http://mirrors.arizona.edu/raspbmc/downloads/bin/lib/wifi/rtlwifi/
  78. MD5SUM:=8e6396b5844a3e279ae8679555dec3f0
  79. endef
  80. define KernelPackage/net-rtl8192su/install
  81. $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
  82. $(INSTALL_DATA) $(DL_DIR)/$(R8712_FW) $(1)/lib/firmware/rtlwifi/
  83. endef
  84. $(eval $(call Download,net-rtl8192su))
  85. $(eval $(call KernelPackage,net-rtl8192su))