aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00usb.h26
1 files changed, 5 insertions, 21 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h
index 4da9eb376ebd..26f53f868af6 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.h
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.h
@@ -216,47 +216,31 @@ void rt2x00usb_disable_radio(struct rt2x00_dev *rt2x00dev);
216 * TX data handlers. 216 * TX data handlers.
217 */ 217 */
218int rt2x00usb_write_tx_data(struct rt2x00_dev *rt2x00dev, 218int rt2x00usb_write_tx_data(struct rt2x00_dev *rt2x00dev,
219 struct data_queue *queue, struct sk_buff *skb, 219 struct data_queue *queue, struct sk_buff *skb);
220 struct ieee80211_tx_control *control);
221 220
222/** 221/**
223 * struct queue_entry_priv_usb_rx: Per RX entry USB specific information 222 * struct queue_entry_priv_usb: Per entry USB specific information
224 * 223 *
225 * @urb: Urb structure used for device communication. 224 * @urb: Urb structure used for device communication.
226 */ 225 */
227struct queue_entry_priv_usb_rx { 226struct queue_entry_priv_usb {
228 struct urb *urb; 227 struct urb *urb;
229}; 228};
230 229
231/** 230/**
232 * struct queue_entry_priv_usb_tx: Per TX entry USB specific information 231 * struct queue_entry_priv_usb_bcn: Per TX entry USB specific information
233 * 232 *
234 * @urb: Urb structure used for device communication. 233 * The first section should match &struct queue_entry_priv_usb exactly.
235 * @control: mac80211 control structure used to transmit data.
236 */
237struct queue_entry_priv_usb_tx {
238 struct urb *urb;
239
240 struct ieee80211_tx_control control;
241};
242
243/**
244 * struct queue_entry_priv_usb_tx: Per TX entry USB specific information
245 *
246 * The first section should match &struct queue_entry_priv_usb_tx exactly.
247 * rt2500usb can use this structure to send a guardian byte when working 234 * rt2500usb can use this structure to send a guardian byte when working
248 * with beacons. 235 * with beacons.
249 * 236 *
250 * @urb: Urb structure used for device communication. 237 * @urb: Urb structure used for device communication.
251 * @control: mac80211 control structure used to transmit data.
252 * @guardian_data: Set to 0, used for sending the guardian data. 238 * @guardian_data: Set to 0, used for sending the guardian data.
253 * @guardian_urb: Urb structure used to send the guardian data. 239 * @guardian_urb: Urb structure used to send the guardian data.
254 */ 240 */
255struct queue_entry_priv_usb_bcn { 241struct queue_entry_priv_usb_bcn {
256 struct urb *urb; 242 struct urb *urb;
257 243
258 struct ieee80211_tx_control control;
259
260 unsigned int guardian_data; 244 unsigned int guardian_data;
261 struct urb *guardian_urb; 245 struct urb *guardian_urb;
262}; 246};