mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Change BOOLEAN to bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
4081d131cc
commit
0b5c6eb35b
42 changed files with 402 additions and 404 deletions
|
@ -247,7 +247,7 @@ void rtl8192c_PHY_GetHWRegOriginalValue( IN struct adapter * Adapter );
|
|||
//
|
||||
// RF Power setting
|
||||
//
|
||||
//extern BOOLEAN PHY_SetRFPowerState(IN struct adapter * Adapter,
|
||||
//extern bool PHY_SetRFPowerState(IN struct adapter * Adapter,
|
||||
// IN RT_RF_POWER_STATE eRFPowerState);
|
||||
|
||||
//
|
||||
|
@ -257,7 +257,7 @@ void PHY_GetTxPowerLevel8188E( IN struct adapter * Adapter,
|
|||
OUT u32* powerlevel );
|
||||
void PHY_SetTxPowerLevel8188E( IN struct adapter * Adapter,
|
||||
IN u8 channel );
|
||||
BOOLEAN PHY_UpdateTxPowerDbm8188E( IN struct adapter *Adapter,
|
||||
bool PHY_UpdateTxPowerDbm8188E( IN struct adapter *Adapter,
|
||||
IN int powerInDbm );
|
||||
|
||||
//
|
||||
|
@ -276,7 +276,7 @@ void PHY_SetBWMode8188E( IN struct adapter * pAdapter,
|
|||
//
|
||||
// Set FW CMD IO for 8192S.
|
||||
//
|
||||
//extern BOOLEAN HalSetIO8192C( IN struct adapter * Adapter,
|
||||
//extern bool HalSetIO8192C( IN struct adapter * Adapter,
|
||||
// IN IO_TYPE IOType);
|
||||
|
||||
//
|
||||
|
@ -303,12 +303,12 @@ void ChkFwCmdIoDone( IN struct adapter *Adapter);
|
|||
// BB/MAC/RF other monitor API
|
||||
//
|
||||
void PHY_SetMonitorMode8192C(IN struct adapter *pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode );
|
||||
IN bool bEnableMonitorMode );
|
||||
|
||||
BOOLEAN PHY_CheckIsLegalRfPath8192C(IN struct adapter *pAdapter,
|
||||
bool PHY_CheckIsLegalRfPath8192C(IN struct adapter *pAdapter,
|
||||
IN u32 eRFPath );
|
||||
|
||||
void PHY_SetRFPathSwitch_8188E(IN struct adapter *pAdapter, IN BOOLEAN bMain);
|
||||
void PHY_SetRFPathSwitch_8188E(IN struct adapter *pAdapter, IN bool bMain);
|
||||
|
||||
extern void
|
||||
PHY_SwitchEphyParameter(
|
||||
|
@ -320,7 +320,7 @@ PHY_EnableHostClkReq(
|
|||
IN struct adapter * Adapter
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
SetAntennaConfig92C(
|
||||
IN struct adapter *Adapter,
|
||||
IN u8 DefaultAnt
|
||||
|
|
|
@ -264,7 +264,7 @@ void rtl8192c_PHY_GetHWRegOriginalValue( IN struct adapter * Adapter );
|
|||
//
|
||||
// RF Power setting
|
||||
//
|
||||
//extern BOOLEAN PHY_SetRFPowerState(IN struct adapter * Adapter,
|
||||
//extern bool PHY_SetRFPowerState(IN struct adapter * Adapter,
|
||||
// IN RT_RF_POWER_STATE eRFPowerState);
|
||||
|
||||
//
|
||||
|
@ -274,7 +274,7 @@ void PHY_GetTxPowerLevel8192C( IN struct adapter * Adapter,
|
|||
OUT u32* powerlevel );
|
||||
void PHY_SetTxPowerLevel8192C( IN struct adapter * Adapter,
|
||||
IN u8 channel );
|
||||
BOOLEAN PHY_UpdateTxPowerDbm8192C( IN struct adapter *Adapter,
|
||||
bool PHY_UpdateTxPowerDbm8192C( IN struct adapter *Adapter,
|
||||
IN int powerInDbm );
|
||||
|
||||
//
|
||||
|
@ -293,7 +293,7 @@ void PHY_SetBWMode8192C( IN struct adapter * pAdapter,
|
|||
//
|
||||
// Set FW CMD IO for 8192S.
|
||||
//
|
||||
//extern BOOLEAN HalSetIO8192C( IN struct adapter * Adapter,
|
||||
//extern bool HalSetIO8192C( IN struct adapter * Adapter,
|
||||
// IN IO_TYPE IOType);
|
||||
|
||||
//
|
||||
|
@ -320,13 +320,13 @@ void ChkFwCmdIoDone( IN struct adapter *Adapter);
|
|||
// BB/MAC/RF other monitor API
|
||||
//
|
||||
void PHY_SetMonitorMode8192C(IN struct adapter *pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode );
|
||||
IN bool bEnableMonitorMode );
|
||||
|
||||
BOOLEAN PHY_CheckIsLegalRfPath8192C(IN struct adapter *pAdapter,
|
||||
bool PHY_CheckIsLegalRfPath8192C(IN struct adapter *pAdapter,
|
||||
IN u32 eRFPath );
|
||||
|
||||
|
||||
void rtl8192c_PHY_SetRFPathSwitch(IN struct adapter *pAdapter, IN BOOLEAN bMain);
|
||||
void rtl8192c_PHY_SetRFPathSwitch(IN struct adapter *pAdapter, IN bool bMain);
|
||||
|
||||
//
|
||||
// Modify the value of the hw register when beacon interval be changed.
|
||||
|
@ -346,7 +346,7 @@ PHY_EnableHostClkReq(
|
|||
IN struct adapter * Adapter
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
SetAntennaConfig92C(
|
||||
IN struct adapter *Adapter,
|
||||
IN u8 DefaultAnt
|
||||
|
|
|
@ -321,7 +321,7 @@ void rtl8192d_PHY_GetHWRegOriginalValue( IN struct adapter * Adapter );
|
|||
//
|
||||
// RF Power setting
|
||||
//
|
||||
//extern BOOLEAN PHY_SetRFPowerState(IN struct adapter * Adapter,
|
||||
//extern bool PHY_SetRFPowerState(IN struct adapter * Adapter,
|
||||
// IN RT_RF_POWER_STATE eRFPowerState);
|
||||
|
||||
//
|
||||
|
@ -331,7 +331,7 @@ void PHY_GetTxPowerLevel8192D( IN struct adapter * Adapter,
|
|||
OUT u32* powerlevel );
|
||||
void PHY_SetTxPowerLevel8192D( IN struct adapter * Adapter,
|
||||
IN u8 channel );
|
||||
BOOLEAN PHY_UpdateTxPowerDbm8192D( IN struct adapter *Adapter,
|
||||
bool PHY_UpdateTxPowerDbm8192D( IN struct adapter *Adapter,
|
||||
IN int powerInDbm );
|
||||
|
||||
//
|
||||
|
@ -350,7 +350,7 @@ void PHY_SetBWMode8192D( IN struct adapter * pAdapter,
|
|||
//
|
||||
// Set FW CMD IO for 8192S.
|
||||
//
|
||||
//extern BOOLEAN HalSetIO8192C( IN struct adapter * Adapter,
|
||||
//extern bool HalSetIO8192C( IN struct adapter * Adapter,
|
||||
// IN IO_TYPE IOType);
|
||||
|
||||
//
|
||||
|
@ -378,9 +378,9 @@ extern void ChkFwCmdIoDone( IN struct adapter *Adapter);
|
|||
// BB/MAC/RF other monitor API
|
||||
//
|
||||
void PHY_SetMonitorMode8192D(IN struct adapter *pAdapter,
|
||||
IN BOOLEAN bEnableMonitorMode );
|
||||
IN bool bEnableMonitorMode );
|
||||
|
||||
BOOLEAN PHY_CheckIsLegalRfPath8192D(IN struct adapter *pAdapter,
|
||||
bool PHY_CheckIsLegalRfPath8192D(IN struct adapter *pAdapter,
|
||||
IN u32 eRFPath );
|
||||
|
||||
|
||||
|
@ -402,7 +402,7 @@ PHY_EnableHostClkReq(
|
|||
IN struct adapter * Adapter
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
SetAntennaConfig92C(
|
||||
IN struct adapter *Adapter,
|
||||
IN u8 DefaultAnt
|
||||
|
@ -411,12 +411,12 @@ SetAntennaConfig92C(
|
|||
void
|
||||
PHY_UpdateBBRFConfiguration8192D(
|
||||
IN struct adapter *Adapter,
|
||||
IN BOOLEAN bisBandSwitch
|
||||
IN bool bisBandSwitch
|
||||
);
|
||||
|
||||
void PHY_ReadMacPhyMode92D(
|
||||
IN struct adapter *Adapter,
|
||||
IN BOOLEAN AutoloadFail
|
||||
IN bool AutoloadFail
|
||||
);
|
||||
|
||||
void PHY_ConfigMacPhyMode92D(
|
||||
|
@ -438,12 +438,12 @@ rtl8192d_PHY_InitRxSetting(
|
|||
|
||||
|
||||
void
|
||||
rtl8192d_PHY_SetRFPathSwitch(IN struct adapter *pAdapter, IN BOOLEAN bMain);
|
||||
rtl8192d_PHY_SetRFPathSwitch(IN struct adapter *pAdapter, IN bool bMain);
|
||||
|
||||
void
|
||||
HalChangeCCKStatus8192D(
|
||||
IN struct adapter *Adapter,
|
||||
IN BOOLEAN bCCKDisable
|
||||
IN bool bCCKDisable
|
||||
);
|
||||
|
||||
void
|
||||
|
|
|
@ -195,6 +195,4 @@ value to host byte ordering.*/
|
|||
// 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__
|
||||
|
|
|
@ -153,7 +153,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
|
||||
|
|
|
@ -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 struct adapter *pAdapter,
|
||||
IN u8 NumOutPipe
|
||||
|
|
|
@ -197,8 +197,8 @@ struct hal_ops {
|
|||
u8 (*GetHalDefVarHandler)(struct adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
u8 (*SetHalDefVarHandler)(struct adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
|
||||
void (*GetHalODMVarHandler)(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void (*SetHalODMVarHandler)(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void (*GetHalODMVarHandler)(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
void (*SetHalODMVarHandler)(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
|
||||
void (*UpdateRAMaskHandler)(struct adapter *padapter, u32 mac_id, u8 rssi_level);
|
||||
void (*SetBeaconRelatedRegistersHandler)(struct adapter *padapter);
|
||||
|
@ -226,13 +226,13 @@ struct hal_ops {
|
|||
#endif
|
||||
|
||||
void (*EfusePowerSwitch)(struct adapter *padapter, u8 bWrite, u8 PwrState);
|
||||
void (*ReadEFuse)(struct adapter *padapter, u8 efuseType, u16 _offset, u16 _size_byte, u8 *pbuf, BOOLEAN bPseudoTest);
|
||||
void (*EFUSEGetEfuseDefinition)(struct adapter *padapter, u8 efuseType, u8 type, void *pOut, BOOLEAN bPseudoTest);
|
||||
u16 (*EfuseGetCurrentSize)(struct adapter *padapter, u8 efuseType, BOOLEAN bPseudoTest);
|
||||
int (*Efuse_PgPacketRead)(struct adapter *padapter, u8 offset, u8 *data, BOOLEAN bPseudoTest);
|
||||
int (*Efuse_PgPacketWrite)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
u8 (*Efuse_WordEnableDataWrite)(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
BOOLEAN (*Efuse_PgPacketWrite_BT)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
void (*ReadEFuse)(struct adapter *padapter, u8 efuseType, u16 _offset, u16 _size_byte, u8 *pbuf, bool bPseudoTest);
|
||||
void (*EFUSEGetEfuseDefinition)(struct adapter *padapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest);
|
||||
u16 (*EfuseGetCurrentSize)(struct adapter *padapter, u8 efuseType, bool bPseudoTest);
|
||||
int (*Efuse_PgPacketRead)(struct adapter *padapter, u8 offset, u8 *data, bool bPseudoTest);
|
||||
int (*Efuse_PgPacketWrite)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
u8 (*Efuse_WordEnableDataWrite)(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
bool (*Efuse_PgPacketWrite_BT)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
|
||||
#ifdef DBG_CONFIG_ERROR_DETECT
|
||||
void (*sreset_init_value)(struct adapter *padapter);
|
||||
|
@ -361,8 +361,8 @@ void rtw_hal_read_chip_version(struct adapter *padapter);
|
|||
u8 rtw_hal_set_def_var(struct adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
u8 rtw_hal_get_def_var(struct adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
|
||||
void rtw_hal_set_odm_var(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void rtw_hal_get_odm_var(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,BOOLEAN bSet);
|
||||
void rtw_hal_set_odm_var(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
void rtw_hal_get_odm_var(struct adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet);
|
||||
|
||||
void rtw_hal_enable_interrupt(struct adapter *padapter);
|
||||
void rtw_hal_disable_interrupt(struct adapter *padapter);
|
||||
|
|
|
@ -338,7 +338,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;
|
||||
|
@ -401,7 +401,7 @@ typedef struct hal_data_8188e
|
|||
u32 RfRegChnlVal[2];
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
//for host message to fw
|
||||
u8 LastHMEBoxNum;
|
||||
|
@ -435,7 +435,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;
|
||||
|
@ -444,11 +444,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;
|
||||
|
||||
|
@ -499,18 +499,18 @@ void Read_LLT_Tab(struct adapter *padapter);
|
|||
u8 GetEEPROMSize8188E(struct adapter *padapter);
|
||||
void Hal_InitPGData88E(struct adapter *padapter);
|
||||
void Hal_EfuseParseIDCode88E(struct adapter *padapter, u8 *hwinfo);
|
||||
void Hal_ReadTxPowerInfo88E(struct adapter *padapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadTxPowerInfo88E(struct adapter *padapter,u8* hwinfo,bool AutoLoadFail);
|
||||
|
||||
void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadAntennaDiversity88E (struct adapter *pAdapter,u8*PROMContent,BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadThermalMeter_88E(struct adapter *Adapter,u8* PROMContent,BOOLEAN AutoloadFail);
|
||||
void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseBoardType88E(struct adapter *pAdapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter,u8* hwinfo,BOOLEAN AutoLoadFail);
|
||||
void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
void Hal_ReadAntennaDiversity88E (struct adapter *pAdapter,u8*PROMContent,bool AutoLoadFail);
|
||||
void Hal_ReadThermalMeter_88E(struct adapter *Adapter,u8* PROMContent,bool AutoloadFail);
|
||||
void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter,u8* hwinfo,bool AutoLoadFail);
|
||||
void Hal_EfuseParseBoardType88E(struct adapter *pAdapter,u8* hwinfo,bool AutoLoadFail);
|
||||
void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter,u8* hwinfo,bool AutoLoadFail);
|
||||
|
||||
BOOLEAN HalDetectPwrDownMode88E(struct adapter *Adapter);
|
||||
bool HalDetectPwrDownMode88E(struct adapter *Adapter);
|
||||
|
||||
void Hal_InitChannelPlan(struct adapter *padapter);
|
||||
|
||||
|
|
|
@ -429,7 +429,7 @@ struct hal_data_8192cu
|
|||
u32 RfRegChnlVal[2];
|
||||
|
||||
//RDG enable
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
//for host message to fw
|
||||
u8 LastHMEBoxNum;
|
||||
|
@ -459,7 +459,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
|
||||
//
|
||||
|
@ -484,15 +484,15 @@ struct hal_data_8192cu
|
|||
u8 UsbRxAggPageTimeout;
|
||||
|
||||
// 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;
|
||||
|
@ -515,10 +515,10 @@ void rtl8192c_FirmwareSelfReset(IN struct adapter *Adapter);
|
|||
int FirmwareDownload92C(IN struct adapter *Adapter);
|
||||
void InitializeFirmwareVars92C(struct adapter *Adapter);
|
||||
u8 GetEEPROMSize8192C(struct adapter *Adapter);
|
||||
void rtl8192c_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void rtl8192c_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
|
||||
HAL_VERSION rtl8192c_ReadChipVersion(IN struct adapter *Adapter);
|
||||
void rtl8192c_ReadBluetoothCoexistInfo(struct adapter *Adapter, u8 *PROMContent, BOOLEAN AutoloadFail);
|
||||
void rtl8192c_ReadBluetoothCoexistInfo(struct adapter *Adapter, u8 *PROMContent, bool AutoloadFail);
|
||||
//void rtl8192c_free_hal_data(struct adapter * padapter);
|
||||
void rtl8192c_EfuseParseIDCode(struct adapter *pAdapter, u8 *hwinfo);
|
||||
void rtl8192c_set_hal_ops(struct hal_ops *pHalFunc);
|
||||
|
|
|
@ -131,21 +131,21 @@ u8 rtw_efuse_map_write(struct adapter *padapter, u16 addr, u16 cnts, u8 *data);
|
|||
u8 rtw_BT_efuse_map_read(struct adapter *padapter, u16 addr, u16 cnts, u8 *data);
|
||||
u8 rtw_BT_efuse_map_write(struct adapter *padapter, u16 addr, u16 cnts, u8 *data);
|
||||
|
||||
u16 Efuse_GetCurrentSize(struct adapter *pAdapter, u8 efuseType, BOOLEAN bPseudoTest);
|
||||
u16 Efuse_GetCurrentSize(struct adapter *pAdapter, u8 efuseType, bool bPseudoTest);
|
||||
u8 Efuse_CalculateWordCnts(u8 word_en);
|
||||
void ReadEFuseByte(struct adapter *Adapter, u16 _offset, u8 *pbuf, BOOLEAN bPseudoTest) ;
|
||||
void EFUSE_GetEfuseDefinition(struct adapter *pAdapter, u8 efuseType, u8 type, void *pOut, BOOLEAN bPseudoTest);
|
||||
u8 efuse_OneByteRead(struct adapter *pAdapter, u16 addr, u8 *data, BOOLEAN bPseudoTest);
|
||||
u8 efuse_OneByteWrite(struct adapter *pAdapter, u16 addr, u8 data, BOOLEAN bPseudoTest);
|
||||
void ReadEFuseByte(struct adapter *Adapter, u16 _offset, u8 *pbuf, bool bPseudoTest) ;
|
||||
void EFUSE_GetEfuseDefinition(struct adapter *pAdapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest);
|
||||
u8 efuse_OneByteRead(struct adapter *pAdapter, u16 addr, u8 *data, bool bPseudoTest);
|
||||
u8 efuse_OneByteWrite(struct adapter *pAdapter, u16 addr, u8 data, bool bPseudoTest);
|
||||
|
||||
void Efuse_PowerSwitch(struct adapter *pAdapter,u8 bWrite,u8 PwrState);
|
||||
int Efuse_PgPacketRead(struct adapter *pAdapter, u8 offset, u8 *data, BOOLEAN bPseudoTest);
|
||||
int Efuse_PgPacketWrite(struct adapter *pAdapter, u8 offset, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
int Efuse_PgPacketRead(struct adapter *pAdapter, u8 offset, u8 *data, bool bPseudoTest);
|
||||
int Efuse_PgPacketWrite(struct adapter *pAdapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
void efuse_WordEnableDataRead(u8 word_en, u8 *sourdata, u8 *targetdata);
|
||||
u8 Efuse_WordEnableDataWrite(struct adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *data, BOOLEAN bPseudoTest);
|
||||
u8 Efuse_WordEnableDataWrite(struct adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
|
||||
u8 EFUSE_Read1Byte(struct adapter *pAdapter, u16 Address);
|
||||
void EFUSE_ShadowMapUpdate(struct adapter *pAdapter, u8 efuseType, BOOLEAN bPseudoTest);
|
||||
void EFUSE_ShadowMapUpdate(struct adapter *pAdapter, u8 efuseType, bool bPseudoTest);
|
||||
void EFUSE_ShadowRead(struct adapter *pAdapter, u8 Type, u16 Offset, u32 *Value);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -159,12 +159,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 {
|
||||
|
|
|
@ -415,7 +415,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;
|
||||
|
||||
|
@ -587,7 +587,7 @@ void CAM_empty_entry(struct adapter *Adapter, u8 ucIndex);
|
|||
int allocate_fw_sta_entry(struct adapter *padapter);
|
||||
void flush_all_cam_entry(struct adapter *padapter);
|
||||
|
||||
BOOLEAN IsLegal5GChannel(struct adapter *Adapter, u8 channel);
|
||||
bool IsLegal5GChannel(struct adapter *Adapter, u8 channel);
|
||||
|
||||
void site_survey(struct adapter *padapter);
|
||||
u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, WLAN_BSSID_EX *bssid);
|
||||
|
|
|
@ -169,18 +169,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.
|
||||
|
@ -191,7 +191,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;
|
||||
|
||||
|
@ -224,24 +224,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 ~~~!
|
||||
|
@ -250,7 +250,7 @@ typedef struct _MPT_CONTEXT
|
|||
//s32 RfReadLine[2];
|
||||
|
||||
u8 APK_bound[2]; //for APK path A/path B
|
||||
BOOLEAN bMptIndexEven;
|
||||
bool bMptIndexEven;
|
||||
|
||||
u8 backup0xc50;
|
||||
u8 backup0xc58;
|
||||
|
@ -544,8 +544,8 @@ s32 Hal_SetPowerTracking(struct adapter *padapter, u8 enable);
|
|||
void Hal_GetPowerTracking(struct adapter *padapter, u8 * enable);
|
||||
void Hal_GetThermalMeter(struct adapter *pAdapter, u8 *value);
|
||||
void Hal_mpt_SwitchRfSetting(struct adapter *pAdapter);
|
||||
void Hal_MPT_CCKTxPowerAdjust(struct adapter *Adapter, BOOLEAN bInCH14);
|
||||
void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, BOOLEAN beven);
|
||||
void Hal_MPT_CCKTxPowerAdjust(struct adapter *Adapter, bool bInCH14);
|
||||
void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, bool beven);
|
||||
void Hal_SetCCKTxPower(struct adapter *pAdapter, u8 * TxPower);
|
||||
void Hal_SetOFDMTxPower(struct adapter *pAdapter, u8 * TxPower);
|
||||
void Hal_TriggerRFThermalMeter(struct adapter *pAdapter);
|
||||
|
@ -556,7 +556,7 @@ void SetOFDMContinuousTx(struct adapter *pAdapter, u8 bStart);
|
|||
void Hal_SetOFDMContinuousTx(struct adapter *pAdapter, u8 bStart);
|
||||
void Hal_ProSetCrystalCap (struct adapter *pAdapter , u32 CrystalCapVal);
|
||||
void _rtw_mp_xmit_priv(struct xmit_priv *pxmitpriv);
|
||||
void MP_PHY_SetRFPathSwitch(struct adapter *pAdapter ,BOOLEAN bMain);
|
||||
void MP_PHY_SetRFPathSwitch(struct adapter *pAdapter ,bool bMain);
|
||||
void MPT_PwrCtlDM(struct adapter *padapter, u32 bstart);
|
||||
|
||||
#endif //_RTW_MP_H_
|
||||
|
|
|
@ -76,7 +76,7 @@ typedef struct _DR_VARIABLE_STRUCT_ {
|
|||
|
||||
//int mp_start_joinbss(struct 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, u8 wIndex, void * Data, u8 DataLength, BOOLEAN isDirectionIn);
|
||||
//BOOLEAN CEusbGetStatusRequest(PCE_USB_DEVICE CEdevice, IN u16 Op, IN u16 Index, void * Data);
|
||||
//BOOLEAN CEusbFeatureRequest(PCE_USB_DEVICE CEdevice, IN u16 Op, IN u16 FeatureSelector, IN u16 Index);
|
||||
//BOOLEAN CEusbGetDescriptorRequest(PCE_USB_DEVICE CEdevice, IN short urbLength, IN u8 DescriptorType, IN u8 Index, IN u16 LanguageId, IN void * TransferBuffer, IN ULONG TransferBufferLength);
|
||||
//bool usbvendorrequest(PCE_USB_DEVICE CEdevice, RT_USB_BREQUEST bRequest, RT_USB_WVALUE wValue, u8 wIndex, void * Data, u8 DataLength, bool isDirectionIn);
|
||||
//bool CEusbGetStatusRequest(PCE_USB_DEVICE CEdevice, IN u16 Op, IN u16 Index, void * Data);
|
||||
//bool CEusbFeatureRequest(PCE_USB_DEVICE CEdevice, IN u16 Op, IN u16 FeatureSelector, IN u16 Index);
|
||||
//bool CEusbGetDescriptorRequest(PCE_USB_DEVICE CEdevice, IN short urbLength, IN u8 DescriptorType, IN u8 Index, IN u16 LanguageId, IN void * TransferBuffer, IN ULONG TransferBufferLength);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue