wifi: rtl8xxxu: Support USB RX aggregation for the newer chips
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 25 Apr 2023 13:01:00 +0000 (16:01 +0300)
committerKalle Valo <kvalo@kernel.org>
Fri, 5 May 2023 07:33:26 +0000 (10:33 +0300)
commit6dc28456aa172b6e4dcc8e0914026b4026ae0a05
treec536bff3e3e43428ccd2615fd8254cb8f31e586c
parentb9a07c443a82432c4679a5a026b53e1e454d9a40
wifi: rtl8xxxu: Support USB RX aggregation for the newer chips

The driver can receive several frames in the same USB transfer.
Add the code to handle this in rtl8xxxu_parse_rxdesc24(), even though
currently all the relevant chips send only one frame per USB transfer
(RTL8723BU, RTL8192EU, RTL8188FU, RTL8710BU).

This was tested with RTL8188FU, RTL8192EU, RTL8710BU, and RTL8192FU.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/16d2d1ff-6438-10c9-347f-6e14dd358ccf@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c