]> git.baikalelectronics.ru Git - 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)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:38:06 +0000 (17:38 +0200)
commit0b6fd6c9519441bd0cb07905635cafa780798185
tree3e2154e234c4a7a3d9efdf19bf51f40322ec6839
parentd557edb36f208ac703041593f53bd9fc46a9dfd8
rtw88: fix TX secondary channel offset of 40M if current bw is 20M or 40M

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>
drivers/net/wireless/realtek/rtw88/mac.c