diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-08-29 15:07:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:12 -0400 |
commit | 6c6aa3c004e702532cb0f549a96eb2f75636bd3b (patch) | |
tree | 8943035bef5cccb6496e5b1023e93ce76f469068 /drivers/net/wireless/rt2x00/rt2x00queue.h | |
parent | 2af0a570b45ec315f364ea2c8a6d072cfcaa9d32 (diff) |
rt2x00: Add Signal type flag
Instead of using the PLCP flag to indicate if the
signal value is plcp or the bitrate we should add
a new flag to mark the bitrate type explicitely.
This is usefull when new types are added later for
rt2800.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 654fa0c624d3..9dbf04f0f04c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -140,13 +140,14 @@ static inline struct skb_frame_desc* get_skb_frame_desc(struct sk_buff *skb) | |||
140 | /** | 140 | /** |
141 | * enum rxdone_entry_desc_flags: Flags for &struct rxdone_entry_desc | 141 | * enum rxdone_entry_desc_flags: Flags for &struct rxdone_entry_desc |
142 | * | 142 | * |
143 | * @RXDONE_SIGNAL_PLCP: Does the signal field contain the plcp value, | 143 | * @RXDONE_SIGNAL_PLCP: Signal field contains the plcp value. |
144 | * or does it contain the bitrate itself. | 144 | * @RXDONE_SIGNAL_BITRATE: Signal field contains the bitrate value. |
145 | * @RXDONE_MY_BSS: Does this frame originate from device's BSS. | 145 | * @RXDONE_MY_BSS: Does this frame originate from device's BSS. |
146 | */ | 146 | */ |
147 | enum rxdone_entry_desc_flags { | 147 | enum rxdone_entry_desc_flags { |
148 | RXDONE_SIGNAL_PLCP = 1 << 0, | 148 | RXDONE_SIGNAL_PLCP = 1 << 0, |
149 | RXDONE_MY_BSS = 1 << 1, | 149 | RXDONE_SIGNAL_BITRATE = 1 << 1, |
150 | RXDONE_MY_BSS = 1 << 2, | ||
150 | }; | 151 | }; |
151 | 152 | ||
152 | /** | 153 | /** |