1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2019-2022 Realtek Corporation 3 */ 4 5 #ifndef __RTW89_8852C_RFK_H__ 6 #define __RTW89_8852C_RFK_H__ 7 8 #include "core.h" 9 10 void rtw8852c_mcc_get_ch_info(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 11 void rtw8852c_rck(struct rtw89_dev *rtwdev); 12 void rtw8852c_dack(struct rtw89_dev *rtwdev, enum rtw89_chanctx_idx chanctx_idx); 13 void rtw8852c_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, 14 enum rtw89_chanctx_idx chanctx_idx); 15 void rtw8852c_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, bool is_afe); 16 void rtw8852c_rx_dck_track(struct rtw89_dev *rtwdev); 17 void rtw8852c_dpk_init(struct rtw89_dev *rtwdev); 18 void rtw8852c_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, 19 enum rtw89_chanctx_idx chanctx_idx); 20 void rtw8852c_dpk_track(struct rtw89_dev *rtwdev); 21 void rtw8852c_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, 22 enum rtw89_chanctx_idx chanctx_idx); 23 void rtw8852c_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, 24 const struct rtw89_chan *chan); 25 void rtw8852c_tssi_cont_en_phyidx(struct rtw89_dev *rtwdev, bool en, u8 phy_idx, 26 const struct rtw89_chan *chan); 27 void rtw8852c_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start, 28 enum rtw89_phy_idx phy_idx); 29 void rtw8852c_set_channel_rf(struct rtw89_dev *rtwdev, 30 const struct rtw89_chan *chan, 31 enum rtw89_phy_idx phy_idx); 32 void rtw8852c_lck_init(struct rtw89_dev *rtwdev); 33 void rtw8852c_lck_track(struct rtw89_dev *rtwdev); 34 void rtw8852c_rfk_chanctx_cb(struct rtw89_dev *rtwdev, 35 enum rtw89_chanctx_state state); 36 37 #endif 38