]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
rtw88: fix TX secondary channel offset of 40M if current bw is 20M or 40M
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 20 Dec 2019 09:21:47 +0000 (17:21 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 20 Mar 2020 21:31:27 +0000 (16:31 -0500)
commitc7bbee656f3f4d928177e1694637fdc2bde32761
tree9f3f02c4fb747cabd6e09d3db27f6edf59cb978c
parent85d121d9f4ef05a27c5a4afbb94c1476f29b8ec7
rtw88: fix TX secondary channel offset of 40M if current bw is 20M or 40M

BugLink: https://bugs.launchpad.net/bugs/1780590
TX secondary channel offset is valid only if current bandwidth is 80M,
otherwise leave this value as zero. The wrong value of txsc40 causes
MAC unpredictable behavior.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
(cherry picked from commit 73a2d0b83424f7150a1f607470dac67c95b8b2d4)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/wireless/realtek/rtw88/mac.c