summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/coreconfigurator.h
diff options
context:
space:
mode:
authorChaehyun Lim2015-06-11 07:35:54 +0200
committerGreg Kroah-Hartman2015-06-11 18:07:59 +0200
commitd85f5326e4a4b1606a0dbb3f8a320a0359fdb2d8 (patch)
treefe528c410b1d4dea641de70d7cfec2d25f31d64c /drivers/staging/wilc1000/coreconfigurator.h
parentstaging: wilc1000: remove UWORD32 (diff)
downloadkernel-qcow2-linux-d85f5326e4a4b1606a0dbb3f8a320a0359fdb2d8.tar.gz
kernel-qcow2-linux-d85f5326e4a4b1606a0dbb3f8a320a0359fdb2d8.tar.xz
kernel-qcow2-linux-d85f5326e4a4b1606a0dbb3f8a320a0359fdb2d8.zip
staging: wilc1000: remove WILC_Uint16
Use u16 instead of WILC_Uint16. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.h')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index b8e52414ebcc..640dc50860f9 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -31,7 +31,7 @@
#define NUM_11N_HUT_SWITCHES 0
#endif /* MAC_802_11N */
-extern WILC_Uint16 g_num_total_switches;
+extern u16 g_num_total_switches;
#define MAC_HDR_LEN 24 /* No Address4 - non-ESS */
#define MAX_SSID_LEN 33
@@ -65,7 +65,7 @@ extern WILC_Uint16 g_num_total_switches;
/*****************************************************************************/
/* Function Macros */
/*****************************************************************************/
-#define MAKE_WORD16(lsb, msb) ((((WILC_Uint16)(msb) << 8) & 0xFF00) | (lsb))
+#define MAKE_WORD16(lsb, msb) ((((u16)(msb) << 8) & 0xFF00) | (lsb))
#define MAKE_WORD32(lsw, msw) ((((WILC_Uint32)(msw) << 16) & 0xFFFF0000) | (lsw))
@@ -394,7 +394,7 @@ typedef enum {
} tenuConnectSts;
typedef struct {
- WILC_Uint16 u16WIDid;
+ u16 u16WIDid;
tenuWIDtype enuWIDtype;
WILC_Sint32 s32ValueSize;
WILC_Sint8 *ps8WidVal;
@@ -409,11 +409,11 @@ typedef struct {
/* This structure is used to support parsing of the received 'N' message */
typedef struct {
WILC_Sint8 s8rssi;
- WILC_Uint16 u16CapInfo;
+ u16 u16CapInfo;
u8 au8ssid[MAX_SSID_LEN];
u8 u8SsidLen;
u8 au8bssid[6];
- WILC_Uint16 u16BeaconPeriod;
+ u16 u16BeaconPeriod;
u8 u8DtimPeriod;
u8 u8channel;
unsigned long u32TimeRcvdInScanCached; /* of type unsigned long to be accepted by the linux kernel macro time_after() */
@@ -426,7 +426,7 @@ typedef struct {
WILC_Uint32 u32Tsf; /* time-stamp [Low only 32 bit] */
#endif
u8 *pu8IEs;
- WILC_Uint16 u16IEsLen;
+ u16 u16IEsLen;
void *pJoinParams;
tstrRSSI strRssi;
WILC_Uint64 u64Tsf; /* time-stamp [Low and High 64 bit] */
@@ -434,11 +434,11 @@ typedef struct {
/* This structure is used to support parsing of the received Association Response frame */
typedef struct {
- WILC_Uint16 u16capability;
- WILC_Uint16 u16ConnectStatus;
- WILC_Uint16 u16AssocID;
+ u16 u16capability;
+ u16 u16ConnectStatus;
+ u16 u16AssocID;
u8 *pu8RespIEs;
- WILC_Uint16 u16RespIEsLen;
+ u16 u16RespIEsLen;
} tstrConnectRespInfo;
@@ -447,14 +447,14 @@ typedef struct {
u8 *pu8ReqIEs;
size_t ReqIEsLen;
u8 *pu8RespIEs;
- WILC_Uint16 u16RespIEsLen;
- WILC_Uint16 u16ConnectStatus;
+ u16 u16RespIEsLen;
+ u16 u16ConnectStatus;
} tstrConnectInfo;
typedef struct {
- WILC_Uint16 u16reason;
+ u16 u16reason;
u8 *ie;
size_t ie_len;
} tstrDisconnectNotifInfo;