mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 13:41:48 -04:00
wifi: rtw89: mac: set quota 13 for PLE SNRPT
The RTL8922D has additional quota 13 of SNRPT for PLE (payload engine). Set value to the quota according to predefined tables. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260108120320.2217402-7-pkshih@realtek.com
This commit is contained in:
@@ -331,6 +331,11 @@ static void ple_quota_cfg_be(struct rtw89_dev *rtwdev,
|
||||
SET_QUOTA(cpu_io, PLE, 10);
|
||||
SET_QUOTA(tx_rpt, PLE, 11);
|
||||
SET_QUOTA(h2d, PLE, 12);
|
||||
|
||||
if (rtwdev->chip->chip_id == RTL8922A)
|
||||
return;
|
||||
|
||||
SET_QUOTA(snrpt, PLE, 13);
|
||||
}
|
||||
|
||||
static void rtw89_mac_hci_func_en_be(struct rtw89_dev *rtwdev)
|
||||
|
||||
@@ -5514,6 +5514,10 @@
|
||||
#define B_BE_PLE_Q12_MAX_SIZE_MASK GENMASK(27, 16)
|
||||
#define B_BE_PLE_Q12_MIN_SIZE_MASK GENMASK(11, 0)
|
||||
|
||||
#define R_BE_PLE_QTA13_CFG 0x9074
|
||||
#define B_BE_PLE_Q13_MAX_SIZE_MASK GENMASK(27, 16)
|
||||
#define B_BE_PLE_Q13_MIN_SIZE_MASK GENMASK(11, 0)
|
||||
|
||||
#define R_BE_PLE_ERRFLAG1_IMR 0x90C0
|
||||
#define B_BE_PLE_SRCHPG_PGOFST_IMR BIT(26)
|
||||
#define B_BE_PLE_SRCHPG_STRPG_IMR BIT(25)
|
||||
|
||||
Reference in New Issue
Block a user