xref: /freebsd/sys/contrib/dev/rtw89/rtw8852b_rfk.h (revision 069ac184)
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2019-2022  Realtek Corporation
3  */
4 
5 #ifndef __RTW89_8852B_RFK_H__
6 #define __RTW89_8852B_RFK_H__
7 
8 #include "core.h"
9 
10 void rtw8852b_rck(struct rtw89_dev *rtwdev);
11 void rtw8852b_dack(struct rtw89_dev *rtwdev);
12 void rtw8852b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
13 void rtw8852b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
14 void rtw8852b_dpk_init(struct rtw89_dev *rtwdev);
15 void rtw8852b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
16 void rtw8852b_dpk_track(struct rtw89_dev *rtwdev);
17 void rtw8852b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool hwtx_en);
18 void rtw8852b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
19 void rtw8852b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
20 			       enum rtw89_phy_idx phy_idx);
21 void rtw8852b_set_channel_rf(struct rtw89_dev *rtwdev,
22 			     const struct rtw89_chan *chan,
23 			     enum rtw89_phy_idx phy_idx);
24 
25 #endif
26