summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00lib.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00lib.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
index a15227d2fe4..e4b4dd23d61 100644
--- a/drivers/net/wireless/rt2x00/rt2x00lib.h
+++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
@@ -41,22 +41,10 @@ struct rt2x00_rate {
#define DEV_RATE_CCK 0x0001
#define DEV_RATE_OFDM 0x0002
#define DEV_RATE_SHORT_PREAMBLE 0x0004
+#define DEV_RATE_BASIC 0x0008
unsigned short bitrate; /* In 100kbit/s */
-
unsigned short ratemask;
-#define DEV_RATEMASK_1MB ( (1 << 1) - 1 )
-#define DEV_RATEMASK_2MB ( (1 << 2) - 1 )
-#define DEV_RATEMASK_5_5MB ( (1 << 3) - 1 )
-#define DEV_RATEMASK_11MB ( (1 << 4) - 1 )
-#define DEV_RATEMASK_6MB ( (1 << 5) - 1 )
-#define DEV_RATEMASK_9MB ( (1 << 6) - 1 )
-#define DEV_RATEMASK_12MB ( (1 << 7) - 1 )
-#define DEV_RATEMASK_18MB ( (1 << 8) - 1 )
-#define DEV_RATEMASK_24MB ( (1 << 9) - 1 )
-#define DEV_RATEMASK_36MB ( (1 << 10) - 1 )
-#define DEV_RATEMASK_48MB ( (1 << 11) - 1 )
-#define DEV_RATEMASK_54MB ( (1 << 12) - 1 )
unsigned short plcp;
};