summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBitterblue Smith <rtl8821cerfe2@gmail.com>2024-04-15 23:59:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-16 13:23:39 +0200
commite9b77b537a198235a518f71a274348afd1288467 (patch)
treef5af951553ec803798685078eba77fc074e8fe91 /arch
parentb32aa95843cac6b12c2c014d40fca18aef24a347 (diff)
downloadlinux-stable-e9b77b537a198235a518f71a274348afd1288467.tar.gz
linux-stable-e9b77b537a198235a518f71a274348afd1288467.tar.bz2
linux-stable-e9b77b537a198235a518f71a274348afd1288467.zip
wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU
commit 08b5d052d17a89bb8706b2888277d0b682dc1610 upstream. Don't subtract 1 from the power index. This was added in commit 2fc0b8e5a17d ("rtl8xxxu: Add TX power base values for gen1 parts") for unknown reasons. The vendor drivers don't do this. Also correct the calculations of values written to REG_OFDM0_X{C,D}_TX_IQ_IMBALANCE. According to the vendor driver, these are used for TX power training. With these changes rtl8xxxu sets the TX power of RTL8192CU the same as the vendor driver. None of this appears to have any effect on my RTL8192CU device. Cc: stable@vger.kernel.org Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://msgid.link/6ae5945b-644e-45e4-a78f-4c7d9c987910@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions