|
@@ -911,16 +911,6 @@ static const u16 default_queue_to_tx_fifo[] = {
|
|
IWL_TX_FIFO_HCCA_2
|
|
IWL_TX_FIFO_HCCA_2
|
|
};
|
|
};
|
|
|
|
|
|
-static inline void iwl4965_txq_ctx_activate(struct iwl_priv *priv, int txq_id)
|
|
|
|
-{
|
|
|
|
- set_bit(txq_id, &priv->txq_ctx_active_msk);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-static inline void iwl4965_txq_ctx_deactivate(struct iwl_priv *priv, int txq_id)
|
|
|
|
-{
|
|
|
|
- clear_bit(txq_id, &priv->txq_ctx_active_msk);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int iwl4965_alive_notify(struct iwl_priv *priv)
|
|
int iwl4965_alive_notify(struct iwl_priv *priv)
|
|
{
|
|
{
|
|
u32 a;
|
|
u32 a;
|
|
@@ -998,7 +988,7 @@ int iwl4965_alive_notify(struct iwl_priv *priv)
|
|
/* Map each Tx/cmd queue to its corresponding fifo */
|
|
/* Map each Tx/cmd queue to its corresponding fifo */
|
|
for (i = 0; i < ARRAY_SIZE(default_queue_to_tx_fifo); i++) {
|
|
for (i = 0; i < ARRAY_SIZE(default_queue_to_tx_fifo); i++) {
|
|
int ac = default_queue_to_tx_fifo[i];
|
|
int ac = default_queue_to_tx_fifo[i];
|
|
- iwl4965_txq_ctx_activate(priv, i);
|
|
|
|
|
|
+ iwl_txq_ctx_activate(priv, i);
|
|
iwl4965_tx_queue_set_status(priv, &priv->txq[i], ac, 0);
|
|
iwl4965_tx_queue_set_status(priv, &priv->txq[i], ac, 0);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3115,7 +3105,7 @@ static int iwl4965_tx_queue_agg_disable(struct iwl_priv *priv, u16 txq_id,
|
|
iwl4965_set_wr_ptrs(priv, txq_id, ssn_idx);
|
|
iwl4965_set_wr_ptrs(priv, txq_id, ssn_idx);
|
|
|
|
|
|
iwl_clear_bits_prph(priv, IWL49_SCD_INTERRUPT_MASK, (1 << txq_id));
|
|
iwl_clear_bits_prph(priv, IWL49_SCD_INTERRUPT_MASK, (1 << txq_id));
|
|
- iwl4965_txq_ctx_deactivate(priv, txq_id);
|
|
|
|
|
|
+ iwl_txq_ctx_deactivate(priv, txq_id);
|
|
iwl4965_tx_queue_set_status(priv, &priv->txq[txq_id], tx_fifo, 0);
|
|
iwl4965_tx_queue_set_status(priv, &priv->txq[txq_id], tx_fifo, 0);
|
|
|
|
|
|
iwl_release_nic_access(priv);
|
|
iwl_release_nic_access(priv);
|