diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-07-11 10:39:46 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-16 10:38:59 -0400 |
commit | 253a634ccd1b291282cd0cade219bd90eb0371eb (patch) | |
tree | ecb708eb830aaf1404e7ca7137784d8163c26b60 /drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h | |
parent | ab697a9f1e73ba817955e15bd899a8a0627f9fd6 (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.h | 20 |
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 | ******************************************************/ | ||
35 | void iwl_bg_rx_replenish(struct work_struct *data); | 38 | void iwl_bg_rx_replenish(struct work_struct *data); |
36 | void iwl_irq_tasklet(struct iwl_priv *priv); | 39 | void iwl_irq_tasklet(struct iwl_priv *priv); |
37 | void iwlagn_rx_replenish(struct iwl_priv *priv); | 40 | void iwlagn_rx_replenish(struct iwl_priv *priv); |
38 | void iwl_rx_queue_update_write_ptr(struct iwl_priv *priv, | 41 | void 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 | ******************************************************/ | ||
47 | void iwl_txq_update_write_ptr(struct iwl_priv *priv, struct iwl_tx_queue *txq); | ||
48 | void iwlagn_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq, | ||
49 | int index); | ||
50 | int 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); | ||
53 | int iwl_queue_init(struct iwl_priv *priv, struct iwl_queue *q, | ||
54 | int count, int slots_num, u32 id); | ||
55 | int iwl_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd); | ||
56 | int __must_check iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u32 flags, | ||
57 | u16 len, const void *data); | ||
58 | void 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 | ||