OSDN Git Service

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)
commite0925375b2c658505fb8a04dcadc12f8d59574fd
tree45ccac8aecacc1c87aee5e601eeb2f32b4acb601
parent0237f65aa65c29d13eb139bc0badb7d7ca5e0a84
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