diff options
| author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2024-04-25 21:09:21 +0300 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-05-02 05:36:13 +0300 |
| commit | de4d4be4fa64ed7b4aa1c613061015bd8fa98b24 (patch) | |
| tree | 6ca2a2ec6552182f61e8310d3606a2f445c2582c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ed403e86c8269b5d594dea380b09a0a76e7872ea (diff) | |
| download | linux-de4d4be4fa64ed7b4aa1c613061015bd8fa98b24.tar.xz | |
wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
