aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-07-11 10:39:46 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-07-16 10:38:59 -0400
commit253a634ccd1b291282cd0cade219bd90eb0371eb (patch)
treeecb708eb830aaf1404e7ca7137784d8163c26b60 /drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
parentab697a9f1e73ba817955e15bd899a8a0627f9fd6 (diff)
iwlagn: move tx transport functions to iwl-trans-tx-pcie.c
There are still a few functions here and there that should be put in the transport layer. Mainly the functions that are related to the reclaim flow. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h b/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
index 6c56a3f75411..8307064182e1 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
@@ -32,11 +32,31 @@
32/*This file includes the declaration that are internal to the 32/*This file includes the declaration that are internal to the
33 * trans_pcie layer */ 33 * trans_pcie layer */
34 34
35/*****************************************************
36* RX
37******************************************************/
35void iwl_bg_rx_replenish(struct work_struct *data); 38void iwl_bg_rx_replenish(struct work_struct *data);
36void iwl_irq_tasklet(struct iwl_priv *priv); 39void iwl_irq_tasklet(struct iwl_priv *priv);
37void iwlagn_rx_replenish(struct iwl_priv *priv); 40void iwlagn_rx_replenish(struct iwl_priv *priv);
38void iwl_rx_queue_update_write_ptr(struct iwl_priv *priv, 41void iwl_rx_queue_update_write_ptr(struct iwl_priv *priv,
39 struct iwl_rx_queue *q); 42 struct iwl_rx_queue *q);
40 43
44/*****************************************************
45* TX / HCMD
46******************************************************/
47void iwl_txq_update_write_ptr(struct iwl_priv *priv, struct iwl_tx_queue *txq);
48void iwlagn_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq,
49 int index);
50int iwlagn_txq_attach_buf_to_tfd(struct iwl_priv *priv,
51 struct iwl_tx_queue *txq,
52 dma_addr_t addr, u16 len, u8 reset);
53int iwl_queue_init(struct iwl_priv *priv, struct iwl_queue *q,
54 int count, int slots_num, u32 id);
55int iwl_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
56int __must_check iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u32 flags,
57 u16 len, const void *data);
58void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb);
59
60
41#endif /* __iwl_trans_int_pcie_h__ */ 61#endif /* __iwl_trans_int_pcie_h__ */
42 62