xref: /linux/drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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 		  enum rtw89_chanctx_idx chanctx_idx);
17 void rtw8851b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
18 		     enum rtw89_chanctx_idx chanctx_idx);
19 void rtw8851b_dpk_init(struct rtw89_dev *rtwdev);
20 void rtw8851b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
21 		  enum rtw89_chanctx_idx chanctx_idx);
22 void rtw8851b_dpk_track(struct rtw89_dev *rtwdev);
23 void rtw8851b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
24 		   bool hwtx_en, enum rtw89_chanctx_idx chanctx_idx);
25 void rtw8851b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
26 			const struct rtw89_chan *chan);
27 void rtw8851b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
28 			       enum rtw89_phy_idx phy_idx,
29 			       enum rtw89_chanctx_idx chanctx_idx);
30 void rtw8851b_set_channel_rf(struct rtw89_dev *rtwdev,
31 			     const struct rtw89_chan *chan,
32 			     enum rtw89_phy_idx phy_idx);
33 
34 #endif
35