aboutsummaryrefslogtreecommitdiffstats
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 a15227d2fe40..e4b4dd23d611 100644
--- a/drivers/net/wireless/rt2x00/rt2x00lib.h
+++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
@@ -41,22 +41,10 @@ struct rt2x00_rate {
41#define DEV_RATE_CCK 0x0001 41#define DEV_RATE_CCK 0x0001
42#define DEV_RATE_OFDM 0x0002 42#define DEV_RATE_OFDM 0x0002
43#define DEV_RATE_SHORT_PREAMBLE 0x0004 43#define DEV_RATE_SHORT_PREAMBLE 0x0004
44#define DEV_RATE_BASIC 0x0008
44 45
45 unsigned short bitrate; /* In 100kbit/s */ 46 unsigned short bitrate; /* In 100kbit/s */
46
47 unsigned short ratemask; 47 unsigned short ratemask;
48#define DEV_RATEMASK_1MB ( (1 << 1) - 1 )
49#define DEV_RATEMASK_2MB ( (1 << 2) - 1 )
50#define DEV_RATEMASK_5_5MB ( (1 << 3) - 1 )
51#define DEV_RATEMASK_11MB ( (1 << 4) - 1 )
52#define DEV_RATEMASK_6MB ( (1 << 5) - 1 )
53#define DEV_RATEMASK_9MB ( (1 << 6) - 1 )
54#define DEV_RATEMASK_12MB ( (1 << 7) - 1 )
55#define DEV_RATEMASK_18MB ( (1 << 8) - 1 )
56#define DEV_RATEMASK_24MB ( (1 << 9) - 1 )
57#define DEV_RATEMASK_36MB ( (1 << 10) - 1 )
58#define DEV_RATEMASK_48MB ( (1 << 11) - 1 )
59#define DEV_RATEMASK_54MB ( (1 << 12) - 1 )
60 48
61 unsigned short plcp; 49 unsigned short plcp;
62}; 50};