linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000
@ 2024-06-21 12:36 Ping-Ke Shih
  2024-06-21 12:36 ` [PATCH 2/2] wifi: rtw89: 8852b: fix definition of KIP register number Ping-Ke Shih
  2024-06-27  1:55 ` [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000 Ping-Ke Shih
  0 siblings, 2 replies; 3+ messages in thread
From: Ping-Ke Shih @ 2024-06-21 12:36 UTC (permalink / raw)
  To: linux-wireless; +Cc: damon.chen

Enlarge AMSDU limit to improve MAC efficient to get better TX throughput
from 851 to 895 Mbps. No change for RX throughput 902 Mbps.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/rtw8852b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852b.c b/drivers/net/wireless/realtek/rtw89/rtw8852b.c
index 381c881fee69..a570cabfe36b 100644
--- a/drivers/net/wireless/realtek/rtw89/rtw8852b.c
+++ b/drivers/net/wireless/realtek/rtw89/rtw8852b.c
@@ -940,7 +940,7 @@ const struct rtw89_chip_info rtw8852b_chip_info = {
 	.fifo_size		= 196608,
 	.small_fifo_size	= true,
 	.dle_scc_rsvd_size	= 98304,
-	.max_amsdu_limit	= 3500,
+	.max_amsdu_limit	= 5000,
 	.dis_2g_40m_ul_ofdma	= true,
 	.rsvd_ple_ofst		= 0x2f800,
 	.hfc_param_ini		= rtw8852b_hfc_param_ini_pcie,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] wifi: rtw89: 8852b: fix definition of KIP register number
  2024-06-21 12:36 [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000 Ping-Ke Shih
@ 2024-06-21 12:36 ` Ping-Ke Shih
  2024-06-27  1:55 ` [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000 Ping-Ke Shih
  1 sibling, 0 replies; 3+ messages in thread
From: Ping-Ke Shih @ 2024-06-21 12:36 UTC (permalink / raw)
  To: linux-wireless; +Cc: damon.chen

From: Kuan-Chung Chen <damon.chen@realtek.com>

An incorrect definition caused DPK to fail to backup and
restore a set of KIP registers. Fixing this will improve
RX throughput from 902 to 997 Mbps.

Fixes: 5b8471ace5b1 ("wifi: rtw89: 8852b: rfk: add DPK")
Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c b/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c
index 7c90e98dc1d9..12354612441c 100644
--- a/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c
+++ b/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c
@@ -21,7 +21,7 @@
 #define RTW8852B_RF_REL_VERSION 34
 #define RTW8852B_DPK_VER 0x0d
 #define RTW8852B_DPK_RF_PATH 2
-#define RTW8852B_DPK_KIP_REG_NUM 2
+#define RTW8852B_DPK_KIP_REG_NUM 3
 
 #define _TSSI_DE_MASK GENMASK(21, 12)
 #define ADDC_T_AVG 100
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000
  2024-06-21 12:36 [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000 Ping-Ke Shih
  2024-06-21 12:36 ` [PATCH 2/2] wifi: rtw89: 8852b: fix definition of KIP register number Ping-Ke Shih
@ 2024-06-27  1:55 ` Ping-Ke Shih
  1 sibling, 0 replies; 3+ messages in thread
From: Ping-Ke Shih @ 2024-06-27  1:55 UTC (permalink / raw)
  To: Ping-Ke Shih, linux-wireless; +Cc: damon.chen

Ping-Ke Shih <pkshih@realtek.com> wrote:

> Enlarge AMSDU limit to improve MAC efficient to get better TX throughput
> from 851 to 895 Mbps. No change for RX throughput 902 Mbps.
> 
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

2 patch(es) applied to rtw-next branch of rtw.git, thanks.

5f7e92c59b8e wifi: rtw89: 8852b: set AMSDU limit to 5000
2f35712ab826 wifi: rtw89: 8852b: fix definition of KIP register number

---
https://github.com/pkshih/rtw.git


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-27  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-21 12:36 [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000 Ping-Ke Shih
2024-06-21 12:36 ` [PATCH 2/2] wifi: rtw89: 8852b: fix definition of KIP register number Ping-Ke Shih
2024-06-27  1:55 ` [PATCH 1/2] wifi: rtw89: 8852b: set AMSDU limit to 5000 Ping-Ke Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).