summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-06-18 22:08:50 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-18 20:20:57 -0700
commite54d5b75c8d63cff971f167e371d18cb89b350d7 (patch)
treef46bd926c71e332c767582737906d2238e7216e2 /drivers/staging
parent0256b5406e3a87a776df9dd262a7dace0f49e7b0 (diff)
downloadblackbird-obmc-linux-e54d5b75c8d63cff971f167e371d18cb89b350d7.tar.gz
blackbird-obmc-linux-e54d5b75c8d63cff971f167e371d18cb89b350d7.zip
staging: wilc1000: align #define macro
Align #define macro. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/wilc1000/host_interface.c93
1 files changed, 46 insertions, 47 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 808b61b5df04..33d1add3f506 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -17,53 +17,52 @@ extern u8 g_wilc_initialized;
/*****************************************************************************/
/* Message types of the Host IF Message Queue*/
-#define HOST_IF_MSG_SCAN ((u16)0)
-#define HOST_IF_MSG_CONNECT ((u16)1)
-#define HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO ((u16)2)
-#define HOST_IF_MSG_KEY ((u16)3)
-#define HOST_IF_MSG_RCVD_NTWRK_INFO ((u16)4)
-#define HOST_IF_MSG_RCVD_SCAN_COMPLETE ((u16)5)
-#define HOST_IF_MSG_CFG_PARAMS ((u16)6)
-#define HOST_IF_MSG_SET_CHANNEL ((u16)7)
-#define HOST_IF_MSG_DISCONNECT ((u16)8)
-#define HOST_IF_MSG_GET_RSSI ((u16)9)
-#define HOST_IF_MSG_GET_CHNL ((u16)10)
-#define HOST_IF_MSG_ADD_BEACON ((u16)11)
-#define HOST_IF_MSG_DEL_BEACON ((u16)12)
-#define HOST_IF_MSG_ADD_STATION ((u16)13)
-#define HOST_IF_MSG_DEL_STATION ((u16)14)
-#define HOST_IF_MSG_EDIT_STATION ((u16)15)
-#define HOST_IF_MSG_SCAN_TIMER_FIRED ((u16)16)
-#define HOST_IF_MSG_CONNECT_TIMER_FIRED ((u16)17)
-#define HOST_IF_MSG_POWER_MGMT ((u16)18)
-#define HOST_IF_MSG_GET_INACTIVETIME ((u16)19)
-#define HOST_IF_MSG_REMAIN_ON_CHAN ((u16)20)
-#define HOST_IF_MSG_REGISTER_FRAME ((u16)21)
-#define HOST_IF_MSG_LISTEN_TIMER_FIRED ((u16)22)
-#define HOST_IF_MSG_GET_LINKSPEED ((u16)23)
-#define HOST_IF_MSG_SET_WFIDRV_HANDLER ((u16)24)
-#define HOST_IF_MSG_SET_MAC_ADDRESS ((u16)25)
-#define HOST_IF_MSG_GET_MAC_ADDRESS ((u16)26)
-#define HOST_IF_MSG_SET_OPERATION_MODE ((u16)27)
-#define HOST_IF_MSG_SET_IPADDRESS ((u16)28)
-#define HOST_IF_MSG_GET_IPADDRESS ((u16)29)
-#define HOST_IF_MSG_FLUSH_CONNECT ((u16)30)
-#define HOST_IF_MSG_GET_STATISTICS ((u16)31)
-#define HOST_IF_MSG_SET_MULTICAST_FILTER ((u16)32)
-#define HOST_IF_MSG_ADD_BA_SESSION ((u16)33)
-#define HOST_IF_MSG_DEL_BA_SESSION ((u16)34)
-#define HOST_IF_MSG_Q_IDLE ((u16)35)
-#define HOST_IF_MSG_DEL_ALL_STA ((u16)36)
-#define HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS ((u16)34)
-
-#define HOST_IF_MSG_EXIT ((u16)100)
-
-#define HOST_IF_SCAN_TIMEOUT 4000
-#define HOST_IF_CONNECT_TIMEOUT 9500
-
-#define BA_SESSION_DEFAULT_BUFFER_SIZE 16
-#define BA_SESSION_DEFAULT_TIMEOUT 1000
-#define BLOCK_ACK_REQ_SIZE 0x14
+#define HOST_IF_MSG_SCAN ((u16)0)
+#define HOST_IF_MSG_CONNECT ((u16)1)
+#define HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO ((u16)2)
+#define HOST_IF_MSG_KEY ((u16)3)
+#define HOST_IF_MSG_RCVD_NTWRK_INFO ((u16)4)
+#define HOST_IF_MSG_RCVD_SCAN_COMPLETE ((u16)5)
+#define HOST_IF_MSG_CFG_PARAMS ((u16)6)
+#define HOST_IF_MSG_SET_CHANNEL ((u16)7)
+#define HOST_IF_MSG_DISCONNECT ((u16)8)
+#define HOST_IF_MSG_GET_RSSI ((u16)9)
+#define HOST_IF_MSG_GET_CHNL ((u16)10)
+#define HOST_IF_MSG_ADD_BEACON ((u16)11)
+#define HOST_IF_MSG_DEL_BEACON ((u16)12)
+#define HOST_IF_MSG_ADD_STATION ((u16)13)
+#define HOST_IF_MSG_DEL_STATION ((u16)14)
+#define HOST_IF_MSG_EDIT_STATION ((u16)15)
+#define HOST_IF_MSG_SCAN_TIMER_FIRED ((u16)16)
+#define HOST_IF_MSG_CONNECT_TIMER_FIRED ((u16)17)
+#define HOST_IF_MSG_POWER_MGMT ((u16)18)
+#define HOST_IF_MSG_GET_INACTIVETIME ((u16)19)
+#define HOST_IF_MSG_REMAIN_ON_CHAN ((u16)20)
+#define HOST_IF_MSG_REGISTER_FRAME ((u16)21)
+#define HOST_IF_MSG_LISTEN_TIMER_FIRED ((u16)22)
+#define HOST_IF_MSG_GET_LINKSPEED ((u16)23)
+#define HOST_IF_MSG_SET_WFIDRV_HANDLER ((u16)24)
+#define HOST_IF_MSG_SET_MAC_ADDRESS ((u16)25)
+#define HOST_IF_MSG_GET_MAC_ADDRESS ((u16)26)
+#define HOST_IF_MSG_SET_OPERATION_MODE ((u16)27)
+#define HOST_IF_MSG_SET_IPADDRESS ((u16)28)
+#define HOST_IF_MSG_GET_IPADDRESS ((u16)29)
+#define HOST_IF_MSG_FLUSH_CONNECT ((u16)30)
+#define HOST_IF_MSG_GET_STATISTICS ((u16)31)
+#define HOST_IF_MSG_SET_MULTICAST_FILTER ((u16)32)
+#define HOST_IF_MSG_ADD_BA_SESSION ((u16)33)
+#define HOST_IF_MSG_DEL_BA_SESSION ((u16)34)
+#define HOST_IF_MSG_Q_IDLE ((u16)35)
+#define HOST_IF_MSG_DEL_ALL_STA ((u16)36)
+#define HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS ((u16)34)
+#define HOST_IF_MSG_EXIT ((u16)100)
+
+#define HOST_IF_SCAN_TIMEOUT 4000
+#define HOST_IF_CONNECT_TIMEOUT 9500
+
+#define BA_SESSION_DEFAULT_BUFFER_SIZE 16
+#define BA_SESSION_DEFAULT_TIMEOUT 1000
+#define BLOCK_ACK_REQ_SIZE 0x14
/*****************************************************************************/
/* Type Definitions */
/*****************************************************************************/
OpenPOWER on IntegriCloud