diff options
author | Ping-Ke Shih <[email protected]> | 2023-08-08 08:54:26 +0800 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2023-08-08 12:52:07 +0200 |
commit | b74bb07cdab6859e1a3fc9fe7351052176322ddf (patch) | |
tree | fa56b0bc68c342a534d4d71b55e2f1d000e8a44f | |
parent | 017e9420c1ca19bc169e20fa749709723eaf1eb7 (diff) |
wifi: rtw89: fix 8852AE disconnection caused by RX full flags
RX full flags are raised if certain types of RX FIFO are full, and then
drop all following MPDU of AMPDU. In order to resume to receive MPDU
when RX FIFO becomes available, we clear the register bits by the
commit a0d99ebb3ecd ("wifi: rtw89: initialize DMA of CMAC"). But, 8852AE
needs more settings to support this. To quickly fix disconnection problem,
revert the behavior as before.
Fixes: a0d99ebb3ecd ("wifi: rtw89: initialize DMA of CMAC")
Reported-by: Damian B <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217710
Cc: <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Tested-by: Damian B <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/mac.c b/drivers/net/wireless/realtek/rtw89/mac.c index b114babec698..c93e6250cb8b 100644 --- a/drivers/net/wireless/realtek/rtw89/mac.c +++ b/drivers/net/wireless/realtek/rtw89/mac.c @@ -2524,7 +2524,7 @@ static int cmac_dma_init(struct rtw89_dev *rtwdev, u8 mac_idx) u32 reg; int ret; - if (chip_id != RTL8852A && chip_id != RTL8852B) + if (chip_id != RTL8852B) return 0; ret = rtw89_mac_check_mac_en(rtwdev, mac_idx, RTW89_CMAC_SEL); |