diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index c1e482bb37b3..f79170849add 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -94,12 +94,15 @@ enum data_queue_qid { | |||
94 | * mac80211 but was stripped for processing by the driver. | 94 | * mac80211 but was stripped for processing by the driver. |
95 | * @SKBDESC_NOT_MAC80211: Frame didn't originate from mac80211, | 95 | * @SKBDESC_NOT_MAC80211: Frame didn't originate from mac80211, |
96 | * don't try to pass it back. | 96 | * don't try to pass it back. |
97 | * @SKBDESC_DESC_IN_SKB: The descriptor is at the start of the | ||
98 | * skb, instead of in the desc field. | ||
97 | */ | 99 | */ |
98 | enum skb_frame_desc_flags { | 100 | enum skb_frame_desc_flags { |
99 | SKBDESC_DMA_MAPPED_RX = 1 << 0, | 101 | SKBDESC_DMA_MAPPED_RX = 1 << 0, |
100 | SKBDESC_DMA_MAPPED_TX = 1 << 1, | 102 | SKBDESC_DMA_MAPPED_TX = 1 << 1, |
101 | SKBDESC_IV_STRIPPED = 1 << 2, | 103 | SKBDESC_IV_STRIPPED = 1 << 2, |
102 | SKBDESC_NOT_MAC80211 = 1 << 3, | 104 | SKBDESC_NOT_MAC80211 = 1 << 3, |
105 | SKBDESC_DESC_IN_SKB = 1 << 4, | ||
103 | }; | 106 | }; |
104 | 107 | ||
105 | /** | 108 | /** |
@@ -183,7 +186,6 @@ enum rxdone_entry_desc_flags { | |||
183 | * @timestamp: RX Timestamp | 186 | * @timestamp: RX Timestamp |
184 | * @signal: Signal of the received frame. | 187 | * @signal: Signal of the received frame. |
185 | * @rssi: RSSI of the received frame. | 188 | * @rssi: RSSI of the received frame. |
186 | * @noise: Measured noise during frame reception. | ||
187 | * @size: Data size of the received frame. | 189 | * @size: Data size of the received frame. |
188 | * @flags: MAC80211 receive flags (See &enum mac80211_rx_flags). | 190 | * @flags: MAC80211 receive flags (See &enum mac80211_rx_flags). |
189 | * @dev_flags: Ralink receive flags (See &enum rxdone_entry_desc_flags). | 191 | * @dev_flags: Ralink receive flags (See &enum rxdone_entry_desc_flags). |
@@ -197,7 +199,6 @@ struct rxdone_entry_desc { | |||
197 | u64 timestamp; | 199 | u64 timestamp; |
198 | int signal; | 200 | int signal; |
199 | int rssi; | 201 | int rssi; |
200 | int noise; | ||
201 | int size; | 202 | int size; |
202 | int flags; | 203 | int flags; |
203 | int dev_flags; | 204 | int dev_flags; |
@@ -287,8 +288,8 @@ enum txentry_desc_flags { | |||
287 | * | 288 | * |
288 | * @flags: Descriptor flags (See &enum queue_entry_flags). | 289 | * @flags: Descriptor flags (See &enum queue_entry_flags). |
289 | * @queue: Queue identification (See &enum data_queue_qid). | 290 | * @queue: Queue identification (See &enum data_queue_qid). |
291 | * @length: Length of the entire frame. | ||
290 | * @header_length: Length of 802.11 header. | 292 | * @header_length: Length of 802.11 header. |
291 | * @l2pad: Amount of padding to align 802.11 payload to 4-byte boundrary. | ||
292 | * @length_high: PLCP length high word. | 293 | * @length_high: PLCP length high word. |
293 | * @length_low: PLCP length low word. | 294 | * @length_low: PLCP length low word. |
294 | * @signal: PLCP signal. | 295 | * @signal: PLCP signal. |
@@ -301,6 +302,7 @@ enum txentry_desc_flags { | |||
301 | * @retry_limit: Max number of retries. | 302 | * @retry_limit: Max number of retries. |
302 | * @aifs: AIFS value. | 303 | * @aifs: AIFS value. |
303 | * @ifs: IFS value. | 304 | * @ifs: IFS value. |
305 | * @txop: IFS value for 11n capable chips. | ||
304 | * @cw_min: cwmin value. | 306 | * @cw_min: cwmin value. |
305 | * @cw_max: cwmax value. | 307 | * @cw_max: cwmax value. |
306 | * @cipher: Cipher type used for encryption. | 308 | * @cipher: Cipher type used for encryption. |
@@ -313,8 +315,8 @@ struct txentry_desc { | |||
313 | 315 | ||
314 | enum data_queue_qid queue; | 316 | enum data_queue_qid queue; |
315 | 317 | ||
318 | u16 length; | ||
316 | u16 header_length; | 319 | u16 header_length; |
317 | u16 l2pad; | ||
318 | 320 | ||
319 | u16 length_high; | 321 | u16 length_high; |
320 | u16 length_low; | 322 | u16 length_low; |
@@ -330,6 +332,7 @@ struct txentry_desc { | |||
330 | short retry_limit; | 332 | short retry_limit; |
331 | short aifs; | 333 | short aifs; |
332 | short ifs; | 334 | short ifs; |
335 | short txop; | ||
333 | short cw_min; | 336 | short cw_min; |
334 | short cw_max; | 337 | short cw_max; |
335 | 338 | ||