]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: wilc_wfi_cfgoperations.h: align defines
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 15 Sep 2015 05:06:28 +0000 (14:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Sep 2015 13:52:49 +0000 (06:52 -0700)
This patch fix alignment of some defines in wilc_wfi_cfgoperations.h

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.h

index 28858daf97ddc4bf63d5e5a946114e5119c34d3e..5fd0757b92052e9e805695a42ca062d71a4c9c65 100644 (file)
 #ifdef WILC_P2P
 
 /*Public action frame index IDs*/
-#define                FRAME_TYPE_ID                                   0
-#define                ACTION_CAT_ID                                   24
-#define                ACTION_SUBTYPE_ID                               25
-#define                P2P_PUB_ACTION_SUBTYPE          30
+#define FRAME_TYPE_ID                  0
+#define ACTION_CAT_ID                  24
+#define ACTION_SUBTYPE_ID              25
+#define P2P_PUB_ACTION_SUBTYPE         30
 
 /*Public action frame Attribute IDs*/
-#define                ACTION_FRAME                                    0xd0
-#define                GO_INTENT_ATTR_ID                       0x04
-#define                CHANLIST_ATTR_ID                0x0b
-#define                OPERCHAN_ATTR_ID                0x11
-#define                PUB_ACTION_ATTR_ID                      0x04
-#define                P2PELEM_ATTR_ID                     0xdd
+#define ACTION_FRAME                   0xd0
+#define GO_INTENT_ATTR_ID              0x04
+#define CHANLIST_ATTR_ID               0x0b
+#define OPERCHAN_ATTR_ID               0x11
+#define PUB_ACTION_ATTR_ID             0x04
+#define P2PELEM_ATTR_ID                        0xdd
 
 /*Public action subtype values*/
-#define                GO_NEG_REQ                                      0x00
-#define                GO_NEG_RSP                                      0x01
-#define                GO_NEG_CONF                                     0x02
-#define                P2P_INV_REQ                         0x03
-#define                P2P_INV_RSP                             0x04
-#define                PUBLIC_ACT_VENDORSPEC           0x09
-#define                GAS_INTIAL_REQ                                  0x0a
-#define                GAS_INTIAL_RSP                                  0x0b
+#define GO_NEG_REQ                     0x00
+#define GO_NEG_RSP                     0x01
+#define GO_NEG_CONF                    0x02
+#define P2P_INV_REQ                    0x03
+#define P2P_INV_RSP                    0x04
+#define PUBLIC_ACT_VENDORSPEC          0x09
+#define GAS_INTIAL_REQ                 0x0a
+#define GAS_INTIAL_RSP                 0x0b
 
-#define                INVALID_CHANNEL                                 0
+#define INVALID_CHANNEL                        0
 #endif
 
 #define nl80211_SCAN_RESULT_EXPIRE     (3 * HZ)
-#define SCAN_RESULT_EXPIRE                             (40 * HZ)
+#define SCAN_RESULT_EXPIRE             (40 * HZ)
 
 static const u32 cipher_suites[] = {
        WLAN_CIPHER_SUITE_WEP40,
@@ -105,8 +105,8 @@ int WILC_WFI_deinit_mon_interface(void);
 struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev);
 
 #ifdef TCP_ENHANCEMENTS
-#define TCP_ACK_FILTER_LINK_SPEED_THRESH 54
-#define DEFAULT_LINK_SPEED 72
+#define TCP_ACK_FILTER_LINK_SPEED_THRESH       54
+#define DEFAULT_LINK_SPEED                     72
 void Enable_TCP_ACK_Filter(bool value);
 #endif