Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1512167rdb; Mon, 8 Jan 2024 01:13:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiDgwWYy0OmM6aL4IfeP/B/48NvKoJ2Zc6mwlR8Vl95XStMWc9RPbPcWCjj+ogcYDX5aZj X-Received: by 2002:a17:906:b00c:b0:a28:a70d:6c49 with SMTP id v12-20020a170906b00c00b00a28a70d6c49mr1279977ejy.127.1704705200273; Mon, 08 Jan 2024 01:13:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704705200; cv=none; d=google.com; s=arc-20160816; b=lz6ql/KfXi52nqP4OXzlzorFmuQ1+8cr/4Nq3V6FI478FJqatQk7FIxDfRR9vcO4Cb yrNZWmjwOaAN3tnJUwmVRIlFZXCL6CmWqHfXEiDEjvHw+EbnbS+TNFzApxU/9GYbTBSC sRrMTFL9eeHOh7sQe8GtkAKpR4sUd/Z5SS9WhycgNGxcV8zaeLCsIsuq2emn+eENNgH7 2OYvBKumqORJ+/pVWWYmbRY0UGw2GHBHAALiyaGXS3EzoBP6Xnubb92+KL6ybxGXRnO1 Iv99fWr6eby7xZQedoWKhDEOsUq81kbApiCDE5FdiowwmvKDdW2sWghUpOV5ahT+WG3X 83Ww== ARC-Message-Signature: i=1; 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=zBrvnUjy3E+usL/2hnxxhi96JeVFFFrhUaBCGJtZO94=; fh=119R0DZRwIns1LRpqAK2A6izyPVjL4TEe6VydCwW0T8=; b=ZdbXegE5Ko2HPvWIixBh2RxcOmogmaFC3ZvDkBsBWPu4o72SHSZVct3LjnJgIBSnvn DC/uvtehkKIKDBV7ksGIKonCCeJw4nfb4Urs3Jglzh+yT8yzYP2trSVWsokLZYsestlz 1cUfu7gliT3PlrPvtiBMQpUFv+55Ri6AXuBIUZXnug1FADXKuYnafd4bdIw51IOisJRX JlVfDXXOqhw0+NJ0ZWwIF0JsSIsvKEMA3lYxYwersOLjNkbYLvvxCz6aD9CxKxNwTRNF C3oE7I3la1VuJmiRr+YPSlyXEPB4qDJJNCxIw2FcIIkZqWfCl98Mj+fAV1QiKfuXFGy7 AKWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1578-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gy19-20020a170906f25300b00a2771e8c642si3013088ejb.754.2024.01.08.01.13.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:13:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1578-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 656F61F22725 for ; Mon, 8 Jan 2024 09:12:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92BE2DDCF; Mon, 8 Jan 2024 09:12:12 +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 D37CE13FEE for ; Mon, 8 Jan 2024 09:12:10 +0000 (UTC) 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 4089C55p83872890, 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 4089C55p83872890 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Jan 2024 17:12:05 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 8 Jan 2024 17:12:05 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 8 Jan 2024 17:12:05 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 04/10] wifi: rtw89: 8922a: update BA CAM number to 24 Date: Mon, 8 Jan 2024 17:11:28 +0800 Message-ID: <20240108091134.67007-5-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240108091134.67007-1-pkshih@realtek.com> References: <20240108091134.67007-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 RTEXDAG02.realtek.com.tw (172.21.6.101) X-KSE-ServerInfo: RTEXDAG02.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback The total BA CAM number of 8922a is 32 instead of 16, and initial 8 entries are dynamic, so update the entry number to 24. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/core.h | 2 +- drivers/net/wireless/realtek/rtw89/rtw8922a.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/realtek/rtw89/core.h b/drivers/net/wireless/realtek/rtw89/core.h index 1e30408d2c7c..2907674f2afc 100644 --- a/drivers/net/wireless/realtek/rtw89/core.h +++ b/drivers/net/wireless/realtek/rtw89/core.h @@ -2875,7 +2875,7 @@ struct rtw89_ba_cam_entry { #define RTW89_MAX_ADDR_CAM_NUM 128 #define RTW89_MAX_BSSID_CAM_NUM 20 #define RTW89_MAX_SEC_CAM_NUM 128 -#define RTW89_MAX_BA_CAM_NUM 8 +#define RTW89_MAX_BA_CAM_NUM 24 #define RTW89_SEC_CAM_IN_ADDR_CAM 7 struct rtw89_addr_cam_entry { diff --git a/drivers/net/wireless/realtek/rtw89/rtw8922a.c b/drivers/net/wireless/realtek/rtw89/rtw8922a.c index b8c209fd8f34..395b4df29223 100644 --- a/drivers/net/wireless/realtek/rtw89/rtw8922a.c +++ b/drivers/net/wireless/realtek/rtw89/rtw8922a.c @@ -666,7 +666,7 @@ const struct rtw89_chip_info rtw8922a_chip_info = { .acam_num = 128, .bcam_num = 20, .scam_num = 32, - .bacam_num = 8, + .bacam_num = 24, .bacam_dynamic_num = 8, .bacam_ver = RTW89_BACAM_V1, .ppdu_max_usr = 16, -- 2.25.1