Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171643
b: refs/heads/master
c: 1a71655
h: refs/heads/master
i:
  171641: 426d89e
  171639: 8971472
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Nov 11, 2009
1 parent 14fac5e commit f230d8d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 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: a221e6f7b48ee2d9352827af8aec8b49272b5b43
refs/heads/master: 1a716557a5ed3b814cb32b8be79848d53e470871
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ struct iwl_channel_info {
#define IWL_MIN_NUM_QUEUES 10

/*
* uCode queue management definitions ...
* Queue #4 is the command queue for 3945/4965/5x00/1000/6x00.
* Queue #4 is the command queue for 3945/4965/5x00/1000/6x00,
* the driver maps it into the appropriate device FIFO for the
* uCode.
*/
#define IWL_CMD_QUEUE_NUM 4

Expand Down
9 changes: 7 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,13 @@ int iwl_tx_queue_init(struct iwl_priv *priv, struct iwl_tx_queue *txq,

txq->need_update = 0;

/* aggregation TX queues will get their ID when aggregation begins */
if (txq_id <= IWL_TX_FIFO_AC3)
/*
* Aggregation TX queues will get their ID when aggregation begins;
* they overwrite the setting done here. The command FIFO doesn't
* need an swq_id so don't set one to catch errors, all others can
* be set up to the identity mapping.
*/
if (txq_id != IWL_CMD_QUEUE_NUM)
txq->swq_id = txq_id;

/* TFD_QUEUE_SIZE_MAX must be power-of-two size, otherwise
Expand Down

0 comments on commit f230d8d

Please sign in to comment.