]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: get channel parameters of 160MHz bandwidth
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 22 Feb 2022 03:21:03 +0000 (11:21 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 25 Feb 2022 09:39:55 +0000 (11:39 +0200)
commit30e36b29b5984db50e64484174bfa38042967fa6
treed5976859023bf612e89c7c2ed90c0fdbd250c1a5
parent15d0a7277f5651eb6934a54dedb42fb77e810d0e
rtw89: get channel parameters of 160MHz bandwidth

Calculate the offset of center and primary frequencies to get hardware
indices of center channel and primary channel, and then use them to
configure hardware to a specific channel.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220222032103.29392-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h