diff options
author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2024-02-13 16:33:02 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-02-15 13:10:47 +0200 |
commit | bcfcbf23a98ca19ba5931914801b5939e0d17bda (patch) | |
tree | 3ab811846aeaf6d120ef6f5860f09fefdf1bc055 /tools/perf/scripts/python/task-analyzer.py | |
parent | 63d94f7496233600186303f1eee000ab2ffc920a (diff) |
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@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/ed960059-5c77-422d-ac4e-fe9fc9d0d296@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions