[openwrt/openwrt] mt76: update to the latest version

LEDE Commits lede-commits at lists.infradead.org
Tue Mar 15 02:47:45 PDT 2022


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/da2b97210cdcee893a59628455b595d6c69544f6

commit da2b97210cdcee893a59628455b595d6c69544f6
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Mar 15 10:45:38 2022 +0100

    mt76: update to the latest version
    
    378b638c70c0 mt76: mt7915: fix unused variable with testmode disabled
    4f4309542862 mt76: mt7915: only use u32_get_bits with constant value
    de06d828a0bf mt76: mt7921: fix injected MPDU transmission to not use HW A-MSDU
    c007ba3ec7a9 mt76: mt7915: simplify conditional
    64c74dc93f68 mt76: fix dfs state issue with 160 MHz channels
    d3471b0d92c1 mt76: mt7615: honor ret from mt7615_mcu_restart in mt7663u_mcu_init
    f4c87b32e0e9 mt76: mt7663u: introduce mt7663u_mcu_power_on routine
    82de5987af54 mt76: mt7921: fix up the monitor mode
    c501df4086e1 mt76: mt7921: use mt76_hw instead of open coding it
    594ee03d5a11 mt76: mt7915: fix DFS no radar detection event
    d8d2b383a241 mt76: split single ldpc cap bit into bits
    0f336fba20fe mt76: mt7921: make mt7921_init_tx_queues static
    00a066ce9914 mt76: mt7921: fix xmit-queue dump for usb and sdio
    d6d2479568b2 mt76: mt7921: fix mt7921_queues_acq implementation
    d17b74420199 mt76: fix monitor mode crash with sdio driver
    c374559eae6f mt76: mt7915: allow beaconing on all chains
    b219af63b9ce mt76: connac: add 6 GHz support for wtbl and starec configuration
    630384cb3246 mt76: mt7915: add 6 GHz support
    28ff1bddc7e8 mt76: mt7915: fix eeprom fields of txpower init values
    d4b226cc15e7 mt76: mt7915: add txpower init for 6GHz
    31e820d4ce4b mt76: mt7921: get rid of mt7921_wait_for_mcu_init declaration
    9fee1faf6028 mt76: mt7915: check for devm_pinctrl_get() failure
    31a970940b97 mt76: connac: make read-only array ba_range static const
    e49af7036bbc mt76: use le32/16_get_bits() whenever possible
    0664d39039c2 mt76: fix invalid rssi report
    f16fc9d96105 mt76: mt7915: set band1 TGID field in tx descriptor
    67ce2708dcef mt76: mt7915: fix beamforming mib stats
    6e899abec818 mt76: mt7915: fix phy cap in mt7915_set_stream_he_txbf_caps()
    c6780c85cff2 mt76: mt7915: fix typos in comments
    aa6eadc09a83 mt76: usb: add req_type to ___mt76u_rr signature
    74a519ab8353 mt76: usb: add req_type to ___mt76u_wr signature
    2651d2c66cbd mt76: usb: introduce __mt76u_init utility routine
    c03e095eee27 mt76: mt7921: disable runtime pm for usb
    41085cdcd7e3 mt76: mt7921: update mt7921_skb_add_usb_sdio_hdr to support usb
    e700aba6bae3 mt76: mt7921: move mt7921_usb_sdio_tx_prepare_skb in common mac code
    056b7f4ebcc6 mt76: mt7921: move mt7921_usb_sdio_tx_complete_skb in common mac code.
    0abf682a3def mt76: mt7921: move mt7921_usb_sdio_tx_status_data in mac common code.
    b0c60d5252de mt76: mt7921: add mt7921u driver
    053668acdaf8 mt76: mt7921: move mt7921_init_hw in a dedicated work
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/kernel/mt76/Makefile | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index c88adb6ccc..d68305944a 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:=2022-02-15
-PKG_SOURCE_VERSION:=c67df0d3130a51d79b558f0329c2ca289c73b16e
-PKG_MIRROR_HASH:=57526f62adc1c1cc2c594ff23b883314ad83df8cdfab54c9e3503a8ec4c3a33f
+PKG_SOURCE_DATE:=2022-03-15
+PKG_SOURCE_VERSION:=053668acdaf83d0350ce3e21720e20eac9fbbcd7
+PKG_MIRROR_HASH:=0102bc20ec385fcdb336dec97a1a345d4c37c2c6be2f3f428938c2ec1fa5d49a
 
 PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 PKG_USE_NINJA:=0
@@ -234,9 +234,17 @@ define KernelPackage/mt7921-common
   FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921-common.ko
 endef
 
+define KernelPackage/mt7921u
+  $(KernelPackage/mt76-default)
+  TITLE:=MediaTek MT7921U wireless driver
+  DEPENDS+=+kmod-mt76-usb +kmod-mt7921-common
+  FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921u.ko
+  AUTOLOAD:=$(call AutoProbe,mt7921u)
+endef
+
 define KernelPackage/mt7921s
   $(KernelPackage/mt76-default)
-  TITLE:=MediaTek MT7921s wireless driver
+  TITLE:=MediaTek MT7921S wireless driver
   DEPENDS+=+kmod-mt76-sdio +kmod-mt7921-common
   FILES:= $(PKG_BUILD_DIR)/mt7921/mt7921s.ko
   AUTOLOAD:=$(call AutoProbe,mt7921s)
@@ -339,6 +347,9 @@ endif
 ifdef CONFIG_PACKAGE_kmod-mt7921-common
   PKG_MAKE_FLAGS += CONFIG_MT7921_COMMON=m
 endif
+ifdef CONFIG_PACKAGE_kmod-mt7921u
+  PKG_MAKE_FLAGS += CONFIG_MT7921U=m
+endif
 ifdef CONFIG_PACKAGE_kmod-mt7921s
   PKG_MAKE_FLAGS += CONFIG_MT7921S=m
 endif
@@ -475,6 +486,7 @@ $(eval $(call KernelPackage,mt7663u))
 $(eval $(call KernelPackage,mt7663s))
 $(eval $(call KernelPackage,mt7915e))
 $(eval $(call KernelPackage,mt7921-common))
+$(eval $(call KernelPackage,mt7921u))
 $(eval $(call KernelPackage,mt7921s))
 $(eval $(call KernelPackage,mt7921e))
 $(eval $(call KernelPackage,mt76))




More information about the lede-commits mailing list