xref: /freebsd/sys/contrib/dev/rtw89/rtw8851b_rfk.h (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2022-2023  Realtek Corporation
3  */
4 
5 #ifndef __RTW89_8851B_RFK_H__
6 #define __RTW89_8851B_RFK_H__
7 
8 #include "core.h"
9 
10 void rtw8851b_aack(struct rtw89_dev *rtwdev);
11 void rtw8851b_lck_init(struct rtw89_dev *rtwdev);
12 void rtw8851b_lck_track(struct rtw89_dev *rtwdev);
13 void rtw8851b_rck(struct rtw89_dev *rtwdev);
14 void rtw8851b_dack(struct rtw89_dev *rtwdev);
15 void rtw8851b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
16 void rtw8851b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
17 void rtw8851b_dpk_init(struct rtw89_dev *rtwdev);
18 void rtw8851b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
19 void rtw8851b_dpk_track(struct rtw89_dev *rtwdev);
20 void rtw8851b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool hwtx_en);
21 void rtw8851b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
22 void rtw8851b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
23 			       enum rtw89_phy_idx phy_idx);
24 void rtw8851b_set_channel_rf(struct rtw89_dev *rtwdev,
25 			     const struct rtw89_chan *chan,
26 			     enum rtw89_phy_idx phy_idx);
27 
28 #endif
29