rtl8188eu: Remove USHORT

This is typdefed to u16.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2018-11-30 16:04:28 -06:00
parent 7b97e72004
commit 1e72b90b99
4 changed files with 16 additions and 17 deletions

View file

@ -48,7 +48,7 @@
typedef signed int sint; typedef signed int sint;
#define u8 u8 #define u8 u8
#define USHORT u16 #define u16 u16
#define UINT u32 #define UINT u32
#define ULONG u32 #define ULONG u32

View file

@ -203,13 +203,13 @@ void mptbt_BtControlProcess(
typedef struct _BT_REQ_CMD { typedef struct _BT_REQ_CMD {
u8 opCodeVer; u8 opCodeVer;
u8 OpCode; u8 OpCode;
USHORT paraLength; u16 paraLength;
u8 pParamStart[100]; u8 pParamStart[100];
} BT_REQ_CMD, *PBT_REQ_CMD; } BT_REQ_CMD, *PBT_REQ_CMD;
typedef struct _BT_RSP_CMD { typedef struct _BT_RSP_CMD {
USHORT status; u16 status;
USHORT paraLength; u16 paraLength;
u8 pParamStart[100]; u8 pParamStart[100];
} BT_RSP_CMD, *PBT_RSP_CMD; } BT_RSP_CMD, *PBT_RSP_CMD;

View file

@ -106,7 +106,6 @@ struct mp_tx {
#define s8Byte s64 #define s8Byte s64
#define ps8Byte s64* #define ps8Byte s64*
#define USHORT u16
#define UINT u32 #define UINT u32
#define ULONG u32 #define ULONG u32
#define PULONG u32* #define PULONG u32*
@ -133,14 +132,14 @@ typedef struct _RT_PMAC_TX_INFO {
u8 NDP_sound:1; u8 NDP_sound:1;
u8 BandWidth:3; /* 0: 20 1:40 2:80Mhz */ u8 BandWidth:3; /* 0: 20 1:40 2:80Mhz */
u8 m_STBC; /* bSTBC + 1 */ u8 m_STBC; /* bSTBC + 1 */
USHORT PacketPeriod; u16 PacketPeriod;
UINT PacketCount; UINT PacketCount;
UINT PacketLength; UINT PacketLength;
u8 PacketPattern; u8 PacketPattern;
USHORT SFD; u16 SFD;
u8 SignalField; u8 SignalField;
u8 ServiceField; u8 ServiceField;
USHORT LENGTH; u16 LENGTH;
u8 CRC16[2]; u8 CRC16[2];
u8 LSIG[3]; u8 LSIG[3];
u8 HT_SIG[6]; u8 HT_SIG[6];

View file

@ -78,8 +78,8 @@ typedef enum _NDIS_802_11_NETWORK_INFRASTRUCTURE {
typedef struct _NDIS_802_11_FIXED_IEs { typedef struct _NDIS_802_11_FIXED_IEs {
u8 Timestamp[8]; u8 Timestamp[8];
USHORT BeaconInterval; u16 BeaconInterval;
USHORT Capabilities; u16 Capabilities;
} NDIS_802_11_FIXED_IEs, *PNDIS_802_11_FIXED_IEs; } NDIS_802_11_FIXED_IEs, *PNDIS_802_11_FIXED_IEs;
typedef struct _NDIS_802_11_VARIABLE_IEs { typedef struct _NDIS_802_11_VARIABLE_IEs {
@ -136,24 +136,24 @@ NDIS_802_11_ENCRYPTION_STATUS, *PNDIS_802_11_ENCRYPTION_STATUS;
#define NDIS_802_11_AI_RESFI_ASSOCIATIONID 4 #define NDIS_802_11_AI_RESFI_ASSOCIATIONID 4
typedef struct _NDIS_802_11_AI_REQFI { typedef struct _NDIS_802_11_AI_REQFI {
USHORT Capabilities; u16 Capabilities;
USHORT ListenInterval; u16 ListenInterval;
NDIS_802_11_MAC_ADDRESS CurrentAPAddress; NDIS_802_11_MAC_ADDRESS CurrentAPAddress;
} NDIS_802_11_AI_REQFI, *PNDIS_802_11_AI_REQFI; } NDIS_802_11_AI_REQFI, *PNDIS_802_11_AI_REQFI;
typedef struct _NDIS_802_11_AI_RESFI { typedef struct _NDIS_802_11_AI_RESFI {
USHORT Capabilities; u16 Capabilities;
USHORT StatusCode; u16 StatusCode;
USHORT AssociationId; u16 AssociationId;
} NDIS_802_11_AI_RESFI, *PNDIS_802_11_AI_RESFI; } NDIS_802_11_AI_RESFI, *PNDIS_802_11_AI_RESFI;
typedef struct _NDIS_802_11_ASSOCIATION_INFORMATION { typedef struct _NDIS_802_11_ASSOCIATION_INFORMATION {
ULONG Length; ULONG Length;
USHORT AvailableRequestFixedIEs; u16 AvailableRequestFixedIEs;
NDIS_802_11_AI_REQFI RequestFixedIEs; NDIS_802_11_AI_REQFI RequestFixedIEs;
ULONG RequestIELength; ULONG RequestIELength;
ULONG OffsetRequestIEs; ULONG OffsetRequestIEs;
USHORT AvailableResponseFixedIEs; u16 AvailableResponseFixedIEs;
NDIS_802_11_AI_RESFI ResponseFixedIEs; NDIS_802_11_AI_RESFI ResponseFixedIEs;
ULONG ResponseIELength; ULONG ResponseIELength;
ULONG OffsetResponseIEs; ULONG OffsetResponseIEs;