mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
rtl8188eu: Change BOOLEAN to bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
f6b0b0658a
commit
3535ad59e3
53 changed files with 529 additions and 531 deletions
|
@ -50,12 +50,12 @@ u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN]={0};
|
|||
#define EFUSE_CTRL REG_EFUSE_CTRL // E-Fuse Control.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
Efuse_Read1ByteFromFakeContent(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u16 Offset,
|
||||
IN OUT u8 *Value );
|
||||
BOOLEAN
|
||||
bool
|
||||
Efuse_Read1ByteFromFakeContent(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u16 Offset,
|
||||
|
@ -73,12 +73,12 @@ Efuse_Read1ByteFromFakeContent(
|
|||
return _TRUE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
Efuse_Write1ByteToFakeContent(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u16 Offset,
|
||||
IN u8 Value );
|
||||
BOOLEAN
|
||||
bool
|
||||
Efuse_Write1ByteToFakeContent(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u16 Offset,
|
||||
|
@ -144,7 +144,7 @@ u16
|
|||
Efuse_GetCurrentSize(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u16 ret=0;
|
||||
|
||||
|
@ -181,7 +181,7 @@ ReadEFuseByte(
|
|||
PADAPTER Adapter,
|
||||
u16 _offset,
|
||||
u8 *pbuf,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u32 value32;
|
||||
u8 readbyte;
|
||||
|
@ -251,7 +251,7 @@ efuse_ReadEFuse(
|
|||
u16 _offset,
|
||||
u16 _size_byte,
|
||||
u8 *pbuf,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
);
|
||||
void
|
||||
efuse_ReadEFuse(
|
||||
|
@ -260,7 +260,7 @@ efuse_ReadEFuse(
|
|||
u16 _offset,
|
||||
u16 _size_byte,
|
||||
u8 *pbuf,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
Adapter->HalFunc.ReadEFuse(Adapter, efuseType, _offset, _size_byte, pbuf, bPseudoTest);
|
||||
|
@ -272,7 +272,7 @@ EFUSE_GetEfuseDefinition(
|
|||
IN u8 efuseType,
|
||||
IN u8 type,
|
||||
OUT void *pOut,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
pAdapter->HalFunc.EFUSEGetEfuseDefinition(pAdapter, efuseType, type, pOut, bPseudoTest);
|
||||
|
@ -417,7 +417,7 @@ efuse_OneByteRead(
|
|||
IN PADAPTER pAdapter,
|
||||
IN u16 addr,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u8 tmpidx = 0;
|
||||
u8 bResult;
|
||||
|
@ -458,7 +458,7 @@ efuse_OneByteWrite(
|
|||
IN PADAPTER pAdapter,
|
||||
IN u16 addr,
|
||||
IN u8 data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u8 tmpidx = 0;
|
||||
u8 bResult;
|
||||
|
@ -501,7 +501,7 @@ int
|
|||
Efuse_PgPacketRead( IN PADAPTER pAdapter,
|
||||
IN u8 offset,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret=0;
|
||||
|
||||
|
@ -515,7 +515,7 @@ Efuse_PgPacketWrite(IN PADAPTER pAdapter,
|
|||
IN u8 offset,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -530,7 +530,7 @@ Efuse_PgPacketWrite_BT(IN PADAPTER pAdapter,
|
|||
IN u8 offset,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -589,7 +589,7 @@ Efuse_WordEnableDataWrite( IN PADAPTER pAdapter,
|
|||
IN u16 efuse_addr,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u8 ret=0;
|
||||
|
||||
|
@ -919,13 +919,13 @@ Efuse_ReadAllMap(
|
|||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN OUT u8 *Efuse,
|
||||
IN BOOLEAN bPseudoTest);
|
||||
IN bool bPseudoTest);
|
||||
void
|
||||
Efuse_ReadAllMap(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN OUT u8 *Efuse,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u16 mapLen=0;
|
||||
|
||||
|
@ -1085,7 +1085,7 @@ efuse_ShadowWrite4Byte(
|
|||
void EFUSE_ShadowMapUpdate(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
u16 mapLen=0;
|
||||
|
|
|
@ -8468,7 +8468,7 @@ Following are some utitity fuctions for WiFi MLME
|
|||
|
||||
*****************************************************************************/
|
||||
|
||||
BOOLEAN IsLegal5GChannel(
|
||||
bool IsLegal5GChannel(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8 channel)
|
||||
{
|
||||
|
|
|
@ -738,12 +738,12 @@ static void mpt_SwitchRfSetting(PADAPTER pAdapter)
|
|||
|
||||
/*---------------------------hal\rtl8192c\MPT_Phy.c---------------------------*/
|
||||
/*---------------------------hal\rtl8192c\MPT_HelperFunc.c---------------------------*/
|
||||
static void MPT_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14)
|
||||
static void MPT_CCKTxPowerAdjust(PADAPTER Adapter, bool bInCH14)
|
||||
{
|
||||
Hal_MPT_CCKTxPowerAdjust(Adapter,bInCH14);
|
||||
}
|
||||
|
||||
static void MPT_CCKTxPowerAdjustbyIndex(PADAPTER pAdapter, BOOLEAN beven)
|
||||
static void MPT_CCKTxPowerAdjustbyIndex(PADAPTER pAdapter, bool beven)
|
||||
{
|
||||
Hal_MPT_CCKTxPowerAdjustbyIndex(pAdapter,beven);
|
||||
}
|
||||
|
@ -816,7 +816,7 @@ void SetDataRate(PADAPTER pAdapter)
|
|||
Hal_SetDataRate(pAdapter);
|
||||
}
|
||||
|
||||
void MP_PHY_SetRFPathSwitch(PADAPTER pAdapter ,BOOLEAN bMain)
|
||||
void MP_PHY_SetRFPathSwitch(PADAPTER pAdapter ,bool bMain)
|
||||
{
|
||||
|
||||
PHY_SetRFPathSwitch(pAdapter,bMain);
|
||||
|
|
|
@ -2109,7 +2109,7 @@ void update_capinfo(PADAPTER Adapter, u16 updateCap)
|
|||
{
|
||||
struct mlme_ext_priv *pmlmeext = &Adapter->mlmeextpriv;
|
||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
BOOLEAN ShortPreamble;
|
||||
bool ShortPreamble;
|
||||
|
||||
// Check preamble mode, 2005.01.06, by rcnjko.
|
||||
// Mark to update preamble value forever, 2008.03.18 by lanhsin
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#endif
|
||||
|
||||
#if (RTL8188E_SUPPORT == 1)
|
||||
static BOOLEAN
|
||||
static bool
|
||||
CheckCondition(
|
||||
const u4Byte Condition,
|
||||
const u4Byte Hex
|
||||
|
@ -207,7 +207,7 @@ ODM_ReadAndConfig_AGC_TAB_1T_8188E(
|
|||
u1Byte board = pDM_Odm->BoardType;
|
||||
u4Byte ArrayLen = sizeof(Array_AGC_TAB_1T_8188E)/sizeof(u4Byte);
|
||||
pu4Byte Array = Array_AGC_TAB_1T_8188E;
|
||||
BOOLEAN biol = FALSE;
|
||||
bool biol = FALSE;
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
PADAPTER Adapter = pDM_Odm->Adapter;
|
||||
struct xmit_frame *pxmit_frame;
|
||||
|
@ -538,7 +538,7 @@ ODM_ReadAndConfig_PHY_REG_1T_8188E(
|
|||
u1Byte board = pDM_Odm->BoardType;
|
||||
u4Byte ArrayLen = sizeof(Array_PHY_REG_1T_8188E)/sizeof(u4Byte);
|
||||
pu4Byte Array = Array_PHY_REG_1T_8188E;
|
||||
BOOLEAN biol = FALSE;
|
||||
bool biol = FALSE;
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
PADAPTER Adapter = pDM_Odm->Adapter;
|
||||
struct xmit_frame *pxmit_frame;
|
||||
|
@ -843,7 +843,7 @@ ODM_ReadAndConfig_PHY_REG_PG_8188E(
|
|||
u1Byte board = pDM_Odm->BoardType;
|
||||
u4Byte ArrayLen = sizeof(Array_PHY_REG_PG_8188E)/sizeof(u4Byte);
|
||||
pu4Byte Array = Array_PHY_REG_PG_8188E;
|
||||
BOOLEAN biol = FALSE;
|
||||
bool biol = FALSE;
|
||||
|
||||
hex += board;
|
||||
hex += interfaceValue << 8;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <rtw_iol.h>
|
||||
#endif
|
||||
#if (RTL8188E_SUPPORT == 1)
|
||||
static BOOLEAN
|
||||
static bool
|
||||
CheckCondition(
|
||||
const u4Byte Condition,
|
||||
const u4Byte Hex
|
||||
|
@ -167,7 +167,7 @@ ODM_ReadAndConfig_MAC_REG_8188E(
|
|||
u1Byte board = pDM_Odm->BoardType;
|
||||
u4Byte ArrayLen = sizeof(Array_MAC_REG_8188E)/sizeof(u4Byte);
|
||||
pu4Byte Array = Array_MAC_REG_8188E;
|
||||
BOOLEAN biol = FALSE;
|
||||
bool biol = FALSE;
|
||||
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
PADAPTER Adapter = pDM_Odm->Adapter;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#endif
|
||||
|
||||
#if (RTL8188E_SUPPORT == 1)
|
||||
static BOOLEAN
|
||||
static bool
|
||||
CheckCondition(
|
||||
const u4Byte Condition,
|
||||
const u4Byte Hex
|
||||
|
@ -178,7 +178,7 @@ ODM_ReadAndConfig_RadioA_1T_8188E(
|
|||
u1Byte board = pDM_Odm->BoardType;
|
||||
u4Byte ArrayLen = sizeof(Array_RadioA_1T_8188E)/sizeof(u4Byte);
|
||||
pu4Byte Array = Array_RadioA_1T_8188E;
|
||||
BOOLEAN biol = FALSE;
|
||||
bool biol = FALSE;
|
||||
#ifdef CONFIG_IOL_IOREG_CFG
|
||||
PADAPTER Adapter = pDM_Odm->Adapter;
|
||||
struct xmit_frame *pxmit_frame;
|
||||
|
|
|
@ -42,7 +42,7 @@ phy_PathAStandBy(
|
|||
u1Byte //bit0 = 1 => Tx OK, bit1 = 1 => Rx OK
|
||||
phy_PathA_IQK_8192C(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN configPathB
|
||||
IN bool configPathB
|
||||
)
|
||||
{
|
||||
|
||||
|
@ -179,10 +179,10 @@ phy_PathB_IQK_8192C(
|
|||
void
|
||||
phy_PathAFillIQKMatrix(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bIQKOK,
|
||||
IN bool bIQKOK,
|
||||
IN s4Byte result[][8],
|
||||
IN u1Byte final_candidate,
|
||||
IN BOOLEAN bTxOnly
|
||||
IN bool bTxOnly
|
||||
)
|
||||
{
|
||||
u4Byte Oldval_0, X, TX0_A, reg;
|
||||
|
@ -246,10 +246,10 @@ phy_PathAFillIQKMatrix(
|
|||
void
|
||||
phy_PathBFillIQKMatrix(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bIQKOK,
|
||||
IN bool bIQKOK,
|
||||
IN s4Byte result[][8],
|
||||
IN u1Byte final_candidate,
|
||||
IN BOOLEAN bTxOnly //do Tx only
|
||||
IN bool bTxOnly //do Tx only
|
||||
)
|
||||
{
|
||||
u4Byte Oldval_1, X, TX1_A, reg;
|
||||
|
@ -305,7 +305,7 @@ phy_PathBFillIQKMatrix(
|
|||
}
|
||||
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
phy_SimularityCompare_92C(
|
||||
IN PADAPTER pAdapter,
|
||||
IN s4Byte result[][8],
|
||||
|
@ -316,7 +316,7 @@ phy_SimularityCompare_92C(
|
|||
u4Byte i, j, diff, SimularityBitMap, bound = 0;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
u1Byte final_candidate[2] = {0xFF, 0xFF}; //for path A and path B
|
||||
BOOLEAN bResult = TRUE, is2T = IS_92C_SERIAL( pHalData->VersionID);
|
||||
bool bResult = TRUE, is2T = IS_92C_SERIAL( pHalData->VersionID);
|
||||
|
||||
if (is2T)
|
||||
bound = 8;
|
||||
|
@ -377,7 +377,7 @@ phy_SimularityCompare_92C(
|
|||
/*
|
||||
return FALSE => do IQK again
|
||||
*/
|
||||
BOOLEAN
|
||||
bool
|
||||
phy_SimularityCompare(
|
||||
IN PADAPTER pAdapter,
|
||||
IN s4Byte result[][8],
|
||||
|
@ -397,7 +397,7 @@ phy_IQCalibrate_8192C(
|
|||
IN PADAPTER pAdapter,
|
||||
IN s4Byte result[][8],
|
||||
IN u1Byte t,
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
@ -651,7 +651,7 @@ phy_IQCalibrate_8192C(
|
|||
void
|
||||
phy_LCCalibrate92C(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
u1Byte tmpReg;
|
||||
|
@ -715,7 +715,7 @@ phy_LCCalibrate92C(
|
|||
void
|
||||
phy_LCCalibrate(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
if (IS_HARDWARE_TYPE_8192D(pAdapter))
|
||||
|
@ -743,7 +743,7 @@ void
|
|||
phy_APCalibrate_8192C(
|
||||
IN PADAPTER pAdapter,
|
||||
IN s1Byte delta,
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
@ -1181,16 +1181,16 @@ if (pAdapter->registrypriv.mp_mode == 1)
|
|||
void
|
||||
PHY_IQCalibrate_8192C(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bReCovery
|
||||
IN bool bReCovery
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
s4Byte result[4][8]; //last is final result
|
||||
u1Byte i, final_candidate, Indexforchannel;
|
||||
BOOLEAN bPathAOK, bPathBOK;
|
||||
bool bPathAOK, bPathBOK;
|
||||
s4Byte RegE94, RegE9C, RegEA4, RegEAC, RegEB4, RegEBC, RegEC4, RegECC, RegTmp = 0;
|
||||
BOOLEAN is12simular, is13simular, is23simular;
|
||||
BOOLEAN bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
bool is12simular, is13simular, is23simular;
|
||||
bool bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
u4Byte IQK_BB_REG_92C[IQK_BB_REG_NUM] = {
|
||||
rOFDM0_XARxIQImbalance, rOFDM0_XBRxIQImbalance,
|
||||
rOFDM0_ECCAThreshold, rOFDM0_AGCRSSITable,
|
||||
|
@ -1394,7 +1394,7 @@ PHY_LCCalibrate_8192C(
|
|||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
BOOLEAN bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
bool bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
PMGNT_INFO pMgntInfo=&pAdapter->MgntInfo;
|
||||
PMGNT_INFO pMgntInfoBuddyAdapter;
|
||||
u4Byte timeout = 2000, timecount = 0;
|
||||
|
|
|
@ -174,8 +174,8 @@ odm_TXPowerTrackingCallback_ThermalMeter_8188E(
|
|||
s4Byte Y, ele_C=0;
|
||||
s1Byte OFDM_index[2], CCK_index=0, OFDM_index_old[2]={0,0}, CCK_index_old=0, index;
|
||||
u4Byte i = 0, j = 0;
|
||||
BOOLEAN is2T = FALSE;
|
||||
BOOLEAN bInteralPA = FALSE;
|
||||
bool is2T = FALSE;
|
||||
bool bInteralPA = FALSE;
|
||||
|
||||
u1Byte OFDM_min_index = 6, rf; //OFDM BB Swing should be less than +3.0dB, which is required by Arthur
|
||||
u1Byte Indexforchannel = 0/*GetRightChnlPlaceforIQK(pHalData->CurrentChannel)*/;
|
||||
|
@ -634,7 +634,7 @@ phy_PathA_IQK_8188E(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN configPathB
|
||||
IN bool configPathB
|
||||
)
|
||||
{
|
||||
u4Byte regEAC, regE94, regE9C, regEA4;
|
||||
|
@ -698,7 +698,7 @@ phy_PathA_RxIQK(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN configPathB
|
||||
IN bool configPathB
|
||||
)
|
||||
{
|
||||
u4Byte regEAC, regE94, regE9C, regEA4, u4tmp;
|
||||
|
@ -906,10 +906,10 @@ _PHY_PathAFillIQKMatrix(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN bIQKOK,
|
||||
IN bool bIQKOK,
|
||||
IN s4Byte result[][8],
|
||||
IN u1Byte final_candidate,
|
||||
IN BOOLEAN bTxOnly
|
||||
IN bool bTxOnly
|
||||
)
|
||||
{
|
||||
u4Byte Oldval_0, X, TX0_A, reg;
|
||||
|
@ -981,10 +981,10 @@ _PHY_PathBFillIQKMatrix(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN bIQKOK,
|
||||
IN bool bIQKOK,
|
||||
IN s4Byte result[][8],
|
||||
IN u1Byte final_candidate,
|
||||
IN BOOLEAN bTxOnly //do Tx only
|
||||
IN bool bTxOnly //do Tx only
|
||||
)
|
||||
{
|
||||
u4Byte Oldval_1, X, TX1_A, reg;
|
||||
|
@ -1046,7 +1046,7 @@ _PHY_PathBFillIQKMatrix(
|
|||
//
|
||||
// MP Already declare in odm.c
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_MP)
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_CheckPowerStatus(
|
||||
IN PADAPTER Adapter)
|
||||
{
|
||||
|
@ -1208,8 +1208,8 @@ _PHY_PathADDAOn(
|
|||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN pu4Byte ADDAReg,
|
||||
IN BOOLEAN isPathAOn,
|
||||
IN BOOLEAN is2T
|
||||
IN bool isPathAOn,
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
u4Byte pathOn;
|
||||
|
@ -1304,7 +1304,7 @@ _PHY_PIModeSwitch(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN PIMode
|
||||
IN bool PIMode
|
||||
)
|
||||
{
|
||||
u4Byte mode;
|
||||
|
@ -1324,7 +1324,7 @@ _PHY_PIModeSwitch(
|
|||
ODM_SetBBReg(pDM_Odm, rFPGA0_XB_HSSIParameter1, bMaskDWord, mode);
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
phy_SimularityCompare_8188E(
|
||||
#if (DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
|
@ -1347,8 +1347,8 @@ phy_SimularityCompare_8188E(
|
|||
#endif
|
||||
#endif
|
||||
u1Byte final_candidate[2] = {0xFF, 0xFF}; //for path A and path B
|
||||
BOOLEAN bResult = TRUE;
|
||||
BOOLEAN is2T;
|
||||
bool bResult = TRUE;
|
||||
bool is2T;
|
||||
s4Byte tmp1 = 0,tmp2 = 0;
|
||||
|
||||
if ( (pDM_Odm->RFType ==ODM_2T2R )||(pDM_Odm->RFType ==ODM_2T3R )||(pDM_Odm->RFType ==ODM_2T4R ))
|
||||
|
@ -1468,7 +1468,7 @@ phy_IQCalibrate_8188E(
|
|||
#endif
|
||||
IN s4Byte result[][8],
|
||||
IN u1Byte t,
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
|
@ -1746,7 +1746,7 @@ phy_LCCalibrate_8188E(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
u1Byte tmpReg;
|
||||
|
@ -1838,7 +1838,7 @@ phy_APCalibrate_8188E(
|
|||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN s1Byte delta,
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
|
@ -2330,7 +2330,7 @@ PHY_IQCalibrate_8188E(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN bReCovery
|
||||
IN bool bReCovery
|
||||
)
|
||||
{
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
|
@ -2354,17 +2354,17 @@ PHY_IQCalibrate_8188E(
|
|||
s4Byte result[4][8]; //last is final result
|
||||
u1Byte i, final_candidate, Indexforchannel;
|
||||
u1Byte channelToIQK = 7;
|
||||
BOOLEAN bPathAOK, bPathBOK;
|
||||
bool bPathAOK, bPathBOK;
|
||||
s4Byte RegE94, RegE9C, RegEA4, RegEAC, RegEB4, RegEBC, RegEC4, RegECC, RegTmp = 0;
|
||||
BOOLEAN is12simular, is13simular, is23simular;
|
||||
BOOLEAN bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
bool is12simular, is13simular, is23simular;
|
||||
bool bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
u4Byte IQK_BB_REG_92C[IQK_BB_REG_NUM] = {
|
||||
rOFDM0_XARxIQImbalance, rOFDM0_XBRxIQImbalance,
|
||||
rOFDM0_ECCAThreshold, rOFDM0_AGCRSSITable,
|
||||
rOFDM0_XATxIQImbalance, rOFDM0_XBTxIQImbalance,
|
||||
rOFDM0_XCTxAFE, rOFDM0_XDTxAFE,
|
||||
rOFDM0_RxIQExtAnta};
|
||||
BOOLEAN is2T;
|
||||
bool is2T;
|
||||
|
||||
is2T = (pDM_Odm->RFType == ODM_2T2R)?TRUE:FALSE;
|
||||
#if (DM_ODM_SUPPORT_TYPE & (ODM_MP|ODM_CE) )
|
||||
|
@ -2598,7 +2598,7 @@ PHY_LCCalibrate_8188E(
|
|||
#endif
|
||||
)
|
||||
{
|
||||
BOOLEAN bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
bool bStartContTx = FALSE, bSingleTone = FALSE, bCarrierSuppression = FALSE;
|
||||
u4Byte timeout = 2000, timecount = 0;
|
||||
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
|
@ -2735,8 +2735,8 @@ void phy_SetRFPathSwitch_8188E(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN bMain,
|
||||
IN BOOLEAN is2T
|
||||
IN bool bMain,
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
|
@ -2784,7 +2784,7 @@ void PHY_SetRFPathSwitch_8188E(
|
|||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN bMain
|
||||
IN bool bMain
|
||||
)
|
||||
{
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
|
@ -2828,7 +2828,7 @@ phy_DigitalPredistortion(
|
|||
#else
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
#endif
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
#if ( RT_PLATFORM == PLATFORM_WINDOWS)
|
||||
|
@ -3299,13 +3299,13 @@ PHY_DigitalPredistortion_8188E(
|
|||
|
||||
//return value TRUE => Main; FALSE => Aux
|
||||
|
||||
BOOLEAN phy_QueryRFPathSwitch_8188E(
|
||||
bool phy_QueryRFPathSwitch_8188E(
|
||||
#if (DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
#else
|
||||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
|
@ -3345,7 +3345,7 @@ BOOLEAN phy_QueryRFPathSwitch_8188E(
|
|||
|
||||
|
||||
//return value TRUE => Main; FALSE => Aux
|
||||
BOOLEAN PHY_QueryRFPathSwitch_8188E(
|
||||
bool PHY_QueryRFPathSwitch_8188E(
|
||||
#if (DM_ODM_SUPPORT_TYPE & ODM_AP)
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
#else
|
||||
|
|
|
@ -85,7 +85,7 @@ hal_com_get_channel_plan(
|
|||
IN u8 hw_channel_plan, //channel plan from HW (efuse/eeprom)
|
||||
IN u8 sw_channel_plan, //channel plan from SW (registry/module param)
|
||||
IN u8 def_channel_plan, //channel plan used when the former two is invalid
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
u8 swConfig;
|
||||
|
@ -201,7 +201,7 @@ _OneOutPipeMapping(
|
|||
static void
|
||||
_TwoOutPipeMapping(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bWIFICfg
|
||||
IN bool bWIFICfg
|
||||
)
|
||||
{
|
||||
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(pAdapter);
|
||||
|
@ -246,7 +246,7 @@ _TwoOutPipeMapping(
|
|||
|
||||
static void _ThreeOutPipeMapping(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bWIFICfg
|
||||
IN bool bWIFICfg
|
||||
)
|
||||
{
|
||||
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(pAdapter);
|
||||
|
@ -288,7 +288,7 @@ static void _ThreeOutPipeMapping(
|
|||
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
Hal_MappingOutPipe(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 NumOutPipe
|
||||
|
@ -296,9 +296,9 @@ Hal_MappingOutPipe(
|
|||
{
|
||||
struct registry_priv *pregistrypriv = &pAdapter->registrypriv;
|
||||
|
||||
BOOLEAN bWIFICfg = (pregistrypriv->wifi_spec) ?_TRUE:_FALSE;
|
||||
bool bWIFICfg = (pregistrypriv->wifi_spec) ?_TRUE:_FALSE;
|
||||
|
||||
BOOLEAN result = _TRUE;
|
||||
bool result = _TRUE;
|
||||
|
||||
switch (NumOutPipe)
|
||||
{
|
||||
|
|
|
@ -196,12 +196,12 @@ u8 rtw_hal_get_def_var(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pV
|
|||
return _FAIL;
|
||||
}
|
||||
|
||||
void rtw_hal_set_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet)
|
||||
void rtw_hal_set_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet)
|
||||
{
|
||||
if (padapter->HalFunc.SetHalODMVarHandler)
|
||||
padapter->HalFunc.SetHalODMVarHandler(padapter,eVariable,pValue1,bSet);
|
||||
}
|
||||
void rtw_hal_get_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet)
|
||||
void rtw_hal_get_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet)
|
||||
{
|
||||
if (padapter->HalFunc.GetHalODMVarHandler)
|
||||
padapter->HalFunc.GetHalODMVarHandler(padapter,eVariable,pValue1,bSet);
|
||||
|
|
134
hal/odm.c
134
hal/odm.c
|
@ -362,7 +362,7 @@ odm_1R_CCA(
|
|||
void odm_PathDiversityInit_92C( IN PADAPTER Adapter);
|
||||
void odm_2TPathDiversityInit_92C( IN PADAPTER Adapter);
|
||||
void odm_1TPathDiversityInit_92C( IN PADAPTER Adapter);
|
||||
BOOLEAN odm_IsConnected_92C(IN PADAPTER Adapter);
|
||||
bool odm_IsConnected_92C(IN PADAPTER Adapter);
|
||||
void odm_PathDiversityAfterLink_92C( IN PADAPTER Adapter);
|
||||
|
||||
void
|
||||
|
@ -645,7 +645,7 @@ odm_EdcaTurboCheckMP(
|
|||
);
|
||||
|
||||
//check if edca turbo is disabled
|
||||
BOOLEAN
|
||||
bool
|
||||
odm_IsEdcaTurboDisable(
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
);
|
||||
|
@ -662,8 +662,8 @@ odm_EdcaChooseTrafficIdx(
|
|||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u8Byte cur_tx_bytes,
|
||||
IN u8Byte cur_rx_bytes,
|
||||
IN BOOLEAN bBiasOnRx,
|
||||
OUT BOOLEAN *pbIsCurRDLState
|
||||
IN bool bBiasOnRx,
|
||||
OUT bool *pbIsCurRDLState
|
||||
);
|
||||
|
||||
#elif (DM_ODM_SUPPORT_TYPE==ODM_CE)
|
||||
|
@ -693,7 +693,7 @@ odm_InitHybridAntDiv(
|
|||
IN PDM_ODM_T pDM_Odm
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
odm_StaDefAntSel(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u4Byte OFDM_Ant1_Cnt,
|
||||
|
@ -707,7 +707,7 @@ void
|
|||
odm_SetRxIdleAnt(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u1Byte Ant,
|
||||
IN BOOLEAN bDualPath
|
||||
IN bool bDualPath
|
||||
);
|
||||
|
||||
|
||||
|
@ -939,14 +939,14 @@ ODM_CmnInfoInit(
|
|||
pDM_Odm->PatchID = (u1Byte)Value;
|
||||
break;
|
||||
case ODM_CMNINFO_BINHCT_TEST:
|
||||
pDM_Odm->bInHctTest = (BOOLEAN)Value;
|
||||
pDM_Odm->bInHctTest = (bool)Value;
|
||||
break;
|
||||
case ODM_CMNINFO_BWIFI_TEST:
|
||||
pDM_Odm->bWIFITest = (BOOLEAN)Value;
|
||||
pDM_Odm->bWIFITest = (bool)Value;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_SMART_CONCURRENT:
|
||||
pDM_Odm->bDualMacSmartConcurrent = (BOOLEAN )Value;
|
||||
pDM_Odm->bDualMacSmartConcurrent = (bool )Value;
|
||||
break;
|
||||
|
||||
//To remove the compiler warning, must add an empty default statement to handle the other values.
|
||||
|
@ -1019,7 +1019,7 @@ ODM_CmnInfoHook(
|
|||
break;
|
||||
|
||||
case ODM_CMNINFO_DMSP_GET_VALUE:
|
||||
pDM_Odm->pbGetValueFromOtherMac = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pbGetValueFromOtherMac = (bool *)pValue;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_BUDDY_ADAPTOR:
|
||||
|
@ -1027,15 +1027,15 @@ ODM_CmnInfoHook(
|
|||
break;
|
||||
|
||||
case ODM_CMNINFO_DMSP_IS_MASTER:
|
||||
pDM_Odm->pbMasterOfDMSP = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pbMasterOfDMSP = (bool *)pValue;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_SCAN:
|
||||
pDM_Odm->pbScanInProcess = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pbScanInProcess = (bool *)pValue;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_POWER_SAVING:
|
||||
pDM_Odm->pbPowerSaving = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pbPowerSaving = (bool *)pValue;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_ONE_PATH_CCA:
|
||||
|
@ -1043,15 +1043,15 @@ ODM_CmnInfoHook(
|
|||
break;
|
||||
|
||||
case ODM_CMNINFO_DRV_STOP:
|
||||
pDM_Odm->pbDriverStopped = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pbDriverStopped = (bool *)pValue;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_PNP_IN:
|
||||
pDM_Odm->pbDriverIsGoingToPnpSetPowerSleep = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pbDriverIsGoingToPnpSetPowerSleep = (bool *)pValue;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_INIT_ON:
|
||||
pDM_Odm->pinit_adpt_in_progress = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pinit_adpt_in_progress = (bool *)pValue;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_ANT_TEST:
|
||||
|
@ -1059,14 +1059,14 @@ ODM_CmnInfoHook(
|
|||
break;
|
||||
|
||||
case ODM_CMNINFO_NET_CLOSED:
|
||||
pDM_Odm->pbNet_closed = (BOOLEAN *)pValue;
|
||||
pDM_Odm->pbNet_closed = (bool *)pValue;
|
||||
break;
|
||||
case ODM_CMNINFO_MP_MODE:
|
||||
pDM_Odm->mp_mode = (u1Byte *)pValue;
|
||||
break;
|
||||
|
||||
//case ODM_CMNINFO_BT_COEXIST:
|
||||
// pDM_Odm->BTCoexist = (BOOLEAN *)pValue;
|
||||
// pDM_Odm->BTCoexist = (bool *)pValue;
|
||||
|
||||
//case ODM_CMNINFO_STA_STATUS:
|
||||
//pDM_Odm->pODM_StaInfo[] = (PSTA_INFO_T)pValue;
|
||||
|
@ -1141,15 +1141,15 @@ ODM_CmnInfoUpdate(
|
|||
break;
|
||||
|
||||
case ODM_CMNINFO_WIFI_DIRECT:
|
||||
pDM_Odm->bWIFI_Direct = (BOOLEAN)Value;
|
||||
pDM_Odm->bWIFI_Direct = (bool)Value;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_WIFI_DISPLAY:
|
||||
pDM_Odm->bWIFI_Display = (BOOLEAN)Value;
|
||||
pDM_Odm->bWIFI_Display = (bool)Value;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_LINK:
|
||||
pDM_Odm->bLinked = (BOOLEAN)Value;
|
||||
pDM_Odm->bLinked = (bool)Value;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_RSSI_MIN:
|
||||
|
@ -1173,11 +1173,11 @@ ODM_CmnInfoUpdate(
|
|||
#if (BT_30_SUPPORT == 1)
|
||||
// The following is for BT HS mode and BT coexist mechanism.
|
||||
case ODM_CMNINFO_BT_DISABLED:
|
||||
pDM_Odm->bBtDisabled = (BOOLEAN)Value;
|
||||
pDM_Odm->bBtDisabled = (bool)Value;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_BT_OPERATION:
|
||||
pDM_Odm->bBtHsOperation = (BOOLEAN)Value;
|
||||
pDM_Odm->bBtHsOperation = (bool)Value;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_BT_DIG:
|
||||
|
@ -1185,11 +1185,11 @@ ODM_CmnInfoUpdate(
|
|||
break;
|
||||
|
||||
case ODM_CMNINFO_BT_BUSY:
|
||||
pDM_Odm->bBtBusy = (BOOLEAN)Value;
|
||||
pDM_Odm->bBtBusy = (bool)Value;
|
||||
break;
|
||||
|
||||
case ODM_CMNINFO_BT_DISABLE_EDCA:
|
||||
pDM_Odm->bBtDisableEdcaTurbo = (BOOLEAN)Value;
|
||||
pDM_Odm->bBtDisableEdcaTurbo = (bool)Value;
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
@ -1203,10 +1203,10 @@ odm_CommonInfoSelfInit(
|
|||
IN PDM_ODM_T pDM_Odm
|
||||
)
|
||||
{
|
||||
pDM_Odm->bCckHighPower = (BOOLEAN) ODM_GetBBReg(pDM_Odm, 0x824, BIT9);
|
||||
pDM_Odm->bCckHighPower = (bool) ODM_GetBBReg(pDM_Odm, 0x824, BIT9);
|
||||
pDM_Odm->RFPathRxEnable = (u1Byte) ODM_GetBBReg(pDM_Odm, 0xc04, 0x0F);
|
||||
#if (DM_ODM_SUPPORT_TYPE != ODM_CE)
|
||||
pDM_Odm->pbNet_closed = &pDM_Odm->BOOLEAN_temp;
|
||||
pDM_Odm->pbNet_closed = &pDM_Odm->bool_temp;
|
||||
#endif
|
||||
if (pDM_Odm->SupportICType & (ODM_RTL8192C|ODM_RTL8192D))
|
||||
{
|
||||
|
@ -1438,7 +1438,7 @@ odm_IsLinked(
|
|||
)
|
||||
{
|
||||
u4Byte i;
|
||||
BOOLEAN Linked = FALSE;
|
||||
bool Linked = FALSE;
|
||||
|
||||
for (i=0; i<ODM_ASSOCIATE_ENTRY_NUM; i++)
|
||||
{
|
||||
|
@ -1590,7 +1590,7 @@ odm_DynamicEDCCA(
|
|||
PADAPTER pAdapter = pDM_Odm->Adapter;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
u1Byte RegC50, RegC58;
|
||||
BOOLEAN bEDCCAenable = FALSE;
|
||||
bool bEDCCAenable = FALSE;
|
||||
|
||||
RegC50 = (u1Byte)ODM_GetBBReg(pDM_Odm, rOFDM0_XAAGCCore1, bMaskByte0);
|
||||
RegC58 = (u1Byte)ODM_GetBBReg(pDM_Odm, rOFDM0_XBAGCCore1, bMaskByte0);
|
||||
|
@ -1801,7 +1801,7 @@ odm_DIG(
|
|||
pRXHP_T pRX_HP_Table = &pDM_Odm->DM_RXHP_Table;
|
||||
u1Byte DIG_Dynamic_MIN;
|
||||
u1Byte DIG_MaxOfMin;
|
||||
BOOLEAN FirstConnect, FirstDisConnect;
|
||||
bool FirstConnect, FirstDisConnect;
|
||||
u1Byte dm_dig_max, dm_dig_min;
|
||||
u1Byte CurrentIGI = pDM_DigTable->CurIGValue;
|
||||
|
||||
|
@ -3077,13 +3077,13 @@ odm_RefreshRateAdaptiveMaskAPADSL(
|
|||
#endif
|
||||
}
|
||||
|
||||
// Return Value: BOOLEAN
|
||||
// Return Value: bool
|
||||
// - TRUE: RATRState is changed.
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_RAStateCheck(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN s4Byte RSSI,
|
||||
IN BOOLEAN bForceUpdate,
|
||||
IN bool bForceUpdate,
|
||||
OUT pu1Byte pRATRState
|
||||
)
|
||||
{
|
||||
|
@ -3619,7 +3619,7 @@ odm_DynamicTxPower_92D(
|
|||
s4Byte UndecoratedSmoothedPWDB;
|
||||
|
||||
PADAPTER BuddyAdapter = Adapter->BuddyAdapter;
|
||||
BOOLEAN bGetValueFromBuddyAdapter = dm_DualMacGetParameterFromBuddyAdapter(Adapter);
|
||||
bool bGetValueFromBuddyAdapter = dm_DualMacGetParameterFromBuddyAdapter(Adapter);
|
||||
u1Byte HighPowerLvlBackForMac0 = TxHighPwrLevel_Level1;
|
||||
|
||||
|
||||
|
@ -3780,7 +3780,7 @@ odm_DynamicTxPower_92D(
|
|||
int UndecoratedSmoothedPWDB;
|
||||
#if (RTL8192D_EASY_SMART_CONCURRENT == 1)
|
||||
PADAPTER BuddyAdapter = Adapter->BuddyAdapter;
|
||||
BOOLEAN bGetValueFromBuddyAdapter = DualMacGetParameterFromBuddyAdapter(Adapter);
|
||||
bool bGetValueFromBuddyAdapter = DualMacGetParameterFromBuddyAdapter(Adapter);
|
||||
u8 HighPowerLvlBackForMac0 = TxHighPwrLevel_Level1;
|
||||
#endif
|
||||
|
||||
|
@ -5253,7 +5253,7 @@ odm_SwAntDivChkAntSwitchNIC(
|
|||
ODM_SetAntenna(pDM_Odm,nextAntenna);
|
||||
#elif (DM_ODM_SUPPORT_TYPE == ODM_CE)
|
||||
{
|
||||
BOOLEAN bEnqueue;
|
||||
bool bEnqueue;
|
||||
bEnqueue = (pDM_Odm->SupportInterface == ODM_ITRF_PCIE)?FALSE :TRUE;
|
||||
rtw_antenna_select_cmd(pDM_Odm->Adapter, nextAntenna, bEnqueue);
|
||||
}
|
||||
|
@ -5496,7 +5496,7 @@ void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext){}
|
|||
|
||||
#if (DM_ODM_SUPPORT_TYPE == ODM_MP)
|
||||
#if ((defined(CONFIG_SW_ANTENNA_DIVERSITY))||(defined(CONFIG_HW_ANTENNA_DIVERSITY)))
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_SwAntDivCheckBeforeLink8192C(
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
)
|
||||
|
@ -5702,7 +5702,7 @@ return FALSE;
|
|||
return FALSE;
|
||||
}
|
||||
#else
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_SwAntDivCheckBeforeLink8192C(
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
)
|
||||
|
@ -5832,7 +5832,7 @@ odm_InitHybridAntDiv(
|
|||
}
|
||||
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
odm_StaDefAntSel(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u4Byte OFDM_Ant1_Cnt,
|
||||
|
@ -5897,7 +5897,7 @@ void
|
|||
odm_SetRxIdleAnt(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u1Byte Ant,
|
||||
IN BOOLEAN bDualPath
|
||||
IN bool bDualPath
|
||||
)
|
||||
{
|
||||
SWAT_T *pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
|
||||
|
@ -5932,7 +5932,7 @@ ODM_AntselStatistics_88C(
|
|||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u1Byte MacId,
|
||||
IN u4Byte PWDBAll,
|
||||
IN BOOLEAN isCCKrate
|
||||
IN bool isCCKrate
|
||||
)
|
||||
{
|
||||
SWAT_T *pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
|
||||
|
@ -6012,7 +6012,7 @@ odm_HwAntDiv_92C_92D(
|
|||
SWAT_T *pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
|
||||
u4Byte RSSI_Min=0xFF, RSSI, RSSI_Ant1, RSSI_Ant2;
|
||||
u1Byte RxIdleAnt, i;
|
||||
BOOLEAN bRet=FALSE;
|
||||
bool bRet=FALSE;
|
||||
PSTA_INFO_T pEntry;
|
||||
|
||||
#if (DM_ODM_SUPPORT_TYPE==ODM_AP)
|
||||
|
@ -6518,10 +6518,10 @@ odm_EdcaTurboCheckMP(
|
|||
u4Byte EDCA_BE_DL = 0x5ea42b;//Parameter suggested by Scott //edca_setting_DL[pMgntInfo->IOTPeer];
|
||||
u4Byte EDCA_BE = 0x5ea42b;
|
||||
u4Byte IOTPeer=0;
|
||||
BOOLEAN *pbIsCurRDLState=NULL;
|
||||
BOOLEAN bLastIsCurRDLState=FALSE;
|
||||
BOOLEAN bBiasOnRx=FALSE;
|
||||
BOOLEAN bEdcaTurboOn=FALSE;
|
||||
bool *pbIsCurRDLState=NULL;
|
||||
bool bLastIsCurRDLState=FALSE;
|
||||
bool bBiasOnRx=FALSE;
|
||||
bool bEdcaTurboOn=FALSE;
|
||||
|
||||
|
||||
ODM_RT_TRACE(pDM_Odm,ODM_COMP_EDCA_TURBO,ODM_DBG_LOUD,("odm_EdcaTurboCheckMP========================>"));
|
||||
|
@ -6651,7 +6651,7 @@ dm_CheckEdcaTurbo_EXIT:
|
|||
|
||||
|
||||
//check if edca turbo is disabled
|
||||
BOOLEAN
|
||||
bool
|
||||
odm_IsEdcaTurboDisable(
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
)
|
||||
|
@ -6939,8 +6939,8 @@ odm_EdcaChooseTrafficIdx(
|
|||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u8Byte cur_tx_bytes,
|
||||
IN u8Byte cur_rx_bytes,
|
||||
IN BOOLEAN bBiasOnRx,
|
||||
OUT BOOLEAN *pbIsCurRDLState
|
||||
IN bool bBiasOnRx,
|
||||
OUT bool *pbIsCurRDLState
|
||||
)
|
||||
{
|
||||
|
||||
|
@ -7081,14 +7081,14 @@ void odm_EdcaParaInit(
|
|||
priv->pshare->iot_mode_VO_exist = 0;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_ChooseIotMainSTA(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN PSTA_INFO_T pstat
|
||||
)
|
||||
{
|
||||
prtl8192cd_priv priv = pDM_Odm->priv;
|
||||
BOOLEAN bhighTP_found_pstat=FALSE;
|
||||
bool bhighTP_found_pstat=FALSE;
|
||||
|
||||
if ((GET_ROOT(priv)->up_time % 2) == 0) {
|
||||
unsigned int tx_2s_avg = 0;
|
||||
|
@ -7702,7 +7702,7 @@ odm_IotEngine(
|
|||
//
|
||||
// 2011/07/26 MH Add an API for testing IQK fail case.
|
||||
//
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_CheckPowerStatus(
|
||||
IN PADAPTER Adapter)
|
||||
{
|
||||
|
@ -9610,7 +9610,7 @@ odm_OFDMTXPathDiversity_92C(
|
|||
}
|
||||
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
odm_IsConnected_92C(
|
||||
IN PADAPTER Adapter
|
||||
)
|
||||
|
@ -9618,7 +9618,7 @@ odm_IsConnected_92C(
|
|||
PRT_WLAN_STA pEntry;
|
||||
PMGNT_INFO pMgntInfo = &(Adapter->MgntInfo);
|
||||
u4Byte i;
|
||||
BOOLEAN bConnected=FALSE;
|
||||
bool bConnected=FALSE;
|
||||
|
||||
if (pMgntInfo->mAssoc)
|
||||
{
|
||||
|
@ -9708,7 +9708,7 @@ odm_CCKTXPathDiversity_92C(
|
|||
PRT_WLAN_STA pEntry;
|
||||
s4Byte MinRSSI = 0xFF;
|
||||
u1Byte i, DefaultRespPath = 0;
|
||||
// BOOLEAN bBModePathDiv = FALSE;
|
||||
// bool bBModePathDiv = FALSE;
|
||||
pPD_T pDM_PDTable = &Adapter->DM_PDTable;
|
||||
|
||||
//1 Default Port
|
||||
|
@ -9979,21 +9979,21 @@ odm_CCKTXPathDiversityWorkItemCallback(
|
|||
void
|
||||
ODM_CCKPathDiversityChkPerPktRssi(
|
||||
PADAPTER Adapter,
|
||||
BOOLEAN bIsDefPort,
|
||||
BOOLEAN bMatchBSSID,
|
||||
bool bIsDefPort,
|
||||
bool bMatchBSSID,
|
||||
PRT_WLAN_STA pEntry,
|
||||
PRT_RFD pRfd,
|
||||
pu1Byte pDesc
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
BOOLEAN bCount = FALSE;
|
||||
bool bCount = FALSE;
|
||||
pPD_T pDM_PDTable = &Adapter->DM_PDTable;
|
||||
//BOOLEAN isCCKrate = RX_HAL_IS_CCK_RATE_92C(pDesc);
|
||||
//bool isCCKrate = RX_HAL_IS_CCK_RATE_92C(pDesc);
|
||||
#if DEV_BUS_TYPE != RT_SDIO_INTERFACE
|
||||
BOOLEAN isCCKrate = RX_HAL_IS_CCK_RATE(Adapter, pDesc);
|
||||
bool isCCKrate = RX_HAL_IS_CCK_RATE(Adapter, pDesc);
|
||||
#else //below code would be removed if we have verified SDIO
|
||||
BOOLEAN isCCKrate = IS_HARDWARE_TYPE_8188E(Adapter) ? RX_HAL_IS_CCK_RATE_88E(pDesc) : RX_HAL_IS_CCK_RATE_92C(pDesc);
|
||||
bool isCCKrate = IS_HARDWARE_TYPE_8188E(Adapter) ? RX_HAL_IS_CCK_RATE_88E(pDesc) : RX_HAL_IS_CCK_RATE_92C(pDesc);
|
||||
#endif
|
||||
|
||||
if ((pHalData->PathDivCfg != 1) || (pHalData->RSSI_test == FALSE))
|
||||
|
@ -10040,7 +10040,7 @@ ODM_CCKPathDiversityChkPerPktRssi(
|
|||
}
|
||||
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_PathDiversityBeforeLink92C(
|
||||
//IN PADAPTER Adapter
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
|
@ -10256,14 +10256,14 @@ ODM_PathDiversityBeforeLink92C(
|
|||
void
|
||||
ODM_PathDivChkPerPktRssi(
|
||||
PADAPTER Adapter,
|
||||
BOOLEAN bIsDefPort,
|
||||
BOOLEAN bMatchBSSID,
|
||||
bool bIsDefPort,
|
||||
bool bMatchBSSID,
|
||||
PRT_WLAN_STA pEntry,
|
||||
PRT_RFD pRfd
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
BOOLEAN bCount = FALSE;
|
||||
bool bCount = FALSE;
|
||||
PDM_ODM_T pDM_Odm = &pHalData->DM_OutSrc;
|
||||
pSWAT_T pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
|
||||
|
||||
|
@ -10987,7 +10987,7 @@ odm_PHY_ReloadAFERegisters(
|
|||
//
|
||||
// Added by Roger, 2011.12.15
|
||||
//
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_SingleDualAntennaDetection(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u1Byte mode
|
||||
|
@ -11003,7 +11003,7 @@ ODM_SingleDualAntennaDetection(
|
|||
u1Byte initial_gain = 0x5a;
|
||||
u4Byte PSD_report_tmp;
|
||||
u4Byte AntA_report = 0x0, AntB_report = 0x0,AntO_report=0x0;
|
||||
BOOLEAN bResult = TRUE;
|
||||
bool bResult = TRUE;
|
||||
u4Byte AFE_Backup[16];
|
||||
u4Byte AFE_REG_8723A[16] = {
|
||||
rRx_Wait_CCA, rTx_CCK_RFON,
|
||||
|
|
|
@ -1027,9 +1027,9 @@ ODM_MacStatusQuery(
|
|||
IN OUT PDM_ODM_T pDM_Odm,
|
||||
IN pu1Byte pMacStatus,
|
||||
IN u1Byte MacID,
|
||||
IN BOOLEAN bPacketMatchBSSID,
|
||||
IN BOOLEAN bPacketToSelf,
|
||||
IN BOOLEAN bPacketBeacon
|
||||
IN bool bPacketMatchBSSID,
|
||||
IN bool bPacketToSelf,
|
||||
IN bool bPacketBeacon
|
||||
)
|
||||
{
|
||||
// 2011/10/19 Driver team will handle in the future.
|
||||
|
|
|
@ -417,8 +417,8 @@ odm_HWAntDiv(
|
|||
u1Byte RxIdleAnt=0, TargetAnt=7;
|
||||
pFAT_T pDM_FatTable = &pDM_Odm->DM_FatTable;
|
||||
pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable;
|
||||
BOOLEAN bMatchBSSID;
|
||||
BOOLEAN bPktFilterMacth = FALSE;
|
||||
bool bMatchBSSID;
|
||||
bool bPktFilterMacth = FALSE;
|
||||
PSTA_INFO_T pEntry;
|
||||
|
||||
for (i=0; i<ODM_ASSOCIATE_ENTRY_NUM; i++)
|
||||
|
@ -541,7 +541,7 @@ odm_FastAntTraining(
|
|||
u4Byte i, MaxRSSI=0;
|
||||
u1Byte TargetAnt=2;
|
||||
pFAT_T pDM_FatTable = &pDM_Odm->DM_FatTable;
|
||||
BOOLEAN bPktFilterMacth = FALSE;
|
||||
bool bPktFilterMacth = FALSE;
|
||||
PSTA_INFO_T pEntry;
|
||||
|
||||
|
||||
|
@ -822,7 +822,7 @@ odm_PrimaryCCA_Init(
|
|||
PrimaryCCA->PriCCA_flag = 0;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_DynamicPrimaryCCA_DupRTS(
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
)
|
||||
|
@ -849,9 +849,9 @@ odm_DynamicPrimaryCCA(
|
|||
PFALSE_ALARM_STATISTICS FalseAlmCnt = &(pDM_Odm->FalseAlmCnt);
|
||||
pPri_CCA_T PrimaryCCA = &(pDM_Odm->DM_PriCCA);
|
||||
|
||||
BOOLEAN Is40MHz;
|
||||
BOOLEAN Client_40MHz = FALSE, Client_tmp = FALSE; // connected client BW
|
||||
BOOLEAN bConnected = FALSE; // connected or not
|
||||
bool Is40MHz;
|
||||
bool Client_40MHz = FALSE, Client_tmp = FALSE; // connected client BW
|
||||
bool bConnected = FALSE; // connected or not
|
||||
static u1Byte Client_40MHz_pre = 0;
|
||||
static u8Byte lastTxOkCnt = 0;
|
||||
static u8Byte lastRxOkCnt = 0;
|
||||
|
@ -1218,7 +1218,7 @@ odm_DynamicPrimaryCCA(
|
|||
)
|
||||
{
|
||||
}
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_DynamicPrimaryCCA_DupRTS(
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
)
|
||||
|
|
|
@ -585,7 +585,7 @@ void ConstructNullFunctionData(
|
|||
*pLength = pktlen;
|
||||
}
|
||||
|
||||
void ConstructProbeRsp(_adapter *padapter, u8 *pframe, u32 *pLength, u8 *StaAddr, BOOLEAN bHideSSID)
|
||||
void ConstructProbeRsp(_adapter *padapter, u8 *pframe, u32 *pLength, u8 *StaAddr, bool bHideSSID)
|
||||
{
|
||||
struct rtw_ieee80211_hdr *pwlanhdr;
|
||||
u16 *fctrl;
|
||||
|
@ -655,7 +655,7 @@ CheckFwRsvdPageContent(
|
|||
// TRUE: At the second time, we should send the first packet (default:beacon)
|
||||
// to Hw again and set the lengh in descriptor to the real beacon lengh.
|
||||
// 2009.10.15 by tynli.
|
||||
static void SetFwRsvdPagePkt(PADAPTER padapter, BOOLEAN bDLFinished)
|
||||
static void SetFwRsvdPagePkt(PADAPTER padapter, bool bDLFinished)
|
||||
{
|
||||
PHAL_DATA_TYPE pHalData;
|
||||
struct xmit_frame *pmgntframe;
|
||||
|
@ -799,8 +799,8 @@ void rtl8188e_set_FwJoinBssReport_cmd(PADAPTER padapter, u8 mstatus)
|
|||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv);
|
||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
BOOLEAN bSendBeacon=_FALSE;
|
||||
BOOLEAN bcn_valid = _FALSE;
|
||||
bool bSendBeacon=_FALSE;
|
||||
bool bcn_valid = _FALSE;
|
||||
u8 DLBcnCount=0;
|
||||
u32 poll = 0;
|
||||
|
||||
|
|
|
@ -139,9 +139,9 @@ dm_InterruptMigration(
|
|||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct mlme_priv *pmlmepriv = &(Adapter->mlmepriv);
|
||||
BOOLEAN bCurrentIntMt, bCurrentACIntDisable;
|
||||
BOOLEAN IntMtToSet = _FALSE;
|
||||
BOOLEAN ACIntToSet = _FALSE;
|
||||
bool bCurrentIntMt, bCurrentACIntDisable;
|
||||
bool IntMtToSet = _FALSE;
|
||||
bool ACIntToSet = _FALSE;
|
||||
|
||||
|
||||
// Retrieve current interrupt migration and Tx four ACs IMR settings first.
|
||||
|
@ -401,8 +401,8 @@ rtl8188e_HalDmWatchDog(
|
|||
IN PADAPTER Adapter
|
||||
)
|
||||
{
|
||||
BOOLEAN bFwCurrentInPSMode = _FALSE;
|
||||
BOOLEAN bFwPSAwake = _TRUE;
|
||||
bool bFwCurrentInPSMode = _FALSE;
|
||||
bool bFwPSAwake = _TRUE;
|
||||
u8 hw_init_completed = _FALSE;
|
||||
PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter);
|
||||
struct dm_priv *pdmpriv = &pHalData->dmpriv;
|
||||
|
|
|
@ -537,7 +537,7 @@ void rtw_IOL_cmd_tx_pkt_buf_dump(ADAPTER *Adapter,int data_len)
|
|||
static void
|
||||
_FWDownloadEnable(
|
||||
IN PADAPTER padapter,
|
||||
IN BOOLEAN enable
|
||||
IN bool enable
|
||||
)
|
||||
{
|
||||
u8 tmp;
|
||||
|
@ -825,7 +825,7 @@ u8 FwBuffer8188E[FW_8188E_SIZE];
|
|||
// Download 8192C firmware code.
|
||||
//
|
||||
//
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter, BOOLEAN bUsedWoWLANFw)
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter, bool bUsedWoWLANFw)
|
||||
#else
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter)
|
||||
#endif
|
||||
|
@ -1074,27 +1074,27 @@ enum{
|
|||
LDOE25_SHIFT = 28 ,
|
||||
};
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgPacketWrite2ByteHeader(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest);
|
||||
static BOOLEAN
|
||||
IN bool bPseudoTest);
|
||||
static bool
|
||||
hal_EfusePgPacketWrite1ByteHeader(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest);
|
||||
static BOOLEAN
|
||||
IN bool bPseudoTest);
|
||||
static bool
|
||||
hal_EfusePgPacketWriteData(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest);
|
||||
IN bool bPseudoTest);
|
||||
|
||||
static void
|
||||
hal_EfusePowerSwitch_RTL8188E(
|
||||
|
@ -1208,7 +1208,7 @@ Hal_EfuseReadEFuse88E(
|
|||
u16 _offset,
|
||||
u16 _size_byte,
|
||||
u8 *pbuf,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
//u8 efuseTbl[EFUSE_MAP_LEN_88E];
|
||||
|
@ -1397,14 +1397,14 @@ exit:
|
|||
}
|
||||
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
Hal_EfuseSwitchToBank(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 bank,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
BOOLEAN bRet = _FALSE;
|
||||
bool bRet = _FALSE;
|
||||
u32 value32=0;
|
||||
|
||||
//RTPRINT(FEEPROM, EFUSE_PG, ("Efuse switch bank to %d\n", bank));
|
||||
|
@ -1456,7 +1456,7 @@ ReadEFuseByIC(
|
|||
u16 _offset,
|
||||
u16 _size_byte,
|
||||
u8 *pbuf,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
#ifdef DBG_IOL_READ_EFUSE_MAP
|
||||
|
@ -1515,7 +1515,7 @@ ReadEFuse_Pseudo (
|
|||
u16 _offset,
|
||||
u16 _size_byte,
|
||||
u8 *pbuf,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
Hal_EfuseReadEFuse88E(Adapter, _offset, _size_byte, pbuf, bPseudoTest);
|
||||
|
@ -1528,7 +1528,7 @@ rtl8188e_ReadEFuse(
|
|||
u16 _offset,
|
||||
u16 _size_byte,
|
||||
u8 *pbuf,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
if (bPseudoTest)
|
||||
|
@ -1686,7 +1686,7 @@ rtl8188e_EFUSE_GetEfuseDefinition(
|
|||
IN u8 efuseType,
|
||||
IN u8 type,
|
||||
OUT void *pOut,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
if (bPseudoTest)
|
||||
|
@ -1704,7 +1704,7 @@ Hal_EfuseWordEnableDataWrite( IN PADAPTER pAdapter,
|
|||
IN u16 efuse_addr,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u16 tmpaddr = 0;
|
||||
u16 start_addr = efuse_addr;
|
||||
|
@ -1770,7 +1770,7 @@ Hal_EfuseWordEnableDataWrite_Pseudo ( IN PADAPTER pAdapter,
|
|||
IN u16 efuse_addr,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u8 ret=0;
|
||||
|
||||
|
@ -1784,7 +1784,7 @@ rtl8188e_Efuse_WordEnableDataWrite( IN PADAPTER pAdapter,
|
|||
IN u16 efuse_addr,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u8 ret=0;
|
||||
|
||||
|
@ -1803,7 +1803,7 @@ rtl8188e_Efuse_WordEnableDataWrite( IN PADAPTER pAdapter,
|
|||
|
||||
static u16
|
||||
hal_EfuseGetCurrentSize_8188e(IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int bContinual = _TRUE;
|
||||
|
||||
|
@ -1874,7 +1874,7 @@ hal_EfuseGetCurrentSize_8188e(IN PADAPTER pAdapter,
|
|||
|
||||
static u16
|
||||
Hal_EfuseGetCurrentSize_Pseudo (IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u16 ret=0;
|
||||
|
||||
|
@ -1888,7 +1888,7 @@ static u16
|
|||
rtl8188e_EfuseGetCurrentSize(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u16 ret=0;
|
||||
|
||||
|
@ -1911,7 +1911,7 @@ hal_EfusePgPacketRead_8188e(
|
|||
IN PADAPTER pAdapter,
|
||||
IN u8 offset,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
u8 ReadState = PG_STATE_HEADER;
|
||||
|
||||
|
@ -2026,7 +2026,7 @@ static int
|
|||
Hal_EfusePgPacketRead( IN PADAPTER pAdapter,
|
||||
IN u8 offset,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret=0;
|
||||
|
||||
|
@ -2040,7 +2040,7 @@ static int
|
|||
Hal_EfusePgPacketRead_Pseudo ( IN PADAPTER pAdapter,
|
||||
IN u8 offset,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret=0;
|
||||
|
||||
|
@ -2053,7 +2053,7 @@ static int
|
|||
rtl8188e_Efuse_PgPacketRead( IN PADAPTER pAdapter,
|
||||
IN u8 offset,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret=0;
|
||||
|
||||
|
@ -2069,13 +2069,13 @@ rtl8188e_Efuse_PgPacketRead( IN PADAPTER pAdapter,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfuseFixHeaderProcess(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN PPGPKT_STRUCT pFixPkt,
|
||||
IN u16 *pAddr,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
u8 originaldata[8], badworden=0;
|
||||
|
@ -2110,15 +2110,15 @@ hal_EfuseFixHeaderProcess(
|
|||
return _TRUE;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgPacketWrite2ByteHeader(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
BOOLEAN bRet=_FALSE, bContinual=_TRUE;
|
||||
bool bRet=_FALSE, bContinual=_TRUE;
|
||||
u16 efuse_addr=*pAddr, efuse_max_available_len=0;
|
||||
u8 pg_header=0, tmp_header=0, pg_header_temp=0;
|
||||
u8 repeatcnt=0;
|
||||
|
@ -2207,15 +2207,15 @@ hal_EfusePgPacketWrite2ByteHeader(
|
|||
return bRet;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgPacketWrite1ByteHeader(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
BOOLEAN bRet=_FALSE;
|
||||
bool bRet=_FALSE;
|
||||
u8 pg_header=0, tmp_header=0;
|
||||
u16 efuse_addr=*pAddr;
|
||||
u8 repeatcnt=0;
|
||||
|
@ -2255,15 +2255,15 @@ hal_EfusePgPacketWrite1ByteHeader(
|
|||
return bRet;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgPacketWriteData(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
BOOLEAN bRet=_FALSE;
|
||||
bool bRet=_FALSE;
|
||||
u16 efuse_addr=*pAddr;
|
||||
u8 badworden=0;
|
||||
u32 PgWriteSuccess=0;
|
||||
|
@ -2292,15 +2292,15 @@ hal_EfusePgPacketWriteData(
|
|||
return bRet;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgPacketWriteHeader(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
BOOLEAN bRet=_FALSE;
|
||||
bool bRet=_FALSE;
|
||||
|
||||
if (pTargetPkt->offset >= EFUSE_MAX_SECTION_BASE)
|
||||
{
|
||||
|
@ -2314,7 +2314,7 @@ hal_EfusePgPacketWriteHeader(
|
|||
return bRet;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
wordEnMatched(
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN PPGPKT_STRUCT pCurPkt,
|
||||
|
@ -2354,15 +2354,15 @@ wordEnMatched(
|
|||
return _FALSE;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfuseCheckIfDatafollowed(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 word_cnts,
|
||||
IN u16 startAddr,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
BOOLEAN bRet=_FALSE;
|
||||
bool bRet=_FALSE;
|
||||
u8 i, efuse_data;
|
||||
|
||||
for (i=0; i<(word_cnts*2) ; i++)
|
||||
|
@ -2374,16 +2374,16 @@ hal_EfuseCheckIfDatafollowed(
|
|||
return bRet;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePartialWriteCheck(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN u16 *pAddr,
|
||||
IN PPGPKT_STRUCT pTargetPkt,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
BOOLEAN bRet=_FALSE;
|
||||
bool bRet=_FALSE;
|
||||
u8 i, efuse_data=0, cur_header=0;
|
||||
u8 new_wden=0, matched_wden=0, badworden=0;
|
||||
u16 startAddr=0, efuse_max_available_len=0, efuse_max=0;
|
||||
|
@ -2499,11 +2499,11 @@ hal_EfusePartialWriteCheck(
|
|||
return bRet;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgCheckAvailableAddr(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 efuseType,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
u16 efuse_max_available_len=0;
|
||||
|
@ -2540,13 +2540,13 @@ hal_EfuseConstructPGPkt(
|
|||
//RTPRINT(FEEPROM, EFUSE_PG, ("hal_EfuseConstructPGPkt(), targetPkt, offset=%d, word_en=0x%x, word_cnts=%d\n", pTargetPkt->offset, pTargetPkt->word_en, pTargetPkt->word_cnts));
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgPacketWrite_BT(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 offset,
|
||||
IN u8 word_en,
|
||||
IN u8 *pData,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
PGPKT_STRUCT targetPkt;
|
||||
|
@ -2570,13 +2570,13 @@ hal_EfusePgPacketWrite_BT(
|
|||
return _TRUE;
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
hal_EfusePgPacketWrite_8188e(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 offset,
|
||||
IN u8 word_en,
|
||||
IN u8 *pData,
|
||||
IN BOOLEAN bPseudoTest
|
||||
IN bool bPseudoTest
|
||||
)
|
||||
{
|
||||
PGPKT_STRUCT targetPkt;
|
||||
|
@ -2606,7 +2606,7 @@ Hal_EfusePgPacketWrite_Pseudo (IN PADAPTER pAdapter,
|
|||
IN u8 offset,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -2620,7 +2620,7 @@ Hal_EfusePgPacketWrite(IN PADAPTER pAdapter,
|
|||
IN u8 offset,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret=0;
|
||||
ret = hal_EfusePgPacketWrite_8188e(pAdapter, offset, word_en, data, bPseudoTest);
|
||||
|
@ -2634,7 +2634,7 @@ rtl8188e_Efuse_PgPacketWrite(IN PADAPTER pAdapter,
|
|||
IN u8 offset,
|
||||
IN u8 word_en,
|
||||
IN u8 *data,
|
||||
IN BOOLEAN bPseudoTest)
|
||||
IN bool bPseudoTest)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -2709,7 +2709,7 @@ void rtl8188e_GetHalODMVar(
|
|||
PADAPTER Adapter,
|
||||
HAL_ODM_VARIABLE eVariable,
|
||||
void * pValue1,
|
||||
BOOLEAN bSet)
|
||||
bool bSet)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
PDM_ODM_T podmpriv = &pHalData->odmpriv;
|
||||
|
@ -2724,7 +2724,7 @@ void rtl8188e_SetHalODMVar(
|
|||
PADAPTER Adapter,
|
||||
HAL_ODM_VARIABLE eVariable,
|
||||
void * pValue1,
|
||||
BOOLEAN bSet)
|
||||
bool bSet)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
PDM_ODM_T podmpriv = &pHalData->odmpriv;
|
||||
|
@ -3122,7 +3122,7 @@ static void
|
|||
Hal_ReadPowerValueFromPROM_8188E(
|
||||
IN PTxPowerInfo24G pwrInfo24G,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
u32 rfPath, eeAddr=EEPROM_TX_PWR_INX_88E, group,TxCount=0;
|
||||
|
@ -3340,7 +3340,7 @@ Hal_GetChnlGroup88E(
|
|||
void Hal_ReadPowerSavingMode88E(
|
||||
PADAPTER padapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -3382,7 +3382,7 @@ void
|
|||
Hal_ReadTxPowerInfo88E(
|
||||
IN PADAPTER padapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -3457,7 +3457,7 @@ void
|
|||
Hal_EfuseParseXtal_8188E(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
@ -3479,7 +3479,7 @@ void
|
|||
Hal_EfuseParseBoardType88E(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
@ -3495,7 +3495,7 @@ void
|
|||
Hal_EfuseParseEEPROMVer88E(
|
||||
IN PADAPTER padapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -3516,7 +3516,7 @@ void
|
|||
rtl8188e_EfuseParseChnlPlan(
|
||||
IN PADAPTER padapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
padapter->mlmepriv.ChannelPlan = hal_com_get_channel_plan(
|
||||
|
@ -3534,7 +3534,7 @@ void
|
|||
Hal_EfuseParseCustomerID88E(
|
||||
IN PADAPTER padapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -3558,7 +3558,7 @@ void
|
|||
Hal_ReadAntennaDiversity88E(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
@ -3606,7 +3606,7 @@ void
|
|||
Hal_ReadThermalMeter_88E(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
@ -3640,7 +3640,7 @@ Hal_InitChannelPlan(
|
|||
{
|
||||
}
|
||||
|
||||
BOOLEAN HalDetectPwrDownMode88E(PADAPTER Adapter)
|
||||
bool HalDetectPwrDownMode88E(PADAPTER Adapter)
|
||||
{
|
||||
u8 tmpvalue = 0;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
@ -3675,7 +3675,7 @@ void Hal_DetectWoWMode(PADAPTER pAdapter)
|
|||
void Hal_ReadRFGainOffset(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoloadFail)
|
||||
IN bool AutoloadFail)
|
||||
{
|
||||
u8 buff[EFUSE_MAX_SIZE];
|
||||
u32 res;
|
||||
|
|
|
@ -129,7 +129,7 @@ void Hal_mpt_SwitchRfSetting(PADAPTER pAdapter)
|
|||
/*---------------------------hal\rtl8192c\MPT_Phy.c---------------------------*/
|
||||
|
||||
/*---------------------------hal\rtl8192c\MPT_HelperFunc.c---------------------------*/
|
||||
void Hal_MPT_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14)
|
||||
void Hal_MPT_CCKTxPowerAdjust(PADAPTER Adapter, bool bInCH14)
|
||||
{
|
||||
u32 TempVal = 0, TempVal2 = 0, TempVal3 = 0;
|
||||
u32 CurrCCKSwingVal = 0, CCKSwingIndex = 12;
|
||||
|
@ -209,7 +209,7 @@ void Hal_MPT_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14)
|
|||
write_bbreg(Adapter, rCCK0_DebugPort, bMaskLWord, TempVal3);
|
||||
}
|
||||
|
||||
void Hal_MPT_CCKTxPowerAdjustbyIndex(PADAPTER pAdapter, BOOLEAN beven)
|
||||
void Hal_MPT_CCKTxPowerAdjustbyIndex(PADAPTER pAdapter, bool beven)
|
||||
{
|
||||
s32 TempCCk;
|
||||
u8 CCK_index, CCK_index_old;
|
||||
|
@ -792,7 +792,7 @@ void Hal_SetSingleCarrierTx(PADAPTER pAdapter, u8 bStart)
|
|||
void Hal_SetSingleToneTx(PADAPTER pAdapter, u8 bStart)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
BOOLEAN is92C = IS_92C_SERIAL(pHalData->VersionID);
|
||||
bool is92C = IS_92C_SERIAL(pHalData->VersionID);
|
||||
|
||||
u8 rfPath;
|
||||
u32 reg58 = 0x0;
|
||||
|
|
|
@ -83,12 +83,12 @@ phy_CalculateBitShift(
|
|||
}
|
||||
|
||||
#if (SIC_ENABLE == 1)
|
||||
static BOOLEAN
|
||||
static bool
|
||||
sic_IsSICReady(
|
||||
IN PADAPTER Adapter
|
||||
)
|
||||
{
|
||||
BOOLEAN bRet=_FALSE;
|
||||
bool bRet=_FALSE;
|
||||
u32 retryCnt=0;
|
||||
u8 sic_cmd=0xff;
|
||||
|
||||
|
@ -347,7 +347,7 @@ SIC_Init(
|
|||
#endif
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
SIC_LedOff(
|
||||
IN PADAPTER Adapter
|
||||
)
|
||||
|
@ -2334,7 +2334,7 @@ PHY_SetTxPowerLevel8188E(
|
|||
// A mode.
|
||||
// By Bruce, 2008-02-04.
|
||||
//
|
||||
BOOLEAN
|
||||
bool
|
||||
PHY_UpdateTxPowerDbm8188E(
|
||||
IN PADAPTER Adapter,
|
||||
IN int powerInDbm
|
||||
|
@ -2640,7 +2640,7 @@ PHY_SwChnl8188E( // Call after initialization
|
|||
//PADAPTER Adapter = ADJUST_TO_ADAPTIVE_ADAPTER(pAdapter, _TRUE);
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
u8 tmpchannel = pHalData->CurrentChannel;
|
||||
BOOLEAN bResult = _TRUE;
|
||||
bool bResult = _TRUE;
|
||||
|
||||
if (pHalData->rf_chip == RF_PSEUDO_11N)
|
||||
{
|
||||
|
@ -2705,7 +2705,7 @@ PHY_SwChnl8188E( // Call after initialization
|
|||
}
|
||||
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
phy_SwChnlStepByStep(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8 channel,
|
||||
|
@ -2718,7 +2718,7 @@ phy_SwChnlStepByStep(
|
|||
}
|
||||
|
||||
|
||||
static BOOLEAN
|
||||
static bool
|
||||
phy_SetSwChnlCmdArray(
|
||||
SwChnlCmd* CmdTable,
|
||||
u32 CmdTableIdx,
|
||||
|
@ -2812,7 +2812,7 @@ PHY_SwChnlPhy8192C( // Only called during initialize
|
|||
void
|
||||
PHY_SetMonitorMode8192C(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode
|
||||
IN bool bEnableMonitorMode
|
||||
)
|
||||
{
|
||||
}
|
||||
|
@ -2835,13 +2835,13 @@ PHY_SetMonitorMode8192C(
|
|||
* 11/15/2007 MHC Create Version 0.
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
BOOLEAN
|
||||
bool
|
||||
PHY_CheckIsLegalRfPath8192C(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u32 eRFPath)
|
||||
{
|
||||
// HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
BOOLEAN rtValue = _TRUE;
|
||||
bool rtValue = _TRUE;
|
||||
|
||||
// NOt check RF Path now.!
|
||||
return rtValue;
|
||||
|
@ -2850,8 +2850,8 @@ PHY_CheckIsLegalRfPath8192C(
|
|||
|
||||
static void _PHY_SetRFPathSwitch(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bMain,
|
||||
IN BOOLEAN is2T
|
||||
IN bool bMain,
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
u8 u1bTmp;
|
||||
|
@ -2884,9 +2884,9 @@ static void _PHY_SetRFPathSwitch(
|
|||
|
||||
//return value TRUE => Main; FALSE => Aux
|
||||
|
||||
static BOOLEAN _PHY_QueryRFPathSwitch(
|
||||
static bool _PHY_QueryRFPathSwitch(
|
||||
IN PADAPTER pAdapter,
|
||||
IN BOOLEAN is2T
|
||||
IN bool is2T
|
||||
)
|
||||
{
|
||||
// if (is2T)
|
||||
|
|
|
@ -168,7 +168,7 @@ rtl8188e_PHY_RF6052SetCckTxPower(
|
|||
struct mlme_ext_priv *pmlmeext = &Adapter->mlmeextpriv;
|
||||
//PMGNT_INFO pMgntInfo=&Adapter->MgntInfo;
|
||||
u32 TxAGC[2]={0, 0}, tmpval=0,pwrtrac_value;
|
||||
BOOLEAN TurboScanOff = _FALSE;
|
||||
bool TurboScanOff = _FALSE;
|
||||
u8 idx1, idx2;
|
||||
u8* ptr;
|
||||
u8 direction;
|
||||
|
@ -832,7 +832,7 @@ PHY_RFShadowWrite(
|
|||
} /* PHY_RFShadowWrite */
|
||||
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
PHY_RFShadowCompare(
|
||||
IN PADAPTER Adapter,
|
||||
IN RF_RADIO_PATH_E eRFPath,
|
||||
|
|
|
@ -92,14 +92,14 @@ _ConfigNormalChipOutEP_8188E(
|
|||
|
||||
}
|
||||
|
||||
static BOOLEAN HalUsbSetQueuePipeMapping8188EUsb(
|
||||
static bool HalUsbSetQueuePipeMapping8188EUsb(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 NumInPipe,
|
||||
IN u8 NumOutPipe
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
BOOLEAN result = _FALSE;
|
||||
bool result = _FALSE;
|
||||
|
||||
_ConfigNormalChipOutEP_8188E(pAdapter, NumOutPipe);
|
||||
|
||||
|
@ -206,7 +206,7 @@ static void _InitPABias(_adapter *padapter)
|
|||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
u8 pa_setting;
|
||||
BOOLEAN is92C = IS_92C_SERIAL(pHalData->VersionID);
|
||||
bool is92C = IS_92C_SERIAL(pHalData->VersionID);
|
||||
|
||||
//FIXED PA current issue
|
||||
//efuse_one_byte_read(padapter, 0x1FA, &pa_setting);
|
||||
|
@ -391,7 +391,7 @@ _InitQueueReservedPage(
|
|||
u32 numPubQ;
|
||||
u32 value32;
|
||||
u8 value8;
|
||||
BOOLEAN bWiFiConfig = pregistrypriv->wifi_spec;
|
||||
bool bWiFiConfig = pregistrypriv->wifi_spec;
|
||||
|
||||
if (bWiFiConfig)
|
||||
{
|
||||
|
@ -778,7 +778,7 @@ _InitEDCA(
|
|||
static void
|
||||
_InitBeaconMaxError(
|
||||
IN PADAPTER Adapter,
|
||||
IN BOOLEAN InfraMode
|
||||
IN bool InfraMode
|
||||
)
|
||||
{
|
||||
|
||||
|
@ -994,7 +994,7 @@ InitUsbAggregationSetting(
|
|||
void
|
||||
HalRxAggr8188EUsb(
|
||||
IN PADAPTER Adapter,
|
||||
IN BOOLEAN Value
|
||||
IN bool Value
|
||||
)
|
||||
{
|
||||
}
|
||||
|
@ -1065,7 +1065,7 @@ _InitRFType(
|
|||
{
|
||||
struct registry_priv *pregpriv = &Adapter->registrypriv;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
BOOLEAN is92CU = IS_92C_SERIAL(pHalData->VersionID);
|
||||
bool is92CU = IS_92C_SERIAL(pHalData->VersionID);
|
||||
|
||||
#if DISABLE_BB_RF
|
||||
pHalData->rf_chip = RF_PSEUDO_11N;
|
||||
|
@ -1091,8 +1091,8 @@ _InitRFType(
|
|||
static void
|
||||
_BeaconFunctionEnable(
|
||||
IN PADAPTER Adapter,
|
||||
IN BOOLEAN Enable,
|
||||
IN BOOLEAN Linked
|
||||
IN bool Enable,
|
||||
IN bool Linked
|
||||
)
|
||||
{
|
||||
rtw_write8(Adapter, REG_BCN_CTRL, (BIT4 | BIT3 | BIT1));
|
||||
|
@ -1935,7 +1935,7 @@ unsigned int rtl8188eu_inirp_deinit(PADAPTER Adapter)
|
|||
// EEPROM/EFUSE Content Parsing
|
||||
//
|
||||
//-------------------------------------------------------------------
|
||||
static void _ReadIDs(PADAPTER Adapter, u8 *PROMContent, BOOLEAN AutoloadFail)
|
||||
static void _ReadIDs(PADAPTER Adapter, u8 *PROMContent, bool AutoloadFail)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -1943,7 +1943,7 @@ static void
|
|||
_ReadBoardType(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
)
|
||||
{
|
||||
|
||||
|
@ -1954,7 +1954,7 @@ static void
|
|||
_ReadLEDSetting(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
)
|
||||
{
|
||||
struct led_priv *pledpriv = &(Adapter->ledpriv);
|
||||
|
@ -1978,7 +1978,7 @@ static void
|
|||
_ReadThermalMeter(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
)
|
||||
{
|
||||
}
|
||||
|
@ -1987,7 +1987,7 @@ static void
|
|||
_ReadRFSetting(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
)
|
||||
{
|
||||
}
|
||||
|
@ -1996,7 +1996,7 @@ static void
|
|||
_ReadPROMVersion(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8* PROMContent,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
)
|
||||
{
|
||||
}
|
||||
|
@ -2005,7 +2005,7 @@ static void
|
|||
readAntennaDiversity(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 *hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
@ -2025,7 +2025,7 @@ static void
|
|||
Hal_EfuseParsePIDVID_8188EU(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
|
||||
|
@ -2061,7 +2061,7 @@ static void
|
|||
Hal_EfuseParseMACAddr_8188EU(
|
||||
IN PADAPTER padapter,
|
||||
IN u8* hwinfo,
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
)
|
||||
{
|
||||
u16 i, usValue;
|
||||
|
@ -3294,7 +3294,7 @@ _func_enter_;
|
|||
case HW_VAR_ACK_PREAMBLE:
|
||||
{
|
||||
u8 regTmp;
|
||||
u8 bShortPreamble = *( (PBOOLEAN)val );
|
||||
u8 bShortPreamble = *( (bool *)val );
|
||||
// Joseph marked out for Netgear 3500 TKIP channel 7 issue.(Temporarily)
|
||||
regTmp = (pHalData->nCur40MhzPrimeSC)<<5;
|
||||
if (bShortPreamble)
|
||||
|
|
|
@ -250,7 +250,7 @@ void rtl8192c_PHY_GetHWRegOriginalValue( IN PADAPTER Adapter );
|
|||
//
|
||||
// RF Power setting
|
||||
//
|
||||
//extern BOOLEAN PHY_SetRFPowerState(IN PADAPTER Adapter,
|
||||
//extern bool PHY_SetRFPowerState(IN PADAPTER Adapter,
|
||||
// IN RT_RF_POWER_STATE eRFPowerState);
|
||||
|
||||
//
|
||||
|
@ -260,7 +260,7 @@ void PHY_GetTxPowerLevel8188E( IN PADAPTER Adapter,
|
|||
OUT u32* powerlevel );
|
||||
void PHY_SetTxPowerLevel8188E( IN PADAPTER Adapter,
|
||||
IN u8 channel );
|
||||
BOOLEAN PHY_UpdateTxPowerDbm8188E( IN PADAPTER Adapter,
|
||||
bool PHY_UpdateTxPowerDbm8188E( IN PADAPTER Adapter,
|
||||
IN int powerInDbm );
|
||||
|
||||
//
|
||||
|
@ -279,7 +279,7 @@ void PHY_SetBWMode8188E( IN PADAPTER pAdapter,
|
|||
//
|
||||
// Set FW CMD IO for 8192S.
|
||||
//
|
||||
//extern BOOLEAN HalSetIO8192C( IN PADAPTER Adapter,
|
||||
//extern bool HalSetIO8192C( IN PADAPTER Adapter,
|
||||
// IN IO_TYPE IOType);
|
||||
|
||||
//
|
||||
|
@ -306,12 +306,12 @@ void ChkFwCmdIoDone( IN PADAPTER Adapter);
|
|||
// BB/MAC/RF other monitor API
|
||||
//
|
||||
void PHY_SetMonitorMode8192C(IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode );
|
||||
IN bool bEnableMonitorMode );
|
||||
|
||||
BOOLEAN PHY_CheckIsLegalRfPath8192C(IN PADAPTER pAdapter,
|
||||
bool PHY_CheckIsLegalRfPath8192C(IN PADAPTER pAdapter,
|
||||
IN u32 eRFPath );
|
||||
|
||||
void PHY_SetRFPathSwitch_8188E(IN PADAPTER pAdapter, IN BOOLEAN bMain);
|
||||
void PHY_SetRFPathSwitch_8188E(IN PADAPTER pAdapter, IN bool bMain);
|
||||
|
||||
extern void
|
||||
PHY_SwitchEphyParameter(
|
||||
|
@ -323,7 +323,7 @@ PHY_EnableHostClkReq(
|
|||
IN PADAPTER Adapter
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
SetAntennaConfig92C(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8 DefaultAnt
|
||||
|
|
|
@ -291,7 +291,7 @@ void rtl8192c_PHY_GetHWRegOriginalValue( IN PADAPTER Adapter );
|
|||
//
|
||||
// RF Power setting
|
||||
//
|
||||
//extern BOOLEAN PHY_SetRFPowerState(IN PADAPTER Adapter,
|
||||
//extern bool PHY_SetRFPowerState(IN PADAPTER Adapter,
|
||||
// IN RT_RF_POWER_STATE eRFPowerState);
|
||||
|
||||
//
|
||||
|
@ -301,7 +301,7 @@ void PHY_GetTxPowerLevel8192C( IN PADAPTER Adapter,
|
|||
OUT u32* powerlevel );
|
||||
void PHY_SetTxPowerLevel8192C( IN PADAPTER Adapter,
|
||||
IN u8 channel );
|
||||
BOOLEAN PHY_UpdateTxPowerDbm8192C( IN PADAPTER Adapter,
|
||||
bool PHY_UpdateTxPowerDbm8192C( IN PADAPTER Adapter,
|
||||
IN int powerInDbm );
|
||||
|
||||
//
|
||||
|
@ -320,7 +320,7 @@ void PHY_SetBWMode8192C( IN PADAPTER pAdapter,
|
|||
//
|
||||
// Set FW CMD IO for 8192S.
|
||||
//
|
||||
//extern BOOLEAN HalSetIO8192C( IN PADAPTER Adapter,
|
||||
//extern bool HalSetIO8192C( IN PADAPTER Adapter,
|
||||
// IN IO_TYPE IOType);
|
||||
|
||||
//
|
||||
|
@ -347,13 +347,13 @@ void ChkFwCmdIoDone( IN PADAPTER Adapter);
|
|||
// BB/MAC/RF other monitor API
|
||||
//
|
||||
void PHY_SetMonitorMode8192C(IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode );
|
||||
IN bool bEnableMonitorMode );
|
||||
|
||||
BOOLEAN PHY_CheckIsLegalRfPath8192C(IN PADAPTER pAdapter,
|
||||
bool PHY_CheckIsLegalRfPath8192C(IN PADAPTER pAdapter,
|
||||
IN u32 eRFPath );
|
||||
|
||||
|
||||
void rtl8192c_PHY_SetRFPathSwitch(IN PADAPTER pAdapter, IN BOOLEAN bMain);
|
||||
void rtl8192c_PHY_SetRFPathSwitch(IN PADAPTER pAdapter, IN bool bMain);
|
||||
|
||||
//
|
||||
// Modify the value of the hw register when beacon interval be changed.
|
||||
|
@ -373,7 +373,7 @@ PHY_EnableHostClkReq(
|
|||
IN PADAPTER Adapter
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
SetAntennaConfig92C(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8 DefaultAnt
|
||||
|
|
|
@ -344,7 +344,7 @@ void rtl8192d_PHY_GetHWRegOriginalValue( IN PADAPTER Adapter );
|
|||
//
|
||||
// RF Power setting
|
||||
//
|
||||
//extern BOOLEAN PHY_SetRFPowerState(IN PADAPTER Adapter,
|
||||
//extern bool PHY_SetRFPowerState(IN PADAPTER Adapter,
|
||||
// IN RT_RF_POWER_STATE eRFPowerState);
|
||||
|
||||
//
|
||||
|
@ -354,7 +354,7 @@ void PHY_GetTxPowerLevel8192D( IN PADAPTER Adapter,
|
|||
OUT u32* powerlevel );
|
||||
void PHY_SetTxPowerLevel8192D( IN PADAPTER Adapter,
|
||||
IN u8 channel );
|
||||
BOOLEAN PHY_UpdateTxPowerDbm8192D( IN PADAPTER Adapter,
|
||||
bool PHY_UpdateTxPowerDbm8192D( IN PADAPTER Adapter,
|
||||
IN int powerInDbm );
|
||||
|
||||
//
|
||||
|
@ -373,7 +373,7 @@ void PHY_SetBWMode8192D( IN PADAPTER pAdapter,
|
|||
//
|
||||
// Set FW CMD IO for 8192S.
|
||||
//
|
||||
//extern BOOLEAN HalSetIO8192C( IN PADAPTER Adapter,
|
||||
//extern bool HalSetIO8192C( IN PADAPTER Adapter,
|
||||
// IN IO_TYPE IOType);
|
||||
|
||||
//
|
||||
|
@ -401,9 +401,9 @@ extern void ChkFwCmdIoDone( IN PADAPTER Adapter);
|
|||
// BB/MAC/RF other monitor API
|
||||
//
|
||||
void PHY_SetMonitorMode8192D(IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode );
|
||||
IN bool bEnableMonitorMode );
|
||||
|
||||
BOOLEAN PHY_CheckIsLegalRfPath8192D(IN PADAPTER pAdapter,
|
||||
bool PHY_CheckIsLegalRfPath8192D(IN PADAPTER pAdapter,
|
||||
IN u32 eRFPath );
|
||||
|
||||
|
||||
|
@ -425,7 +425,7 @@ PHY_EnableHostClkReq(
|
|||
IN PADAPTER Adapter
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
SetAntennaConfig92C(
|
||||
IN PADAPTER Adapter,
|
||||
IN u8 DefaultAnt
|
||||
|
@ -434,12 +434,12 @@ SetAntennaConfig92C(
|
|||
void
|
||||
PHY_UpdateBBRFConfiguration8192D(
|
||||
IN PADAPTER Adapter,
|
||||
IN BOOLEAN bisBandSwitch
|
||||
IN bool bisBandSwitch
|
||||
);
|
||||
|
||||
void PHY_ReadMacPhyMode92D(
|
||||
IN PADAPTER Adapter,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
);
|
||||
|
||||
void PHY_ConfigMacPhyMode92D(
|
||||
|
@ -461,12 +461,12 @@ rtl8192d_PHY_InitRxSetting(
|
|||
|
||||
|
||||
void
|
||||
rtl8192d_PHY_SetRFPathSwitch(IN PADAPTER pAdapter, IN BOOLEAN bMain);
|
||||
rtl8192d_PHY_SetRFPathSwitch(IN PADAPTER pAdapter, IN bool bMain);
|
||||
|
||||
void
|
||||
HalChangeCCKStatus8192D(
|
||||
IN PADAPTER Adapter,
|
||||
IN BOOLEAN bCCKDisable
|
||||
IN bool bCCKDisable
|
||||
);
|
||||
|
||||
void
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef __INC_BB_8188E_HW_IMG_H
|
||||
#define __INC_BB_8188E_HW_IMG_H
|
||||
|
||||
//static BOOLEAN CheckCondition(const u4Byte Condition, const u4Byte Hex);
|
||||
//static bool CheckCondition(const u4Byte Condition, const u4Byte Hex);
|
||||
|
||||
/******************************************************************************
|
||||
* AGC_TAB_1T.TXT
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef __INC_MAC_8188E_HW_IMG_H
|
||||
#define __INC_MAC_8188E_HW_IMG_H
|
||||
|
||||
//static BOOLEAN CheckCondition(const u4Byte Condition, const u4Byte Hex);
|
||||
//static bool CheckCondition(const u4Byte Condition, const u4Byte Hex);
|
||||
|
||||
/******************************************************************************
|
||||
* MAC_REG.TXT
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef __INC_RF_8188E_HW_IMG_H
|
||||
#define __INC_RF_8188E_HW_IMG_H
|
||||
|
||||
//static BOOLEAN CheckCondition(const u4Byte Condition, const u4Byte Hex);
|
||||
//static bool CheckCondition(const u4Byte Condition, const u4Byte Hex);
|
||||
|
||||
/******************************************************************************
|
||||
* RadioA_1T.TXT
|
||||
|
|
|
@ -30,14 +30,14 @@
|
|||
//
|
||||
|
||||
void PHY_SetMonitorMode8192C(IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode );
|
||||
IN bool bEnableMonitorMode );
|
||||
|
||||
//
|
||||
// IQ calibrate
|
||||
//
|
||||
void
|
||||
PHY_IQCalibrate_8192C( IN PADAPTER pAdapter,
|
||||
IN BOOLEAN bReCovery);
|
||||
IN bool bReCovery);
|
||||
|
||||
//
|
||||
// LC calibrate
|
||||
|
|
|
@ -55,7 +55,7 @@ PHY_IQCalibrate_8188E(
|
|||
#else
|
||||
IN PADAPTER Adapter,
|
||||
#endif
|
||||
IN BOOLEAN bReCovery);
|
||||
IN bool bReCovery);
|
||||
|
||||
|
||||
//
|
||||
|
@ -105,8 +105,8 @@ _PHY_PathADDAOn(
|
|||
IN PADAPTER pAdapter,
|
||||
#endif
|
||||
IN pu4Byte ADDAReg,
|
||||
IN BOOLEAN isPathAOn,
|
||||
IN BOOLEAN is2T
|
||||
IN bool isPathAOn,
|
||||
IN bool is2T
|
||||
);
|
||||
|
||||
void
|
||||
|
|
|
@ -321,6 +321,4 @@
|
|||
// Get the N-bytes aligment offset from the current length
|
||||
#define N_BYTE_ALIGMENT(__Value, __Aligment) ((__Aligment == 1) ? (__Value) : (((__Value + __Aligment - 1) / __Aligment) * __Aligment))
|
||||
|
||||
typedef unsigned char BOOLEAN,*PBOOLEAN;
|
||||
|
||||
#endif //__BASIC_TYPES_H__
|
||||
|
|
|
@ -183,7 +183,7 @@ struct registry_priv
|
|||
u8 bt_sco;
|
||||
u8 bt_ampdu;
|
||||
#endif
|
||||
BOOLEAN bAcceptAddbaReq;
|
||||
bool bAcceptAddbaReq;
|
||||
|
||||
u8 antdiv_cfg;
|
||||
u8 antdiv_type;
|
||||
|
|
|
@ -44,7 +44,7 @@ typedef struct _MP_REG_ENTRY
|
|||
{
|
||||
|
||||
NDIS_STRING RegName; // variable name text
|
||||
BOOLEAN bRequired; // 1 -> required, 0 -> optional
|
||||
bool bRequired; // 1 -> required, 0 -> optional
|
||||
|
||||
u8 Type; // NdisParameterInteger/NdisParameterHexInteger/NdisParameterStringle/NdisParameterMultiString
|
||||
uint FieldOffset; // offset to MP_ADAPTER field
|
||||
|
|
|
@ -61,7 +61,7 @@ typedef struct sdio_data
|
|||
SD_DEVICE_HANDLE hDevice;
|
||||
SD_CARD_RCA sd_rca;
|
||||
SD_CARD_INTERFACE card_intf;
|
||||
BOOLEAN enableIsarWithStatus;
|
||||
bool enableIsarWithStatus;
|
||||
WCHAR active_path[MAX_ACTIVE_REG_PATH];
|
||||
SD_HOST_BLOCK_CAPABILITY sd_host_blk_cap;
|
||||
#endif
|
||||
|
|
|
@ -65,7 +65,7 @@ typedef struct _MP_REG_ENTRY
|
|||
{
|
||||
|
||||
NDIS_STRING RegName; // variable name text
|
||||
BOOLEAN bRequired; // 1 -> required, 0 -> optional
|
||||
bool bRequired; // 1 -> required, 0 -> optional
|
||||
|
||||
u8 Type; // NdisParameterInteger/NdisParameterHexInteger/NdisParameterStringle/NdisParameterMultiString
|
||||
uint FieldOffset; // offset to MP_ADAPTER field
|
||||
|
|
|
@ -157,7 +157,7 @@ hal_com_get_channel_plan(
|
|||
IN u8 hw_channel_plan, //channel plan from HW (efuse/eeprom)
|
||||
IN u8 sw_channel_plan, //channel plan from SW (registry/module param)
|
||||
IN u8 def_channel_plan, //channel plan used when the former two is invalid
|
||||
IN BOOLEAN AutoLoadFail
|
||||
IN bool AutoLoadFail
|
||||
);
|
||||
|
||||
u8 MRateToHwRate(u8 rate);
|
||||
|
@ -167,7 +167,7 @@ void HalSetBrateCfg(
|
|||
IN u8 *mBratesOS,
|
||||
OUT u16 *pBrateCfg);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
Hal_MappingOutPipe(
|
||||
IN PADAPTER pAdapter,
|
||||
IN u8 NumOutPipe
|
||||
|
|
|
@ -198,8 +198,8 @@ struct hal_ops {
|
|||
u8 (*GetHalDefVarHandler)(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
u8 (*SetHalDefVarHandler)(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
|
||||
void (*GetHalODMVarHandler)(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void (*SetHalODMVarHandler)(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void (*GetHalODMVarHandler)(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
void (*SetHalODMVarHandler)(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
|
||||
void (*UpdateRAMaskHandler)(_adapter *padapter, u32 mac_id, u8 rssi_level);
|
||||
void (*SetBeaconRelatedRegistersHandler)(_adapter *padapter);
|
||||
|
@ -230,13 +230,13 @@ struct hal_ops {
|
|||
#endif
|
||||
|
||||
void (*EfusePowerSwitch)(_adapter *padapter, u8 bWrite, u8 PwrState);
|
||||
void (*ReadEFuse)(_adapter *padapter, u8 efuseType, u16 _offset, u16 _size_byte, u8 *pbuf, BOOLEAN bPseudoTest);
|
||||
void (*EFUSEGetEfuseDefinition)(_adapter *padapter, u8 efuseType, u8 type, void *pOut, BOOLEAN bPseudoTest);
|
||||
u16 (*EfuseGetCurrentSize)(_adapter *padapter, u8 efuseType, BOOLEAN bPseudoTest);
|
||||
int (*Efuse_PgPacketRead)(_adapter *padapter, u8 offset, u8 *data, BOOLEAN bPseudoTest);
|
||||
int (*Efuse_PgPacketWrite)(_adapter *padapter, u8 offset, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
u8 (*Efuse_WordEnableDataWrite)(_adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
BOOLEAN (*Efuse_PgPacketWrite_BT)(_adapter *padapter, u8 offset, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
void (*ReadEFuse)(_adapter *padapter, u8 efuseType, u16 _offset, u16 _size_byte, u8 *pbuf, bool bPseudoTest);
|
||||
void (*EFUSEGetEfuseDefinition)(_adapter *padapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest);
|
||||
u16 (*EfuseGetCurrentSize)(_adapter *padapter, u8 efuseType, bool bPseudoTest);
|
||||
int (*Efuse_PgPacketRead)(_adapter *padapter, u8 offset, u8 *data, bool bPseudoTest);
|
||||
int (*Efuse_PgPacketWrite)(_adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
u8 (*Efuse_WordEnableDataWrite)(_adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
bool (*Efuse_PgPacketWrite_BT)(_adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
|
||||
#ifdef DBG_CONFIG_ERROR_DETECT
|
||||
void (*sreset_init_value)(_adapter *padapter);
|
||||
|
@ -398,8 +398,8 @@ void rtw_hal_read_chip_version(_adapter *padapter);
|
|||
u8 rtw_hal_set_def_var(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
u8 rtw_hal_get_def_var(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
|
||||
void rtw_hal_set_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void rtw_hal_get_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void rtw_hal_set_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
void rtw_hal_get_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
|
||||
void rtw_hal_enable_interrupt(_adapter *padapter);
|
||||
void rtw_hal_disable_interrupt(_adapter *padapter);
|
||||
|
|
142
include/odm.h
142
include/odm.h
|
@ -182,8 +182,8 @@ typedef struct _Dynamic_Initial_Gain_Threshold_
|
|||
|
||||
u1Byte DIG_Dynamic_MIN_0;
|
||||
u1Byte DIG_Dynamic_MIN_1;
|
||||
BOOLEAN bMediaConnect_0;
|
||||
BOOLEAN bMediaConnect_1;
|
||||
bool bMediaConnect_0;
|
||||
bool bMediaConnect_1;
|
||||
|
||||
u4Byte AntDiv_RSSI_max;
|
||||
u4Byte RSSI_max;
|
||||
|
@ -238,8 +238,8 @@ typedef struct _RX_High_Power_
|
|||
u1Byte Cur_IGI;
|
||||
u1Byte Pre_pw_th;
|
||||
u1Byte Cur_pw_th;
|
||||
BOOLEAN First_time_enter;
|
||||
BOOLEAN RXHP_enable;
|
||||
bool First_time_enter;
|
||||
bool RXHP_enable;
|
||||
u1Byte TP_Mode;
|
||||
RT_TIMER PSDTimer;
|
||||
#if (DM_ODM_SUPPORT_TYPE == ODM_MP)
|
||||
|
@ -294,8 +294,8 @@ typedef struct _SW_Antenna_Switch_
|
|||
// Before link Antenna Switch check
|
||||
u1Byte SWAS_NoLink_State;
|
||||
u4Byte SWAS_NoLink_BK_Reg860;
|
||||
BOOLEAN ANTA_ON; //To indicate Ant A is or not
|
||||
BOOLEAN ANTB_ON; //To indicate Ant B is on or not
|
||||
bool ANTA_ON; //To indicate Ant A is or not
|
||||
bool ANTB_ON; //To indicate Ant B is on or not
|
||||
|
||||
s4Byte RSSI_sum_A;
|
||||
s4Byte RSSI_sum_B;
|
||||
|
@ -351,8 +351,8 @@ typedef struct _SW_Antenna_Switch_
|
|||
|
||||
typedef struct _EDCA_TURBO_
|
||||
{
|
||||
BOOLEAN bCurrentTurboEDCA;
|
||||
BOOLEAN bIsCurRDLState;
|
||||
bool bCurrentTurboEDCA;
|
||||
bool bIsCurRDLState;
|
||||
#if (DM_ODM_SUPPORT_TYPE == ODM_CE)
|
||||
u4Byte prv_traffic_idx; // edca turbo
|
||||
#endif
|
||||
|
@ -462,9 +462,9 @@ typedef struct _ODM_Per_Pkt_Info_
|
|||
{
|
||||
u1Byte Rate;
|
||||
u1Byte StationID;
|
||||
BOOLEAN bPacketMatchBSSID;
|
||||
BOOLEAN bPacketToSelf;
|
||||
BOOLEAN bPacketBeacon;
|
||||
bool bPacketMatchBSSID;
|
||||
bool bPacketToSelf;
|
||||
bool bPacketBeacon;
|
||||
}ODM_PACKET_INFO_T,*PODM_PACKET_INFO_T;
|
||||
|
||||
typedef struct _ODM_Mac_Status_Info_
|
||||
|
@ -498,7 +498,7 @@ typedef enum tag_Dynamic_ODM_Support_Ability_Type
|
|||
#if 1
|
||||
typedef struct _ODM_STA_INFO{
|
||||
// Driver Write
|
||||
BOOLEAN bUsed; // record the sta status link or not?
|
||||
bool bUsed; // record the sta status link or not?
|
||||
//u1Byte WirelessMode; //
|
||||
u1Byte IOTPeer; // Enum value. HT_IOT_PEER_E
|
||||
|
||||
|
@ -871,7 +871,7 @@ typedef struct _ODM_RA_Info_
|
|||
} ODM_RA_INFO_T,*PODM_RA_INFO_T;
|
||||
|
||||
typedef struct _IQK_MATRIX_REGS_SETTING{
|
||||
BOOLEAN bIQKDone;
|
||||
bool bIQKDone;
|
||||
s4Byte Value[1][IQK_Matrix_REG_NUM];
|
||||
}IQK_MATRIX_REGS_SETTING,*PIQK_MATRIX_REGS_SETTING;
|
||||
|
||||
|
@ -912,8 +912,8 @@ typedef struct ODM_RF_Calibration_Structure
|
|||
|
||||
//u1Byte bTXPowerTracking;
|
||||
u1Byte TXPowercount;
|
||||
BOOLEAN bTXPowerTrackingInit;
|
||||
BOOLEAN bTXPowerTracking;
|
||||
bool bTXPowerTrackingInit;
|
||||
bool bTXPowerTracking;
|
||||
u1Byte TxPowerTrackControl; //for mp mode, turn off txpwrtracking as default
|
||||
u1Byte TM_Trigger;
|
||||
u1Byte InternalPA5G[2]; //pathA / pathB
|
||||
|
@ -929,17 +929,17 @@ typedef struct ODM_RF_Calibration_Structure
|
|||
u1Byte ThermalValue_Crystal;
|
||||
u1Byte ThermalValue_DPKstore;
|
||||
u1Byte ThermalValue_DPKtrack;
|
||||
BOOLEAN TxPowerTrackingInProgress;
|
||||
BOOLEAN bDPKenable;
|
||||
bool TxPowerTrackingInProgress;
|
||||
bool bDPKenable;
|
||||
|
||||
BOOLEAN bReloadtxpowerindex;
|
||||
bool bReloadtxpowerindex;
|
||||
u1Byte bRfPiEnable;
|
||||
u4Byte TXPowerTrackingCallbackCnt; //cosa add for debug
|
||||
|
||||
u1Byte bCCKinCH14;
|
||||
u1Byte CCK_index;
|
||||
u1Byte OFDM_index[2];
|
||||
BOOLEAN bDoneTxpower;
|
||||
bool bDoneTxpower;
|
||||
|
||||
u1Byte ThermalValue_HP[HP_THERMAL_NUM];
|
||||
u1Byte ThermalValue_HP_index;
|
||||
|
@ -958,9 +958,9 @@ typedef struct ODM_RF_Calibration_Structure
|
|||
u4Byte Reg860;
|
||||
u4Byte Reg864;
|
||||
|
||||
BOOLEAN bIQKInitialized;
|
||||
BOOLEAN bLCKInProgress;
|
||||
BOOLEAN bAntennaDetected;
|
||||
bool bIQKInitialized;
|
||||
bool bLCKInProgress;
|
||||
bool bAntennaDetected;
|
||||
u4Byte ADDA_backup[IQK_ADDA_REG_NUM];
|
||||
u4Byte IQK_MAC_backup[IQK_MAC_REG_NUM];
|
||||
u4Byte IQK_BB_backup_recover[9];
|
||||
|
@ -997,7 +997,7 @@ typedef struct _FAST_ANTENNA_TRAINNING_
|
|||
u4Byte MainAnt_Cnt[ODM_ASSOCIATE_ENTRY_NUM];
|
||||
u4Byte AuxAnt_Cnt[ODM_ASSOCIATE_ENTRY_NUM];
|
||||
u1Byte RxIdleAnt;
|
||||
BOOLEAN bBecomeLinked;
|
||||
bool bBecomeLinked;
|
||||
|
||||
}FAT_T,*pFAT_T;
|
||||
|
||||
|
@ -1049,7 +1049,7 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
PADAPTER Adapter; // For CE/NIC team
|
||||
prtl8192cd_priv priv; // For AP/ADSL team
|
||||
// WHen you use Adapter or priv pointer, you must make sure the pointer is ready.
|
||||
BOOLEAN odm_ready;
|
||||
bool odm_ready;
|
||||
|
||||
#if (DM_ODM_SUPPORT_TYPE & (ODM_CE|ODM_MP))
|
||||
rtl8192cd_priv fake_priv;
|
||||
|
@ -1063,20 +1063,20 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
u4Byte DebugLevel;
|
||||
|
||||
//------ ODM HANDLE, DRIVER NEEDS NOT TO HOOK------//
|
||||
BOOLEAN bCckHighPower;
|
||||
bool bCckHighPower;
|
||||
u1Byte RFPathRxEnable; // ODM_CMNINFO_RFPATH_ENABLE
|
||||
u1Byte ControlChannel;
|
||||
//------ ODM HANDLE, DRIVER NEEDS NOT TO HOOK------//
|
||||
|
||||
//--------REMOVED COMMON INFO----------//
|
||||
//u1Byte PseudoMacPhyMode;
|
||||
//BOOLEAN *BTCoexist;
|
||||
//BOOLEAN PseudoBtCoexist;
|
||||
//bool *BTCoexist;
|
||||
//bool PseudoBtCoexist;
|
||||
//u1Byte OPMode;
|
||||
//BOOLEAN bAPMode;
|
||||
//BOOLEAN bClientMode;
|
||||
//BOOLEAN bAdHocMode;
|
||||
//BOOLEAN bSlaveOfDMSP;
|
||||
//bool bAPMode;
|
||||
//bool bClientMode;
|
||||
//bool bAdHocMode;
|
||||
//bool bSlaveOfDMSP;
|
||||
//--------REMOVED COMMON INFO----------//
|
||||
|
||||
|
||||
|
@ -1109,10 +1109,10 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
// with external TRSW NO/Yes = 0/1
|
||||
u1Byte ExtTRSW;
|
||||
u1Byte PatchID; //Customer ID
|
||||
BOOLEAN bInHctTest;
|
||||
BOOLEAN bWIFITest;
|
||||
bool bInHctTest;
|
||||
bool bWIFITest;
|
||||
|
||||
BOOLEAN bDualMacSmartConcurrent;
|
||||
bool bDualMacSmartConcurrent;
|
||||
u4Byte BK_SupportAbility;
|
||||
u1Byte AntDivType;
|
||||
//-----------HOOK BEFORE REG INIT-----------//
|
||||
|
@ -1123,7 +1123,7 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
//--------- POINTER REFERENCE-----------//
|
||||
|
||||
u1Byte u1Byte_temp;
|
||||
BOOLEAN BOOLEAN_temp;
|
||||
bool bool_temp;
|
||||
PADAPTER PADAPTER_temp;
|
||||
|
||||
// MAC PHY Mode SMSP/DMSP/DMDP = 0/1/2
|
||||
|
@ -1146,33 +1146,33 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
u1Byte *pChannel; //central channel number
|
||||
// Common info for 92D DMSP
|
||||
|
||||
BOOLEAN *pbGetValueFromOtherMac;
|
||||
bool *pbGetValueFromOtherMac;
|
||||
PADAPTER *pBuddyAdapter;
|
||||
BOOLEAN *pbMasterOfDMSP; //MAC0: master, MAC1: slave
|
||||
bool *pbMasterOfDMSP; //MAC0: master, MAC1: slave
|
||||
// Common info for Status
|
||||
BOOLEAN *pbScanInProcess;
|
||||
BOOLEAN *pbPowerSaving;
|
||||
bool *pbScanInProcess;
|
||||
bool *pbPowerSaving;
|
||||
// CCA Path 2-path/path-A/path-B = 0/1/2; using ODM_CCA_PATH_E.
|
||||
u1Byte *pOnePathCCA;
|
||||
//pMgntInfo->AntennaTest
|
||||
u1Byte *pAntennaTest;
|
||||
BOOLEAN *pbNet_closed;
|
||||
bool *pbNet_closed;
|
||||
//--------- POINTER REFERENCE-----------//
|
||||
//
|
||||
//------------CALL BY VALUE-------------//
|
||||
BOOLEAN bWIFI_Direct;
|
||||
BOOLEAN bWIFI_Display;
|
||||
BOOLEAN bLinked;
|
||||
bool bWIFI_Direct;
|
||||
bool bWIFI_Display;
|
||||
bool bLinked;
|
||||
u1Byte RSSI_Min;
|
||||
u1Byte InterfaceIndex; // Add for 92D dual MAC: 0--Mac0 1--Mac1
|
||||
BOOLEAN bIsMPChip;
|
||||
BOOLEAN bOneEntryOnly;
|
||||
bool bIsMPChip;
|
||||
bool bOneEntryOnly;
|
||||
// Common info for BTDM
|
||||
BOOLEAN bBtDisabled; // BT is disabled
|
||||
BOOLEAN bBtHsOperation; // BT HS mode is under progress
|
||||
bool bBtDisabled; // BT is disabled
|
||||
bool bBtHsOperation; // BT HS mode is under progress
|
||||
u1Byte btHsDigVal; // use BT rssi to decide the DIG value
|
||||
BOOLEAN bBtDisableEdcaTurbo; // Under some condition, don't enable the EDCA Turbo
|
||||
BOOLEAN bBtBusy; // BT is busy.
|
||||
bool bBtDisableEdcaTurbo; // Under some condition, don't enable the EDCA Turbo
|
||||
bool bBtBusy; // BT is busy.
|
||||
//------------CALL BY VALUE-------------//
|
||||
|
||||
//2 Define STA info.
|
||||
|
@ -1188,7 +1188,7 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
// 2012/02/14 MH Add to share 88E ra with other SW team.
|
||||
// We need to colelct all support abilit to a proper area.
|
||||
//
|
||||
BOOLEAN RaSupport88E;
|
||||
bool RaSupport88E;
|
||||
|
||||
// Define ...........
|
||||
|
||||
|
@ -1219,7 +1219,7 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
FALSE_ALARM_STATISTICS FlaseAlmCntBuddyAdapter;
|
||||
//#ifdef CONFIG_ANTENNA_DIVERSITY
|
||||
SWAT_T DM_SWAT_Table;
|
||||
BOOLEAN RSSI_test;
|
||||
bool RSSI_test;
|
||||
//#endif
|
||||
|
||||
#if (DM_ODM_SUPPORT_TYPE & ODM_MP)
|
||||
|
@ -1245,16 +1245,16 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
//u8 AntDivCfg;// 0:OFF , 1:ON, 2:by efuse
|
||||
//PSTA_INFO_T RSSI_target;
|
||||
|
||||
BOOLEAN *pbDriverStopped;
|
||||
BOOLEAN *pbDriverIsGoingToPnpSetPowerSleep;
|
||||
BOOLEAN *pinit_adpt_in_progress;
|
||||
bool *pbDriverStopped;
|
||||
bool *pbDriverIsGoingToPnpSetPowerSleep;
|
||||
bool *pinit_adpt_in_progress;
|
||||
|
||||
//PSD
|
||||
BOOLEAN bUserAssignLevel;
|
||||
bool bUserAssignLevel;
|
||||
RT_TIMER PSDTimer;
|
||||
u1Byte RSSI_BT; //come from BT
|
||||
BOOLEAN bPSDinProcess;
|
||||
BOOLEAN bDMInitialGainEnable;
|
||||
bool bPSDinProcess;
|
||||
bool bDMInitialGainEnable;
|
||||
|
||||
//for rate adaptive, in fact, 88c/92c fw will handle this
|
||||
u1Byte bUseRAMask;
|
||||
|
@ -1270,11 +1270,11 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
|||
u1Byte BbSwingIdxOfdm;
|
||||
u1Byte BbSwingIdxOfdmCurrent;
|
||||
u1Byte BbSwingIdxOfdmBase;
|
||||
BOOLEAN BbSwingFlagOfdm;
|
||||
bool BbSwingFlagOfdm;
|
||||
u1Byte BbSwingIdxCck;
|
||||
u1Byte BbSwingIdxCckCurrent;
|
||||
u1Byte BbSwingIdxCckBase;
|
||||
BOOLEAN BbSwingFlagCck;
|
||||
bool BbSwingFlagCck;
|
||||
u1Byte *mp_mode;
|
||||
//
|
||||
// ODM system resource.
|
||||
|
@ -1578,11 +1578,11 @@ ODM_TXPowerTrackingCheck(
|
|||
IN PDM_ODM_T pDM_Odm
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_RAStateCheck(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN s4Byte RSSI,
|
||||
IN BOOLEAN bForceUpdate,
|
||||
IN bool bForceUpdate,
|
||||
OUT pu1Byte pRATRState
|
||||
);
|
||||
|
||||
|
@ -1601,7 +1601,7 @@ ODM_ChangeDynamicInitGainThresh(
|
|||
IN u4Byte DM_Value
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_CheckPowerStatus(
|
||||
IN PADAPTER Adapter
|
||||
);
|
||||
|
@ -1626,7 +1626,7 @@ ODM_IotEdcaSwitch(
|
|||
);
|
||||
#endif
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_ChooseIotMainSTA(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN PSTA_INFO_T pstat
|
||||
|
@ -1648,7 +1648,7 @@ void ODM_SwAntDivResetBeforeLink(IN PDM_ODM_T pDM_Odm);
|
|||
|
||||
//#define SwAntDivCheckBeforeLink8192C ODM_SwAntDivCheckBeforeLink8192C
|
||||
#define SwAntDivCheckBeforeLink ODM_SwAntDivCheckBeforeLink8192C
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_SwAntDivCheckBeforeLink8192C(
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
);
|
||||
|
@ -1811,8 +1811,8 @@ void ODM_PathDivRestAfterLink(
|
|||
|
||||
#define dm_PathDiv_RSSI_Check ODM_PathDivChkPerPktRssi
|
||||
void ODM_PathDivChkPerPktRssi(PADAPTER Adapter,
|
||||
BOOLEAN bIsDefPort,
|
||||
BOOLEAN bMatchBSSID,
|
||||
bool bIsDefPort,
|
||||
bool bMatchBSSID,
|
||||
PRT_WLAN_STA pEntry,
|
||||
PRT_RFD pRfd );
|
||||
|
||||
|
@ -1836,7 +1836,7 @@ PlatformDivision64(
|
|||
//====================================================
|
||||
|
||||
#define PathDivCheckBeforeLink8192C ODM_PathDiversityBeforeLink92C
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_PathDiversityBeforeLink92C(
|
||||
//IN PADAPTER Adapter
|
||||
IN PDM_ODM_T pDM_Odm
|
||||
|
@ -1852,8 +1852,8 @@ ODM_PathDiversityBeforeLink92C(
|
|||
void
|
||||
ODM_CCKPathDiversityChkPerPktRssi(
|
||||
PADAPTER Adapter,
|
||||
BOOLEAN bIsDefPort,
|
||||
BOOLEAN bMatchBSSID,
|
||||
bool bIsDefPort,
|
||||
bool bMatchBSSID,
|
||||
PRT_WLAN_STA pEntry,
|
||||
PRT_RFD pRfd,
|
||||
pu1Byte pDesc
|
||||
|
@ -1912,7 +1912,7 @@ ODM_AntselStatistics_88C(
|
|||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u1Byte MacId,
|
||||
IN u4Byte PWDBAll,
|
||||
IN BOOLEAN isCCKrate
|
||||
IN bool isCCKrate
|
||||
);
|
||||
|
||||
#if ( DM_ODM_SUPPORT_TYPE & (ODM_MP |ODM_CE))
|
||||
|
@ -1922,7 +1922,7 @@ ODM_SingleDualAntennaDefaultSetting(
|
|||
IN PDM_ODM_T pDM_Odm
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_SingleDualAntennaDetection(
|
||||
IN PDM_ODM_T pDM_Odm,
|
||||
IN u1Byte mode
|
||||
|
|
|
@ -166,9 +166,9 @@ ODM_MacStatusQuery(
|
|||
IN OUT PDM_ODM_T pDM_Odm,
|
||||
IN pu1Byte pMacStatus,
|
||||
IN u1Byte MacID,
|
||||
IN BOOLEAN bPacketMatchBSSID,
|
||||
IN BOOLEAN bPacketToSelf,
|
||||
IN BOOLEAN bPacketBeacon
|
||||
IN bool bPacketMatchBSSID,
|
||||
IN bool bPacketToSelf,
|
||||
IN bool bPacketBeacon
|
||||
);
|
||||
#if (DM_ODM_SUPPORT_TYPE & (ODM_MP|ODM_CE|ODM_AP))
|
||||
HAL_STATUS
|
||||
|
|
|
@ -97,7 +97,7 @@ void
|
|||
odm_PrimaryCCA_Init(
|
||||
IN PDM_ODM_T pDM_Odm);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ODM_DynamicPrimaryCCA_DupRTS(
|
||||
IN PDM_ODM_T pDM_Odm);
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ typedef enum _RT_SPINLOCK_TYPE{
|
|||
#include "../typedef.h"
|
||||
#else
|
||||
typedef void void,*void *;
|
||||
typedef unsigned char BOOLEAN,*PBOOLEAN;
|
||||
typedef unsigned char bool,*bool *;
|
||||
typedef unsigned char u1Byte,*pu1Byte;
|
||||
typedef unsigned short u2Byte,*pu2Byte;
|
||||
typedef unsigned int u4Byte,*pu4Byte;
|
||||
|
@ -146,7 +146,7 @@ typedef enum _RT_SPINLOCK_TYPE{
|
|||
#define ADSL_BUILD_WORKAROUND
|
||||
//
|
||||
|
||||
typedef unsigned char BOOLEAN,*PBOOLEAN;
|
||||
typedef unsigned char bool,*bool *;
|
||||
typedef unsigned char u1Byte,*pu1Byte;
|
||||
typedef unsigned short u2Byte,*pu2Byte;
|
||||
typedef unsigned int u4Byte,*pu4Byte;
|
||||
|
|
|
@ -421,7 +421,7 @@ typedef struct hal_data_8188e
|
|||
u8 EEPROMThermalMeter;
|
||||
u8 bAPKThermalMeterIgnore;
|
||||
|
||||
BOOLEAN EepromOrEfuse;
|
||||
bool EepromOrEfuse;
|
||||
u8 EfuseMap[2][HWSET_MAX_SIZE_512]; //92C:256bytes, 88E:512bytes, we use union set (512bytes)
|
||||
u8 EfuseUsedPercentage;
|
||||
EFUSE_HAL EfuseHal;
|
||||
|
@ -484,7 +484,7 @@ typedef struct hal_data_8188e
|
|||
u32 RfRegChnlVal[2];
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
//for host message to fw
|
||||
u8 LastHMEBoxNum;
|
||||
|
@ -518,7 +518,7 @@ typedef struct hal_data_8188e
|
|||
u8 FwRsvdPageStartOffset; //2010.06.23. Added by tynli. Reserve page start offset except beacon in TxQ.
|
||||
|
||||
// 2010/08/09 MH Add CU power down mode.
|
||||
BOOLEAN pwrdown;
|
||||
bool pwrdown;
|
||||
|
||||
// Add for dual MAC 0--Mac0 1--Mac1
|
||||
u32 interfaceIndex;
|
||||
|
@ -527,11 +527,11 @@ typedef struct hal_data_8188e
|
|||
u8 OutEpNumber;
|
||||
|
||||
// 2010/12/10 MH Add for USB aggreation mode dynamic shceme.
|
||||
BOOLEAN UsbRxHighSpeedMode;
|
||||
bool UsbRxHighSpeedMode;
|
||||
|
||||
// 2010/11/22 MH Add for slim combo debug mode selective.
|
||||
// This is used for fix the drawback of CU TSMC-A/UMC-A cut. HW auto suspend ability. Close BT clock.
|
||||
BOOLEAN SlimComboDbg;
|
||||
bool SlimComboDbg;
|
||||
|
||||
u16 EfuseUsedBytes;
|
||||
|
||||
|
@ -650,7 +650,7 @@ void UpdateInterruptMask8188EE(PADAPTER Adapter, u32 AddMSR, u32 AddMSR1, u32 Re
|
|||
|
||||
// rtl8188e_hal_init.c
|
||||
#ifdef CONFIG_WOWLAN
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter, BOOLEAN bUsedWoWLANFw);
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter, bool bUsedWoWLANFw);
|
||||
#else
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter);
|
||||
#endif
|
||||
|
@ -664,30 +664,30 @@ s32 InitLLTTable(PADAPTER padapter, u8 txpktbuf_bndy);
|
|||
u8 GetEEPROMSize8188E(PADAPTER padapter);
|
||||
void Hal_InitPGData88E(PADAPTER padapter);
|
||||
void Hal_EfuseParseIDCode88E(PADAPTER padapter, u8 *hwinfo);
|
||||
void Hal_ReadTxPowerInfo88E(PADAPTER padapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadTxPowerInfo88E(PADAPTER padapter,u8* hwinfo,bool AutoLoadFail);
|
||||
|
||||
void Hal_EfuseParseEEPROMVer88E(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void rtl8188e_EfuseParseChnlPlan(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseCustomerID88E(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadAntennaDiversity88E (PADAPTER pAdapter,u8*PROMContent,BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadThermalMeter_88E(PADAPTER Adapter,u8* PROMContent,BOOLEAN AutoloadFail);
|
||||
void Hal_EfuseParseXtal_8188E(PADAPTER pAdapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseBoardType88E(PADAPTER pAdapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadPowerSavingMode88E(PADAPTER pAdapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseEEPROMVer88E(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void rtl8188e_EfuseParseChnlPlan(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_EfuseParseCustomerID88E(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_ReadAntennaDiversity88E (PADAPTER pAdapter,u8*PROMContent,bool AutoLoadFail);
|
||||
void Hal_ReadThermalMeter_88E(PADAPTER Adapter,u8* PROMContent,bool AutoloadFail);
|
||||
void Hal_EfuseParseXtal_8188E(PADAPTER pAdapter,u8* hwinfo,bool AutoLoadFail);
|
||||
void Hal_EfuseParseBoardType88E(PADAPTER pAdapter,u8* hwinfo,bool AutoLoadFail);
|
||||
void Hal_ReadPowerSavingMode88E(PADAPTER pAdapter,u8* hwinfo,bool AutoLoadFail);
|
||||
|
||||
BOOLEAN HalDetectPwrDownMode88E(PADAPTER Adapter);
|
||||
bool HalDetectPwrDownMode88E(PADAPTER Adapter);
|
||||
|
||||
#ifdef CONFIG_WOWLAN
|
||||
void Hal_DetectWoWMode(PADAPTER pAdapter);
|
||||
#endif //CONFIG_WOWLAN
|
||||
|
||||
#ifdef CONFIG_RF_GAIN_OFFSET
|
||||
void Hal_ReadRFGainOffset(PADAPTER pAdapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadRFGainOffset(PADAPTER pAdapter,u8* hwinfo,bool AutoLoadFail);
|
||||
#endif //CONFIG_RF_GAIN_OFFSET
|
||||
|
||||
//RT_CHANNEL_DOMAIN rtl8723a_HalMapChannelPlan(PADAPTER padapter, u8 HalChannelPlan);
|
||||
//VERSION_8192C rtl8723a_ReadChipVersion(PADAPTER padapter);
|
||||
//void rtl8723a_ReadBluetoothCoexistInfo(PADAPTER padapter, u8 *PROMContent, BOOLEAN AutoloadFail);
|
||||
//void rtl8723a_ReadBluetoothCoexistInfo(PADAPTER padapter, u8 *PROMContent, bool AutoloadFail);
|
||||
void Hal_InitChannelPlan(PADAPTER padapter);
|
||||
|
||||
void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc);
|
||||
|
|
|
@ -517,7 +517,7 @@ struct hal_data_8192ce
|
|||
|
||||
u8 LegacyHTTxPowerDiff;// Legacy to HT rate power diff
|
||||
|
||||
BOOLEAN EepromOrEfuse;
|
||||
bool EepromOrEfuse;
|
||||
u8 EfuseMap[2][HWSET_MAX_SIZE_512]; //92C:256bytes, 88E:512bytes, we use union set (512bytes)
|
||||
u8 EfuseUsedPercentage;
|
||||
EFUSE_HAL EfuseHal;
|
||||
|
@ -560,7 +560,7 @@ struct hal_data_8192ce
|
|||
u32 RfRegChnlVal[2];
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
//for host message to fw
|
||||
u8 LastHMEBoxNum;
|
||||
|
@ -582,7 +582,7 @@ struct hal_data_8192ce
|
|||
s32 RSSI_sum_B;
|
||||
s32 RSSI_cnt_A;
|
||||
s32 RSSI_cnt_B;
|
||||
BOOLEAN RSSI_test;
|
||||
bool RSSI_test;
|
||||
#endif
|
||||
#ifdef CONFIG_HW_ANTENNA_DIVERSITY
|
||||
//Hybrid Antenna Diversity
|
||||
|
@ -726,7 +726,7 @@ struct hal_data_8192cu
|
|||
u32 RfRegChnlVal[2];
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
//for host message to fw
|
||||
u8 LastHMEBoxNum;
|
||||
|
@ -760,7 +760,7 @@ struct hal_data_8192cu
|
|||
s32 RSSI_sum_B;
|
||||
s32 RSSI_cnt_A;
|
||||
s32 RSSI_cnt_B;
|
||||
BOOLEAN RSSI_test;
|
||||
bool RSSI_test;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HW_ANTENNA_DIVERSITY
|
||||
|
@ -775,7 +775,7 @@ struct hal_data_8192cu
|
|||
u8 FwRsvdPageStartOffset; //2010.06.23. Added by tynli. Reserve page start offset except beacon in TxQ.
|
||||
|
||||
// 2010/08/09 MH Add CU power down mode.
|
||||
BOOLEAN pwrdown;
|
||||
bool pwrdown;
|
||||
|
||||
// For 92C USB endpoint setting
|
||||
//
|
||||
|
@ -804,15 +804,15 @@ struct hal_data_8192cu
|
|||
#endif
|
||||
|
||||
// 2010/12/10 MH Add for USB aggreation mode dynamic shceme.
|
||||
BOOLEAN UsbRxHighSpeedMode;
|
||||
bool UsbRxHighSpeedMode;
|
||||
|
||||
// 2010/11/22 MH Add for slim combo debug mode selective.
|
||||
// This is used for fix the drawback of CU TSMC-A/UMC-A cut. HW auto suspend ability. Close BT clock.
|
||||
BOOLEAN SlimComboDbg;
|
||||
bool SlimComboDbg;
|
||||
|
||||
u16 EfuseUsedBytes;
|
||||
|
||||
BOOLEAN EepromOrEfuse;
|
||||
bool EepromOrEfuse;
|
||||
u8 EfuseMap[2][HWSET_MAX_SIZE_512]; //92C:256bytes, 88E:512bytes, we use union set (512bytes)
|
||||
u8 EfuseUsedPercentage;
|
||||
EFUSE_HAL EfuseHal;
|
||||
|
@ -836,10 +836,10 @@ void rtl8192c_FirmwareSelfReset(IN PADAPTER Adapter);
|
|||
int FirmwareDownload92C(IN PADAPTER Adapter);
|
||||
void InitializeFirmwareVars92C(PADAPTER Adapter);
|
||||
u8 GetEEPROMSize8192C(PADAPTER Adapter);
|
||||
void rtl8192c_EfuseParseChnlPlan(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void rtl8192c_EfuseParseChnlPlan(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
|
||||
HAL_VERSION rtl8192c_ReadChipVersion(IN PADAPTER Adapter);
|
||||
void rtl8192c_ReadBluetoothCoexistInfo(PADAPTER Adapter, u8 *PROMContent, BOOLEAN AutoloadFail);
|
||||
void rtl8192c_ReadBluetoothCoexistInfo(PADAPTER Adapter, u8 *PROMContent, bool AutoloadFail);
|
||||
//void rtl8192c_free_hal_data(_adapter * padapter);
|
||||
void rtl8192c_EfuseParseIDCode(PADAPTER pAdapter, u8 *hwinfo);
|
||||
void rtl8192c_set_hal_ops(struct hal_ops *pHalFunc);
|
||||
|
|
|
@ -131,7 +131,7 @@ struct dm_priv
|
|||
//u8 Record_CCK_40Mindex;
|
||||
char OFDM_index[2];
|
||||
|
||||
BOOLEAN bDPKdone[2];
|
||||
bool bDPKdone[2];
|
||||
|
||||
u8 PowerIndex_backup[6];
|
||||
|
||||
|
@ -141,8 +141,8 @@ struct dm_priv
|
|||
//#endif
|
||||
//Neil Chen----2011--06--23-----
|
||||
//3 Path Diversity
|
||||
BOOLEAN bPathDiv_Enable; //For 92D Non-interrupt Antenna Diversity by Neil ,add by wl.2011.07.19
|
||||
BOOLEAN RSSI_test;
|
||||
bool bPathDiv_Enable; //For 92D Non-interrupt Antenna Diversity by Neil ,add by wl.2011.07.19
|
||||
bool RSSI_test;
|
||||
s32 RSSI_sum_A;
|
||||
s32 RSSI_cnt_A;
|
||||
s32 RSSI_sum_B;
|
||||
|
|
|
@ -442,14 +442,14 @@ struct hal_data_8192de
|
|||
MACPHY_MODE_8192D MacPhyMode92D;
|
||||
BAND_TYPE CurrentBandType92D; //0:2.4G, 1:5G
|
||||
BAND_TYPE BandSet92D;
|
||||
BOOLEAN bIsVS;
|
||||
BOOLEAN bSupportRemoteWakeUp;
|
||||
bool bIsVS;
|
||||
bool bSupportRemoteWakeUp;
|
||||
u8 AutoLoadStatusFor8192D;
|
||||
|
||||
BOOLEAN bNOPG;
|
||||
bool bNOPG;
|
||||
|
||||
BOOLEAN bMasterOfDMSP;
|
||||
BOOLEAN bSlaveOfDMSP;
|
||||
bool bMasterOfDMSP;
|
||||
bool bSlaveOfDMSP;
|
||||
|
||||
u16 CustomerID;
|
||||
|
||||
|
@ -547,21 +547,21 @@ struct hal_data_8192de
|
|||
u32 RfRegChnlVal[2];
|
||||
|
||||
|
||||
BOOLEAN bPhyValueInitReady;
|
||||
bool bPhyValueInitReady;
|
||||
|
||||
BOOLEAN bTXPowerDataReadFromEEPORM;
|
||||
bool bTXPowerDataReadFromEEPORM;
|
||||
|
||||
BOOLEAN bInSetPower;
|
||||
bool bInSetPower;
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
BOOLEAN bLoadIMRandIQKSettingFor2G;// True if IMR or IQK have done for 2.4G in scan progress
|
||||
BOOLEAN bNeedIQK;
|
||||
bool bLoadIMRandIQKSettingFor2G;// True if IMR or IQK have done for 2.4G in scan progress
|
||||
bool bNeedIQK;
|
||||
|
||||
BOOLEAN bLCKInProgress;
|
||||
bool bLCKInProgress;
|
||||
|
||||
BOOLEAN bEarlyModeEnable;
|
||||
bool bEarlyModeEnable;
|
||||
|
||||
#if 1
|
||||
IQK_MATRIX_REGS_SETTING IQKMatrixRegSetting[IQK_Matrix_Settings_NUM];
|
||||
|
@ -596,7 +596,7 @@ struct hal_data_8192de
|
|||
|
||||
u16 EfuseUsedBytes;
|
||||
|
||||
BOOLEAN EepromOrEfuse;
|
||||
bool EepromOrEfuse;
|
||||
u8 EfuseMap[2][HWSET_MAX_SIZE_512]; //92C:256bytes, 88E:512bytes, we use union set (512bytes)
|
||||
u8 EfuseUsedPercentage;
|
||||
EFUSE_HAL EfuseHal;
|
||||
|
@ -646,15 +646,15 @@ struct hal_data_8192du
|
|||
MACPHY_MODE_8192D MacPhyMode92D;
|
||||
BAND_TYPE CurrentBandType92D; //0:2.4G, 1:5G
|
||||
BAND_TYPE BandSet92D;
|
||||
BOOLEAN bIsVS;
|
||||
bool bIsVS;
|
||||
|
||||
BOOLEAN bNOPG;
|
||||
bool bNOPG;
|
||||
|
||||
BOOLEAN bSupportRemoteWakeUp;
|
||||
BOOLEAN bMasterOfDMSP;
|
||||
BOOLEAN bSlaveOfDMSP;
|
||||
bool bSupportRemoteWakeUp;
|
||||
bool bMasterOfDMSP;
|
||||
bool bSlaveOfDMSP;
|
||||
#ifdef CONFIG_DUALMAC_CONCURRENT
|
||||
BOOLEAN bInModeSwitchProcess;
|
||||
bool bInModeSwitchProcess;
|
||||
#endif
|
||||
|
||||
u16 CustomerID;
|
||||
|
@ -748,21 +748,21 @@ struct hal_data_8192du
|
|||
u32 RfRegChnlVal[2];
|
||||
|
||||
|
||||
BOOLEAN bPhyValueInitReady;
|
||||
bool bPhyValueInitReady;
|
||||
|
||||
BOOLEAN bTXPowerDataReadFromEEPORM;
|
||||
bool bTXPowerDataReadFromEEPORM;
|
||||
|
||||
BOOLEAN bInSetPower;
|
||||
bool bInSetPower;
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
BOOLEAN bLoadIMRandIQKSettingFor2G;// True if IMR or IQK have done for 2.4G in scan progress
|
||||
BOOLEAN bNeedIQK;
|
||||
bool bLoadIMRandIQKSettingFor2G;// True if IMR or IQK have done for 2.4G in scan progress
|
||||
bool bNeedIQK;
|
||||
|
||||
BOOLEAN bLCKInProgress;
|
||||
bool bLCKInProgress;
|
||||
|
||||
BOOLEAN bEarlyModeEnable;
|
||||
bool bEarlyModeEnable;
|
||||
|
||||
#if 1
|
||||
IQK_MATRIX_REGS_SETTING IQKMatrixRegSetting[IQK_Matrix_Settings_NUM];
|
||||
|
@ -789,7 +789,7 @@ struct hal_data_8192du
|
|||
u8 FwRsvdPageStartOffset; //2010.06.23. Added by tynli. Reserve page start offset except beacon in TxQ.
|
||||
|
||||
//Query RF by FW
|
||||
BOOLEAN bReadRFbyFW;
|
||||
bool bReadRFbyFW;
|
||||
|
||||
// For 92C USB endpoint setting
|
||||
//
|
||||
|
@ -821,7 +821,7 @@ struct hal_data_8192du
|
|||
|
||||
u16 EfuseUsedBytes;
|
||||
|
||||
BOOLEAN EepromOrEfuse;
|
||||
bool EepromOrEfuse;
|
||||
u8 EfuseMap[2][HWSET_MAX_SIZE_512]; //92C:256bytes, 88E:512bytes, we use union set (512bytes)
|
||||
u8 EfuseUsedPercentage;
|
||||
EFUSE_HAL EfuseHal;
|
||||
|
@ -841,11 +841,11 @@ typedef struct hal_data_8192du HAL_DATA_TYPE, *PHAL_DATA_TYPE;
|
|||
int FirmwareDownload92D(IN PADAPTER Adapter);
|
||||
void rtl8192d_FirmwareSelfReset(IN PADAPTER Adapter);
|
||||
void rtl8192d_ReadChipVersion(IN PADAPTER Adapter);
|
||||
void rtl8192d_EfuseParseChnlPlan(PADAPTER Adapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void rtl8192d_ReadTxPowerInfo(PADAPTER Adapter, u8* PROMContent, BOOLEAN AutoLoadFail);
|
||||
void rtl8192d_EfuseParseChnlPlan(PADAPTER Adapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void rtl8192d_ReadTxPowerInfo(PADAPTER Adapter, u8* PROMContent, bool AutoLoadFail);
|
||||
void rtl8192d_ResetDualMacSwitchVariables(IN PADAPTER Adapter);
|
||||
u8 GetEEPROMSize8192D(PADAPTER Adapter);
|
||||
BOOLEAN PHY_CheckPowerOffFor8192D(PADAPTER Adapter);
|
||||
bool PHY_CheckPowerOffFor8192D(PADAPTER Adapter);
|
||||
void PHY_SetPowerOnFor8192D(PADAPTER Adapter);
|
||||
//void PHY_ConfigMacPhyMode92D(PADAPTER Adapter);
|
||||
void rtl8192d_free_hal_data(_adapter * padapter);
|
||||
|
|
|
@ -85,9 +85,9 @@ void rtl8192d_PHY_RF6052SetOFDMTxPower(
|
|||
IN u8 Channel);
|
||||
int PHY_RF6052_Config8192D( IN PADAPTER Adapter );
|
||||
|
||||
BOOLEAN rtl8192d_PHY_EnableAnotherPHY(IN PADAPTER Adapter, IN BOOLEAN bMac0);
|
||||
bool rtl8192d_PHY_EnableAnotherPHY(IN PADAPTER Adapter, IN bool bMac0);
|
||||
|
||||
void rtl8192d_PHY_PowerDownAnotherPHY(IN PADAPTER Adapter, IN BOOLEAN bMac0);
|
||||
void rtl8192d_PHY_PowerDownAnotherPHY(IN PADAPTER Adapter, IN bool bMac0);
|
||||
|
||||
|
||||
/*--------------------------Exported Function prototype---------------------*/
|
||||
|
|
|
@ -500,14 +500,14 @@ typedef struct hal_data_8723a
|
|||
|
||||
BB_REGISTER_DEFINITION_T PHYRegDef[4]; //Radio A/B/C/D
|
||||
|
||||
BOOLEAN bRFPathRxEnable[4]; // We support 4 RF path now.
|
||||
bool bRFPathRxEnable[4]; // We support 4 RF path now.
|
||||
|
||||
u32 RfRegChnlVal[2];
|
||||
|
||||
u8 bCckHighPower;
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
//for host message to fw
|
||||
u8 LastHMEBoxNum;
|
||||
|
@ -559,11 +559,11 @@ typedef struct hal_data_8723a
|
|||
u8 OutEpNumber;
|
||||
|
||||
// 2010/12/10 MH Add for USB aggreation mode dynamic shceme.
|
||||
BOOLEAN UsbRxHighSpeedMode;
|
||||
bool UsbRxHighSpeedMode;
|
||||
|
||||
// 2010/11/22 MH Add for slim combo debug mode selective.
|
||||
// This is used for fix the drawback of CU TSMC-A/UMC-A cut. HW auto suspend ability. Close BT clock.
|
||||
BOOLEAN SlimComboDbg;
|
||||
bool SlimComboDbg;
|
||||
|
||||
//
|
||||
// Add For EEPROM Efuse switch and Efuse Shadow map Setting
|
||||
|
@ -593,7 +593,7 @@ typedef struct hal_data_8723a
|
|||
// 2011/02/23 MH Add for 8723 mylti function definition. The define should be moved to an
|
||||
// independent file in the future.
|
||||
|
||||
BOOLEAN bMACFuncEnable;
|
||||
bool bMACFuncEnable;
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
struct P2P_PS_Offload_t p2p_ps_offload;
|
||||
|
@ -792,19 +792,19 @@ s32 CardDisableWithoutHWSM(PADAPTER padapter);
|
|||
u8 GetEEPROMSize8723A(PADAPTER padapter);
|
||||
void Hal_InitPGData(PADAPTER padapter, u8 *PROMContent);
|
||||
void Hal_EfuseParseIDCode(PADAPTER padapter, u8 *hwinfo);
|
||||
void Hal_EfuseParseTxPowerInfo_8723A(PADAPTER padapter, u8 *PROMContent, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseBTCoexistInfo_8723A(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseEEPROMVer(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void rtl8723a_EfuseParseChnlPlan(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseCustomerID(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseAntennaDiversity(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseRateIndicationOption(PADAPTER padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseTxPowerInfo_8723A(PADAPTER padapter, u8 *PROMContent, bool AutoLoadFail);
|
||||
void Hal_EfuseParseBTCoexistInfo_8723A(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_EfuseParseEEPROMVer(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void rtl8723a_EfuseParseChnlPlan(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_EfuseParseCustomerID(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_EfuseParseAntennaDiversity(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_EfuseParseRateIndicationOption(PADAPTER padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_EfuseParseXtal_8723A(PADAPTER pAdapter, u8 *hwinfo, u8 AutoLoadFail);
|
||||
void Hal_EfuseParseThermalMeter_8723A(PADAPTER padapter, u8 *hwinfo, u8 AutoLoadFail);
|
||||
|
||||
//RT_CHANNEL_DOMAIN rtl8723a_HalMapChannelPlan(PADAPTER padapter, u8 HalChannelPlan);
|
||||
//VERSION_8192C rtl8723a_ReadChipVersion(PADAPTER padapter);
|
||||
//void rtl8723a_ReadBluetoothCoexistInfo(PADAPTER padapter, u8 *PROMContent, BOOLEAN AutoloadFail);
|
||||
//void rtl8723a_ReadBluetoothCoexistInfo(PADAPTER padapter, u8 *PROMContent, bool AutoloadFail);
|
||||
void Hal_InitChannelPlan(PADAPTER padapter);
|
||||
|
||||
void rtl8723a_set_hal_ops(struct hal_ops *pHalFunc);
|
||||
|
|
|
@ -146,21 +146,21 @@ u8 rtw_efuse_map_write(PADAPTER padapter, u16 addr, u16 cnts, u8 *data);
|
|||
u8 rtw_BT_efuse_map_read(PADAPTER padapter, u16 addr, u16 cnts, u8 *data);
|
||||
u8 rtw_BT_efuse_map_write(PADAPTER padapter, u16 addr, u16 cnts, u8 *data);
|
||||
|
||||
u16 Efuse_GetCurrentSize(PADAPTER pAdapter, u8 efuseType, BOOLEAN bPseudoTest);
|
||||
u16 Efuse_GetCurrentSize(PADAPTER pAdapter, u8 efuseType, bool bPseudoTest);
|
||||
u8 Efuse_CalculateWordCnts(u8 word_en);
|
||||
void ReadEFuseByte(PADAPTER Adapter, u16 _offset, u8 *pbuf, BOOLEAN bPseudoTest) ;
|
||||
void EFUSE_GetEfuseDefinition(PADAPTER pAdapter, u8 efuseType, u8 type, void *pOut, BOOLEAN bPseudoTest);
|
||||
u8 efuse_OneByteRead(PADAPTER pAdapter, u16 addr, u8 *data, BOOLEAN bPseudoTest);
|
||||
u8 efuse_OneByteWrite(PADAPTER pAdapter, u16 addr, u8 data, BOOLEAN bPseudoTest);
|
||||
void ReadEFuseByte(PADAPTER Adapter, u16 _offset, u8 *pbuf, bool bPseudoTest) ;
|
||||
void EFUSE_GetEfuseDefinition(PADAPTER pAdapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest);
|
||||
u8 efuse_OneByteRead(PADAPTER pAdapter, u16 addr, u8 *data, bool bPseudoTest);
|
||||
u8 efuse_OneByteWrite(PADAPTER pAdapter, u16 addr, u8 data, bool bPseudoTest);
|
||||
|
||||
void Efuse_PowerSwitch(PADAPTER pAdapter,u8 bWrite,u8 PwrState);
|
||||
int Efuse_PgPacketRead(PADAPTER pAdapter, u8 offset, u8 *data, BOOLEAN bPseudoTest);
|
||||
int Efuse_PgPacketWrite(PADAPTER pAdapter, u8 offset, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
int Efuse_PgPacketRead(PADAPTER pAdapter, u8 offset, u8 *data, bool bPseudoTest);
|
||||
int Efuse_PgPacketWrite(PADAPTER pAdapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
void efuse_WordEnableDataRead(u8 word_en, u8 *sourdata, u8 *targetdata);
|
||||
u8 Efuse_WordEnableDataWrite(PADAPTER pAdapter, u16 efuse_addr, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
u8 Efuse_WordEnableDataWrite(PADAPTER pAdapter, u16 efuse_addr, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
|
||||
u8 EFUSE_Read1Byte(PADAPTER pAdapter, u16 Address);
|
||||
void EFUSE_ShadowMapUpdate(PADAPTER pAdapter, u8 efuseType, BOOLEAN bPseudoTest);
|
||||
void EFUSE_ShadowMapUpdate(PADAPTER pAdapter, u8 efuseType, bool bPseudoTest);
|
||||
void EFUSE_ShadowRead(PADAPTER pAdapter, u8 Type, u16 Offset, u32 *Value);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -239,7 +239,7 @@ NDIS_STATUS oid_802_11_statistics_hdl(struct oid_par_priv* poid_par_priv);
|
|||
//OID Handler for Segment ED
|
||||
NDIS_STATUS oid_rt_mh_vender_id_hdl(struct oid_par_priv* poid_par_priv);
|
||||
|
||||
void Set_802_3_MULTICAST_LIST(ADAPTER *pAdapter, UCHAR *MCListbuf, ULONG MCListlen, BOOLEAN bAcceptAllMulticast);
|
||||
void Set_802_3_MULTICAST_LIST(ADAPTER *pAdapter, UCHAR *MCListbuf, ULONG MCListlen, bool bAcceptAllMulticast);
|
||||
|
||||
#endif// end of PLATFORM_WINDOWS
|
||||
|
||||
|
|
|
@ -153,12 +153,12 @@ typedef struct _RT_LINK_DETECT_T{
|
|||
u32 NumTxOkInPeriod;
|
||||
u32 NumRxOkInPeriod;
|
||||
u32 NumRxUnicastOkInPeriod;
|
||||
BOOLEAN bBusyTraffic;
|
||||
BOOLEAN bTxBusyTraffic;
|
||||
BOOLEAN bRxBusyTraffic;
|
||||
BOOLEAN bHigherBusyTraffic; // For interrupt migration purpose.
|
||||
BOOLEAN bHigherBusyRxTraffic; // We may disable Tx interrupt according as Rx traffic.
|
||||
BOOLEAN bHigherBusyTxTraffic; // We may disable Tx interrupt according as Tx traffic.
|
||||
bool bBusyTraffic;
|
||||
bool bTxBusyTraffic;
|
||||
bool bRxBusyTraffic;
|
||||
bool bHigherBusyTraffic; // For interrupt migration purpose.
|
||||
bool bHigherBusyRxTraffic; // We may disable Tx interrupt according as Rx traffic.
|
||||
bool bHigherBusyTxTraffic; // We may disable Tx interrupt according as Tx traffic.
|
||||
}RT_LINK_DETECT_T, *PRT_LINK_DETECT_T;
|
||||
|
||||
struct profile_info {
|
||||
|
|
|
@ -434,7 +434,7 @@ struct mlme_ext_info
|
|||
u8 candidate_tid_bitmap;
|
||||
u8 dialogToken;
|
||||
// Accept ADDBA Request
|
||||
BOOLEAN bAcceptAddbaReq;
|
||||
bool bAcceptAddbaReq;
|
||||
u8 bwmode_updated;
|
||||
u8 hidden_ssid_mode;
|
||||
|
||||
|
@ -600,7 +600,7 @@ void CAM_empty_entry(PADAPTER Adapter, u8 ucIndex);
|
|||
int allocate_fw_sta_entry(_adapter *padapter);
|
||||
void flush_all_cam_entry(_adapter *padapter);
|
||||
|
||||
BOOLEAN IsLegal5GChannel(PADAPTER Adapter, u8 channel);
|
||||
bool IsLegal5GChannel(PADAPTER Adapter, u8 channel);
|
||||
|
||||
void site_survey(_adapter *padapter);
|
||||
u8 collect_bss_info(_adapter *padapter, union recv_frame *precv_frame, WLAN_BSSID_EX *bssid);
|
||||
|
|
|
@ -238,18 +238,18 @@ typedef void (*MPT_WORK_ITEM_HANDLER)(IN void * Adapter);
|
|||
typedef struct _MPT_CONTEXT
|
||||
{
|
||||
// Indicate if we have started Mass Production Test.
|
||||
BOOLEAN bMassProdTest;
|
||||
bool bMassProdTest;
|
||||
|
||||
// Indicate if the driver is unloading or unloaded.
|
||||
BOOLEAN bMptDrvUnload;
|
||||
bool bMptDrvUnload;
|
||||
|
||||
_sema MPh2c_Sema;
|
||||
_timer MPh2c_timeout_timer;
|
||||
// Event used to sync H2c for BT control
|
||||
|
||||
BOOLEAN MptH2cRspEvent;
|
||||
BOOLEAN MptBtC2hEvent;
|
||||
BOOLEAN bMPh2c_timeout;
|
||||
bool MptH2cRspEvent;
|
||||
bool MptBtC2hEvent;
|
||||
bool bMPh2c_timeout;
|
||||
|
||||
/* 8190 PCI does not support NDIS_WORK_ITEM. */
|
||||
// Work Item for Mass Production Test.
|
||||
|
@ -260,7 +260,7 @@ typedef struct _MPT_CONTEXT
|
|||
// To protect the following variables.
|
||||
// NDIS_SPIN_LOCK MptWorkItemSpinLock;
|
||||
// Indicate a MptWorkItem is scheduled and not yet finished.
|
||||
BOOLEAN bMptWorkItemInProgress;
|
||||
bool bMptWorkItemInProgress;
|
||||
// An instance which implements function and context of MptWorkItem.
|
||||
MPT_WORK_ITEM_HANDLER CurrMptAct;
|
||||
|
||||
|
@ -293,24 +293,24 @@ typedef struct _MPT_CONTEXT
|
|||
// Content of RCR Regsiter for Mass Production Test.
|
||||
ULONG MptRCR;
|
||||
// TRUE if we only receive packets with specific pattern.
|
||||
BOOLEAN bMptFilterPattern;
|
||||
bool bMptFilterPattern;
|
||||
// Rx OK count, statistics used in Mass Production Test.
|
||||
ULONG MptRxOkCnt;
|
||||
// Rx CRC32 error count, statistics used in Mass Production Test.
|
||||
ULONG MptRxCrcErrCnt;
|
||||
|
||||
BOOLEAN bCckContTx; // TRUE if we are in CCK Continuous Tx test.
|
||||
BOOLEAN bOfdmContTx; // TRUE if we are in OFDM Continuous Tx test.
|
||||
BOOLEAN bStartContTx; // TRUE if we have start Continuous Tx test.
|
||||
bool bCckContTx; // TRUE if we are in CCK Continuous Tx test.
|
||||
bool bOfdmContTx; // TRUE if we are in OFDM Continuous Tx test.
|
||||
bool bStartContTx; // TRUE if we have start Continuous Tx test.
|
||||
// TRUE if we are in Single Carrier Tx test.
|
||||
BOOLEAN bSingleCarrier;
|
||||
bool bSingleCarrier;
|
||||
// TRUE if we are in Carrier Suppression Tx Test.
|
||||
BOOLEAN bCarrierSuppression;
|
||||
bool bCarrierSuppression;
|
||||
//TRUE if we are in Single Tone Tx test.
|
||||
BOOLEAN bSingleTone;
|
||||
bool bSingleTone;
|
||||
|
||||
// ACK counter asked by K.Y..
|
||||
BOOLEAN bMptEnableAckCounter;
|
||||
bool bMptEnableAckCounter;
|
||||
ULONG MptAckCounter;
|
||||
|
||||
// SD3 Willis For 8192S to save 1T/2T RF table for ACUT Only fro ACUT delete later ~~~!
|
||||
|
@ -319,7 +319,7 @@ typedef struct _MPT_CONTEXT
|
|||
//s4Byte RfReadLine[2];
|
||||
|
||||
u8 APK_bound[2]; //for APK path A/path B
|
||||
BOOLEAN bMptIndexEven;
|
||||
bool bMptIndexEven;
|
||||
|
||||
u8 backup0xc50;
|
||||
u8 backup0xc58;
|
||||
|
@ -630,8 +630,8 @@ extern s32 Hal_SetPowerTracking(PADAPTER padapter, u8 enable);
|
|||
extern void Hal_GetPowerTracking(PADAPTER padapter, u8 * enable);
|
||||
extern void Hal_GetThermalMeter(PADAPTER pAdapter, u8 *value);
|
||||
extern void Hal_mpt_SwitchRfSetting(PADAPTER pAdapter);
|
||||
extern void Hal_MPT_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14);
|
||||
extern void Hal_MPT_CCKTxPowerAdjustbyIndex(PADAPTER pAdapter, BOOLEAN beven);
|
||||
extern void Hal_MPT_CCKTxPowerAdjust(PADAPTER Adapter, bool bInCH14);
|
||||
extern void Hal_MPT_CCKTxPowerAdjustbyIndex(PADAPTER pAdapter, bool beven);
|
||||
extern void Hal_SetCCKTxPower(PADAPTER pAdapter, u8 * TxPower);
|
||||
extern void Hal_SetOFDMTxPower(PADAPTER pAdapter, u8 * TxPower);
|
||||
extern void Hal_TriggerRFThermalMeter(PADAPTER pAdapter);
|
||||
|
@ -640,6 +640,6 @@ extern void Hal_SetCCKContinuousTx(PADAPTER pAdapter, u8 bStart);
|
|||
extern void Hal_SetOFDMContinuousTx(PADAPTER pAdapter, u8 bStart);
|
||||
extern void Hal_ProSetCrystalCap (PADAPTER pAdapter , u32 CrystalCapVal);
|
||||
extern void _rtw_mp_xmit_priv(struct xmit_priv *pxmitpriv);
|
||||
extern void MP_PHY_SetRFPathSwitch(PADAPTER pAdapter ,BOOLEAN bMain);
|
||||
extern void MP_PHY_SetRFPathSwitch(PADAPTER pAdapter ,bool bMain);
|
||||
|
||||
#endif //_RTW_MP_H_
|
||||
|
|
|
@ -76,7 +76,7 @@ typedef struct _DR_VARIABLE_STRUCT_ {
|
|||
|
||||
//int mp_start_joinbss(_adapter *padapter, NDIS_802_11_SSID *pssid);
|
||||
|
||||
//void _irqlevel_changed_(_irqL *irqlevel, /*BOOLEAN*/unsigned char bLower);
|
||||
//void _irqlevel_changed_(_irqL *irqlevel, /*bool*/unsigned char bLower);
|
||||
#ifdef PLATFORM_OS_XP
|
||||
static void _irqlevel_changed_(_irqL *irqlevel, u8 bLower)
|
||||
{
|
||||
|
|
|
@ -51,9 +51,9 @@ typedef enum _RT_USB_WVALUE {
|
|||
} RT_USB_WVALUE;
|
||||
|
||||
|
||||
//BOOLEAN usbvendorrequest(PCE_USB_DEVICE CEdevice, RT_USB_BREQUEST bRequest, RT_USB_WVALUE wValue, UCHAR wIndex, void * Data, UCHAR DataLength, BOOLEAN isDirectionIn);
|
||||
//BOOLEAN CEusbGetStatusRequest(PCE_USB_DEVICE CEdevice, IN USHORT Op, IN USHORT Index, void * Data);
|
||||
//BOOLEAN CEusbFeatureRequest(PCE_USB_DEVICE CEdevice, IN USHORT Op, IN USHORT FeatureSelector, IN USHORT Index);
|
||||
//BOOLEAN CEusbGetDescriptorRequest(PCE_USB_DEVICE CEdevice, IN short urbLength, IN UCHAR DescriptorType, IN UCHAR Index, IN USHORT LanguageId, IN void * TransferBuffer, IN ULONG TransferBufferLength);
|
||||
//bool usbvendorrequest(PCE_USB_DEVICE CEdevice, RT_USB_BREQUEST bRequest, RT_USB_WVALUE wValue, UCHAR wIndex, void * Data, UCHAR DataLength, bool isDirectionIn);
|
||||
//bool CEusbGetStatusRequest(PCE_USB_DEVICE CEdevice, IN USHORT Op, IN USHORT Index, void * Data);
|
||||
//bool CEusbFeatureRequest(PCE_USB_DEVICE CEdevice, IN USHORT Op, IN USHORT FeatureSelector, IN USHORT Index);
|
||||
//bool CEusbGetDescriptorRequest(PCE_USB_DEVICE CEdevice, IN short urbLength, IN UCHAR DescriptorType, IN UCHAR Index, IN USHORT LanguageId, IN void * TransferBuffer, IN ULONG TransferBufferLength);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue