Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2374174lqp; Sun, 24 Mar 2024 16:28:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaJS2C6DaHNQWddWdEUTZ86RQl/OUws6ecRm15e/KClZWDIgQXQe6pJot0FyEUwDpRUlaTO8aBsj1WoTKh1lM1vWzP2yG/M2EpgtGAMA== X-Google-Smtp-Source: AGHT+IGiLsWO5s3YXwLNjgdhcjXF3OZnXyy/Jf5yhGDT1UOXX57iRf8pnQolHZiI35BOaZ50gvVH X-Received: by 2002:ad4:5ca2:0:b0:690:747d:f8d4 with SMTP id q2-20020ad45ca2000000b00690747df8d4mr8200811qvh.19.1711322918858; Sun, 24 Mar 2024 16:28:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711322918; cv=pass; d=google.com; s=arc-20160816; b=W1T+XCzLLvHTr61bgUDo+1dwscaXgRz+VMBZayWHay8THDxYTylyMWr/pu+yazXw0y W0eCM2Xm9yHAuuQLyQIF6w3SHxMdpMxe8zNPz3nqzSjYuvJW2eR05xzw8aoNQqcH7zxu WmuklIsxddNmEHj7IWJyQ5NwfZ8Sd+hrK5QKyXFe6BPAUooeyQPwYeTo0GDsAbvmzJMz ELb8JBrw+upU8S91EYH/0lzALz9K8XCk+mNOYI8mKiSGHZXGYxvQ1VetasiGuBM+uVNr E+XPVsVINCHDvYmfQ30M5z50w+p9e7GPqQemdGhp9G78V1r3H32dl9CiDoKbXyQfF0bX ZPQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Oaluh14f2gD9QyF00YtZXm3L7+zV8SM0k7dd4lG0Enw=; fh=dOsCIkAJAGKaOYA/sT19rwyoMGMAZObqFLfGWb9/7jY=; b=AqeKVDgznLXNAlLogGRp+fg8f0pnwAsOUwRElNWeg5ulhN6ed1DsDKQ6c9TmdXJrkm G7DlKPGA4Xg8TO/2MD7Q2NjfHwnbAtWSHlFIS6Fwt/59ZEpqGC0x/l+9lELOp1dG8G4j giHZvMibrAsicoZ1s8N6veoR6uqdM5m7guB1WB3Rlmq2wr+MzyX92C3YOjYKXy6BWFrg K2DgnvL63Q8zVAPu+I5QnrRVBFtCa+uqBleUq3V5wG/npbQvT+qlSC8Ja8cu+L8XbcQL AwEr6CK8o7vyJY/FXwkEzpUoBAWUaCPgtdGdkRQzi/qxlYM+iQ4J52y2/qobkoBNoehW PPXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xs0PRC+B; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p3-20020a05621421e300b0068fe4f0982fsi6776760qvj.156.2024.03.24.16.28.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:28:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xs0PRC+B; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 961B91C21E12 for ; Sun, 24 Mar 2024 23:28:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE95D84D3C; Sun, 24 Mar 2024 22:39:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Xs0PRC+B" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE65457899; Sun, 24 Mar 2024 22:39:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319943; cv=none; b=BhhaUrOxOs9Kjsxz6qG1GPulachOXyHn8lHtEztN8rCDhjDYW/pjOBRNbJUvXUSfFaNosvCwyp6oM+RQtfuI4CsW+DbJqYkC483Q0Mg8gBN1WXI+yKJqvScLjyxewUX3k8jTso5KeNDZYAIqkeeMnEQuBo1cT0vE1LIMCQRYkFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319943; c=relaxed/simple; bh=SPCV+ObubcSKVsfZuQiEsJDfvzkLinbGc8VIthJu8ps=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gPrY8mF5mCZxugyxllY88GhiANjD3mq0P4PizMhIN/8EsD7oDPmHZpcAiC79DKBAqzH1nLS6scZJsGrxTGOz09hHtVHoiOd7noVzAVwMyNUqWzRRtIBlRbHrBMGag7YTfft0kyNhAnTxnTJx/4nICev1afUHkiNnwNX/z+iSuDQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Xs0PRC+B; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8CFFC43399; Sun, 24 Mar 2024 22:39:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319943; bh=SPCV+ObubcSKVsfZuQiEsJDfvzkLinbGc8VIthJu8ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xs0PRC+BisyRCQH/7A/cGO/H8FrzZz5pv1UED1RzGo73ZdgOfVMrBPrqNgBXqN0FE Gn/45yiIFiirP4zm5Gjwbsib6xwzRQKMgHJ5oipLld1tttkR4q05eklOVoU24x349i 5gIwZVpWD9ewqB+kT9r02pvk9F9iRIt5t+0Kmz2DyCQCay6w3xnHRZ/w/E8dtDmI8N HqpBELu1GH5qExaTYeqG5lIUfKTIXKjzbQHiihDFBNUe0J/s5cO/GMLDRIVaMaaX77 Put2NLsJiAAq+GETtjRgOvZrHC5QnPIen/1gwzkv8q2uwSwogEg5trlan0MLC9Rg8n 5TuG5cUgaxa0w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Benjamin Lin , Shayne Chen , Felix Fietkau , Sasha Levin Subject: [PATCH 6.8 249/715] wifi: mt76: mt7996: fix HIF_TXD_V2_1 value Date: Sun, 24 Mar 2024 18:27:08 -0400 Message-ID: <20240324223455.1342824-250-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Benjamin Lin [ Upstream commit de8882775156682ba358afc82cb575c92cf3d092 ] Sync the value of HIF_TXD_V2_1 with firmware to let it correctly fill TXD values for HW path. Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices") Signed-off-by: Benjamin Lin Signed-off-by: Shayne Chen Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt76/mt7996/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/init.c b/drivers/net/wireless/mediatek/mt76/mt7996/init.c index 1a1a60744272d..a929c657be1c4 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7996/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7996/init.c @@ -493,7 +493,7 @@ static void mt7996_mac_init_basic_rates(struct mt7996_dev *dev) void mt7996_mac_init(struct mt7996_dev *dev) { -#define HIF_TXD_V2_1 4 +#define HIF_TXD_V2_1 0x21 int i; mt76_clear(dev, MT_MDP_DCR2, MT_MDP_DCR2_RX_TRANS_SHORT); -- 2.43.0