diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-08-23 04:46:34 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-08-27 11:28:15 -0400 |
commit | 751ca305d0e37f0d44b6a261e7db31aa6b60fbf4 (patch) | |
tree | 7c87a8f737d448a46ed1584d0903eded2752808d /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | 13bb9483e190b95b04b22280ec9efa6b48469fd6 (diff) |
iwlwifi: define PAN queues/FIFOs
PAN capable microcode has a different
queue assignment (not just more queues
for PAN) due to the way multicast is
handled for AP mode.
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/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index cfc8e8de8798..5f67955c76cf 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3012,7 +3012,10 @@ static int __iwl_up(struct iwl_priv *priv) | |||
3012 | iwl_write32(priv, CSR_INT, 0xFFFFFFFF); | 3012 | iwl_write32(priv, CSR_INT, 0xFFFFFFFF); |
3013 | 3013 | ||
3014 | /* must be initialised before iwl_hw_nic_init */ | 3014 | /* must be initialised before iwl_hw_nic_init */ |
3015 | priv->cmd_queue = IWL_DEFAULT_CMD_QUEUE_NUM; | 3015 | if (priv->valid_contexts != BIT(IWL_RXON_CTX_BSS)) |
3016 | priv->cmd_queue = IWL_IPAN_CMD_QUEUE_NUM; | ||
3017 | else | ||
3018 | priv->cmd_queue = IWL_DEFAULT_CMD_QUEUE_NUM; | ||
3016 | 3019 | ||
3017 | ret = iwlagn_hw_nic_init(priv); | 3020 | ret = iwlagn_hw_nic_init(priv); |
3018 | if (ret) { | 3021 | if (ret) { |