> -----Original Message----- > From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Sent: Tuesday, February 13, 2024 10:33 PM > To: linux-wireless@xxxxxxxxxxxxxxx > Cc: Ping-Ke Shih <pkshih@xxxxxxxxxxx>; Larry Finger <Larry.Finger@xxxxxxxxxxxx> > Subject: [PATCH] wifi: rtlwifi: rtl8192cu: Fix 2T2R chip type detection > > rtl8192cu handles 1T1R devices (RTL8188CUS), 1T2R devices (RTL8191CU), > and 2T2R devices (RTL8192CU). The 2T2R devices were incorrectly detected > as 1T2R because of a mistake in the IS_92C_1T2R macro. > > The visible effect of this is that the firmware was allowed to use > TX rates only up to MCS7. > > Fix the IS_92C_1T2R macro. > > Now my 2T2R device has much better upload speed. > Before: 46 Mbps. > After: 82 Mbps. > > Also fix a debug message which was printing "RF_1T1R" even for 1T2R > chips. > > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>