mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 21:43:06 +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
|
@ -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…
Add table
Add a link
Reference in a new issue