| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | PKG_DRIVERS += \ |
| 2 | libertas-sdio libertas-usb libertas-spi \ |
| 3 | mwl8k mwifiex-pcie mwifiex-sdio |
| 4 | |
| 5 | config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO |
| 6 | config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB |
| 7 | config-$(call config_package,libertas-spi) += LIBERTAS LIBERTAS_SPI |
| 8 | config-$(call config_package,mwl8k) += MWL8K |
| 9 | config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE |
| 10 | config-$(call config_package,mwifiex-sdio) += MWIFIEX MWIFIEX_SDIO |
| 11 | |
| 12 | define KernelPackage/libertas-usb |
| 13 | $(call KernelPackage/mac80211/Default) |
| 14 | DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 +@DRIVER_WEXT_SUPPORT +libertas-usb-firmware |
| 15 | TITLE:=Marvell 88W8015 Wireless Driver |
| 16 | FILES:= \ |
| 17 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \ |
| 18 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/usb8xxx.ko |
| 19 | AUTOLOAD:=$(call AutoProbe,libertas usb8xxx) |
| 20 | endef |
| 21 | |
| 22 | define KernelPackage/libertas-sdio |
| 23 | $(call KernelPackage/mac80211/Default) |
| 24 | DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware |
| 25 | TITLE:=Marvell 88W8686 Wireless Driver |
| 26 | FILES:= \ |
| 27 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \ |
| 28 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_sdio.ko |
| 29 | AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio) |
| 30 | endef |
| 31 | |
| 32 | define KernelPackage/libertas-spi |
| 33 | $(call KernelPackage/mac80211/Default) |
| 34 | SUBMENU:=Wireless Drivers |
| 35 | DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-spi-firmware |
| 36 | KCONFIG := \ |
| 37 | CONFIG_SPI=y \ |
| 38 | CONFIG_SPI_MASTER=y |
| 39 | TITLE:=Marvell 88W8686 SPI Wireless Driver |
| 40 | FILES:= \ |
| 41 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \ |
| 42 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_spi.ko |
| 43 | AUTOLOAD:=$(call AutoProbe,libertas libertas_spi) |
| 44 | endef |
| 45 | |
| 46 | |
| 47 | define KernelPackage/mwl8k |
| 48 | $(call KernelPackage/mac80211/Default) |
| 49 | TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards |
| 50 | URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwl8k |
| 51 | DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwl8k-firmware |
| 52 | FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwl8k.ko |
| 53 | AUTOLOAD:=$(call AutoProbe,mwl8k) |
| 54 | endef |
| 55 | |
| 56 | define KernelPackage/mwl8k/description |
| 57 | Kernel modules for Marvell TOPDOG 802.11 Wireless cards |
| 58 | endef |
| 59 | |
| 60 | |
| 61 | define KernelPackage/mwifiex-pcie |
| 62 | $(call KernelPackage/mac80211/Default) |
| 63 | TITLE:=Driver for Marvell 802.11n/802.11ac PCIe Wireless cards |
| 64 | URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex |
| 65 | DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-pcie-firmware |
| 66 | FILES:= \ |
| 67 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \ |
| 68 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_pcie.ko |
| 69 | AUTOLOAD:=$(call AutoProbe,mwifiex_pcie) |
| 70 | endef |
| 71 | |
| 72 | define KernelPackage/mwifiex-pcie/description |
| 73 | Kernel modules for Marvell 802.11n/802.11ac PCIe Wireless cards |
| 74 | endef |
| 75 | |
| 76 | define KernelPackage/mwifiex-sdio |
| 77 | $(call KernelPackage/mac80211/Default) |
| 78 | TITLE:=Driver for Marvell 802.11n/802.11ac SDIO Wireless cards |
| 79 | URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex |
| 80 | DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-sdio-firmware |
| 81 | FILES:= \ |
| 82 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \ |
| 83 | $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko |
| 84 | AUTOLOAD:=$(call AutoProbe,mwifiex_sdio) |
| 85 | endef |
| 86 | |
| 87 | define KernelPackage/mwifiex-sdio/description |
| 88 | Kernel modules for Marvell 802.11n/802.11ac SDIO Wireless cards |
| 89 | endef |
| 90 | |