kernel_samsung_a53x/drivers/net/wireless/realtek/rtlwifi/rtl8192de
Bitterblue Smith bdeaf0c34b wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power
[ Upstream commit de4d4be4fa64ed7b4aa1c613061015bd8fa98b24 ]

Different channels have different TX power settings. rtl8192de is using
the TX power setting from the wrong channel in the 5 GHz band because
_rtl92c_phy_get_rightchnlplace expects an array which includes all the
channel numbers, but it's using an array which includes only the 5 GHz
channel numbers.

Use the array channel_all (defined in rtl8192de/phy.c) instead of
the incorrect channel5g (defined in core.c).

Tested only with rtl8192du, which will use the same TX power code.

Cc: stable@vger.kernel.org
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/c7653517-cf88-4f57-b79a-8edb0a8b32f0@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:10 +01:00
..
def.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy.c wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power 2024-11-19 14:19:10 +01:00
phy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
table.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
table.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trx.c wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path 2024-11-19 12:27:16 +01:00
trx.h wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path 2024-11-19 12:27:16 +01:00