Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp464583rdb; Sat, 30 Sep 2023 11:25:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjYDWgmAZH3B44wqdfQ5bs4VkNU6xx8Id9Uh7p7zebZi0XO+QF4iBGa0mz/VbbMW5Xnirc X-Received: by 2002:a05:6a21:33a4:b0:161:7a0c:3c26 with SMTP id yy36-20020a056a2133a400b001617a0c3c26mr8677435pzb.27.1696098304846; Sat, 30 Sep 2023 11:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696098304; cv=none; d=google.com; s=arc-20160816; b=hNfdYfRN9VdjR8eawpO6f092n8WpJEAcFkXdbpp0O4ePuea0ROWZQclFWzhBm3Vopd xi/N+1jwKWMEwo6zhJ2eNVJY+LqVLM6cDHm0l+SyJtm6jYWWGCEIOyuVZKfR7fSQ2c+D rFvvHQDkhdsA9m8lPm1vPA/LR6JM1eZncas/f0/SB6BNIXpSFKV8vow2Dn2DPHC5HUUO U+Ocb6P2NIFMAZdQ+WFHFtq464CoDk3sOb6l+eDwrGbBbf3Gccb1BL1mNUEoevl0G82Q GvKr8EPSycAn297q7rmXmEzMiuWAS7GadAps9mspI/p8EgISyIc8uqH1JGBuzjmC1vYs AaPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:autocrypt :content-language:cc:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature; bh=I92h+pBrbRmqNLsJdW2KW4wBmrOUPxWxUtiHFSqeEuI=; fh=VkQIg6+c61LslUG6DxFIsKRaZATBwV5Q7Q0i51tFOxE=; b=zOlma4sRwoQK/+cgLhCIgJKIb5brAQk/PeI87hOMQsICq77r0fPqJkRfbmfISEVys6 cxb8+1LviWSZS43ODfV7vAn/JMu2yr1+B0XJl/99JHPfVwsVoZdV5wbY/ikJvPpHiZRz 9A5Wau5/MaKmBvkI8fevAXCnll/qkuoub2Ayyabtq937JD1tBi+7sU/vmdXXV/tCxMio zbo31QWk8GIS4uXcBim6jNje5661vMPSm/VIq3Ig50cT3kySSczDbnunzQ3b5W64fMVX yCf6VvjdUe5nxZSAyFfN3JCH7U7IPZXAw6PzT6BiHrF06EX0AIQlkKCAU5nvJLG9AmE4 JAoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=cAalnVu8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id fz14-20020a17090b024e00b00268a8e0cab3si3856913pjb.178.2023.09.30.11.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 11:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=cAalnVu8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id F19918046BF9; Sat, 30 Sep 2023 11:25:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234722AbjI3SYw (ORCPT + 53 others); Sat, 30 Sep 2023 14:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233050AbjI3SYv (ORCPT ); Sat, 30 Sep 2023 14:24:51 -0400 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91663E3 for ; Sat, 30 Sep 2023 11:24:48 -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=I92h+pBrbRmqNLsJdW2KW4wBmrOUPxWxUtiHFSqeEuI=; b=cAalnVu8ZO9YCCH+NMwhDqGbEh 4ck0EsS5jrcOM0FQHcZfwJxDvB9unCaciK0e25sXQKjgbF6OW0cU0T6lrE2tcRiGyWo8qvbsad2Eo e4vcp+KIUECH+p2cHhSe8A8MMUodP0VWzZj4c9s24Bf7ecLIP3czaJtUhe9jSVzsROTM=; Received: from p54ae922c.dip0.t-ipconnect.de ([84.174.146.44] 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 1qmedx-008tnk-RF; Sat, 30 Sep 2023 20:24:45 +0200 Message-ID: Date: Sat, 30 Sep 2023 20:24:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Felix Fietkau Subject: pull request: mt76 2023-09-30 To: Kalle Valo Cc: linux-wireless Content-Language: en-US Autocrypt: addr=nbd@nbd.name; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13t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aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCeMncXpbbWNT2AtoAYICrKyX5R3iMAoMhw cL98efvrjdstUfTCP2pfetyN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 30 Sep 2023 11:25:02 -0700 (PDT) Hi Kalle, here's my first request for 6.7 - Felix The following changes since commit aa75cc029e053627743fba2cde8a73519abe8421: wifi: mac80211: add back SPDX identifier (2023-09-29 23:21:33 +0200) are available in the Git repository at: https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-09-30 for you to fetch changes up to bd94d501c0c99753497f8396e96738a560bac10e: wifi: mt76: Annotate struct mt76_rx_tid with __counted_by (2023-09-30 20:19:43 +0200) ---------------------------------------------------------------- mt76 patches for 6.7 * mt7603/mt7628 stability improvements * fixes * new driver for mt7925 ---------------------------------------------------------------- Allen Ye (1): wifi: mt76: check sta rx control frame to multibss capability Benjamin Lin (1): wifi: mt76: mt7996: remove periodic MPDU TXS request Bo Jiao (1): wifi: mt76: fix potential memory leak of beacon commands Chank Chen (1): wifi: mt76: connac: add MBSSID support for mt7996 Deren Wu (10): wifi: mt76: connac: introduce helper for mt7925 chipset wifi: mt76: mt792x: support mt7925 chip init wifi: mt76: connac: export functions for mt7925 wifi: mt76: connac: add eht support for phy mode config wifi: mt76: connac: add eht support for tx power wifi: mt76: connac: add data field in struct tlv wifi: mt76: connac: add more unified command IDs wifi: mt76: connac: add more unified event IDs wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips wifi: mt76: mt7921: move connac nic capability handling to mt7921 Dmitry Antipov (2): wifi: mt76: add DMA mapping error check in mt76_alloc_txwi() wifi: mt76: fix clang-specific fortify warnings Felix Fietkau (9): wifi: mt76: mt7603: rework/fix rx pse hang check wifi: mt76: mt7603: improve watchdog reset reliablity wifi: mt76: mt7603: improve stuck beacon handling wifi: mt76: mt7603: add missing register initialization for MT7628 wifi: mt76: mt7603: disable A-MSDU tx support on MT7628 wifi: mt76: fix race condition related to checking tx queue fill status wifi: mt76: remove unused error path in mt76_connac_tx_complete_skb wifi: mt76: mt7915: fix monitor mode issues wifi: mt76: mt7915 add tc offloading support Howard Hsu (3): wifi: mt76: mt7996: fix beamform mcu cmd configuration wifi: mt76: mt7996: fix beamformee ss subfield in EHT PHY cap wifi: mt76: mt7996: support more options for mt7996_set_bitrate_mask() Ingo Rohloff (1): wifi: mt76: mt7921e: Support MT7992 IP in Xiaomi Redmibook 15 Pro (2023) Jen-Hao Cheng (1): wifi: mt76: mt7996: support per-band LED control Jinjie Ruan (2): wifi: mt76: Use PTR_ERR_OR_ZERO() to simplify code wifi: mt76: Drop unnecessary error check for debugfs_create_dir() Johannes Berg (1): wifi: mt76: use atomic iface iteration for pre-TBTT work Kees Cook (1): wifi: mt76: Annotate struct mt76_rx_tid with __counted_by Lorenzo Bianconi (2): wifi: mt76: mt792x: move mt7921_skb_add_usb_sdio_hdr in mt792x module wifi: mt76: mt792x: move some common usb code in mt792x module MeiChia Chiu (2): wifi: mt76: update beacon size limitation wifi: mt76: mt7915: fix beamforming availability check Ming Yen Hsieh (4): wifi: mt76: mt7921: enable set txpower for UNII-4 wifi: mt76: mt7921: add 6GHz power type support for clc wifi: mt76: mt7921: get regulatory information from the clc event wifi: mt76: mt7921: update the channel usage when the regd domain changed Peter Chiu (6): wifi: mt76: mt7996: set correct wcid in txp wifi: mt76: mt7996: fix wmm queue mapping wifi: mt76: mt7996: fix rx rate report for CBW320-2 wifi: mt76: mt7996: fix TWT command format wifi: mt76: check vif type before reporting cca and csa wifi: mt76: mt7915: update mpdu density capability Sean Wang (4): wifi: mt76: move struct ieee80211_chanctx_conf up to struct mt76_vif wifi: mt76: mt7921: fix the wrong rate pickup for the chanctx driver wifi: mt76: mt7921: fix the wrong rate selected in fw for the chanctx driver wifi: mt76: reduce spin_lock_bh held up in mt76_dma_rx_cleanup Shayne Chen (2): wifi: mt76: mt7996: only set vif teardown cmds at remove interface wifi: mt76: fix per-band IEEE80211_CONF_MONITOR flag comparison StanleyYP Wang (1): wifi: mt76: get rid of false alamrs of tx emission issues Yi-Chia Hsieh (3): wifi: mt76: mt7996: get tx_retries and tx_failed from txfree wifi: mt76: mt7996: Add mcu commands for getting sta tx statistic wifi: mt76: mt7996: enable PPDU-TxS to host drivers/net/wireless/mediatek/mt76/Kconfig | 1 + drivers/net/wireless/mediatek/mt76/Makefile | 1 + drivers/net/wireless/mediatek/mt76/debugfs.c | 2 - drivers/net/wireless/mediatek/mt76/dma.c | 14 +- drivers/net/wireless/mediatek/mt76/eeprom.c | 7 +- drivers/net/wireless/mediatek/mt76/mac80211.c | 62 ++- drivers/net/wireless/mediatek/mt76/mt76.h | 36 +- drivers/net/wireless/mediatek/mt76/mt7603/beacon.c | 76 +++- drivers/net/wireless/mediatek/mt76/mt7603/core.c | 2 + drivers/net/wireless/mediatek/mt76/mt7603/init.c | 8 + drivers/net/wireless/mediatek/mt76/mt7603/mac.c | 52 +-- drivers/net/wireless/mediatek/mt76/mt7603/main.c | 4 +- drivers/net/wireless/mediatek/mt76/mt7603/regs.h | 5 + drivers/net/wireless/mediatek/mt76/mt7615/init.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7615/main.c | 4 +- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76_connac.h | 6 + drivers/net/wireless/mediatek/mt76/mt76_connac3_mac.h | 18 +- drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c | 28 +- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 191 +++------ drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 60 ++- drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c | 8 +- drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c | 11 +- drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c | 13 +- drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 4 +- drivers/net/wireless/mediatek/mt76/mt7915/init.c | 24 +- drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/main.c | 53 ++- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 79 ++-- drivers/net/wireless/mediatek/mt76/mt7915/mcu.h | 18 +- drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h | 4 + drivers/net/wireless/mediatek/mt76/mt7915/regs.h | 1 + drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 5 +- drivers/net/wireless/mediatek/mt76/mt7921/init.c | 54 ++- drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 69 ++-- drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 155 ++++++- drivers/net/wireless/mediatek/mt76/mt7921/mcu.h | 13 + drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h | 18 +- drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 2 + drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/usb.c | 12 +- drivers/net/wireless/mediatek/mt76/mt7925/Kconfig | 30 ++ drivers/net/wireless/mediatek/mt76/mt7925/Makefile | 9 + drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c | 319 +++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/init.c | 235 +++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/mac.c | 1452 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/mac.h | 23 ++ drivers/net/wireless/mediatek/mt76/mt7925/main.c | 1454 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/mcu.c | 3174 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/mcu.h | 537 ++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h | 309 ++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/pci.c | 586 ++++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt7925/pci_mac.c | 148 +++++++ drivers/net/wireless/mediatek/mt76/mt7925/pci_mcu.c | 53 +++ drivers/net/wireless/mediatek/mt76/mt7925/regs.h | 92 +++++ drivers/net/wireless/mediatek/mt76/mt7925/usb.c | 332 +++++++++++++++ drivers/net/wireless/mediatek/mt76/mt792x.h | 38 +- drivers/net/wireless/mediatek/mt76/mt792x_core.c | 30 +- drivers/net/wireless/mediatek/mt76/mt792x_dma.c | 49 ++- drivers/net/wireless/mediatek/mt76/mt792x_usb.c | 9 + drivers/net/wireless/mediatek/mt76/mt7996/init.c | 50 ++- drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 111 +++-- drivers/net/wireless/mediatek/mt76/mt7996/main.c | 65 +-- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 359 ++++++++++++++-- drivers/net/wireless/mediatek/mt76/mt7996/mcu.h | 37 +- drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h | 2 +- drivers/net/wireless/mediatek/mt76/mt7996/regs.h | 8 + drivers/net/wireless/mediatek/mt76/tx.c | 108 ++++- include/linux/pci_ids.h | 2 + 72 files changed, 10198 insertions(+), 560 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/Kconfig create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/Makefile create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/init.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/mac.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/mac.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/main.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/mcu.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/mcu.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/pci.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/pci_mac.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/pci_mcu.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/regs.h create mode 100644 drivers/net/wireless/mediatek/mt76/mt7925/usb.c