xref: /linux/drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.h (revision 8a922b7728a93d837954315c98b84f6b78de0c4f)
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);
13 void rtw8852c_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
14 void rtw8852c_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, bool is_afe);
15 void rtw8852c_rx_dck_track(struct rtw89_dev *rtwdev);
16 void rtw8852c_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
17 void rtw8852c_dpk_track(struct rtw89_dev *rtwdev);
18 void rtw8852c_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
19 void rtw8852c_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
20 void rtw8852c_tssi_cont_en_phyidx(struct rtw89_dev *rtwdev, bool en, u8 phy_idx);
21 void rtw8852c_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
22 			       enum rtw89_phy_idx phy_idx);
23 void rtw8852c_set_channel_rf(struct rtw89_dev *rtwdev,
24 			     const struct rtw89_chan *chan,
25 			     enum rtw89_phy_idx phy_idx);
26 void rtw8852c_lck_init(struct rtw89_dev *rtwdev);
27 void rtw8852c_lck_track(struct rtw89_dev *rtwdev);
28 
29 #endif
30