warp: update to 20231229-5f71ec (sdk 7.6.7.2)

This commit is contained in:
hanwckf 2024-10-14 00:18:09 +08:00
parent 6f88e264a1
commit b2bb906cb1
13 changed files with 4 additions and 37 deletions

Binary file not shown.

View File

@ -8,18 +8,13 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=warp PKG_NAME:=warp
PKG_VERSION:=20221209-3e6ae1 PKG_VERSION:=20231229-5f71ec
PKG_SOURCE:=warp_20221209-3e6ae1-src.tar.xz PKG_SOURCE:=warp_20231229-5f71ec.tar.xz
MT7981_NEW_WOFW_DIR := mt7981-fw-20230411
MT7986_NEW_WOFW_DIR := mt7986-fw-20230421
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
PKG_KCONFIG:= \ PKG_KCONFIG:= \
WARP_VERSION \ WARP_VERSION \
WARP_ATC_SUPPORT \
WARP_DBG_SUPPORT \ WARP_DBG_SUPPORT \
WARP_WDMA_RECYCLE_SUPPORT \
WED_HW_RRO_SUPPORT \ WED_HW_RRO_SUPPORT \
MTK_MEMORY_SHRINK \ MTK_MEMORY_SHRINK \
WARP_CHIPSET \ WARP_CHIPSET \
@ -46,14 +41,6 @@ define KernelPackage/warp/config
source "$(SOURCE)/config.in" source "$(SOURCE)/config.in"
endef endef
ifeq ($(CONFIG_WARP_VERSION), 3)
MTK_WIFI_DIR:=$(TOPDIR)/../ko_module/wlan_driver/logan
else
MTK_WIFI_DIR:=$(TOPDIR)/../ko_module/wlan_driver/jedi
endif
USE_BIN_DIR:=$(MTK_WIFI_DIR)/warp_driver/bin
define Build/Compile define Build/Compile
$(MAKE) -C "$(LINUX_DIR)" V=1 \ $(MAKE) -C "$(LINUX_DIR)" V=1 \
$(KERNEL_MAKE_FLAGS) \ $(KERNEL_MAKE_FLAGS) \
@ -74,17 +61,9 @@ MAKE_FLAGS += CONFIG_SUPPORT_OPENWRT=y
define KernelPackage/warp/install define KernelPackage/warp/install
$(INSTALL_DIR) $(1)/lib/firmware $(INSTALL_DIR) $(1)/lib/firmware
if [ "$$(CONFIG_WARP_CHIPSET)" = "mt7981" ]; then \ if [ "$$(CONFIG_WARP_CHIPSET)" = "mt7981" ]; then \
if [ "$$(CONFIG_WARP_NEW_FW)" = "y" ]; then \ cp $(PKG_BUILD_DIR)/bin/7981*WOCPU*_RAM_CODE_release.bin $(1)/lib/firmware/; \
cp ./files/$$(MT7981_NEW_WOFW_DIR)/7981*WOCPU*_RAM_CODE_release.bin $(1)/lib/firmware/; \
else \
cp $(PKG_BUILD_DIR)/bin/7981*WOCPU*_RAM_CODE_release.bin $(1)/lib/firmware/; \
fi; \
elif [ "$$(CONFIG_WARP_CHIPSET)" = "mt7986" ]; then \ elif [ "$$(CONFIG_WARP_CHIPSET)" = "mt7986" ]; then \
if [ "$$(CONFIG_WARP_NEW_FW)" = "y" ]; then \ cp $(PKG_BUILD_DIR)/bin/7986*WOCPU*_RAM_CODE_release.bin $(1)/lib/firmware/; \
cp ./files/$$(MT7986_NEW_WOFW_DIR)/7986*WOCPU*_RAM_CODE_release.bin $(1)/lib/firmware/; \
else \
cp $(PKG_BUILD_DIR)/bin/7986*WOCPU*_RAM_CODE_release.bin $(1)/lib/firmware/; \
fi; \
fi fi
endef endef

View File

@ -7,18 +7,10 @@ config WARP_VERSION
default 2 if TARGET_mediatek_mt7986 default 2 if TARGET_mediatek_mt7986
default 3 if TARGET_mediatek_mt7988 default 3 if TARGET_mediatek_mt7988
config WARP_ATC_SUPPORT
bool "WARP Driver Address Translate Support for CR mirror"
default n
config WARP_DBG_SUPPORT config WARP_DBG_SUPPORT
bool "WARP Driver Debug Info Support" bool "WARP Driver Debug Info Support"
default y default y
config WARP_WDMA_RECYCLE_SUPPORT
bool "WARP WDMA Recycle Support"
default n
config WED_HW_RRO_SUPPORT config WED_HW_RRO_SUPPORT
bool "WED HW RRO Support" bool "WED HW RRO Support"
default y default y
@ -44,8 +36,4 @@ config WARP_WO_EMBEDDED_LOAD
help help
Once enabled, firmware download flow try embedded version once externel version being invalid. Once enabled, firmware download flow try embedded version once externel version being invalid.
config WARP_NEW_FW
bool "Use new warp firmware"
default n
endif endif