wifi: rtw89: 8922a: update BA CAM number to 24
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 8 Jan 2024 09:11:28 +0000 (17:11 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 12 Jan 2024 17:10:52 +0000 (19:10 +0200)
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 <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240108091134.67007-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/rtw8922a.c

index 151b000adcaa587141f6d3fe9ad1e1fc5b3f128a..63f1f0e2c30fc4b4de9dd85f30589a61e9b46c23 100644 (file)
@@ -2876,7 +2876,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 {
index 2c8cefbe2e410cc6b7cbebf19c1627667f75e344..752f48821028e65874f5c5c7c07a9b02325bcd49 100644 (file)
@@ -875,7 +875,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,