Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
data_queue Struct Reference

#include <rt2x00queue.h>

Data Fields

struct rt2x00_devrt2x00dev
 
struct queue_entry * entries
 
enum data_queue_qid qid
 
unsigned long flags
 
struct mutex status_lock
 
spinlock_t tx_lock
 
spinlock_t index_lock
 
unsigned int count
 
unsigned short limit
 
unsigned short threshold
 
unsigned short length
 
unsigned short index [Q_INDEX_MAX]
 
unsigned short txop
 
unsigned short aifs
 
unsigned short cw_min
 
unsigned short cw_max
 
unsigned short data_size
 
unsigned short desc_size
 
unsigned short usb_endpoint
 
unsigned short usb_maxpacket
 

Detailed Description

struct data_queue: Data queue

: Pointer to main &struct rt2x00dev where this queue belongs to. : Base address of the &struct queue_entry which are part of this queue. : The queue identification, see &enum data_queue_qid. : Entry flags, see &enum queue_entry_flags. : The mutex for protecting the start/stop/flush handling on this queue. : Spinlock to serialize tx operations on this queue. : Spinlock to protect index handling. Whenever , or needs to be changed this lock should be grabbed to prevent index corruption due to concurrency. : Number of frames handled in the queue. : Maximum number of entries in the queue. : Minimum number of free entries before queue is kicked by force. : Number of frames in queue. : Index pointers to entry positions in the queue, use &enum queue_index to get a specific index field. : maximum burst time. : The aifs value for outgoing frames (field ignored in RX queue). : The cw min value for outgoing frames (field ignored in RX queue). : The cw max value for outgoing frames (field ignored in RX queue). : Maximum data size for the frames in this queue. : Hardware descriptor size for the data in this queue. : Device endpoint used for communication (USB only) : Max packet size for given endpoint (USB only)

Definition at line 455 of file rt2x00queue.h.

Field Documentation

unsigned short aifs

Definition at line 473 of file rt2x00queue.h.

unsigned int count

Definition at line 466 of file rt2x00queue.h.

unsigned short cw_max

Definition at line 475 of file rt2x00queue.h.

unsigned short cw_min

Definition at line 474 of file rt2x00queue.h.

unsigned short data_size

Definition at line 477 of file rt2x00queue.h.

unsigned short desc_size

Definition at line 478 of file rt2x00queue.h.

struct queue_entry* entries

Definition at line 457 of file rt2x00queue.h.

unsigned long flags

Definition at line 460 of file rt2x00queue.h.

unsigned short index[Q_INDEX_MAX]

Definition at line 470 of file rt2x00queue.h.

spinlock_t index_lock

Definition at line 464 of file rt2x00queue.h.

unsigned short length

Definition at line 469 of file rt2x00queue.h.

unsigned short limit

Definition at line 467 of file rt2x00queue.h.

enum data_queue_qid qid

Definition at line 459 of file rt2x00queue.h.

struct rt2x00_dev* rt2x00dev

Definition at line 456 of file rt2x00queue.h.

struct mutex status_lock

Definition at line 462 of file rt2x00queue.h.

unsigned short threshold

Definition at line 468 of file rt2x00queue.h.

spinlock_t tx_lock

Definition at line 463 of file rt2x00queue.h.

unsigned short txop

Definition at line 472 of file rt2x00queue.h.

unsigned short usb_endpoint

Definition at line 480 of file rt2x00queue.h.

unsigned short usb_maxpacket

Definition at line 481 of file rt2x00queue.h.


The documentation for this struct was generated from the following file: