diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2022-10-05 16:32:12 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-10-11 19:45:20 +0300 |
commit | 6b0698984eb02f3e0dfd3c152df69f87c903e07f (patch) | |
tree | dded650bb3a0feac19ad1523bbed414739f465e6 /drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h | |
parent | 6e5125bcbaf810520969c121c7f12f20b8f3987d (diff) |
wifi: rtw89: 8852b: add chip_ops::set_channel
set_channel is main function to configure channel and bandwidth for all
layers, namely MAC, BB and RF. Additionally, MAC layer enables CCK rate
checking to avoid wrong rate from driver. BB layer configures SCO
(Sample Clock Offset) for CCK, TX gain error/offset, and reset baseband
hardware circuit after all configurations done.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221005083212.45683-7-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h b/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h new file mode 100644 index 000000000000..d54256bbc9a0 --- /dev/null +++ b/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ +/* Copyright(c) 2019-2022 Realtek Corporation + */ + +#ifndef __RTW89_8852B_RFK_H__ +#define __RTW89_8852B_RFK_H__ + +#include "core.h" + +void rtw8852b_set_channel_rf(struct rtw89_dev *rtwdev, + const struct rtw89_chan *chan, + enum rtw89_phy_idx phy_idx); + +#endif |