mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
Staging: rtl8723bs: fix names in HalPhyRf.h
This commit converts names of structs / enums in hal/HalPhyRf.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210317222130.29528-40-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0c10f844f3
commit
172dc47dfa
@@ -23,7 +23,7 @@
|
||||
} while (0)
|
||||
|
||||
|
||||
void ConfigureTxpowerTrack(struct DM_ODM_T *pDM_Odm, struct TXPWRTRACK_CFG *pConfig)
|
||||
void ConfigureTxpowerTrack(struct DM_ODM_T *pDM_Odm, struct txpwrtrack_cfg *pConfig)
|
||||
{
|
||||
ConfigureTxpowerTrack_8723B(pConfig);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter)
|
||||
u8 OFDM_min_index = 0; /* OFDM BB Swing should be less than +3.0dB, which is required by Arthur */
|
||||
u8 Indexforchannel = 0; /* GetRightChnlPlaceforIQK(pHalData->CurrentChannel) */
|
||||
|
||||
struct TXPWRTRACK_CFG c;
|
||||
struct txpwrtrack_cfg c;
|
||||
|
||||
|
||||
/* 4 1. The following TWO tables decide the final index of OFDM/CCK swing table. */
|
||||
|
||||
@@ -8,23 +8,23 @@
|
||||
#ifndef __HAL_PHY_RF_H__
|
||||
#define __HAL_PHY_RF_H__
|
||||
|
||||
enum SPUR_CAL_METHOD {
|
||||
enum spur_cal_method {
|
||||
PLL_RESET,
|
||||
AFE_PHASE_SEL
|
||||
};
|
||||
|
||||
enum PWRTRACK_METHOD {
|
||||
enum pwrtrack_method {
|
||||
BBSWING,
|
||||
TXAGC,
|
||||
MIX_MODE
|
||||
};
|
||||
|
||||
typedef void (*FuncSetPwr)(struct DM_ODM_T *, enum PWRTRACK_METHOD, u8, u8);
|
||||
typedef void (*FuncSetPwr)(struct DM_ODM_T *, enum pwrtrack_method, u8, u8);
|
||||
typedef void (*FuncIQK)(struct DM_ODM_T *, u8, u8, u8);
|
||||
typedef void (*FuncLCK)(struct DM_ODM_T *);
|
||||
typedef void (*FuncSwing)(struct DM_ODM_T *, u8 **, u8 **, u8 **, u8 **);
|
||||
|
||||
struct TXPWRTRACK_CFG {
|
||||
struct txpwrtrack_cfg {
|
||||
u8 SwingTableSize_CCK;
|
||||
u8 SwingTableSize_OFDM;
|
||||
u8 Threshold_IQK;
|
||||
@@ -37,7 +37,7 @@ struct TXPWRTRACK_CFG {
|
||||
FuncSwing GetDeltaSwingTable;
|
||||
};
|
||||
|
||||
void ConfigureTxpowerTrack(struct DM_ODM_T *pDM_Odm, struct TXPWRTRACK_CFG *pConfig);
|
||||
void ConfigureTxpowerTrack(struct DM_ODM_T *pDM_Odm, struct txpwrtrack_cfg *pConfig);
|
||||
|
||||
|
||||
void ODM_ClearTxPowerTrackingState(struct DM_ODM_T *pDM_Odm);
|
||||
|
||||
@@ -186,7 +186,7 @@ void DoIQK_8723B(
|
||||
*---------------------------------------------------------------------------*/
|
||||
void ODM_TxPwrTrackSetPwr_8723B(
|
||||
struct DM_ODM_T *pDM_Odm,
|
||||
enum PWRTRACK_METHOD Method,
|
||||
enum pwrtrack_method Method,
|
||||
u8 RFPath,
|
||||
u8 ChannelMappedIndex
|
||||
)
|
||||
@@ -409,7 +409,7 @@ static void GetDeltaSwingTable_8723B(
|
||||
}
|
||||
|
||||
|
||||
void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG *pConfig)
|
||||
void ConfigureTxpowerTrack_8723B(struct txpwrtrack_cfg *pConfig)
|
||||
{
|
||||
pConfig->SwingTableSize_CCK = CCK_TABLE_SIZE;
|
||||
pConfig->SwingTableSize_OFDM = OFDM_TABLE_SIZE;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#define RF_T_METER_8723B 0x42 /* */
|
||||
|
||||
|
||||
void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG *pConfig);
|
||||
void ConfigureTxpowerTrack_8723B(struct txpwrtrack_cfg *pConfig);
|
||||
|
||||
void DoIQK_8723B(
|
||||
struct DM_ODM_T *pDM_Odm,
|
||||
@@ -27,7 +27,7 @@ void DoIQK_8723B(
|
||||
|
||||
void ODM_TxPwrTrackSetPwr_8723B(
|
||||
struct DM_ODM_T *pDM_Odm,
|
||||
enum PWRTRACK_METHOD Method,
|
||||
enum pwrtrack_method Method,
|
||||
u8 RFPath,
|
||||
u8 ChannelMappedIndex
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user