mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Replace all the alternative forms for bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
21b9be0939
commit
57a2db9e23
49 changed files with 406 additions and 413 deletions
|
@ -91,7 +91,7 @@ int rtl8188e_PHY_ConfigRFWithParaFile(PADAPTER Adapter, u8 *pFileName, u8 eRFPat
|
|||
/*
|
||||
* RF Power setting
|
||||
*/
|
||||
/* extern BOOLEAN PHY_SetRFPowerState(PADAPTER Adapter,
|
||||
/* extern bool PHY_SetRFPowerState(PADAPTER Adapter,
|
||||
* RT_RF_POWER_STATE eRFPowerState); */
|
||||
|
||||
/*
|
||||
|
@ -101,7 +101,7 @@ void PHY_GetTxPowerLevel8188E(PADAPTER Adapter,
|
|||
s32 *powerlevel);
|
||||
void PHY_SetTxPowerLevel8188E(PADAPTER Adapter,
|
||||
u8 channel);
|
||||
BOOLEAN PHY_UpdateTxPowerDbm8188E(PADAPTER Adapter,
|
||||
bool PHY_UpdateTxPowerDbm8188E(PADAPTER Adapter,
|
||||
int powerInDbm);
|
||||
|
||||
void
|
||||
|
@ -133,7 +133,7 @@ void PHY_SetBWMode8188E(PADAPTER pAdapter,
|
|||
/*
|
||||
* Set FW CMD IO for 8192S.
|
||||
*/
|
||||
/* extern BOOLEAN HalSetIO8192C(PADAPTER Adapter,
|
||||
/* extern bool HalSetIO8192C(PADAPTER Adapter,
|
||||
* IO_TYPE IOType); */
|
||||
|
||||
/*
|
||||
|
@ -179,7 +179,7 @@ PHY_EnableHostClkReq(
|
|||
PADAPTER Adapter
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
SetAntennaConfig92C(
|
||||
PADAPTER Adapter,
|
||||
u8 DefaultAnt
|
||||
|
|
|
@ -52,10 +52,6 @@
|
|||
#define UINT u32
|
||||
#define ULONG u32
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19))
|
||||
typedef _Bool bool;
|
||||
#endif
|
||||
|
||||
typedef void (*proc_t)(void *);
|
||||
|
||||
typedef __kernel_size_t SIZE_T;
|
||||
|
@ -278,8 +274,6 @@
|
|||
/* 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, boolean;
|
||||
|
||||
#define TEST_FLAG(__Flag, __testFlag) (((__Flag) & (__testFlag)) != 0)
|
||||
#define SET_FLAG(__Flag, __setFlag) ((__Flag) |= __setFlag)
|
||||
#define CLEAR_FLAG(__Flag, __clearFlag) ((__Flag) &= ~(__clearFlag))
|
||||
|
|
|
@ -257,7 +257,7 @@ struct registry_priv {
|
|||
u8 bt_ampdu;
|
||||
u8 ant_num;
|
||||
#endif
|
||||
BOOLEAN bAcceptAddbaReq;
|
||||
bool bAcceptAddbaReq;
|
||||
|
||||
u8 antdiv_cfg;
|
||||
u8 antdiv_type;
|
||||
|
@ -343,7 +343,7 @@ struct registry_priv {
|
|||
s8 adaptivity_th_edcca_hl_diff;
|
||||
|
||||
u8 boffefusemask;
|
||||
BOOLEAN bFileMaskEfuse;
|
||||
bool bFileMaskEfuse;
|
||||
#ifdef CONFIG_AUTO_CHNL_SEL_NHM
|
||||
u8 acs_mode;
|
||||
u8 acs_auto_scan;
|
||||
|
|
|
@ -354,12 +354,12 @@ u8 hal_com_config_channel_plan(
|
|||
char *sw_alpha2,
|
||||
u8 sw_chplan,
|
||||
u8 def_chplan,
|
||||
BOOLEAN AutoLoadFail
|
||||
bool AutoLoadFail
|
||||
);
|
||||
|
||||
int hal_config_macaddr(_adapter *adapter, bool autoload_fail);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
HAL_IsLegalChannel(
|
||||
PADAPTER Adapter,
|
||||
u32 Channel
|
||||
|
@ -374,7 +374,7 @@ void HalSetBrateCfg(
|
|||
u8 *mBratesOS,
|
||||
u16 *pBrateCfg);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
Hal_MappingOutPipe(
|
||||
PADAPTER pAdapter,
|
||||
u8 NumOutPipe
|
||||
|
@ -424,7 +424,7 @@ void rtw_hal_reqtxrpt(_adapter *padapter, u8 macid);
|
|||
u8 SetHalDefVar(_adapter *adapter, HAL_DEF_VARIABLE variable, void *value);
|
||||
u8 GetHalDefVar(_adapter *adapter, HAL_DEF_VARIABLE variable, void *value);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
eqNByte(
|
||||
u8 *str1,
|
||||
u8 *str2,
|
||||
|
@ -436,14 +436,14 @@ MapCharToHexDigit(
|
|||
char chTmp
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
GetHexValueFromString(
|
||||
char *szStr,
|
||||
u32 *pu4bVal,
|
||||
u32 *pu4bMove
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
GetFractionValueFromString(
|
||||
char *szStr,
|
||||
u8 *pInteger,
|
||||
|
@ -451,12 +451,12 @@ GetFractionValueFromString(
|
|||
u32 *pu4bMove
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
IsCommentString(
|
||||
char *szStr
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
ParseQualifiedString(
|
||||
char *In,
|
||||
u32 *Start,
|
||||
|
@ -465,13 +465,13 @@ ParseQualifiedString(
|
|||
char RightQualifier
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
GetU1ByteIntegerFromStringInDecimal(
|
||||
char *Str,
|
||||
u8 *pInt
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
isAllSpaceOrTab(
|
||||
u8 *data,
|
||||
u8 size
|
||||
|
@ -514,7 +514,7 @@ void SetHalODMVar(
|
|||
PADAPTER Adapter,
|
||||
HAL_ODM_VARIABLE eVariable,
|
||||
void * pValue1,
|
||||
BOOLEAN bSet);
|
||||
bool bSet);
|
||||
|
||||
#ifdef CONFIG_BACKGROUND_NOISE_MONITOR
|
||||
struct noise_info {
|
||||
|
|
|
@ -192,17 +192,17 @@ typedef struct _LED_USB {
|
|||
LED_PIN LedPin; /* Identify how to implement this SW led. */
|
||||
|
||||
LED_STATE CurrLedState; /* Current LED state. */
|
||||
BOOLEAN bLedOn; /* TRUE if LED is ON, FALSE if LED is OFF. */
|
||||
bool bLedOn; /* TRUE if LED is ON, FALSE if LED is OFF. */
|
||||
|
||||
BOOLEAN bSWLedCtrl;
|
||||
bool bSWLedCtrl;
|
||||
|
||||
BOOLEAN bLedBlinkInProgress; /* TRUE if it is blinking, FALSE o.w.. */
|
||||
bool bLedBlinkInProgress; /* TRUE if it is blinking, FALSE o.w.. */
|
||||
/* ALPHA, added by chiyoko, 20090106 */
|
||||
BOOLEAN bLedNoLinkBlinkInProgress;
|
||||
BOOLEAN bLedLinkBlinkInProgress;
|
||||
BOOLEAN bLedStartToLinkBlinkInProgress;
|
||||
BOOLEAN bLedScanBlinkInProgress;
|
||||
BOOLEAN bLedWPSBlinkInProgress;
|
||||
bool bLedNoLinkBlinkInProgress;
|
||||
bool bLedLinkBlinkInProgress;
|
||||
bool bLedStartToLinkBlinkInProgress;
|
||||
bool bLedScanBlinkInProgress;
|
||||
bool bLedWPSBlinkInProgress;
|
||||
|
||||
u32 BlinkTimes; /* Number of times to toggle led state for blinking. */
|
||||
u8 BlinkCounter; /* Added for turn off overlap led after blinking a while, by page, 20120821 */
|
||||
|
|
|
@ -191,7 +191,7 @@ PHY_GetTxPowerIndexBase(
|
|||
u8 Rate,
|
||||
CHANNEL_WIDTH BandWidth,
|
||||
u8 Channel,
|
||||
PBOOLEAN bIn24G
|
||||
bool * bIn24G
|
||||
);
|
||||
|
||||
s8
|
||||
|
|
|
@ -266,16 +266,16 @@ typedef struct hal_com_data {
|
|||
u8 CurrentCenterFrequencyIndex1;
|
||||
u8 nCur40MhzPrimeSC; /* Control channel sub-carrier */
|
||||
u8 nCur80MhzPrimeSC; /* used for primary 40MHz of 80MHz mode */
|
||||
BOOLEAN bSwChnlAndSetBWInProgress;
|
||||
bool bSwChnlAndSetBWInProgress;
|
||||
u8 bDisableSWChannelPlan; /* flag of disable software change channel plan */
|
||||
u16 BasicRateSet;
|
||||
u32 ReceiveConfig;
|
||||
u8 rx_tsf_addr_filter_config; /* for 8822B/8821C USE */
|
||||
BOOLEAN bSwChnl;
|
||||
BOOLEAN bSetChnlBW;
|
||||
BOOLEAN bSWToBW40M;
|
||||
BOOLEAN bSWToBW80M;
|
||||
BOOLEAN bChnlBWInitialized;
|
||||
bool bSwChnl;
|
||||
bool bSetChnlBW;
|
||||
bool bSWToBW40M;
|
||||
bool bSWToBW80M;
|
||||
bool bChnlBWInitialized;
|
||||
u32 BackUp_BB_REG_4_2nd_CCA[3];
|
||||
#ifdef CONFIG_AUTO_CHNL_SEL_NHM
|
||||
struct auto_chan_sel acs;
|
||||
|
@ -455,7 +455,7 @@ typedef struct hal_com_data {
|
|||
u32 RfRegChnlVal[MAX_RF_PATH];
|
||||
|
||||
/* RDG enable */
|
||||
BOOLEAN bRDGEnable;
|
||||
bool bRDGEnable;
|
||||
|
||||
u8 RegTxPause;
|
||||
/* Beacon function related global variable. */
|
||||
|
@ -494,7 +494,7 @@ typedef struct hal_com_data {
|
|||
|
||||
|
||||
/* 2010/08/09 MH Add CU power down mode. */
|
||||
BOOLEAN pwrdown;
|
||||
bool pwrdown;
|
||||
|
||||
/* Add for dual MAC 0--Mac0 1--Mac1 */
|
||||
u32 interfaceIndex;
|
||||
|
@ -524,10 +524,10 @@ typedef struct hal_com_data {
|
|||
|
||||
|
||||
/* 2010/12/10 MH Add for USB aggreation mode dynamic shceme. */
|
||||
BOOLEAN UsbRxHighSpeedMode;
|
||||
BOOLEAN UsbTxVeryHighSpeedMode;
|
||||
bool UsbRxHighSpeedMode;
|
||||
bool UsbTxVeryHighSpeedMode;
|
||||
u32 UsbBulkOutSize;
|
||||
BOOLEAN bSupportUSB3;
|
||||
bool bSupportUSB3;
|
||||
u8 usb_intf_start;
|
||||
|
||||
/* Interrupt relatd register information. */
|
||||
|
@ -587,7 +587,7 @@ typedef struct hal_com_data {
|
|||
#endif
|
||||
u8 RfKFreeEnable;
|
||||
u8 RfKFree_ch_group;
|
||||
BOOLEAN bCCKinCH14;
|
||||
bool bCCKinCH14;
|
||||
BB_INIT_REGISTER RegForRecover[5];
|
||||
|
||||
u32 RxGainOffset[4]; /*{2G, 5G_Low, 5G_Middle, G_High}*/
|
||||
|
|
|
@ -342,7 +342,7 @@ struct hal_ops {
|
|||
u8(*SetHalDefVarHandler)(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue);
|
||||
|
||||
void (*GetHalODMVarHandler)(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1, void * pValue2);
|
||||
void (*SetHalODMVarHandler)(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1, BOOLEAN bSet);
|
||||
void (*SetHalODMVarHandler)(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1, bool bSet);
|
||||
|
||||
void (*update_ra_mask_handler)(_adapter *padapter, struct sta_info *psta, struct macid_cfg *h2c_macid_cfg);
|
||||
void (*SetBeaconRelatedRegistersHandler)(_adapter *padapter);
|
||||
|
@ -360,13 +360,13 @@ struct hal_ops {
|
|||
|
||||
void (*EfusePowerSwitch)(_adapter *padapter, u8 bWrite, u8 PwrState);
|
||||
void (*BTEfusePowerSwitch)(_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);
|
||||
|
@ -392,7 +392,7 @@ struct hal_ops {
|
|||
s32(*fill_h2c_cmd)(PADAPTER, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer);
|
||||
void (*fill_fake_txdesc)(PADAPTER, u8 *pDesc, u32 BufferLen,
|
||||
u8 IsPsPoll, u8 IsBTQosNull, u8 bDataFrame);
|
||||
s32(*fw_dl)(_adapter *adapter, u8 wowlan);
|
||||
s32(*fw_dl)(_adapter *adapter, bool wowlan);
|
||||
|
||||
#if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
|
||||
void (*clear_interrupt)(_adapter *padapter);
|
||||
|
@ -519,7 +519,7 @@ 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_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, void * pValue2);
|
||||
|
||||
void rtw_hal_enable_interrupt(_adapter *padapter);
|
||||
|
|
|
@ -194,7 +194,7 @@ PHY_RFShadowWrite(
|
|||
u32 Offset,
|
||||
u32 Data);
|
||||
|
||||
BOOLEAN
|
||||
bool
|
||||
PHY_RFShadowCompare(
|
||||
PADAPTER Adapter,
|
||||
u8 eRFPath,
|
||||
|
|
|
@ -599,11 +599,11 @@ u8 map_read8(const struct map_t *map, u16 offset);
|
|||
|
||||
/* String handler */
|
||||
|
||||
BOOLEAN is_null(char c);
|
||||
BOOLEAN is_eol(char c);
|
||||
BOOLEAN is_space(char c);
|
||||
BOOLEAN IsHexDigit(char chTmp);
|
||||
BOOLEAN is_alpha(char chTmp);
|
||||
bool is_null(char c);
|
||||
bool is_eol(char c);
|
||||
bool is_space(char c);
|
||||
bool IsHexDigit(char chTmp);
|
||||
bool is_alpha(char chTmp);
|
||||
char alpha_to_upper(char c);
|
||||
|
||||
/*
|
||||
|
|
|
@ -225,7 +225,7 @@ Total page numbers : 176(0xB0) / 256(0x100)
|
|||
|
||||
/* rtl8188e_hal_init.c */
|
||||
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter, BOOLEAN bUsedWoWLANFw);
|
||||
s32 rtl8188e_FirmwareDownload(PADAPTER padapter, bool bUsedWoWLANFw);
|
||||
void _8051Reset88E(PADAPTER padapter);
|
||||
void rtl8188e_InitializeFirmwareVars(PADAPTER padapter);
|
||||
|
||||
|
@ -236,21 +236,21 @@ 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_ReadPAType_8188E(PADAPTER Adapter, u8 *PROMContent, BOOLEAN AutoloadFail);
|
||||
void Hal_ReadAmplifierType_8188E(PADAPTER Adapter, u8 *PROMContent, BOOLEAN AutoloadFail);
|
||||
void Hal_ReadRFEType_8188E(PADAPTER Adapter, u8 *PROMContent, 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);
|
||||
void Hal_ReadPAType_8188E(PADAPTER Adapter, u8 *PROMContent, bool AutoloadFail);
|
||||
void Hal_ReadAmplifierType_8188E(PADAPTER Adapter, u8 *PROMContent, bool AutoloadFail);
|
||||
void Hal_ReadRFEType_8188E(PADAPTER Adapter, u8 *PROMContent, bool AutoloadFail);
|
||||
|
||||
BOOLEAN HalDetectPwrDownMode88E(PADAPTER Adapter);
|
||||
bool HalDetectPwrDownMode88E(PADAPTER Adapter);
|
||||
|
||||
#if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
|
||||
void Hal_DetectWoWMode(PADAPTER pAdapter);
|
||||
|
@ -258,7 +258,7 @@ BOOLEAN HalDetectPwrDownMode88E(PADAPTER Adapter);
|
|||
|
||||
|
||||
#ifdef CONFIG_RF_POWER_TRIM
|
||||
void Hal_ReadRFGainOffset(PADAPTER pAdapter, u8 *hwinfo, BOOLEAN AutoLoadFail);
|
||||
void Hal_ReadRFGainOffset(PADAPTER pAdapter, u8 *hwinfo, bool AutoLoadFail);
|
||||
#endif /*CONFIG_RF_POWER_TRIM*/
|
||||
|
||||
void rtl8188e_init_default_value(_adapter *adapter);
|
||||
|
|
|
@ -310,8 +310,8 @@ typedef enum _SOUNDING_MODE {
|
|||
} SOUNDING_MODE, *PSOUNDING_MODE;
|
||||
|
||||
struct beamforming_entry {
|
||||
BOOLEAN bUsed;
|
||||
BOOLEAN bSound;
|
||||
bool bUsed;
|
||||
bool bSound;
|
||||
u16 aid; /* Used to construct AID field of NDPA packet. */
|
||||
u16 mac_id; /* Used to Set Reg42C in IBSS mode. */
|
||||
u16 p_aid; /* Used to fill Reg42C & Reg714 to compare with P_AID of Tx DESC. */
|
||||
|
@ -330,7 +330,7 @@ struct beamforming_entry {
|
|||
u8 LogStatusFailCnt;
|
||||
u8 PreCsiReport[327];
|
||||
u8 DefaultCsiCnt;
|
||||
BOOLEAN bDefaultCSI;
|
||||
bool bDefaultCSI;
|
||||
};
|
||||
|
||||
struct sounding_info {
|
||||
|
@ -360,10 +360,10 @@ BEAMFORMING_CAP beamforming_get_entry_beam_cap_by_mac_id(void * pmlmepriv , u8 m
|
|||
void beamforming_notify(PADAPTER adapter);
|
||||
BEAMFORMING_CAP beamforming_get_beamform_cap(struct beamforming_info *pBeamInfo);
|
||||
|
||||
BOOLEAN beamforming_send_ht_ndpa_packet(PADAPTER Adapter, u8 *ra, CHANNEL_WIDTH bw, u8 qidx);
|
||||
BOOLEAN beamforming_send_vht_ndpa_packet(PADAPTER Adapter, u8 *ra, u16 aid, CHANNEL_WIDTH bw, u8 qidx);
|
||||
bool beamforming_send_ht_ndpa_packet(PADAPTER Adapter, u8 *ra, CHANNEL_WIDTH bw, u8 qidx);
|
||||
bool beamforming_send_vht_ndpa_packet(PADAPTER Adapter, u8 *ra, u16 aid, CHANNEL_WIDTH bw, u8 qidx);
|
||||
|
||||
void beamforming_check_sounding_success(PADAPTER Adapter, BOOLEAN status);
|
||||
void beamforming_check_sounding_success(PADAPTER Adapter, bool status);
|
||||
|
||||
void beamforming_watchdog(PADAPTER Adapter);
|
||||
#endif /*#if (BEAMFORMING_SUPPORT ==0)- for diver defined beamforming*/
|
||||
|
|
|
@ -117,7 +117,7 @@ typedef struct _HCI_EXT_CONFIG {
|
|||
u1Byte CurrentBTStatus;
|
||||
u2Byte HCIExtensionVer;
|
||||
|
||||
BOOLEAN bEnableWifiScanNotify;
|
||||
bool bEnableWifiScanNotify;
|
||||
} HCI_EXT_CONFIG, *PHCI_EXT_CONFIG;
|
||||
|
||||
typedef struct _HCI_PHY_LINK_BSS_INFO {
|
||||
|
@ -314,10 +314,10 @@ typedef enum _HCI_EXT_BT_OPERATION {
|
|||
} HCI_EXT_BT_OPERATION, *PHCI_EXT_BT_OPERATION;
|
||||
|
||||
typedef struct _BT_MGNT {
|
||||
BOOLEAN bBTConnectInProgress;
|
||||
BOOLEAN bLogLinkInProgress;
|
||||
BOOLEAN bPhyLinkInProgress;
|
||||
BOOLEAN bPhyLinkInProgressStartLL;
|
||||
bool bBTConnectInProgress;
|
||||
bool bLogLinkInProgress;
|
||||
bool bPhyLinkInProgress;
|
||||
bool bPhyLinkInProgressStartLL;
|
||||
u1Byte BtCurrentPhyLinkhandle;
|
||||
u2Byte BtCurrentLogLinkhandle;
|
||||
u1Byte CurrentConnectEntryNum;
|
||||
|
@ -327,21 +327,21 @@ typedef struct _BT_MGNT {
|
|||
BT_CONNECT_TYPE BTReceiveConnectPkt;
|
||||
u1Byte BTAuthCount;
|
||||
u1Byte BTAsocCount;
|
||||
BOOLEAN bStartSendSupervisionPkt;
|
||||
BOOLEAN BtOperationOn;
|
||||
BOOLEAN BTNeedAMPStatusChg;
|
||||
BOOLEAN JoinerNeedSendAuth;
|
||||
bool bStartSendSupervisionPkt;
|
||||
bool BtOperationOn;
|
||||
bool BTNeedAMPStatusChg;
|
||||
bool JoinerNeedSendAuth;
|
||||
HCI_PHY_LINK_BSS_INFO bssDesc;
|
||||
HCI_EXT_CONFIG ExtConfig;
|
||||
BOOLEAN bNeedNotifyAMPNoCap;
|
||||
BOOLEAN bCreateSpportQos;
|
||||
BOOLEAN bSupportProfile;
|
||||
bool bNeedNotifyAMPNoCap;
|
||||
bool bCreateSpportQos;
|
||||
bool bSupportProfile;
|
||||
u1Byte BTChannel;
|
||||
BOOLEAN CheckChnlIsSuit;
|
||||
BOOLEAN bBtScan;
|
||||
BOOLEAN btLogoTest;
|
||||
BOOLEAN bRfStatusNotified;
|
||||
BOOLEAN bBtRsvedPageDownload;
|
||||
bool CheckChnlIsSuit;
|
||||
bool bBtScan;
|
||||
bool btLogoTest;
|
||||
bool bRfStatusNotified;
|
||||
bool bBtRsvedPageDownload;
|
||||
} BT_MGNT, *PBT_MGNT;
|
||||
|
||||
struct bt_coex_info {
|
||||
|
|
|
@ -193,20 +193,20 @@ 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 BTEfuse_PowerSwitch(PADAPTER pAdapter, u8 bWrite, u8 PwrState);
|
||||
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);
|
||||
void EFUSE_ShadowMapUpdate(PADAPTER pAdapter, u8 efuseType, BOOLEAN bPseudoTest);
|
||||
u8 Efuse_WordEnableDataWrite(PADAPTER pAdapter, u16 efuse_addr, u8 word_en, u8 *data, bool bPseudoTest);
|
||||
void EFUSE_ShadowMapUpdate(PADAPTER pAdapter, u8 efuseType, bool bPseudoTest);
|
||||
void EFUSE_ShadowRead(PADAPTER pAdapter, u8 Type, u16 Offset, u32 *Value);
|
||||
|
||||
void hal_ReadEFuse_BT_logic_map(
|
||||
|
|
|
@ -209,12 +209,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. */
|
||||
/* u8 TrafficBusyState; */
|
||||
u8 TrafficTransitionCount;
|
||||
u32 LowPowerTransitionCount;
|
||||
|
|
|
@ -470,7 +470,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;
|
||||
u8 VHT_enable;
|
||||
|
@ -782,7 +782,7 @@ void CAM_empty_entry(PADAPTER Adapter, u8 ucIndex);
|
|||
|
||||
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 survey_channel, RT_SCAN_TYPE ScanType);
|
||||
u8 collect_bss_info(_adapter *padapter, union recv_frame *precv_frame, WLAN_BSSID_EX *bssid);
|
||||
|
|
|
@ -156,18 +156,18 @@ typedef struct _RT_PMAC_TX_INFO {
|
|||
typedef void (*MPT_WORK_ITEM_HANDLER)(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;
|
||||
struct timer_list 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. */
|
||||
|
@ -178,7 +178,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;
|
||||
|
||||
|
@ -215,30 +215,30 @@ 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. */
|
||||
bool bCckContTx; /* TRUE if we are in CCK Continuous Tx test. */
|
||||
bool bOfdmContTx; /* TRUE if we are in OFDM Continuous Tx test. */
|
||||
/* TRUE if we have start Continuous Tx test. */
|
||||
BOOLEAN is_start_cont_tx;
|
||||
bool is_start_cont_tx;
|
||||
|
||||
/* TRUE if we are in Single Carrier Tx test. */
|
||||
BOOLEAN bSingleCarrier;
|
||||
bool bSingleCarrier;
|
||||
/* TRUE if we are in Carrier Suppression Tx Test. */
|
||||
|
||||
BOOLEAN is_carrier_suppression;
|
||||
bool is_carrier_suppression;
|
||||
|
||||
/* TRUE if we are in Single Tone Tx test. */
|
||||
|
||||
BOOLEAN is_single_tone;
|
||||
bool is_single_tone;
|
||||
|
||||
|
||||
/* 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 ~~~! */
|
||||
|
@ -247,7 +247,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;
|
||||
|
@ -268,8 +268,8 @@ typedef struct _MPT_CONTEXT {
|
|||
RT_PMAC_PKT_INFO PMacPktInfo;
|
||||
u8 HWTxmode;
|
||||
|
||||
BOOLEAN bldpc;
|
||||
BOOLEAN bstbc;
|
||||
bool bldpc;
|
||||
bool bstbc;
|
||||
} MPT_CONTEXT, *PMPT_CONTEXT;
|
||||
/* #endif */
|
||||
|
||||
|
@ -358,7 +358,7 @@ struct mp_priv {
|
|||
u32 rx_pktcount_filter_out;
|
||||
u32 rx_crcerrpktcount;
|
||||
u32 rx_pktloss;
|
||||
BOOLEAN rx_bindicatePkt;
|
||||
bool rx_bindicatePkt;
|
||||
struct recv_stat rxstat;
|
||||
|
||||
/* RF/BB relative */
|
||||
|
@ -391,11 +391,11 @@ struct mp_priv {
|
|||
u8 *pmp_xmtframe_buf;
|
||||
_queue free_mp_xmitqueue;
|
||||
u32 free_mp_xmitframe_cnt;
|
||||
BOOLEAN bSetRxBssid;
|
||||
BOOLEAN bTxBufCkFail;
|
||||
BOOLEAN bRTWSmbCfg;
|
||||
BOOLEAN bloopback;
|
||||
BOOLEAN bloadefusemap;
|
||||
bool bSetRxBssid;
|
||||
bool bTxBufCkFail;
|
||||
bool bRTWSmbCfg;
|
||||
bool bloopback;
|
||||
bool bloadefusemap;
|
||||
|
||||
MPT_CONTEXT mpt_ctx;
|
||||
|
||||
|
@ -689,7 +689,7 @@ void rtw_mp_trigger_lck(PADAPTER padapter);
|
|||
void hal_mpt_SwitchRfSetting(PADAPTER pAdapter);
|
||||
s32 hal_mpt_SetPowerTracking(PADAPTER padapter, u8 enable);
|
||||
void hal_mpt_GetPowerTracking(PADAPTER padapter, u8 *enable);
|
||||
void hal_mpt_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14);
|
||||
void hal_mpt_CCKTxPowerAdjust(PADAPTER Adapter, bool bInCH14);
|
||||
void hal_mpt_SetChannel(PADAPTER pAdapter);
|
||||
void hal_mpt_SetBandwidth(PADAPTER pAdapter);
|
||||
void hal_mpt_SetTxPower(PADAPTER pAdapter);
|
||||
|
@ -704,7 +704,7 @@ void hal_mpt_SetSingleCarrierTx(PADAPTER pAdapter, u8 bStart);
|
|||
void hal_mpt_SetSingleToneTx(PADAPTER pAdapter, u8 bStart);
|
||||
void hal_mpt_SetCarrierSuppressionTx(PADAPTER pAdapter, u8 bStart);
|
||||
void mpt_ProSetPMacTx(PADAPTER Adapter);
|
||||
void MP_PHY_SetRFPathSwitch(PADAPTER pAdapter , BOOLEAN bMain);
|
||||
void MP_PHY_SetRFPathSwitch(PADAPTER pAdapter , bool bMain);
|
||||
u8 MP_PHY_QueryRFPathSwitch(PADAPTER pAdapter);
|
||||
ULONG mpt_ProQueryCalTxPower(PADAPTER pAdapter, u8 RfPath);
|
||||
void MPT_PwrCtlDM(PADAPTER padapter, u32 bstart);
|
||||
|
|
|
@ -70,7 +70,7 @@ typedef struct _DR_VARIABLE_STRUCT_ {
|
|||
|
||||
/* int mp_start_joinbss(_adapter *padapter, NDIS_802_11_SSID *pssid); */
|
||||
|
||||
/* void _irqlevel_changed_(_irqL *irqlevel, BOOLEANunsigned char bLower); */
|
||||
/* void _irqlevel_changed_(_irqL *irqlevel, boolunsigned char bLower); */
|
||||
#define _irqlevel_changed_(a, b)
|
||||
|
||||
/* oid_rtl_seg_81_80_00 */
|
||||
|
|
|
@ -47,7 +47,7 @@ u8 rtw_odm_dfs_domain_unknown(_adapter *adapter);
|
|||
void rtw_odm_radar_detect_reset(_adapter *adapter);
|
||||
void rtw_odm_radar_detect_disable(_adapter *adapter);
|
||||
void rtw_odm_radar_detect_enable(_adapter *adapter);
|
||||
BOOLEAN rtw_odm_radar_detect(_adapter *adapter);
|
||||
bool rtw_odm_radar_detect(_adapter *adapter);
|
||||
#endif /* CONFIG_DFS_MASTER */
|
||||
|
||||
void rtw_odm_parse_rx_phy_status_chinfo(union recv_frame *rframe, u8 *phys);
|
||||
|
|
|
@ -331,7 +331,7 @@ struct recv_priv {
|
|||
#endif /* CONFIG_NEW_SIGNAL_STAT_PROCESS */
|
||||
u16 sink_udpport, pre_rtp_rxseq, cur_rtp_rxseq;
|
||||
|
||||
BOOLEAN store_law_data_flag;
|
||||
bool store_law_data_flag;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_NEW_SIGNAL_STAT_PROCESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue