aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.h
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel.ortiz@intel.com>2008-12-21 22:31:16 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:24 -0500
commit188cf6c73a72be1d8c118580a40d70cd76415eec (patch)
treee684a15fb8011a5666075062315790f3cb6d1600 /drivers/net/wireless/iwlwifi/iwl-3945.h
parent42427b4e436bbbf038742ecbb3bf09815f93ed7a (diff)
iwl3945: sync tx queue data structure with iwlagn
We are now using the iwl_tx_queue for iwl3945. To reach that goal, we included the 3945 specific tfd frame structure to iwl_tx_queue. This has no effect on the current iwlagn code. Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com> Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com> Signed-off-by: Zhu Yi <yi.zhu@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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h
index 716c4b462335..e584032a1a3d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.h
@@ -219,9 +219,9 @@ extern void iwl3945_rx_queue_reset(struct iwl_priv *priv,
219extern int iwl3945_calc_db_from_ratio(int sig_ratio); 219extern int iwl3945_calc_db_from_ratio(int sig_ratio);
220extern int iwl3945_calc_sig_qual(int rssi_dbm, int noise_dbm); 220extern int iwl3945_calc_sig_qual(int rssi_dbm, int noise_dbm);
221extern int iwl3945_tx_queue_init(struct iwl_priv *priv, 221extern int iwl3945_tx_queue_init(struct iwl_priv *priv,
222 struct iwl3945_tx_queue *txq, int count, u32 id); 222 struct iwl_tx_queue *txq, int count, u32 id);
223extern void iwl3945_rx_replenish(void *data); 223extern void iwl3945_rx_replenish(void *data);
224extern void iwl3945_tx_queue_free(struct iwl_priv *priv, struct iwl3945_tx_queue *txq); 224extern void iwl3945_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq);
225extern int iwl3945_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len, 225extern int iwl3945_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len,
226 const void *data); 226 const void *data);
227extern int __must_check iwl3945_send_cmd(struct iwl_priv *priv, 227extern int __must_check iwl3945_send_cmd(struct iwl_priv *priv,
@@ -270,10 +270,10 @@ extern void iwl3945_hw_txq_ctx_stop(struct iwl_priv *priv);
270extern int iwl3945_hw_nic_reset(struct iwl_priv *priv); 270extern int iwl3945_hw_nic_reset(struct iwl_priv *priv);
271extern int iwl3945_hw_txq_attach_buf_to_tfd(struct iwl_priv *priv, void *tfd, 271extern int iwl3945_hw_txq_attach_buf_to_tfd(struct iwl_priv *priv, void *tfd,
272 dma_addr_t addr, u16 len); 272 dma_addr_t addr, u16 len);
273extern int iwl3945_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl3945_tx_queue *txq); 273extern int iwl3945_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq);
274extern int iwl3945_hw_get_temperature(struct iwl_priv *priv); 274extern int iwl3945_hw_get_temperature(struct iwl_priv *priv);
275extern int iwl3945_hw_tx_queue_init(struct iwl_priv *priv, 275extern int iwl3945_hw_tx_queue_init(struct iwl_priv *priv,
276 struct iwl3945_tx_queue *txq); 276 struct iwl_tx_queue *txq);
277extern unsigned int iwl3945_hw_get_beacon_cmd(struct iwl_priv *priv, 277extern unsigned int iwl3945_hw_get_beacon_cmd(struct iwl_priv *priv,
278 struct iwl3945_frame *frame, u8 rate); 278 struct iwl3945_frame *frame, u8 rate);
279void iwl3945_hw_build_tx_cmd_rate(struct iwl_priv *priv, struct iwl_cmd *cmd, 279void iwl3945_hw_build_tx_cmd_rate(struct iwl_priv *priv, struct iwl_cmd *cmd,