]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: include subband type in channel params
authorZong-Zhe Yang <kevin_yang@realtek.com>
Thu, 13 Jan 2022 01:10:42 +0000 (09:10 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 28 Jan 2022 15:57:23 +0000 (17:57 +0200)
commitec8215dd6c9ed70efa87975deb37dec1e17c7e45
tree45ccac8aecacc1c87aee5e601eeb2f32b4acb601
parentb5025dd857694d2403e6cfe619b821962c0732fa
rtw89: include subband type in channel params

Make stuffs related to channel be collected in channel_params,
and encapsulate the corresponding decision in get_channel_params().
Then, functions that takes channel_params can also notice subband type.

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