rtl8188eu: Remove all synonyms for u8, u16, u32, qnd u64

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2018-11-30 16:36:29 -06:00
parent 248ac6b84b
commit 7f635252a0
22 changed files with 326 additions and 353 deletions

View file

@ -42,16 +42,16 @@ typedef enum _MP_BT_MODE {
/* definition for BT_UP_OP_BT_SET_TX_RX_PARAMETER */
typedef struct _BT_TXRX_PARAMETERS {
u1Byte txrxChannel;
u4Byte txrxTxPktCnt;
u1Byte txrxTxPktInterval;
u1Byte txrxPayloadType;
u1Byte txrxPktType;
u2Byte txrxPayloadLen;
u4Byte txrxPktHeader;
u1Byte txrxWhitenCoeff;
u1Byte txrxBdaddr[6];
u1Byte txrxTxGainIndex;
u8 txrxChannel;
u32 txrxTxPktCnt;
u8 txrxTxPktInterval;
u8 txrxPayloadType;
u8 txrxPktType;
u16 txrxPayloadLen;
u32 txrxPktHeader;
u8 txrxWhitenCoeff;
u8 txrxBdaddr[6];
u8 txrxTxGainIndex;
} BT_TXRX_PARAMETERS, *PBT_TXRX_PARAMETERS;
/* txrxPktType */
@ -168,10 +168,10 @@ typedef enum _BT_REPORT_TYPE {
void
MPTBT_Test(
IN PADAPTER Adapter,
IN u1Byte opCode,
IN u1Byte byte1,
IN u1Byte byte2,
IN u1Byte byte3
IN u8 opCode,
IN u8 byte1,
IN u8 byte2,
IN u8 byte3
);
NDIS_STATUS
@ -186,8 +186,8 @@ MPTBT_SendOidBT(
void
MPTBT_FwC2hBtMpCtrl(
PADAPTER Adapter,
pu1Byte tmpBuf,
u1Byte length
u8 * tmpBuf,
u8 length
);
void MPh2c_timeout_handle(void *FunctionContext);
@ -215,21 +215,21 @@ typedef struct _BT_RSP_CMD {
typedef struct _BT_H2C {
u1Byte opCodeVer:4;
u1Byte reqNum:4;
u1Byte opCode;
u1Byte buf[100];
u8 opCodeVer:4;
u8 reqNum:4;
u8 opCode;
u8 buf[100];
} BT_H2C, *PBT_H2C;
typedef struct _BT_EXT_C2H {
u1Byte extendId;
u1Byte statusCode:4;
u1Byte retLen:4;
u1Byte opCodeVer:4;
u1Byte reqNum:4;
u1Byte buf[100];
u8 extendId;
u8 statusCode:4;
u8 retLen:4;
u8 opCodeVer:4;
u8 reqNum:4;
u8 buf[100];
} BT_EXT_C2H, *PBT_EXT_C2H;

View file

@ -93,35 +93,35 @@ typedef enum _BTCOEX_SUSPEND_STATE {
#define BT_INFO_LEN 8
typedef struct _HCI_LINK_INFO {
u2Byte ConnectHandle;
u1Byte IncomingTrafficMode;
u1Byte OutgoingTrafficMode;
u1Byte BTProfile;
u1Byte BTCoreSpec;
u16 ConnectHandle;
u8 IncomingTrafficMode;
u8 OutgoingTrafficMode;
u8 BTProfile;
u8 BTCoreSpec;
s1Byte BT_RSSI;
u1Byte TrafficProfile;
u1Byte linkRole;
u8 TrafficProfile;
u8 linkRole;
} HCI_LINK_INFO, *PHCI_LINK_INFO;
#define MAX_BT_ACL_LINK_NUM 8
typedef struct _HCI_EXT_CONFIG {
HCI_LINK_INFO aclLink[MAX_BT_ACL_LINK_NUM];
u1Byte btOperationCode;
u2Byte CurrentConnectHandle;
u1Byte CurrentIncomingTrafficMode;
u1Byte CurrentOutgoingTrafficMode;
u8 btOperationCode;
u16 CurrentConnectHandle;
u8 CurrentIncomingTrafficMode;
u8 CurrentOutgoingTrafficMode;
u1Byte NumberOfACL;
u1Byte NumberOfSCO;
u1Byte CurrentBTStatus;
u2Byte HCIExtensionVer;
u8 NumberOfACL;
u8 NumberOfSCO;
u8 CurrentBTStatus;
u16 HCIExtensionVer;
bool bEnableWifiScanNotify;
} HCI_EXT_CONFIG, *PHCI_EXT_CONFIG;
typedef struct _HCI_PHY_LINK_BSS_INFO {
u2Byte bdCap; /* capability information */
u16 bdCap; /* capability information */
/* Qos related. Added by Annie, 2005-11-01. */
/* BSS_QOS BssQos; */
@ -318,15 +318,15 @@ typedef struct _BT_MGNT {
bool bLogLinkInProgress;
bool bPhyLinkInProgress;
bool bPhyLinkInProgressStartLL;
u1Byte BtCurrentPhyLinkhandle;
u2Byte BtCurrentLogLinkhandle;
u1Byte CurrentConnectEntryNum;
u1Byte DisconnectEntryNum;
u1Byte CurrentBTConnectionCnt;
u8 BtCurrentPhyLinkhandle;
u16 BtCurrentLogLinkhandle;
u8 CurrentConnectEntryNum;
u8 DisconnectEntryNum;
u8 CurrentBTConnectionCnt;
BT_CONNECT_TYPE BTCurrentConnectType;
BT_CONNECT_TYPE BTReceiveConnectPkt;
u1Byte BTAuthCount;
u1Byte BTAsocCount;
u8 BTAuthCount;
u8 BTAsocCount;
bool bStartSendSupervisionPkt;
bool BtOperationOn;
bool BTNeedAMPStatusChg;
@ -336,7 +336,7 @@ typedef struct _BT_MGNT {
bool bNeedNotifyAMPNoCap;
bool bCreateSpportQos;
bool bSupportProfile;
u1Byte BTChannel;
u8 BTChannel;
bool CheckChnlIsSuit;
bool bBtScan;
bool btLogoTest;

View file

@ -78,33 +78,6 @@ struct mp_tx {
#define MP_MAX_LINES 1000
#define MP_MAX_LINES_BYTES 256
#define u1Byte u8
#define s1Byte s8
#define u4Byte u32
#define s4Byte s32
#define u1Byte u8
#define pu1Byte u8*
#define u2Byte u16
#define pu2Byte u16*
#define u4Byte u32
#define pu4Byte u32*
#define u8Byte u64
#define pu8Byte u64*
#define s1Byte s8
#define ps1Byte s8*
#define s2Byte s16
#define ps2Byte s16*
#define s4Byte s32
#define ps4Byte s32*
#define s8Byte s64
#define ps8Byte s64*
typedef struct _RT_PMAC_PKT_INFO {
u8 MCS;
@ -236,9 +209,9 @@ typedef struct _MPT_CONTEXT {
u32 MptAckCounter;
/* SD3 Willis For 8192S to save 1T/2T RF table for ACUT Only fro ACUT delete later ~~~! */
/* s1Byte BufOfLines[2][MAX_LINES_HWCONFIG_TXT][MAX_BYTES_LINE_HWCONFIG_TXT]; */
/* s1Byte BufOfLines[2][MP_MAX_LINES][MP_MAX_LINES_BYTES]; */
/* s4Byte RfReadLine[2]; */
/* s8 BufOfLines[2][MAX_LINES_HWCONFIG_TXT][MAX_BYTES_LINE_HWCONFIG_TXT]; */
/* s8 BufOfLines[2][MP_MAX_LINES][MP_MAX_LINES_BYTES]; */
/* s32 RfReadLine[2]; */
u8 APK_bound[2]; /* for APK path A/path B */
bool bMptIndexEven;
@ -249,15 +222,15 @@ typedef struct _MPT_CONTEXT {
u8 backup0x52_RF_A;
u8 backup0x52_RF_B;
u4Byte backup0x58_RF_A;
u4Byte backup0x58_RF_B;
u32 backup0x58_RF_A;
u32 backup0x58_RF_B;
u1Byte h2cReqNum;
u1Byte c2hBuf[32];
u8 h2cReqNum;
u8 c2hBuf[32];
u1Byte btInBuf[100];
u8 btInBuf[100];
u32 mptOutLen;
u1Byte mptOutBuf[100];
u8 mptOutBuf[100];
RT_PMAC_TX_INFO PMacTxInfo;
RT_PMAC_PKT_INFO PMacPktInfo;
u8 HWTxmode;