Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103167
b: refs/heads/master
c: f529932
h: refs/heads/master
i:
  103165: 67370f5
  103163: cc8aedc
  103159: 1a0ba53
  103151: 410216c
  103135: b90ac65
  103103: 60872b7
  103039: 54e7534
  102911: fd685b9
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Jun 26, 2008
1 parent eb51894 commit f0c8ccd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1d35dfa0f7d75ba14c442143a9ad8e232d3edfb
refs/heads/master: f529932ce27e809e8c9bab5d744df5aef8a89157
17 changes: 10 additions & 7 deletions trunk/drivers/net/wireless/rt2x00/rt2x00queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,18 @@
/**
* DOC: Number of entries per queue
*
* After research it was concluded that 12 entries in a RX and TX
* queue would be sufficient. Although this is almost one third of
* the amount the legacy driver allocated, the queues aren't getting
* filled to the maximum even when working with the maximum rate.
* Under normal load without fragmentation 12 entries are sufficient
* without the queue being filled up to the maximum. When using fragmentation
* and the queue threshold code we need to add some additional margins to
* make sure the queue will never (or only under extreme load) fill up
* completely.
* Since we don't use preallocated DMA having a large number of queue entries
* will have only minimal impact on the memory requirements for the queue.
*/
#define RX_ENTRIES 12
#define TX_ENTRIES 12
#define RX_ENTRIES 24
#define TX_ENTRIES 24
#define BEACON_ENTRIES 1
#define ATIM_ENTRIES 1
#define ATIM_ENTRIES 8

/**
* enum data_queue_qid: Queue identification
Expand Down

0 comments on commit f0c8ccd

Please sign in to comment.