staging: rtl8723bs: Remove phy_Config*WithParaFile() functions
These are no longer used, so remove them and also remove various struct definitions only used by these functions. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20191009123223.163241-2-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8c0c8b661b
commit
efe0b0a072
@ -30,7 +30,6 @@ void rtw_hal_data_deinit(struct adapter *padapter)
|
||||
{
|
||||
if (is_primary_adapter(padapter)) { /* if (padapter->isprimary) */
|
||||
if (padapter->HalData) {
|
||||
phy_free_filebuf(padapter);
|
||||
vfree(padapter->HalData);
|
||||
padapter->HalData = NULL;
|
||||
padapter->hal_data_sz = 0;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -219,30 +219,4 @@ struct adapter * Adapter,
|
||||
u16 ChannelPlan
|
||||
);
|
||||
|
||||
#define MAX_PARA_FILE_BUF_LEN 25600
|
||||
|
||||
#define LOAD_MAC_PARA_FILE BIT0
|
||||
#define LOAD_BB_PARA_FILE BIT1
|
||||
#define LOAD_BB_PG_PARA_FILE BIT2
|
||||
#define LOAD_BB_MP_PARA_FILE BIT3
|
||||
#define LOAD_RF_PARA_FILE BIT4
|
||||
#define LOAD_RF_TXPWR_TRACK_PARA_FILE BIT5
|
||||
#define LOAD_RF_TXPWR_LMT_PARA_FILE BIT6
|
||||
|
||||
int phy_ConfigMACWithParaFile(struct adapter *Adapter, char*pFileName);
|
||||
|
||||
int phy_ConfigBBWithParaFile(struct adapter *Adapter, char*pFileName, u32 ConfigType);
|
||||
|
||||
int phy_ConfigBBWithPgParaFile(struct adapter *Adapter, char*pFileName);
|
||||
|
||||
int phy_ConfigBBWithMpParaFile(struct adapter *Adapter, char*pFileName);
|
||||
|
||||
int PHY_ConfigRFWithParaFile(struct adapter *Adapter, char*pFileName, u8 eRFPath);
|
||||
|
||||
int PHY_ConfigRFWithTxPwrTrackParaFile(struct adapter *Adapter, char*pFileName);
|
||||
|
||||
int PHY_ConfigRFWithPowerLimitTableParaFile(struct adapter *Adapter, char*pFileName);
|
||||
|
||||
void phy_free_filebuf(struct adapter *padapter);
|
||||
|
||||
#endif /* __HAL_COMMON_H__ */
|
||||
|
@ -440,27 +440,6 @@ struct hal_com_data {
|
||||
u32 SysIntrStatus;
|
||||
u32 SysIntrMask;
|
||||
|
||||
|
||||
char para_file_buf[MAX_PARA_FILE_BUF_LEN];
|
||||
char *mac_reg;
|
||||
u32 mac_reg_len;
|
||||
char *bb_phy_reg;
|
||||
u32 bb_phy_reg_len;
|
||||
char *bb_agc_tab;
|
||||
u32 bb_agc_tab_len;
|
||||
char *bb_phy_reg_pg;
|
||||
u32 bb_phy_reg_pg_len;
|
||||
char *bb_phy_reg_mp;
|
||||
u32 bb_phy_reg_mp_len;
|
||||
char *rf_radio_a;
|
||||
u32 rf_radio_a_len;
|
||||
char *rf_radio_b;
|
||||
u32 rf_radio_b_len;
|
||||
char *rf_tx_pwr_track;
|
||||
u32 rf_tx_pwr_track_len;
|
||||
char *rf_tx_pwr_lmt;
|
||||
u32 rf_tx_pwr_lmt_len;
|
||||
|
||||
#ifdef CONFIG_BACKGROUND_NOISE_MONITOR
|
||||
s16 noise[ODM_MAX_CHANNEL_NUM];
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user