From patchwork Sat Dec 18 10:51:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 525830 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27041C433F5 for ; Sat, 18 Dec 2021 10:52:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232738AbhLRKwC (ORCPT ); Sat, 18 Dec 2021 05:52:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbhLRKwC (ORCPT ); Sat, 18 Dec 2021 05:52:02 -0500 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9427AC061574 for ; Sat, 18 Dec 2021 02:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:Cc:To:Subject:From: MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=gVCyDIDEb9YbrDN/hKdYUIZa9NqzYVflg8EiYRtgOmU=; b=nRwEfzvUGu51VaVzIApYlj0yXq kotpZhdkO6/rjZPiuH4hb9o2r69PadS27qhC2xVvPNgwA2FVJQaYuDPerM6DKK1wDDS/wH9aYgi4C NSMowLZdLwX7Fhd60IjysHrqYVR95P91vXni5jdQQaK6nxzxTdmL9HJtWpS0koo1Ohrw=; Received: from p54ae911a.dip0.t-ipconnect.de ([84.174.145.26] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1myXJn-00035A-IJ; Sat, 18 Dec 2021 11:51:59 +0100 Message-ID: Date: Sat, 18 Dec 2021 11:51:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 From: Felix Fietkau Subject: pull request: mt76 2021-12-18 To: Kalle Valo Cc: linux-wireless Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Kalle, here's my updated pull request for 5.17 - Felix The following changes since commit f75c1d55ecbadce027fd650d3ca79e357afae0d9: Merge tag 'wireless-drivers-next-2021-12-17' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next (2021-12-17 07:30:07 -0800) are available in the Git repository at: https://github.com/nbd168/wireless tags/mt76-for-kvalo-2021-12-18 for you to fetch changes up to a2a218b674cdbab132be5ed99cc2af06c4ff8cb8: mt76: mt7921s: fix cmd timeout in throughput test (2021-12-18 11:48:02 +0100) ---------------------------------------------------------------- mt76 patches for 5.17 * decap offload fixes * mt7915 fixes * mt7921 fixes * eeprom fixes * powersave handling fixes * SAR support * code cleanups ---------------------------------------------------------------- Bo Jiao (1): mt76: fix the wiphy's available antennas to the correct value Changcheng Deng (1): mt76: mt7921: fix boolreturn.cocci warning Daniel Golle (1): mt76: eeprom: tolerate corrected bit-flips Deren Wu (5): mt76: mt7921: add support for PCIe ID 0x0608/0x0616 mt76: mt7921: introduce 160 MHz channel bandwidth support mt76: mt7921s: fix bus hang with wrong privilege mt76: mt7921: fix network buffer leak by txs missing mt76: mt7921s: fix cmd timeout in throughput test Felix Fietkau (10): mt76: mt7915: fix decap offload corner case with 4-addr VLAN frames mt76: mt7615: fix decap offload corner case with 4-addr VLAN frames mt76: mt7615: improve wmm index allocation mt76: mt7915: improve wmm index allocation mt76: clear sta powersave flag after notifying driver mt76: mt7603: improve reliability of tx powersave filtering mt76: mt7615: clear mcu error interrupt status on mt7663 mt76: allow drivers to drop rx packets early mt76: mt7915: process txfree and txstatus without allocating skbs mt76: mt7615: in debugfs queue stats, skip wmm index 3 on mt7663 Lorenzo Bianconi (25): mt76: mt7915: get rid of mt7915_mcu_set_fixed_rate routine mt76: debugfs: fix queue reporting for mt76-usb mt76: fix possible OOB issue in mt76_calculate_default_rate mt76: mt7921: fix possible NULL pointer dereference in mt7921_mac_write_txwi mt76: connac: fix a theoretical NULL pointer dereference in mt76_connac_get_phy_mode mt76: mt7615: remove dead code in get_omac_idx mt76: connac: remove PHY_MODE_AX_6G configuration in mt76_connac_get_phy_mode mt76: mt7921: honor mt76_connac_mcu_set_rate_txpower return value in mt7921_config mt76: move sar utilities to mt76-core module mt76: mt76x02: introduce SAR support mt76: mt7603: introduce SAR support mt76: mt7915: introduce SAR support mt76: connac: fix last_chan configuration in mt76_connac_mcu_rate_txpower_band mt76: move sar_capa configuration in common code mt76: mt7663: disable 4addr capability mt76: connac: introduce MCU_EXT macros mt76: connac: align MCU_EXT definitions with 7915 driver mt76: connac: remove MCU_FW_PREFIX bit mt76: connac: introduce MCU_UNI_CMD macro mt76: connac: introduce MCU_CE_CMD macro mt76: connac: rely on MCU_CMD macro mt76: mt7915: rely on mt76_connac definitions mt76: mt7915: introduce mt76_vif in mt7915_vif mt76: mt7921: remove dead definitions mt76: connac: rely on le16_add_cpu in mt76_connac_mcu_add_nested_tlv MeiChia Chiu (1): mt76: mt7915: add mu-mimo and ofdma debugfs knobs Peter Chiu (1): mt76: mt7615: fix possible deadlock while mt7615_register_ext_phy() Ryder Lee (3): mt76: mt7915: fix SMPS operation fail mt76: only set rx radiotap flag from within decoder functions mt76: only access ieee80211_hdr after mt76_insert_ccmp_hdr Sean Wang (9): mt76: mt7921: drop offload_flags overwritten mt76: mt7921: fix MT7921E reset failure mt76: mt7921: move mt76_connac_mcu_set_hif_suspend to bus-related files mt76: mt7921s: fix the device cannot sleep deeply in suspend mt76: mt7921s: fix possible kernel crash due to invalid Rx count mt76: mt7921: clear pm->suspended in mt7921_mac_reset_work mt76: mt7921: fix possible resume failure mt76: mt7921s: make pm->suspended usage consistent mt76: mt7921s: fix suspend error with enlarging mcu timeout value Shayne Chen (5): mt76: mt7915: fix return condition in mt7915_tm_reg_backup_restore() mt76: mt7915: add default calibrated data support mt76: testmode: add support to set MAC mt76: mt7615: fix unused tx antenna mask in testmode mt76: mt7921: use correct iftype data on 6GHz cap init Tzung-Bi Shih (1): mt76: mt7921: reduce log severity levels for informative messages Xing Song (2): mt76: reverse the first fragmented frame to 802.11 mt76: do not pass the received frame with decryption error drivers/net/wireless/mediatek/mt76/debugfs.c | 2 +- drivers/net/wireless/mediatek/mt76/dma.c | 19 +- drivers/net/wireless/mediatek/mt76/eeprom.c | 2 + drivers/net/wireless/mediatek/mt76/mac80211.c | 90 ++++++++- drivers/net/wireless/mediatek/mt76/mt76.h | 12 +- drivers/net/wireless/mediatek/mt76/mt7603/mac.c | 9 +- drivers/net/wireless/mediatek/mt76/mt7603/main.c | 31 ++- drivers/net/wireless/mediatek/mt76/mt7603/mcu.c | 4 +- drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c | 3 + drivers/net/wireless/mediatek/mt76/mt7615/init.c | 1 + drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 122 +++++++++++- drivers/net/wireless/mediatek/mt76/mt7615/mac.h | 2 + drivers/net/wireless/mediatek/mt76/mt7615/main.c | 15 +- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 200 +++++++++---------- drivers/net/wireless/mediatek/mt76/mt7615/mcu.h | 127 ------------ drivers/net/wireless/mediatek/mt76/mt7615/mmio.c | 1 + drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c | 8 +- drivers/net/wireless/mediatek/mt76/mt7615/testmode.c | 25 ++- drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 169 +++++++--------- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 521 +++++++++++++++++++++++++++++++++++++++++++----- drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 5 +- drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 34 +++- drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 2 + drivers/net/wireless/mediatek/mt76/mt76x0/pci.c | 1 + drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 1 + drivers/net/wireless/mediatek/mt76/mt76x02.h | 2 +- drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 4 +- drivers/net/wireless/mediatek/mt76/mt76x2/init.c | 29 +++ drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h | 2 + drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c | 5 +- drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c | 7 +- drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 4 +- drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c | 9 +- drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 227 ++++++++++++++++++++- drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c | 83 ++++++-- drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 205 +++++++++++++++---- drivers/net/wireless/mediatek/mt76/mt7915/main.c | 70 ++++--- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 267 ++++++++++++++----------- drivers/net/wireless/mediatek/mt76/mt7915/mcu.h | 841 +++++------------------------------------------------------------------------ drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h | 27 +-- drivers/net/wireless/mediatek/mt76/mt7915/pci.c | 1 + drivers/net/wireless/mediatek/mt76/mt7915/testmode.c | 17 +- drivers/net/wireless/mediatek/mt76/mt7921/init.c | 12 +- drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 136 ++++++++++--- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 80 +++----- drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 160 ++++++++------- drivers/net/wireless/mediatek/mt76/mt7921/mcu.h | 153 +++----------- drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h | 2 + drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 25 ++- drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c | 4 + drivers/net/wireless/mediatek/mt76/mt7921/pci_mcu.c | 4 +- drivers/net/wireless/mediatek/mt76/mt7921/sdio.c | 51 +++-- drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/testmode.c | 4 +- drivers/net/wireless/mediatek/mt76/sdio.c | 11 +- drivers/net/wireless/mediatek/mt76/sdio_txrx.c | 3 +- drivers/net/wireless/mediatek/mt76/testmode.c | 36 +++- drivers/net/wireless/mediatek/mt76/testmode.h | 4 + 60 files changed, 2093 insertions(+), 1804 deletions(-)