Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1018506lqb; Wed, 17 Apr 2024 19:12:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrUqohrE8GTRW0n0b7z+V4plzhbhnSA6hJzqfh21WrYq077lHMQ0y5nntv4k7e7/lLzqF53HlYy/UsbFoGy2r5orlJ5G3qGh1+o00vDg== X-Google-Smtp-Source: AGHT+IEtD0Z8cLgLu4vE7t00+B+W9XWt+z4/izuFzOlUzR4Hmo+P2XMBebfbLtyJLF2CVQuOjUdj X-Received: by 2002:ad4:4e4c:0:b0:69b:7de2:419f with SMTP id eb12-20020ad44e4c000000b0069b7de2419fmr1272290qvb.28.1713406372446; Wed, 17 Apr 2024 19:12:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713406372; cv=pass; d=google.com; s=arc-20160816; b=BiXuluWQXIMQMHqJXUToVq9UgLHq0BHmUuSUWAMxnShqFogmLi4Jpa5PS4CUHGyzZY R7PE8o4eoMEegZzKHeXSlQtJWznCebBRkVGdzzlgpTZQAPGxbqy+O2a+01REC47tIa85 whjbfx2C7a/hVsoEWMhwHZdbFiEbuAp+VDQ8rmo/H22apZ158XXK8uquRo0yKRFeZ20i eA3NYnc+32pHTSOt1LFvpLDhWatGUH/+WoxwZ/mtMqQuxMrgc1ywfTXKuw5Y3RDzhAxM 0gorFDEXlhl/py91osI1+GuQUV+PgJfj8TFV8bbDq9mrwPclR76/DGwoP39udZqth1Hf 23yg== 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; bh=pf3sLvRtoBoDmiNWJZ79UzL1bl/hVH3nm3DoNAslAqI=; fh=MNKRx4WJmBaVWzQe39dfqMazHXuwPQWBzq8iA6LUjvg=; b=oFAP4kIY8C7uRQGJ+Y2ePZfn7cj17ZP+DG6AOyJXcYOW/lbyE8tte8xPdlEot+lKuv kpW15nK7tYivPa4wHd83Qwm69spRWQwLMOVLD9McV0gWapkTdy1U/anpdAg8Osu9l9II epcv9ythk2EoaFmOWdqdRgKsoIjmAzxIB8xDxlzNupgOy2redbZ5KLWTS4KtO73saUwl S+Sl/j8iCb49TAVTYgJWxAzh1kCbGAbkXTpVGwnw2NrJ3Xv7MwZniRtWePQ25cWidbvI xf44wA+Xiq894tmpA8ajiNkqBePmGSHAMeTGvCicVdZbVL5FO0yPJJW6JJq7n+PFeAbk qzPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6482-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6482-linux.lists.archive=gmail.com@vger.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 jf13-20020a0562142a4d00b0069b81c2024csi505434qvb.400.2024.04.17.19.12.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 19:12:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6482-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; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6482-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6482-linux.lists.archive=gmail.com@vger.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 2F7201C20DD9 for ; Thu, 18 Apr 2024 02:12:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81C264F1FE; Thu, 18 Apr 2024 02:12:49 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98E2E4F1FC for ; Thu, 18 Apr 2024 02:12:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713406369; cv=none; b=IJziQ0oLP1cpRANCMUJo7CT+4MzPiv7eWgnZMbUs5rPJuPRS8TtXI9K6LAnhrnTSEvDlgSb5n9titYS4enz417VzgvSpctohHr7uyBYH3ozAiCJMiSdMf/dKy5mwN1Yx6fmBXvAS7gPxGAkyZRaYi+Kb+aPzR6Za+iIN0SwvvFc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713406369; c=relaxed/simple; bh=7vNizCsworX1D0gpcxcpNp4vbBy3ujcEgFcCeJ7ylK8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mf7eZmhkWmiwF0HeLAe9sxgevPm9RKTAyLTkhQV4TlRZiAE7eysTAafNjtrwc0TenjvrJe42AZTU3DtIBm5CXs0tnC7NwjblwGJWTPs6AQvLN23jtH3QJliiRusd47ShbpAsfnGXW0F4Cz+mNf6JIKCy/sYbR9rpmnXI/4AITiE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 43I2Cin563994725, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 43I2Cin563994725 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 18 Apr 2024 10:12:44 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 18 Apr 2024 10:12:44 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 18 Apr 2024 10:12:44 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 4/9] wifi: rtw89: coex: Add PTA path control condition for chip RTL8922A Date: Thu, 18 Apr 2024 10:12:02 +0800 Message-ID: <20240418021207.32173-5-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240418021207.32173-1-pkshih@realtek.com> References: <20240418021207.32173-1-pkshih@realtek.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) From: Ching-Te Ku PTA(packet traffic arbitration) is a coexistence hardware feature. Wi-Fi & Bluetooth owns their PTA, the function is to show whose PTA control the traffic now. RTL8922A PTA control is controlled by hardware logic, there is no register to monitor the setting. Signed-off-by: Ching-Te Ku Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw89/mac.c b/drivers/net/wireless/realtek/rtw89/mac.c index aa5b396b5d2b..8b34044f7a8a 100644 --- a/drivers/net/wireless/realtek/rtw89/mac.c +++ b/drivers/net/wireless/realtek/rtw89/mac.c @@ -5705,7 +5705,7 @@ bool rtw89_mac_get_ctrl_path(struct rtw89_dev *rtwdev) const struct rtw89_chip_info *chip = rtwdev->chip; u8 val = 0; - if (chip->chip_id == RTL8852C) + if (chip->chip_id == RTL8852C || chip->chip_id == RTL8922A) return false; else if (chip->chip_id == RTL8852A || chip->chip_id == RTL8852B || chip->chip_id == RTL8851B) -- 2.25.1