staging: vt6656: mac80211 conversion: move data rates to device.h
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 25 Jun 2014 20:14:34 +0000 (21:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:21:20 +0000 (20:21 -0400)
Move all RATE_* macros to device.h

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/datarate.h
drivers/staging/vt6656/device.h

index 96252adf1ea62e78c1302db67b3dab64e38c9c7d..19b2c6646b75a462a306e335ccc765250e6e1a09 100644 (file)
 #define RETRY_TIMES_THRD_H         2    /* times */
 #define RETRY_TIMES_THRD_L         1    /* times */
 
-#define RATE_1M         0
-#define RATE_2M         1
-#define RATE_5M         2
-#define RATE_11M        3
-#define RATE_6M         4
-#define RATE_9M         5
-#define RATE_12M        6
-#define RATE_18M        7
-#define RATE_24M        8
-#define RATE_36M        9
-#define RATE_48M       10
-#define RATE_54M       11
-#define RATE_AUTO      12
-
 void RATEvParseMaxRate(struct vnt_private *, PWLAN_IE_SUPP_RATES pItemRates,
        PWLAN_IE_SUPP_RATES pItemExtRates, int bUpdateBasicRate,
        u16 *pwMaxBasicRate, u16 *pwMaxSuppRate, u16 *pwSuppRate,
index 2bd9830e92644208a7916acbf7a1772f798dd928..6696365916bb9e7c1097ba16c910c4cafbe8295b 100644 (file)
 #undef DEVICE_ETHTOOL_IOCTL_SUPPORT
 #endif
 
+#define RATE_1M                0
+#define RATE_2M                1
+#define RATE_5M                2
+#define RATE_11M       3
+#define RATE_6M                4
+#define RATE_9M                5
+#define RATE_12M       6
+#define RATE_18M       7
+#define RATE_24M       8
+#define RATE_36M       9
+#define RATE_48M       10
+#define RATE_54M       11
+#define RATE_AUTO      12
+
 #define MAX_RATE                       12
 
 /*