Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp179284pxm; Wed, 2 Mar 2022 12:56:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDZ/f16KsW0yvDQjdn/aEde4mcja30beuIAoLJ8lmXdbmPInmFPbaY0uVaQOQLS7dThfC6 X-Received: by 2002:a17:907:3da0:b0:6da:8dbc:f4bc with SMTP id he32-20020a1709073da000b006da8dbcf4bcmr144179ejc.708.1646254613489; Wed, 02 Mar 2022 12:56:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646254613; cv=none; d=google.com; s=arc-20160816; b=I/EmPTojed/n8afRbRpLYUN+NooTHwNknLVGzu2L4H7kRJ6Lq7Ulct6yElhEf7Wsu3 glz9zy0rjIcH/z+NCue3YvGq5Sbs/HxMrYDiiVfar3TLL5hfkJgB1S9HcOX3VOLpojBf 2wzkG1YB4tcDF61o0C8pgPFANvOyW1YzN+JwPIb7fZds+hGNGdiSeO44XMr1VhHRMNsR 5ZStpZpFP1Qo2wjMdPtQmYi4uCLKuQREXymXS94GmiBtXb3Zvw5F8LBrYDvMN6SlDbbx NzOK17iSAON2tFKHeHRQn35EQaCeQdQHPmh2kAxt3gqs7wqkW9XbUIvLhdkTv0R+deq8 NWQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HNdm/2bSCfZJoVmrkt3PyjWDShVgKW90afRiZPhXFtM=; b=V56gm/9YqhTEuBAV1SOpHJYuQdwCZY3KPwf5cpcK4Q14/0CIFbmxOUnUvolV2qhs4I q9eU2dUkF2iTJ6CR3kZt+LRt2kpO672i3vxmmXu8QrIX0XBDEgM64mWgBYTNm6xILuIy e0ZYjy/yOvh8nq/C1vPeCa+R7A7GoJ9TlHw1hSXpm2C095lyyilc7vp2a1nsxE7lRbp5 JlOIlkw263iLSHlFED12PUomcTT0vc64fYzlO0la+cFbpNIZb7fDWbjVnc8kIwtz5y7s tHicP7uKlk6ijqZ9cDTCy0HaSmIupLHUjivHCDz8xfbmI7PtgKUTrY0esamUet+zQVNm 1log== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q32lpFBF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fy1-20020a1709069f0100b0069bbbb0754asi92625ejc.92.2022.03.02.12.56.30; Wed, 02 Mar 2022 12:56:53 -0800 (PST) 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=pass header.i=@kernel.org header.s=k20201202 header.b=q32lpFBF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240962AbiCBPtU (ORCPT + 72 others); Wed, 2 Mar 2022 10:49:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240701AbiCBPtS (ORCPT ); Wed, 2 Mar 2022 10:49:18 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E9ED28981 for ; Wed, 2 Mar 2022 07:48:26 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id ED304CE21D7 for ; Wed, 2 Mar 2022 15:48:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8F38C340F5; Wed, 2 Mar 2022 15:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646236103; bh=bk491uNw6Qku/SW8n0xK17WRvkzi4HfmcwBQ9zlYy7w=; h=From:To:Cc:Subject:Date:From; b=q32lpFBFvS4l/igvOMcurf8Dw7MMiw0HfRS0yFWp25YcPyLHPzCWqUV8xOvBn1A5k AixujlnpQR6lBC1Z1K5nlDEwRy3vypao2g0ICvAHrxLfWdsLR891cTerF5yvgmvjy2 q65y9lvv/EonTJlhPqmND+rlHfOGdrLtnTe7NE9CIQsJCPQoBbgaccPU7eNip2S2+8 HiC6FXY+bTotgI/yky8jU0trMMo5ndxcGdqbEmDWGvWutCpc56HsHZZJYgyjy7OQCZ fszUcPMAAZAxeTets20NM7kYYYVMQIKeOExtZGp9W/cuXtrAwtMZLOcmQSIp0L2qII wmh3g/b5A4Ciw== From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, sean.wang@mediatek.com, deren.wu@mediatek.com, linux-mediatek@lists.infradead.org Subject: [PATCH 0/9] introduce mt7921u driver Date: Wed, 2 Mar 2022 16:48:04 +0100 Message-Id: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Introduce support for MT7921U 802.11ax 2x2:2SS wireless devices. Lorenzo Bianconi (9): mt76: usb: add req_type to ___mt76u_rr signature mt76: usb: add req_type to ___mt76u_wr signature mt76: usb: introduce __mt76u_init utility routine mt76: mt7921: disable runtime pm for usb mt76: mt7921: update mt7921_skb_add_usb_sdio_hdr to support usb mt76: mt7921: move mt7921_usb_sdio_tx_prepare_skb in common mac code mt76: mt7921: move mt7921_usb_sdio_tx_complete_skb in common mac code. mt76: mt7921: move mt7921_usb_sdio_tx_status_data in mac common code. mt76: mt7921: add mt7921u driver drivers/net/wireless/mediatek/mt76/mt76.h | 12 +- .../net/wireless/mediatek/mt76/mt7615/usb.c | 68 ++- .../net/wireless/mediatek/mt76/mt76x0/usb.c | 2 +- .../net/wireless/mediatek/mt76/mt76x2/usb.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/Kconfig | 11 + .../wireless/mediatek/mt76/mt7921/Makefile | 2 + .../wireless/mediatek/mt76/mt7921/debugfs.c | 6 + .../net/wireless/mediatek/mt76/mt7921/init.c | 12 +- .../net/wireless/mediatek/mt76/mt7921/mac.c | 91 ++++ .../net/wireless/mediatek/mt76/mt7921/mac.h | 1 + .../net/wireless/mediatek/mt76/mt7921/main.c | 3 +- .../wireless/mediatek/mt76/mt7921/mt7921.h | 25 +- .../net/wireless/mediatek/mt76/mt7921/regs.h | 36 +- .../net/wireless/mediatek/mt76/mt7921/sdio.c | 6 +- .../wireless/mediatek/mt76/mt7921/sdio_mac.c | 83 ---- .../wireless/mediatek/mt76/mt7921/sdio_mcu.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/usb.c | 397 ++++++++++++++++++ drivers/net/wireless/mediatek/mt76/usb.c | 125 ++---- 18 files changed, 689 insertions(+), 195 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/usb.c -- 2.35.1