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

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 11 20:08:03 BST 2021


nbd pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/04b22754d7f9d228468984d963d0f4b479d8ecdb

commit 04b22754d7f9d228468984d963d0f4b479d8ecdb
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Mar 15 00:10:03 2021 +0100

    mt76: update to the latest version
    
    6a3cf95733e2 mt76: fix tx skb error handling in mt76_dma_tx_queue_skb
    ab9045153343 mt76: mt7915: only modify tx buffer list after allocating tx token id
    7e1eff676257 mt76: mt7915: fix unused 'mode' variable
    8a2e22fcbf69 mt76: mt7921: fix suspend/resume sequence
    27a54e8b687f mt76: mt7921: fix memory leak in mt7921_coredump_work
    c267322f0bdb mt76: mt7921: switch to new api for hardware beacon filter [v2 update]
    fd2c59d9ba46 mt76: mt7921: fixup rx bitrate statistics [v2 update]
    bfa8d5a6a9a1 mt76: adjust to upstream API for enabling threaded NAPI
    1706fb6c48e8 mt76: mt7663s: fix rx buffer refcounting
    c5aca6692c41 mt76: mt7615: enable hw rx-amsdu de-aggregation
    9002b0b30aed mt76: mt7615: add rx checksum offload support
    8e3f5bfe74f6 mt76: mt7615: add support for rx decapsulation offload
    8e3bba8bd3ef mt76: mt7615: fix memory leak in mt7615_coredump_work
    760adce29100 mt76: mt7921: fix aggr length histogram
    84229a51845a mt76: mt7915: fix aggr len debugfs node
    10a95da23cb7 mt76: mt7921: remove unneeded semicolon
    2856dc8fb57e mt76: mt7921: fix stats register definitions
    1b245e57549d mt76: mt7615: fix TSF configuration
    1a2e2965b62b mt76: mt7615: remove hdr->fw_ver check
    f60ec1b9473d mt76: mt7615: fix mib stats counter reporting to mac80211
    8a5b036af48f mt76: mt7915: fix mib stats counter reporting to mac80211
    ee6dbcc64f6d mt76: connac: fix kernel warning adding monitor interface
    e46dd240ce72 mt76: check return value of mt76_txq_send_burst in mt76_txq_schedule_list
    ddf95ead3bb3 mt76: mt7921: get rid of mt7921_sta_rc_update routine
    fd2a51ea9dc8 mt76: mt7921: fix the base of PCIe interrupt
    28f53d074bb0 mt76: mt7921: fix the base of the dynamic remap
    8d737632b57f mt76: mt7921: check mcu returned values in mt7921_start
    5ff25c915e62 mt76: mt7915: add missing capabilities for DBDC
    58dd3f26c099 mt76: mt7615: fix CSA notification for DBDC
    76f4959107ac mt76: mt7615: stop ext_phy queue when mac reset happens
    7de0a0654054 mt76: mt7915: fix CSA notification for DBDC
    e9e418fc7eb0 mt76: mt7915: stop ext_phy queue when mac reset happens
    477b78301879 mt76: mt7915: fix PHY mode for DBDC
    37b4dc0f7595 mt76: mt76x0u: Add support for TP-Link T2UHP(UN) v1
    29a04583aecb mt76: mt7915: fix rxrate reporting
    a4307e6ba054 mt76: mt7915: fix txrate reporting
    256f324f8fcd mt76: mt7915: check mcu returned values in mt7915_ops
    638b112188a5 mt76: mt7615: check mcu returned values in mt7615_ops
    975cccfa96da mt76: mt7663: fix when beacon filter is being applied
    aafe972e95b2 mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
    0d5b1a702715 mt76: mt7663s: fix the possible device hang in high traffic
    00628061b546 mt76: mt7615: add missing capabilities for DBDC
    2303e1844afd mt76: mt7915: fix possible deadlock while mt7915_register_ext_phy()
    6e2b9d258306 mt76: mt7921: reduce mcu timeouts for suspend, offload and hif_ctrl msg
    3cf5afc02955 mt76: introduce mcu_reset function pointer in mt76_mcu_ops structure
    9af9622df549 mt76: mt7921: introduce mt7921_run_firmware utility routine.
    e12c44a7e165 mt76: mt7921: introduce __mt7921_start utility routine
    7b56d5bf6ea0 mt76: dma: introduce mt76_dma_queue_reset routine
    a80e50098b51 mt76: dma: export mt76_dma_rx_cleanup routine
    e0708e296e27 mt76: mt7921: add wifi reset support
    87e09e8482cf mt76: mt7921: remove leftovers from dbdc configuration
    cc933b3669f7 mt76: mt7921: remove redundant check on type
    ca22cc221ae7 linux-firmware: add firmware for MT7921
    0b6c9a043f78 mt76: move de-amsdu buffer per-phy
    48a905e23791 mt76: mt7615: fix CSA event format
    fbef8bba038f mt76: mt7921: remove duplicated macros in mcu.h
    6886b57a1534 mt76: connac: introcuce mt76_sta_cmd_info data structure
    e529e8afe22a mt76: mt7921: properly configure rcpi adding a sta to the fw
    e4d522776804 mt76: mt7921: fix airtime reporting
    be2f67e8d3cb mt76: mt7915: fix key set/delete issue
    09a1befde4b7 mt76: fix potential DMA mapping leak
    f66f8f41d47b mt76: mt7915: refresh repeater entry MAC address when setting BSSID
    035e2f6f1ddf mt76: mt7921: get rid of mt7921_mac_wtbl_lmac_addr
    ee29cd5f3a6a mt76: mt7615: only enable DFS test knobs for mt7615
    9a98b1a6f9c2 mt76: mt7615: cleanup mcu tx queue in mt7615_dma_reset()
    3bd285424e7b mt76: mt7622: trigger hif interrupt for system reset
    bf6d9ee4acd1 mt76: mt7615: keep mcu_add_bss_info enabled till interface removal
    115b74282314 mt76: mt7915: keep mcu_add_bss_info enabled till interface removal
    57432e701d1a mt76: mt7915: cleanup mcu tx queue in mt7915_dma_reset()
    a519c49a6a42 mt76: mt7615: 0-terminate firmware log messages
    4a22f2ffae2e mt76: mt7915: 0-terminate firmware log messages
    b8609066893a mt76: mt7615: fix chip reset on MT7622 and MT7663e
    465dda65ee84 mt7615,mt7915: replace fw log 0-terminating code with wiphy info length limit
    62b13f5352b8 mt76: mt7921: fix key set/delete issue
    0ff3a336a8d8 mt7615,mt7915: fix a compiler warning
    113ba8a81d54 mt76: mt7615: remove redundant dev_err call in mt7622_wmac_probe()
    be1ab3b9ae7c mt76: mt7921: fix typo in mt7921_pci_resume
    4e22f0dc934b mt76: mt7915: fix txpower init for TSSI off chips
    e66a0b9b8d66 mt76: mt7615: always wake the device in mt7615_remove_interface
    38f656768a90 mt76: mt7921: always wake the device in mt7921_remove_interface
    6ee4770de083 mt76: mt7921: rework mt7921_mcu_debug_msg_event routine
    e578b4b8d56a mt76: mt7615: fix .add_beacon_offload()
    f8c6c7cbf10f mt76: mt7915: fix mt7915_mcu_add_beacon
    7d35b7a15d1d mt76: mt7915: add wifi subsystem reset
    04122c89749d mt76: fix rx amsdu subframe processing
    5e764ec9bece mt76: mt7921: introduce MT_WFDMA_DUMMY_CR definition
    cf0badbc0497 mt76: mt7921: fix inappropriate WoW setup with the missing ARP informaiton
    f32a4e15f5b2 mt76: mt7921: fix the dwell time control
    54f52771a04a mt76: mt7921: fix kernel crash when the firmware fails to download
    97189d2a045b mt76: mt7921: fix the insmod hangs
    dcdbd7c89cf5 mt76: mt7921: fix MT_PCIE_MAC_INT_ENABLE access
    813db729c02f mt76: mt7921: reduce the data latency during hw scan
    028b7152b1a9 mt76: mt7921: remove 80+80 MHz support capabilities
    7714dc914df6 mt76: report Rx timestamp
    ffd4cf15fa0e mt76: mt7915: add mmio.c
    fe8717dd573a mt76: mt7615: add missing SPDX tag in mmio.c
    6b293c411d22 mt76: mt7615: always add rx header translation tlv when adding stations
    bf45b30d8919 add missing file
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
    (cherry-picked from commit 8cc013981d2a017a4604e696e4ec19c846f2c230)
---
 package/kernel/mt76/Makefile | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index 45375ef564..e9e95fa9b3 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:=2021-02-14
-PKG_SOURCE_VERSION:=289cd7804587dc48f776d450db9cd3762692a370
-PKG_MIRROR_HASH:=91885feca9d935586c6e33a8e3734bfa61991d869bf42ac0d1c8c3b19bfa9653
+PKG_SOURCE_DATE:=2021-04-11
+PKG_SOURCE_VERSION:=bf45b30d891961dd7c4139dddb58b909ea2c2b5a
+PKG_MIRROR_HASH:=431cecf80dafa986e805f809522721c2bb26289867d6770695d49baf8b471bea
 
 PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 PKG_BUILD_PARALLEL:=1
@@ -407,6 +407,14 @@ define KernelPackage/mt7915e/install
 		$(1)/lib/firmware/mediatek
 endef
 
+define KernelPackage/mt7921e/install
+	$(INSTALL_DIR) $(1)/lib/firmware/mediatek
+	cp \
+		$(PKG_BUILD_DIR)/firmware/WIFI_MT7961_patch_mcu_1_2_hdr.bin \
+		$(PKG_BUILD_DIR)/firmware/WIFI_RAM_CODE_MT7961_1.bin \
+		$(1)/lib/firmware/mediatek
+endef
+
 define Package/mt76-test/install
 	mkdir -p $(1)/usr/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/mt76-test $(1)/usr/sbin



More information about the lede-commits mailing list