diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index c5f46f234083..7027c9f47d3f 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -129,27 +129,35 @@ static inline struct skb_frame_desc* get_skb_frame_desc(struct sk_buff *skb) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | /** | 131 | /** |
132 | * enum rxdone_entry_desc_flags: Flags for &struct rxdone_entry_desc | ||
133 | * | ||
134 | * @RXDONE_SIGNAL_PLCP: Does the signal field contain the plcp value, | ||
135 | * or does it contain the bitrate itself. | ||
136 | * @RXDONE_MY_BSS: Does this frame originate from device's BSS. | ||
137 | */ | ||
138 | enum rxdone_entry_desc_flags { | ||
139 | RXDONE_SIGNAL_PLCP = 1 << 0, | ||
140 | RXDONE_MY_BSS = 1 << 1, | ||
141 | }; | ||
142 | |||
143 | /** | ||
132 | * struct rxdone_entry_desc: RX Entry descriptor | 144 | * struct rxdone_entry_desc: RX Entry descriptor |
133 | * | 145 | * |
134 | * Summary of information that has been read from the RX frame descriptor. | 146 | * Summary of information that has been read from the RX frame descriptor. |
135 | * | 147 | * |
136 | * @signal: Signal of the received frame. | 148 | * @signal: Signal of the received frame. |
137 | * @signal_plcp: Does the signal field contain the plcp value, | ||
138 | * or does it contain the bitrate itself. | ||
139 | * @rssi: RSSI of the received frame. | 149 | * @rssi: RSSI of the received frame. |
140 | * @ofdm: Was frame send with an OFDM rate. | ||
141 | * @size: Data size of the received frame. | 150 | * @size: Data size of the received frame. |
142 | * @flags: MAC80211 receive flags (See &enum mac80211_rx_flags). | 151 | * @flags: MAC80211 receive flags (See &enum mac80211_rx_flags). |
143 | * @my_bss: Does this frame originate from device's BSS. | 152 | * @dev_flags: Ralink receive flags (See &enum rxdone_entry_desc_flags). |
153 | |||
144 | */ | 154 | */ |
145 | struct rxdone_entry_desc { | 155 | struct rxdone_entry_desc { |
146 | int signal; | 156 | int signal; |
147 | int signal_plcp; | ||
148 | int rssi; | 157 | int rssi; |
149 | int ofdm; | ||
150 | int size; | 158 | int size; |
151 | int flags; | 159 | int flags; |
152 | int my_bss; | 160 | int dev_flags; |
153 | }; | 161 | }; |
154 | 162 | ||
155 | /** | 163 | /** |