linux/drivers/net
Bitterblue Smith d7dd13ea54 wifi: rtw88: usb: Further limit the TX aggregation
Currently the number of frames sent to the chip in a single USB Request
Block is limited only by the size of the TX buffer, which is 20 KiB.
Testing reveals that as many as 13 frames get aggregated. This is more
than what any of the chips would like to receive. RTL8822CU, RTL8822BU,
and RTL8821CU want at most 3 frames, and RTL8723DU wants only 1 frame
per URB.

RTL8723DU in particular reliably malfunctions during a speed test if it
receives more than 1 frame per URB. All traffic seems to stop. Pinging
the AP no longer works.

Fix this problem by limiting the number of frames sent to the chip in a
single URB according to what each chip likes.

Also configure RTL8822CU, RTL8822BU, and RTL8821CU to expect 3 frames
per URB.

RTL8703B may or may not be found in USB devices. Declare that it wants
only 1 frame per URB, just in case.

Tested with RTL8723DU and RTL8811CU.

Cc: stable@vger.kernel.org
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/cb46ea35-7e59-4742-9c1f-01ceeaad36fb@gmail.com
2024-06-21 20:41:10 +08:00
..
arcnet
bonding
caif
can
dsa net: dsa: hellcreek: Replace kernel.h with what is used 2024-06-10 13:13:02 +01:00
ethernet ice: use irq_update_affinity_hint() 2024-06-10 19:52:45 -07:00
fddi
fjes net: fjes: correct TRACE_INCLUDE_PATH 2024-05-30 18:28:31 -07:00
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mctp
mdio
netdevsim
pcs
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-06-06 12:06:56 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb r8152: Set NET_ADDR_STOLEN if using passthru MAC 2024-06-06 17:33:12 -07:00
vmxnet3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-06-06 12:06:56 -07:00
vxlan vxlan: Fix regression when dropping packets due to invalid src addresses 2024-06-05 10:51:10 +01:00
wan
wireguard
wireless wifi: rtw88: usb: Further limit the TX aggregation 2024-06-21 20:41:10 +08:00
wwan net: wwan: iosm: Fix tainted pointer delete is case of region creation fail 2024-06-06 10:15:14 +02:00
xen-netback
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c
veth.c
virtio_net.c virtio_net: fix a spurious deadlock issue 2024-06-01 15:14:06 -07:00
vrf.c
vsockmon.c
xen-netfront.c