mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-31 23:27:20 +00:00

To support multiple channels, 2 for this case, RFK requires to record each calibration result for each channel in different RFK tables, and also needs to notify FW. Then, when FW runs in MCC (multi-channel concurrency), it can switch to the corresponding calibration result according to the channel. Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250710042423.73617-15-pkshih@realtek.com
34 lines
1.4 KiB
C
34 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
/* Copyright(c) 2019-2022 Realtek Corporation
|
|
*/
|
|
|
|
#ifndef __RTW89_8852B_RFK_H__
|
|
#define __RTW89_8852B_RFK_H__
|
|
|
|
#include "core.h"
|
|
|
|
void rtw8852b_rck(struct rtw89_dev *rtwdev);
|
|
void rtw8852b_dack(struct rtw89_dev *rtwdev, enum rtw89_chanctx_idx chanctx_idx);
|
|
void rtw8852b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
|
|
enum rtw89_chanctx_idx chanctx_idx);
|
|
void rtw8852b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
|
|
enum rtw89_chanctx_idx chanctx_idx);
|
|
void rtw8852b_dpk_init(struct rtw89_dev *rtwdev);
|
|
void rtw8852b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
|
|
enum rtw89_chanctx_idx chanctx_idx);
|
|
void rtw8852b_dpk_track(struct rtw89_dev *rtwdev);
|
|
void rtw8852b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
|
|
bool hwtx_en, enum rtw89_chanctx_idx chanctx_idx);
|
|
void rtw8852b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
|
|
const struct rtw89_chan *chan);
|
|
void rtw8852b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
|
|
enum rtw89_phy_idx phy_idx,
|
|
enum rtw89_chanctx_idx chanctx_idx);
|
|
void rtw8852b_set_channel_rf(struct rtw89_dev *rtwdev,
|
|
const struct rtw89_chan *chan,
|
|
enum rtw89_phy_idx phy_idx);
|
|
void rtw8852b_mcc_get_ch_info(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
|
|
void rtw8852b_rfk_chanctx_cb(struct rtw89_dev *rtwdev,
|
|
enum rtw89_chanctx_state state);
|
|
|
|
#endif
|