From patchwork Wed Dec 6 12:42:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 752254 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b="g+IjfALa" Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39F65D45 for ; Wed, 6 Dec 2023 04:42:08 -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=x9WO/b0P+taS6YPKVe/k91Pob2M2MGRPHBtjDtnO9AU=; b=g+IjfALaAiVoIZuRwBvpPF0ECe 6kbCsHp2rBLnm9KvRjJjPWecFW8hhETm4+4Ex3PTAzJU70GAOjh/UHeVdJa4NaThAQ5hiK8eSLpiZ KgBEkwkd1hSHDR1MqxmLicbA2m75qBwAhRoVUZraLIlXe0XraiAVGBPH8QAUtjoPpvSw=; Received: from p4ff13178.dip0.t-ipconnect.de ([79.241.49.120] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rArE6-009tEU-Uw; Wed, 06 Dec 2023 13:42:07 +0100 Message-ID: Date: Wed, 6 Dec 2023 13:42:06 +0100 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Felix Fietkau Subject: pull request: mt76 2023-12-06 To: Kalle Valo Cc: linux-wireless Content-Language: en-US Autocrypt: addr=nbd@nbd.name; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57OhxJVv1Q8XkA9Dn1SBOjNB l25vJDFAT9ntp9THeDD2fv15yk4EKpWhu4H00/YX8KkhFsrtUs69+vZQwc0cRmVsaXggRmll dGthdSA8bmJkQG5iZC5uYW1lPsJgBBMRAgAgBQJGoeQnAhsjBgsJCAcDAgQVAggDBBYCAwEC HgECF4AACgkQ130UHQKnbvXsvgCgjsAIIOsY7xZ8VcSm7NABpi91yTMAniMMmH7FRenEAYMa VrwYTIThkTlQzsFNBEah5FQQCACMIep/hTzgPZ9HbCTKm9xN4bZX0JjrqjFem1Nxf3MBM5vN CYGBn8F4sGIzPmLhl4xFeq3k5irVg/YvxSDbQN6NJv8o+tP6zsMeWX2JjtV0P4aDIN1pK2/w VxcicArw0VYdv2ZCarccFBgH2a6GjswqlCqVM3gNIMI8ikzenKcso8YErGGiKYeMEZLwHaxE Y7mTPuOTrWL8uWWRL5mVjhZEVvDez6em/OYvzBwbkhImrryF29e3Po2cfY2n7EKjjr3/141K DHBBdgXlPNfDwROnA5ugjjEBjwkwBQqPpDA7AYPvpHh5vLbZnVGu5CwG7NAsrb2isRmjYoqk wu++3117AAMFB/9S0Sj7qFFQcD4laADVsabTpNNpaV4wAgVTRHKV/kC9luItzwDnUcsZUPdQ f3MueRJ3jIHU0UmRBG3uQftqbZJj3ikhnfvyLmkCNe+/hXhPu9sGvXyi2D4vszICvc1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCeMncXpbbWNT2AtoAYICrKyX5R3iMAoMhw cL98efvrjdstUfTCP2pfetyN Hi Kalle, here's my first request for 6.8 - Felix The following changes since commit 756b31203d482d2dd1aa6c208978b0410dc7530f: wifi: rtw89: fix misbehavior of TX beacon in concurrent mode (2023-12-01 14:43:14 +0200) are available in the Git repository at: https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-12-06 for you to fetch changes up to 131c05dd91da2a13df20d4e5671e7c90d510bf69: wifi: mt76: mt7921: fix wrong 6Ghz power type (2023-12-06 13:40:37 +0100) ---------------------------------------------------------------- mt76 patches for 6.8 * fixes * nvmem eeprom improvements * mt7996 eht improvements * mt7996 wed support * mt7996 36-bit DMA support ---------------------------------------------------------------- Allen Ye (2): wifi: mt76: use chainmask for power delta calculation wifi: mt76: connac: add beacon protection support for mt7996 Arnd Bergmann (1): wifi: mt76: mt7996: fix mt7996_mcu_all_sta_info_event struct packing Benjamin Lin (3): wifi: mt76: mt7996: switch to mcu command for TX GI report wifi: mt76: mt7996: add DMA support for mt7992 wifi: mt76: connac: add new definition of tx descriptor Bo Jiao (1): wifi: mt76: mt7996: add wed rx support Christian Marangi (6): wifi: mt76: fix broken precal loading from MTD for mt7915 wifi: mt76: fix typo in mt76_get_of_eeprom_from_nvmem function wifi: mt76: limit support of precal loading for mt7915 to MTD only wifi: mt76: make mt76_get_of_eeprom static again wifi: mt76: permit to use alternative cell name to eeprom NVMEM load wifi: mt76: permit to load precal from NVMEM cell for mt7915 Howard Hsu (4): wifi: mt76: mt7996: add TX statistics for EHT mode in debugfs wifi: mt76: connac: add thermal protection support for mt7996 wifi: mt76: mt7996: add thermal sensor device support wifi: mt76: connac: set fixed_bw bit in TX descriptor for fixed rate frames Lorenzo Bianconi (13): wifi: mt76: mmio: move mt76_mmio_wed_{init,release}_rx_buf in common code wifi: mt76: move mt76_mmio_wed_offload_{enable,disable} in common code wifi: mt76: move mt76_net_setup_tc in common code wifi: mt76: introduce mt76_queue_is_wed_tx_free utility routine wifi: mt76: introduce wed pointer in mt76_queue wifi: mt76: increase MT_QFLAG_WED_TYPE size wifi: mt76: dma: introduce __mt76_dma_queue_reset utility routine wifi: mt76: mt7996: use u16 for val field in mt7996_mcu_set_rro signature wifi: mt76: move wed reset common code in mt76 module wifi: mt76: mt7996: add wed reset support wifi: mt76: mt7996: add wed rro delete session garbage collector wifi: mt76: mt7915: fallback to non-wed mode if platform_get_resource fails in mt7915_mmio_wed_init() wifi: mt76: mt7925: remove iftype from mt7925_init_eht_caps signature MeiChia Chiu (2): wifi: mt76: mt7996: fix rate usage of inband discovery frames wifi: mt76: connac: fix EHT phy mode check Ming Yen Hsieh (3): wifi: mt76: mt7921: fix country count limitation for CLC wifi: mt76: mt7921: fix CLC command timeout when suspend/resume wifi: mt76: mt7921: fix wrong 6Ghz power type Peter Chiu (4): wifi: mt76: mt7996: adjust WFDMA settings to improve performance wifi: mt76: mt7996: handle IEEE80211_RC_SMPS_CHANGED wifi: mt76: mt7996: align the format of fixed rate command wifi: mt76: mt7996: rework ampdu params setting Rong Yan (1): wifi: mt76: mt7921: support 5.9/6GHz channel config in acpi Ryder Lee (1): wifi: mt76: add ability to explicitly forbid LED registration with DT Sean Wang (1): wifi: mt76: mt7921: reduce the size of MCU firmware download Rx queue Shayne Chen (4): wifi: mt76: mt7996: add support for variants with auxiliary RX path wifi: mt76: change txpower init to per-phy wifi: mt76: mt7996: add txpower setting support wifi: mt76: mt7996: introduce mt7996_band_valid() StanleyYP Wang (9): wifi: mt76: connac: add beacon duplicate TX mode support for mt7996 wifi: mt76: mt7996: fix alignment of sta info event wifi: mt76: mt7915: fix EEPROM offset of TSSI flag on MT7981 wifi: mt76: mt7915: also MT7981 is 3T3R but nss2 on 5 GHz band wifi: mt76: connac: add firmware support for mt7992 wifi: mt76: mt7996: rework register offsets for mt7992 wifi: mt76: mt7996: support mt7992 eeprom loading wifi: mt76: mt7996: adjust interface num and wtbl size for mt7992 wifi: mt76: mt7996: add PCI IDs for mt7992 Sujuan Chen (3): wifi: mt76: mt7996: add wed tx support wifi: mt76: mt7996: fix the size of struct bss_rate_tlv wifi: mt76: mt7996: set DMA mask to 36 bits for boards with more than 4GB of RAM Uwe Kleine-König (1): wifi: mt76: Convert to platform remove callback returning void Wang Zhao (1): wifi: mt76: mt7921s: fix workqueue problem causes STA association fail Wu Yunchuan (1): wifi: mt76: Remove unnecessary (void*) conversions Yi-Chia Hsieh (1): wifi: mt76: mt7996: fix uninitialized variable in parsing txfree drivers/net/wireless/mediatek/mt76/dma.c | 252 ++++++++++++++++++++++++++++++++++++++++---------------- drivers/net/wireless/mediatek/mt76/dma.h | 54 ++++++++++++ drivers/net/wireless/mediatek/mt76/eeprom.c | 22 ++--- drivers/net/wireless/mediatek/mt76/mac80211.c | 60 ++++++++++---- drivers/net/wireless/mediatek/mt76/mmio.c | 106 ++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt76.h | 105 +++++++++++++++++++++--- drivers/net/wireless/mediatek/mt76/mt7603/dma.c | 9 +- drivers/net/wireless/mediatek/mt76/mt7603/soc.c | 7 +- drivers/net/wireless/mediatek/mt76/mt7615/dma.c | 6 +- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 4 +- drivers/net/wireless/mediatek/mt76/mt7615/sdio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/soc.c | 6 +- drivers/net/wireless/mediatek/mt76/mt76_connac.h | 8 +- drivers/net/wireless/mediatek/mt76/mt76_connac3_mac.h | 7 +- drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c | 5 +- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 5 +- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 29 ++++++- drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7915/dma.c | 46 ++++------- drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c | 7 +- drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h | 3 +- drivers/net/wireless/mediatek/mt76/mt7915/init.c | 30 ++++--- drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 6 +- drivers/net/wireless/mediatek/mt76/mt7915/main.c | 21 +---- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/mcu.h | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/mmio.c | 118 ++------------------------ drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h | 3 +- drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 6 +- drivers/net/wireless/mediatek/mt76/mt7921/init.c | 23 ++++-- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 38 ++++++++- drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 17 ++-- drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h | 4 +- drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 7 +- drivers/net/wireless/mediatek/mt76/mt7921/sdio.c | 4 +- drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c | 3 +- drivers/net/wireless/mediatek/mt76/mt7925/main.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7925/mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7925/pci.c | 2 +- drivers/net/wireless/mediatek/mt76/mt792x.h | 6 ++ drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c | 53 ++++++++++++ drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h | 2 + drivers/net/wireless/mediatek/mt76/mt792x_mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7996/dma.c | 398 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------ drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c | 38 +++++++-- drivers/net/wireless/mediatek/mt76/mt7996/eeprom.h | 3 + drivers/net/wireless/mediatek/mt76/mt7996/init.c | 520 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 215 +++++++++++++++++++++++++++++++----------------- drivers/net/wireless/mediatek/mt76/mt7996/main.c | 89 +++++++++++++++++--- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 642 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------- drivers/net/wireless/mediatek/mt76/mt7996/mcu.h | 249 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- drivers/net/wireless/mediatek/mt76/mt7996/mmio.c | 295 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h | 160 ++++++++++++++++++++++++++++++++---- drivers/net/wireless/mediatek/mt76/mt7996/pci.c | 79 +++++++++++++----- drivers/net/wireless/mediatek/mt76/mt7996/regs.h | 182 +++++++++++++++++++++++++++++++++------- drivers/net/wireless/mediatek/mt76/sdio.c | 18 ++-- 57 files changed, 3254 insertions(+), 743 deletions(-)