| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/* Copyright(c) 2024 Realtek Corporation.*/ |
| 3 |
|
| 4 |
#ifndef __RTL92DU_PHY_H__ |
| 5 |
#define __RTL92DU_PHY_H__ |
| 6 |
|
| 7 |
u32 rtl92du_phy_query_bb_reg(struct ieee80211_hw *hw, |
| 8 |
u32 regaddr, u32 bitmask); |
| 9 |
void rtl92du_phy_set_bb_reg(struct ieee80211_hw *hw, |
| 10 |
u32 regaddr, u32 bitmask, u32 data); |
| 11 |
bool rtl92du_phy_mac_config(struct ieee80211_hw *hw); |
| 12 |
bool rtl92du_phy_bb_config(struct ieee80211_hw *hw); |
| 13 |
bool rtl92du_phy_rf_config(struct ieee80211_hw *hw); |
| 14 |
void rtl92du_phy_set_bw_mode(struct ieee80211_hw *hw, |
| 15 |
enum nl80211_channel_type ch_type); |
| 16 |
u8 rtl92du_phy_sw_chnl(struct ieee80211_hw *hw); |
| 17 |
bool rtl92du_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, |
| 18 |
enum rf_content content, |
| 19 |
enum radio_path rfpath); |
| 20 |
bool rtl92du_phy_set_rf_power_state(struct ieee80211_hw *hw, |
| 21 |
enum rf_pwrstate rfpwr_state); |
| 22 |
|
| 23 |
void rtl92du_phy_set_poweron(struct ieee80211_hw *hw); |
| 24 |
bool rtl92du_phy_check_poweroff(struct ieee80211_hw *hw); |
| 25 |
void rtl92du_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t); |
| 26 |
void rtl92du_update_bbrf_configuration(struct ieee80211_hw *hw); |
| 27 |
void rtl92du_phy_iq_calibrate(struct ieee80211_hw *hw); |
| 28 |
void rtl92du_phy_reload_iqk_setting(struct ieee80211_hw *hw, u8 channel); |
| 29 |
void rtl92du_phy_init_pa_bias(struct ieee80211_hw *hw); |
| 30 |
|
| 31 |
#endif |