> -----Original Message----- > From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Sent: Tuesday, February 13, 2024 10:33 PM > To: Ping-Ke Shih <pkshih@xxxxxxxxxxx>; linux-wireless@xxxxxxxxxxxxxxx > Cc: Larry.Finger@xxxxxxxxxxxx > Subject: Re: [PATCH] wifi: rtlwifi: rtl8192cu: Fix TX aggregation > > On 12/02/2024 14:50, Ping-Ke Shih wrote: > > On Thu, 2024-02-08 at 21:54 +0200, Bitterblue Smith wrote: > >> set_tx_desc_max_agg_num(txdesc, 0x14); > > > > Have you tried larger number of this? > > As IEEE80211_MAX_AMPDU_BUF_HT is 0x40, set 0x3f here to get higher TX > > throughput if USB speed can afford. > > > > With this patch, the upload speed is 46 Mbps. But that's just > because my device is detected as 1T2R and it's not allowed to use > rates above MCS7. When I fix that problem the upload speed is 82 Mbps > in the same conditions, about 3 meters from the router. > > If I then move the device just 60 cm away, the upload speed is 92 > Mbps. > > I tried 0x1f now (this field is only 5 bits). The upload speed doesn't > get better. Maybe it gets a bit worse. It could have more interference with larger aggregation number. Let's keep it as it was. Thanks for the try. Ping-Ke