Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp476661rwe; Wed, 19 Apr 2023 01:20:49 -0700 (PDT) X-Google-Smtp-Source: AKy350bW7DnWwhjaLrkfN5pCXAwXTRaRtVyMFbWHPt8K2MnrmvM1Czk9iIo+AEf/xit+4EPwGjdB X-Received: by 2002:a05:6808:128f:b0:38e:28b7:9c76 with SMTP id a15-20020a056808128f00b0038e28b79c76mr2801805oiw.47.1681892449793; Wed, 19 Apr 2023 01:20:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681892449; cv=none; d=google.com; s=arc-20160816; b=TRzMrbR5V9ygYYuqDMky/hFBg0Aw1p6fmyj54gGjRazl/SE39iz/dr3ghwpl1Cnizj 52kDTfpP0OMndejGOrCivOeH6ftf0vM1Cvo0XnwFnyxR31z8BYGHEPrRQgBmBzSDFope Txb1+1HtoAGAuMIpkod/qT/FjVHilDdNuC56vJZvzznzuhIow/t5pjv+fc3kU/P2+VBi E+UjgY2h9vFIW3Pv0GB73kpWgn3l66dgULnJusVwQYyYTpovoIhxUirKLyku16JlJVH4 s6gmfXq9BJpIdxyYKHepY3/63PVOyoqp3xt4BGFwZLGkXY7Zz7pMGe6sbukZZJiOraI2 WWqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature; bh=2uB9Ix+nUu/ozeDwbZVB9u0xuzs+K6CwPwys7goSN1o=; b=tx6eQhZqxY01HfnVZrvs1w4ufBqntnmuz3kVJSEVZx1D9DRqjs3+qCFOE7ImL+2KdI zDNd2b+0RukSJC7zotv/QT9qxyLZgC1Y7NCkx0gsn2zHDwn7LTMSmcRZhZN7geXHnKrh UBTHwHTveXXZnl641vRa6C9YyPQmZeb/Vjw74FrW8nO0dCCC6hkQIVdZ9Dt40OYOaVtq MlJxcuY6hKWZyvzMVPtxmmjUKMPM+jXeHrNjtQQVZXLn235PRnZRf/eOY8U6jJoTmBOy Z6+fDeQcpoFCj5epfqvkMHN7LNygP+Dkhfw+oVqL7K3tLqBKKEqHjszSGFZ5t8FH7ySW 7xSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=f7GZZ8zX; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x124-20020acae082000000b0038c47328f4dsi11857566oig.265.2023.04.19.01.20.38; Wed, 19 Apr 2023 01:20:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=f7GZZ8zX; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232290AbjDSIMX (ORCPT + 64 others); Wed, 19 Apr 2023 04:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232218AbjDSIMV (ORCPT ); Wed, 19 Apr 2023 04:12:21 -0400 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 154201BE2 for ; Wed, 19 Apr 2023 01:12:13 -0700 (PDT) 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=2uB9Ix+nUu/ozeDwbZVB9u0xuzs+K6CwPwys7goSN1o=; b=f7GZZ8zXe5NKoYvQxOf9oSwX38 6QKtHatsa4zKwon6MUpxkf+librND10GrhG4AIw5xxfHpdPndaBelm1z2zXpJfasjdYOq0Na2UU5z dQI49kdYWvoJMcfhseiki7mUv7uU+s/ZW7lDetpO+14MPaecpWbDZ6dKmrZCNeHYULxU=; Received: from p54ae9730.dip0.t-ipconnect.de ([84.174.151.48] 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 1pp2vD-00GCBM-NX; Wed, 19 Apr 2023 10:12:11 +0200 Message-ID: <5df957fd-e67a-3549-8c78-1b4599365b7c@nbd.name> Date: Wed, 19 Apr 2023 10:12:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 From: Felix Fietkau Subject: pull request: mt76 2023-04-18 v2 To: Kalle Valo Cc: linux-wireless Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Kalle, here's an updated version of my first request for 6.4. It fixes an unused-but-set variable - Felix The following changes since commit f22c0bffe8d9528ace89a853c6065b79dcb88c43: wifi: rtw89: add support of concurrent mode (2023-04-17 12:49:52 +0300) are available in the Git repository at: https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-04-18 for you to fetch changes up to 3b522cadedfe6e9e0e8193d7d4ab5aa8d0c73209: wifi: mt76: mt7996: fill txd by host driver (2023-04-19 10:09:43 +0200) ---------------------------------------------------------------- mt76 patches for 6.4 - fixes - connac code unification - mt7921 p2p support - mt7996 mesh a-msdu support - mt7996 eht support - mt7996 coredump support ---------------------------------------------------------------- Bo Jiao (1): wifi: mt76: mt7996: enable full system reset support Dan Carpenter (1): wifi: mt76: mt7915: unlock on error in mt7915_thermal_temp_store() Deren Wu (3): wifi: mt76: remove redundent MCU_UNI_CMD_* definitions wifi: mt76: mt7921: fix wrong command to set STA channel wifi: mt76: mt7921: fix PCI DMA hang after reboot Felix Fietkau (4): wifi: mt76: add missing locking to protect against concurrent rx/status calls wifi: mt76: mt7615: increase eeprom size for mt7663 wifi: mt76: dma: use napi_build_skb wifi: mt76: set NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 on supported drivers Frank Wunderlich (1): dt-bindings: mt76: add active-low property for led Gustavo A. R. Silva (2): wifi: mt76: Replace zero-length array with flexible-array member wifi: mt76: mt7921: Replace fake flex-arrays with flexible-array members Howard Hsu (1): wifi: mt76: mt7915: rework init flow in mt7915_thermal_init() Jiefeng Li (1): wifi: mt76: mt7921: fix missing unwind goto in `mt7921u_probe` Kang Chen (1): wifi: mt76: handle failure of vzalloc in mt7615_coredump_work Lorenz Brun (1): wifi: mt76: mt7915: expose device tree match table Lorenzo Bianconi (8): wifi: mt76: mt7921: introduce mt7921_get_mac80211_ops utility routine wifi: mt76: move irq_tasklet in mt76_dev struct wifi: mt76: add mt76_connac_irq_enable utility routine wifi: mt76: get rid of unused sta_ps callbacks wifi: mt76: add mt76_connac_gen_ppe_thresh utility routine wifi: mt76: mt7921: get rid of eeprom.h wifi: mt76: move shared mac definitions in mt76_connac2_mac.h wifi: mt76: move mcu_uni_event and mcu_reg_event in common code Mario Limonciello (1): wifi: mt76: mt7921e: Set memory space enable in PCI_COMMAND if unset Ming Yen Hsieh (1): wifi: mt76: fix 6GHz high channel not be scanned Neil Chen (1): wifi: mt76: mt7921: use driver flags rather than mac80211 flags to mcu Peter Chiu (4): wifi: mt76: drop the incorrect scatter and gather frame wifi: mt76: mt7996: fix pointer calculation in ie countdown event wifi: mt76: mt7996: init mpdu density cap wifi: mt76: mt7996: remove mt7996_mcu_set_pm() Quan Zhou (3): wifi: mt76: mt7921e: fix probe timeout after reboot wifi: mt76: mt7921e: improve reliability of dma reset wifi: mt76: mt7921e: stop chip reset worker in unregister hook Reese Russell (1): wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support Ryder Lee (15): wifi: mt76: mt7996: fix radiotap bitfield wifi: mt76: dynamic channel bandwidth changes in AP mode wifi: mt76: connac: refresh tx session timer for WED device wifi: mt76: mt7915: remove mt7915_mcu_beacon_check_caps() wifi: mt76: mt7996: remove mt7996_mcu_beacon_check_caps() wifi: mt76: mt7915: drop redundant prefix of mt7915_txpower_puts() wifi: mt76: mt7996: add full system reset knobs into debugfs wifi: mt76: mt7996: enable coredump support wifi: mt76: connac: fix txd multicast rate setting wifi: mt76: connac: add nss calculation into mt76_connac2_mac_tx_rate_val() wifi: mt76: mt7996: enable BSS_CHANGED_BASIC_RATES support wifi: mt76: mt7996: enable BSS_CHANGED_MCAST_RATE support wifi: mt76: mt7996: enable configured beacon tx rate wifi: mt76: mt7996: enable mesh HW amsdu/de-amsdu support wifi: mt76: mt7996: fill txd by host driver Sean Wang (2): wifi: mt76: mt7921: enable p2p support mt76: mt7921: fix kernel panic by accessing unallocated eeprom.data Shayne Chen (3): wifi: mt76: mt7996: add eht rx rate support wifi: mt76: mt7996: let non-bufferable MMPDUs use correct hw queue wifi: mt76: mt7996: remove unused eeprom band selection StanleyYP Wang (1): wifi: mt76: mt7996: fix eeprom tx path bitfields Sujuan Chen (1): wifi: mt76: mt7915: add dev->hif2 support for mt7916 WED device Yang Li (1): wifi: mt76: mt7996: Remove unneeded semicolon Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml | 5 ++ drivers/net/wireless/mediatek/mt76/dma.c | 10 ++- drivers/net/wireless/mediatek/mt76/dma.h | 1 + drivers/net/wireless/mediatek/mt76/mac80211.c | 17 +++-- drivers/net/wireless/mediatek/mt76/mt76.h | 19 +++-- drivers/net/wireless/mediatek/mt76/mt7603/mac.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7615/dma.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c | 7 +- drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/init.c | 1 + drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 18 ++--- drivers/net/wireless/mediatek/mt76/mt7615/mac.h | 12 ---- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 11 +-- drivers/net/wireless/mediatek/mt76/mt7615/mcu.h | 11 --- drivers/net/wireless/mediatek/mt76/mt7615/mmio.c | 11 ++- drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h | 11 +-- drivers/net/wireless/mediatek/mt76/mt7615/pci.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/sdio.c | 1 - drivers/net/wireless/mediatek/mt76/mt7615/usb.c | 1 - drivers/net/wireless/mediatek/mt76/mt76_connac.h | 21 ++++++ drivers/net/wireless/mediatek/mt76/mt76_connac2_mac.h | 22 ++++++ drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c | 78 +++++++++++++++----- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 21 ++++-- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 19 +++-- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 36 +++++----- drivers/net/wireless/mediatek/mt76/mt7915/dma.c | 10 ++- drivers/net/wireless/mediatek/mt76/mt7915/init.c | 35 +++------ drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 6 +- drivers/net/wireless/mediatek/mt76/mt7915/mac.h | 33 +-------- drivers/net/wireless/mediatek/mt76/mt7915/main.c | 1 - drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 115 +++++------------------------- drivers/net/wireless/mediatek/mt76/mt7915/mmio.c | 17 +++-- drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h | 18 +---- drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 2 + drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.h | 10 +-- drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c | 1 - drivers/net/wireless/mediatek/mt76/mt7921/dma.c | 50 +++++++------ drivers/net/wireless/mediatek/mt76/mt7921/eeprom.h | 30 -------- drivers/net/wireless/mediatek/mt76/mt7921/init.c | 43 +++++++++-- drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 18 +++-- drivers/net/wireless/mediatek/mt76/mt7921/mac.h | 53 -------------- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 42 +++++------ drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 31 ++------ drivers/net/wireless/mediatek/mt76/mt7921/mcu.h | 11 --- drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h | 23 +++--- drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 64 ++++++----------- drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/sdio.c | 23 +----- 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/usb.c | 27 ++----- drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7996/Kconfig | 1 + drivers/net/wireless/mediatek/mt76/mt7996/Makefile | 2 + drivers/net/wireless/mediatek/mt76/mt7996/coredump.c | 268 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7996/coredump.h | 97 +++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c | 149 +++++++++++++++++++++++++++++++++++---- drivers/net/wireless/mediatek/mt76/mt7996/dma.c | 64 +++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c | 4 -- drivers/net/wireless/mediatek/mt76/mt7996/eeprom.h | 9 ++- drivers/net/wireless/mediatek/mt76/mt7996/init.c | 72 +++++++++++-------- drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 501 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------ drivers/net/wireless/mediatek/mt76/mt7996/mac.h | 62 ++++++---------- drivers/net/wireless/mediatek/mt76/mt7996/main.c | 78 ++++++++++++++++---- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 222 +++++++++++++++++---------------------------------------- drivers/net/wireless/mediatek/mt76/mt7996/mcu.h | 30 ++++---- drivers/net/wireless/mediatek/mt76/mt7996/mmio.c | 23 +++--- drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h | 76 ++++++++++++++------ drivers/net/wireless/mediatek/mt76/mt7996/regs.h | 51 +++++++++++++- drivers/net/wireless/mediatek/mt76/tx.c | 4 ++ 72 files changed, 1710 insertions(+), 1028 deletions(-) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/eeprom.h delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mac.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7996/coredump.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7996/coredump.h