aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.h
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel.ortiz@intel.com>2009-01-19 18:30:26 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:00:56 -0500
commit7aaa1d79e3a2d573ac469744506f17b1c9386840 (patch)
treeb003f298588e7f6a9f97764387f1c62a17c18b9e /drivers/net/wireless/iwlwifi/iwl-3945.h
parent4f3602c8a3cf8d31e8b08b82d7ea9b0c30f28965 (diff)
iwlwifi: Add TFD library operations
The TFD structures for 3945 and agn HWs are fundamentally different. We thus need to define operations for attaching and freeing them. This will allow us to share a fair amount of code (cmd and tx queue related) between both drivers. Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h
index 97dfa7c5a3ce..54538df50d3e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.h
@@ -260,9 +260,12 @@ extern int iwl3945_hw_nic_stop_master(struct iwl_priv *priv);
260extern void iwl3945_hw_txq_ctx_free(struct iwl_priv *priv); 260extern void iwl3945_hw_txq_ctx_free(struct iwl_priv *priv);
261extern void iwl3945_hw_txq_ctx_stop(struct iwl_priv *priv); 261extern void iwl3945_hw_txq_ctx_stop(struct iwl_priv *priv);
262extern int iwl3945_hw_nic_reset(struct iwl_priv *priv); 262extern int iwl3945_hw_nic_reset(struct iwl_priv *priv);
263extern int iwl3945_hw_txq_attach_buf_to_tfd(struct iwl_priv *priv, void *tfd, 263extern int iwl3945_hw_txq_attach_buf_to_tfd(struct iwl_priv *priv,
264 dma_addr_t addr, u16 len); 264 struct iwl_tx_queue *txq,
265extern int iwl3945_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq); 265 dma_addr_t addr, u16 len,
266 u8 reset, u8 pad);
267extern void iwl3945_hw_txq_free_tfd(struct iwl_priv *priv,
268 struct iwl_tx_queue *txq);
266extern int iwl3945_hw_get_temperature(struct iwl_priv *priv); 269extern int iwl3945_hw_get_temperature(struct iwl_priv *priv);
267extern int iwl3945_hw_tx_queue_init(struct iwl_priv *priv, 270extern int iwl3945_hw_tx_queue_init(struct iwl_priv *priv,
268 struct iwl_tx_queue *txq); 271 struct iwl_tx_queue *txq);