diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-08-23 04:46:33 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-08-27 11:27:29 -0400 |
commit | 13bb9483e190b95b04b22280ec9efa6b48469fd6 (patch) | |
tree | fdc39df48473db0ed02193eeb92d0e6a06a33ff8 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 246ed355221076884d225f9d8a4c30a048be8162 (diff) |
iwlwifi: prepare for PAN queue/fifo assignment
PAN ucode will require a different queue assignment,
in particular queue 9 instead of 4 should be used for
commands.
This is required because the ucode will stop/start
queues 4 and 8 depending on the PAN state, since
queue 8 will be used for PAN multicast (after DTIM).
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 234d6b430fcf..02e0a9bbad16 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -4001,6 +4001,8 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e | |||
4001 | priv = hw->priv; | 4001 | priv = hw->priv; |
4002 | SET_IEEE80211_DEV(hw, &pdev->dev); | 4002 | SET_IEEE80211_DEV(hw, &pdev->dev); |
4003 | 4003 | ||
4004 | priv->cmd_queue = IWL39_CMD_QUEUE_NUM; | ||
4005 | |||
4004 | /* 3945 has only one valid context */ | 4006 | /* 3945 has only one valid context */ |
4005 | priv->valid_contexts = BIT(IWL_RXON_CTX_BSS); | 4007 | priv->valid_contexts = BIT(IWL_RXON_CTX_BSS); |
4006 | 4008 | ||