From 2f7d22dc6fbb9532b82522c4a78434a07f9d8fb1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Sep 2024 17:58:13 +0200 Subject: [PATCH] mt76: update to Git HEAD (2024-09-29) 1231d45dcb5e wifi: mt76: mt7915: check devm_kasprintf() returned value 042082027b3f wifi: mt76: mt7921: Check devm_kasprintf() returned value 4a95c1a81eee wifi: mt76: Avoid multiple -Wflex-array-member-not-at-end warnings 5fdb1841f726 wifi: mt76: mt7925: fix a potential association failure upon resuming eeb51b527377 wifi: mt76: mt7925: convert comma to semicolon d4b3b302ceb9 wifi: mt76: mt7615: check devm_kasprintf() returned value 922e515bd8e0 wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc bec8cb851d99 wifi: mt76: mt7925: replace chan config with extend txpower config for clc d10ce9d65dac wifi: mt76: remove mt76_calculate_default_rate() 6685a2f4c217 wifi: mt76: mt7996: remove phy->monitor_vif a2a9d9826277 wifi: mt76: do not increase mcu skb refcount if retry is not supported 059342ca6a68 wifi: mt76: move mt76_tm_policy to from testmode.h to mt76.h 8bef11443290 wifi: mac80211: inform the low level if drv_stop() is a suspend 4b16d2bfdcbd wifi: mac80211: handle color change per link 4529cddb6718 wifi: mt76: mt7996: extend flexibility of mt7996_mcu_get_eeprom() 4364571e4b2b wifi: mt76: mt7996: add support for more variants 8c86aa304ea1 wifi: mt76: mt7996: set correct background radar capability addfbd141863 firmware: add latest mt7996 + mt7992 firmware 5ba4981f8b92 wifi: mt76: mt792x: add P2P_DEVICE support dc32780c7fcd wifi: mt76: mt7921s: fix a potential firmware freeze during startup 7b5d653ea90e wifi: mt76: mt7925: fix off by one in mt7925_load_clc() 1e57d2da94c9 wifi: mt76: mt7615: Convert comma to semicolon 7aca94abac47 wifi: mt76: mt7915: fix slot time for 5/6GHz e3e6d490ab90 wifi: mt76: mt7915: Fix mesh scan on MT7916 DBDC ee693260c521 firmware: move mt7996 firmware to the right place 867accf4f4aa wifi: mt76: mt7996: Add eht radiotap tlv 7c4d6e403381 wifi: mt76: Fix EHT NSS radiotap reporting. 71c3949fa8ac wifi: mt76: mt7921: fix a potential scan no APs 61641da04c9e mt76: mt76u_vendor_request: Do not print error messages when -EPROTO 680bc70f161f wifi: mt76: mt7921: fix using incorrect group cipher after disconnection. Signed-off-by: Felix Fietkau --- package/kernel/mt76/Makefile | 79 +++++++++++++++++++++++++++++++++--- 1 file changed, 74 insertions(+), 5 deletions(-) diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index 4d808c96b3..872dec0e76 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -8,9 +8,9 @@ PKG_LICENSE_FILES:= PKG_SOURCE_URL:=https://github.com/openwrt/mt76 PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2024-09-05 -PKG_SOURCE_VERSION:=65cc3daf2a332cc658e9f7438cdadde4392e672e -PKG_MIRROR_HASH:=c29c4f883051a6360119156a03e010ac11573011b23d9e873f83c720600970e7 +PKG_SOURCE_DATE:=2024-09-29 +PKG_SOURCE_VERSION:=680bc70f161fde0f167e2ae50c771be4775eb50a +PKG_MIRROR_HASH:=bcdb95e40cfceba56a565ad6b6d9f92a122e7230d0f7f950b3d39e4280723cca PKG_MAINTAINER:=Felix Fietkau PKG_USE_NINJA:=0 @@ -323,10 +323,34 @@ define KernelPackage/mt7996e AUTOLOAD:=$(call AutoProbe,mt7996e) endef +define KernelPackage/mt7992-firmware + $(KernelPackage/mt76-default) + TITLE:=MediaTek MT7992 firmware + DEPENDS+=+kmod-mt7996 +endef + +define KernelPackage/mt7992-23-firmware + $(KernelPackage/mt76-default) + TITLE:=MediaTek MT7996 firmware (2+3 antenna variant) + DEPENDS+=+kmod-mt7996e +endef + +define KernelPackage/mt7996-firmware-common + $(KernelPackage/mt76-default) + TITLE:=MediaTek MT7996 firmware (common files) + HIDDEN:=1 +endef + define KernelPackage/mt7996-firmware $(KernelPackage/mt76-default) TITLE:=MediaTek MT7996 firmware - DEPENDS+=+kmod-mt7996e + DEPENDS+=+kmod-mt7996e +kmod-mt7996-firmware-common +endef + +define KernelPackage/mt7996-233-firmware + $(KernelPackage/mt76-default) + TITLE:=MediaTek MT7996 firmware (2+3+3 antenna variant) + DEPENDS+=+kmod-mt7996e +kmod-mt7996-firmware-common endef define KernelPackage/mt7925-firmware @@ -630,17 +654,58 @@ define KernelPackage/mt7925-firmware/install $(1)/lib/firmware/mediatek/mt7925 endef -define KernelPackage/mt7996-firmware/install +define KernelPackage/mt7992-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7996 + cp \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_dsp.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_rom_patch.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wa.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wm.bin \ + $(1)/lib/firmware/mediatek/mt7996 +endef + +define KernelPackage/mt7992-23-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7996 + cp \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_dsp_23.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom_23.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom_23.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_rom_patch_23.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wa_23.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wm_23.bin \ + $(1)/lib/firmware/mediatek/mt7996 +endef + +define KernelPackage/mt7996-firmware-common/install $(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7996 cp \ $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_dsp.bin \ + $(1)/lib/firmware/mediatek/mt7996 +endef + +define KernelPackage/mt7996-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7996 + cp \ $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_eeprom.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_eeprom_2i5i6i.bin \ $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_rom_patch.bin \ $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_wa.bin \ $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_wm.bin \ $(1)/lib/firmware/mediatek/mt7996 endef +define KernelPackage/mt7996-233-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7996 + cp \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_eeprom_233.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_eeprom_233_2i5i6i.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_rom_patch_233.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_wa_233.bin \ + $(PKG_BUILD_DIR)/firmware/mt7996/mt7996_wm_233.bin \ + $(1)/lib/firmware/mediatek/mt7996 +endef + define Package/mt76-test/install mkdir -p $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/mt76-test $(1)/usr/sbin @@ -691,6 +756,10 @@ $(eval $(call KernelPackage,mt7921e)) $(eval $(call KernelPackage,mt7925u)) $(eval $(call KernelPackage,mt7925e)) $(eval $(call KernelPackage,mt7996e)) +$(eval $(call KernelPackage,mt7992-firmware)) +$(eval $(call KernelPackage,mt7992-23-firmware)) +$(eval $(call KernelPackage,mt7996-firmware-common)) $(eval $(call KernelPackage,mt7996-firmware)) +$(eval $(call KernelPackage,mt7996-233-firmware)) $(eval $(call KernelPackage,mt76)) $(eval $(call BuildPackage,mt76-test)) -- 2.30.2