Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2371012rdg; Mon, 16 Oct 2023 02:10:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHnmpQHAHKuYRCbGIPCAVfRDW6I416TLT8NuxEokg3LH+agfZtiL/SC/X3cUNsN1LK1tPat X-Received: by 2002:a05:6300:8003:b0:172:9b19:66b6 with SMTP id an3-20020a056300800300b001729b1966b6mr13958310pzc.32.1697447449867; Mon, 16 Oct 2023 02:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697447449; cv=none; d=google.com; s=arc-20160816; b=AyGqykrO8jcs44OzV4j46EMnGtqGRcbK5E6UsZ4SKpm+puKMlAQ2wu4cDLaPr1qHiq GOFProsNt+PgGTFiA72W8Hs8Pd2RI8QV/SZnhql23SkxOp53OudkK1IKrpaJkSE+N0c8 Ml3CQ8CemCgU1EVSLkoS8h4bJK1vBrrMw9BilXs/oukOrUEjnmbEYp6k4rsSSWxQf+t/ h8kVe0T1zJfaEhp59AyLyafHuqlyLcT1s/pdIWzb3t0w7pEScD+mss79TtCeKXRcu10u YiGn8SUeXuGQeXT07tQqtX+DaPjjF4s0iWmBKgyMkmy2uvyukgKX9aG/voZP+l9aBc0q KAGA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F8euwVlW0+neDLtR6WJGOGDQsPFxhlH1MmObbQBtDaA=; fh=Ku4rpZluzJB+G9vQVPu7qAagHLleNx84zz+BPW6AE7g=; b=trjW2Asclm3/B8z65n9VY0ry7ajKAUgbz2kscQXJU3eT1mXluZuNJBEQgXMFW8tSaf 9y/Uhckz3XBMdtbzqzXEdX0ZFPcNuOU8KrsMJ33mBBgkOffZIF/bUakU+O0tDUKcMyrk DguvrDHwOFPQvpPJbDZngbVUt99rtjDE/WnE22YmqBrdw9GDaigyimL//74I8pPJmWGw 7aRy1GyXM79V1TVyDjKSCgObKDxAGRdHjjY7vsMFDT1dEn6owAkN2ij7b+20FME6z9SJ NG3PaXaSTI/UZ1h1PoFZnVW8Pf3ldvTZDQyfnn4M99qUyT5EcV7DYgOMeqrk+enFEj3d Sg3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TQ1cDDXf; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id y6-20020a17090322c600b001c9c8c4cfb6si10984367plg.214.2023.10.16.02.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 02:10:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TQ1cDDXf; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6136A807C753; Mon, 16 Oct 2023 02:10:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232327AbjJPJKJ (ORCPT + 52 others); Mon, 16 Oct 2023 05:10:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232328AbjJPJKI (ORCPT ); Mon, 16 Oct 2023 05:10:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F3E5AD for ; Mon, 16 Oct 2023 02:10:07 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1BDAC433C7; Mon, 16 Oct 2023 09:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697447407; bh=kov4yMSQdmfTBSDB3yLwqivPB51jrQoms4p5iBEYCZY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TQ1cDDXfCw/yeXO+omTf3GfjyILT7sSVWp7vziQTJ7t0epJ3DtVz9t/2wQN8SMVhP QhwsTJfoBhcZyGPW3jRd9sRfyhEoYQr1P2j9Pi5J0Dun5tYBey4dGFfNKESklmnlC4 EKehZPnqyZq/FCcY0MltBXq5JSy2DsMn8/WzCz1trnwRSji0KddrixpnzLKm5veVgi JtFXDltprMRL6oIgqhLm34rC0h8pssJHlXXiGod/k0ikl6Fvk5bY/xkOeJEUIdwSpo IF3+EIkJJzwn3qVtCTZ9dSZDzhsRvoXvP1LowOUe6U34eROrbsqUaReKSo9/NACWp3 KUlqHlRgFdNQg== From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, evelyn.tsai@mediatek.com, shayne.chen@mediatek.com, Bo.Jiao@mediatek.com, sujuan.chen@mediatek.com, linux-mediatek@lists.infradead.org Subject: [PATCH v2 06/12] wifi: mt76: increase MT_QFLAG_WED_TYPE size Date: Mon, 16 Oct 2023 11:03:39 +0200 Message-ID: <8dca673261ac27abfd7f471663abfb45c442803e.1697445996.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 16 Oct 2023 02:10:11 -0700 (PDT) This is a preliminary patch to introduce WED support for mt7996 Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 8fa0440f1686..fa33ecfbf72d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -29,8 +29,8 @@ #define MT76_TOKEN_FREE_THR 64 #define MT_QFLAG_WED_RING GENMASK(1, 0) -#define MT_QFLAG_WED_TYPE GENMASK(3, 2) -#define MT_QFLAG_WED BIT(4) +#define MT_QFLAG_WED_TYPE GENMASK(4, 2) +#define MT_QFLAG_WED BIT(5) #define __MT_WED_Q(_type, _n) (MT_QFLAG_WED | \ FIELD_PREP(MT_QFLAG_WED_TYPE, _type) | \ -- 2.41.0