xref: /linux/drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.h (revision d457a0e329b0bfd3a1450e0b1a18cd2b47a25a08)
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_rck(struct rtw89_dev *rtwdev);
12 void rtw8851b_dack(struct rtw89_dev *rtwdev);
13 void rtw8851b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
14 void rtw8851b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
15 void rtw8851b_dpk_init(struct rtw89_dev *rtwdev);
16 void rtw8851b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
17 void rtw8851b_dpk_track(struct rtw89_dev *rtwdev);
18 void rtw8851b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool hwtx_en);
19 void rtw8851b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
20 void rtw8851b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
21 			       enum rtw89_phy_idx phy_idx);
22 void rtw8851b_set_channel_rf(struct rtw89_dev *rtwdev,
23 			     const struct rtw89_chan *chan,
24 			     enum rtw89_phy_idx phy_idx);
25 
26 #endif
27