mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Convert "typedef HAL_DATA_TYPE" to "struct hal_data_8188e"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
d2de492de6
commit
548e42fb94
20 changed files with 177 additions and 180 deletions
|
@ -117,7 +117,7 @@ rtl8188e_PHY_RF6052SetBandwidth(
|
|||
PADAPTER Adapter,
|
||||
HT_CHANNEL_WIDTH Bandwidth) /* 20M or 40M */
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
||||
switch (Bandwidth)
|
||||
{
|
||||
|
@ -161,7 +161,7 @@ rtl8188e_PHY_RF6052SetCckTxPower(
|
|||
PADAPTER Adapter,
|
||||
u8* pPowerlevel)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;
|
||||
struct dm_priv *pdmpriv = &pHalData->dmpriv;
|
||||
struct mlme_ext_priv *pmlmeext = &Adapter->mlmeextpriv;
|
||||
|
@ -283,7 +283,7 @@ static void getPowerBase88E(
|
|||
u32* MCSBase
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
u32 powerBase0, powerBase1;
|
||||
u8 Legacy_pwrdiff=0;
|
||||
s8 HT20_pwrdiff=0;
|
||||
|
@ -324,7 +324,7 @@ static void getTxPowerWriteValByRegulatory88E(
|
|||
)
|
||||
{
|
||||
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct dm_priv *pdmpriv = &pHalData->dmpriv;
|
||||
u1Byte i, chnlGroup=0, pwr_diff_limit[4], customer_pwr_limit;
|
||||
s1Byte pwr_diff=0;
|
||||
|
@ -438,7 +438,7 @@ static void writeOFDMPowerReg88E(
|
|||
u32* pValue
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
u16 RegOffset_A[6] = { rTxAGC_A_Rate18_06, rTxAGC_A_Rate54_24,
|
||||
rTxAGC_A_Mcs03_Mcs00, rTxAGC_A_Mcs07_Mcs04,
|
||||
rTxAGC_A_Mcs11_Mcs08, rTxAGC_A_Mcs15_Mcs12};
|
||||
|
@ -522,7 +522,7 @@ rtl8188e_PHY_RF6052SetOFDMTxPower(
|
|||
u8* pPowerLevelBW40,
|
||||
u8 Channel)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
u32 writeVal[2], powerBase0[2], powerBase1[2], pwrtrac_value;
|
||||
u8 direction;
|
||||
u8 index = 0;
|
||||
|
@ -572,7 +572,7 @@ phy_RF6052_Config_ParaFile(
|
|||
BB_REGISTER_DEFINITION_T *pPhyReg;
|
||||
|
||||
int rtStatus = _SUCCESS;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
||||
static char sz88eRadioAFile[] = RTL8188E_PHY_RADIO_A;
|
||||
static char sz88eRadioBFile[] = RTL8188E_PHY_RADIO_B;
|
||||
|
@ -657,7 +657,7 @@ int
|
|||
PHY_RF6052_Config8188E(
|
||||
PADAPTER Adapter)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
int rtStatus = _SUCCESS;
|
||||
|
||||
/* */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue