mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
9cf5769636
Upstream PR 416 improvements: -AMPDU Optimization of priority calculation. (8864/8897) -8864/8897 fix wpa3 -Add cypher suite to driver capabilities (all chip) -Alignment of pcie_tx_ctrl* (all chip) -"feature" normalization for all chips (all chip) -Add modprobe parameters (all chip) -fix monitoring (all chip) -Code separation by chipset (8864/8897 <=> 8997) -dump_prob decommissioning (8864/8897/8997) -fix amsdu high ping latency (8864/8897/8997) -drop debug info in hostcmd_get_hw_spec() (8864/8897) -Add wcb_base in debug info (8864) -Rewrite AMSDU packets (8864/8897/8997) -debug rewrite output mwl_debugfs_sta_read (all chip) -Improved encryption interoperability (8864/8897/8997) -factorization encrypted packet test (8864/8897/8997) -Change 88W8864 firmware to 7.2.9.27 (8864/8897) -Fix the AMPDU session lifecycle (8864/8897/8997) -Remove the tx done packets mechanism (8864/8897) Signed-off-by: Michael Trinidad <trinidude4@hotmail.com>
105 lines
2.9 KiB
Makefile
105 lines
2.9 KiB
Makefile
#
|
|
# Copyright (C) 2014-2016 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=mwlwifi
|
|
PKG_RELEASE=1
|
|
|
|
PKG_LICENSE:=ISC
|
|
PKG_LICENSE_FILES:=
|
|
|
|
PKG_SOURCE_URL:=https://github.com/kaloz/mwlwifi
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_DATE:=2023-11-20
|
|
PKG_SOURCE_VERSION:=2a5a4ae31a2ad1b432a1dcb6ef6c3298e3330b2c
|
|
PKG_MIRROR_HASH:=b1151051ed6eba063c05916d8dbc4f03f804772d217e8c65b7baa263ded7a961
|
|
|
|
PKG_MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_FLAGS:=nonshared
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define KernelPackage/mwlwifi
|
|
SUBMENU:=Wireless Drivers
|
|
TITLE:=Marvell 88W8864/88W8897/88W8964/88W8997 wireless driver
|
|
DEPENDS:=+kmod-mac80211 +@DRIVER_11AC_SUPPORT @PCI_SUPPORT @TARGET_mvebu
|
|
FILES:=$(PKG_BUILD_DIR)/mwlwifi.ko
|
|
AUTOLOAD:=$(call AutoLoad,50,mwlwifi)
|
|
endef
|
|
|
|
NOSTDINC_FLAGS := \
|
|
$(KERNEL_NOSTDINC_FLAGS) \
|
|
-I$(PKG_BUILD_DIR) \
|
|
-I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \
|
|
-I$(STAGING_DIR)/usr/include/mac80211-backport \
|
|
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
|
|
-I$(STAGING_DIR)/usr/include/mac80211 \
|
|
-include backport/backport.h \
|
|
-Wno-unused-result
|
|
|
|
define Build/Compile
|
|
+$(KERNEL_MAKE) $(PKG_JOBS) \
|
|
M="$(PKG_BUILD_DIR)" \
|
|
NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \
|
|
modules
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-default
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
TITLE:=Marvell $(1) firmware
|
|
DEPENDS:=+kmod-mwlwifi @TARGET_mvebu
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware
|
|
$(INSTALL_DIR) $(1)/lib/firmware/mwlwifi
|
|
$(CP) $(PKG_BUILD_DIR)/bin/firmware/$(2) $(1)/lib/firmware/mwlwifi/
|
|
$(CP) $(PKG_BUILD_DIR)/bin/firmware/Marvell_license.txt $(1)/lib/firmware/mwlwifi/$(2).Marvell_license.txt
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8864
|
|
$(call Package/mwlwifi-firmware-default,88W8864)
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8864/install
|
|
$(call Package/mwlwifi-firmware/install,$(1),88W8864.bin)
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8897
|
|
$(call Package/mwlwifi-firmware-default,88W8897)
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8897/install
|
|
$(call Package/mwlwifi-firmware/install,$(1),88W8897.bin)
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8964
|
|
$(call Package/mwlwifi-firmware-default,88W8964)
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8964/install
|
|
$(call Package/mwlwifi-firmware/install,$(1),88W8964.bin)
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8997
|
|
$(call Package/mwlwifi-firmware-default,88W8997)
|
|
endef
|
|
|
|
define Package/mwlwifi-firmware-88w8997/install
|
|
$(call Package/mwlwifi-firmware/install,$(1),88W8997.bin)
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,mwlwifi))
|
|
$(eval $(call BuildPackage,mwlwifi-firmware-88w8864))
|
|
$(eval $(call BuildPackage,mwlwifi-firmware-88w8897))
|
|
$(eval $(call BuildPackage,mwlwifi-firmware-88w8964))
|
|
$(eval $(call BuildPackage,mwlwifi-firmware-88w8997))
|