mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 23:00:21 +00:00
wifi: rtlwifi: Add rtl8192du/phy.{c,h}
These contain mostly the calibration and channel switching routines for RTL8192DU. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://msgid.link/299a5ab7-46bf-410b-bbeb-e252eeeeb34c@gmail.com
This commit is contained in:
parent
e769c67105
commit
af46caf051
3123
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.c
Normal file
3123
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.c
Normal file
File diff suppressed because it is too large
Load Diff
32
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.h
Normal file
32
drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.h
Normal file
@ -0,0 +1,32 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright(c) 2024 Realtek Corporation.*/
|
||||
|
||||
#ifndef __RTL92DU_PHY_H__
|
||||
#define __RTL92DU_PHY_H__
|
||||
|
||||
u32 rtl92du_phy_query_bb_reg(struct ieee80211_hw *hw,
|
||||
u32 regaddr, u32 bitmask);
|
||||
void rtl92du_phy_set_bb_reg(struct ieee80211_hw *hw,
|
||||
u32 regaddr, u32 bitmask, u32 data);
|
||||
bool rtl92du_phy_mac_config(struct ieee80211_hw *hw);
|
||||
bool rtl92du_phy_bb_config(struct ieee80211_hw *hw);
|
||||
bool rtl92du_phy_rf_config(struct ieee80211_hw *hw);
|
||||
void rtl92du_phy_set_bw_mode(struct ieee80211_hw *hw,
|
||||
enum nl80211_channel_type ch_type);
|
||||
u8 rtl92du_phy_sw_chnl(struct ieee80211_hw *hw);
|
||||
bool rtl92du_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
|
||||
enum rf_content content,
|
||||
enum radio_path rfpath);
|
||||
bool rtl92du_phy_set_rf_power_state(struct ieee80211_hw *hw,
|
||||
enum rf_pwrstate rfpwr_state);
|
||||
|
||||
void rtl92du_phy_set_poweron(struct ieee80211_hw *hw);
|
||||
bool rtl92du_phy_check_poweroff(struct ieee80211_hw *hw);
|
||||
void rtl92du_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t);
|
||||
void rtl92du_update_bbrf_configuration(struct ieee80211_hw *hw);
|
||||
void rtl92du_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta);
|
||||
void rtl92du_phy_iq_calibrate(struct ieee80211_hw *hw);
|
||||
void rtl92du_phy_reload_iqk_setting(struct ieee80211_hw *hw, u8 channel);
|
||||
void rtl92du_phy_init_pa_bias(struct ieee80211_hw *hw);
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user