diff options
author | Samuel Ortiz <samuel.ortiz@intel.com> | 2008-12-21 22:31:16 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:24 -0500 |
commit | 188cf6c73a72be1d8c118580a40d70cd76415eec (patch) | |
tree | e684a15fb8011a5666075062315790f3cb6d1600 /drivers/net/wireless/iwlwifi/iwl-3945.h | |
parent | 42427b4e436bbbf038742ecbb3bf09815f93ed7a (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.h | 8 |
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, | |||
219 | extern int iwl3945_calc_db_from_ratio(int sig_ratio); | 219 | extern int iwl3945_calc_db_from_ratio(int sig_ratio); |
220 | extern int iwl3945_calc_sig_qual(int rssi_dbm, int noise_dbm); | 220 | extern int iwl3945_calc_sig_qual(int rssi_dbm, int noise_dbm); |
221 | extern int iwl3945_tx_queue_init(struct iwl_priv *priv, | 221 | extern 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); |
223 | extern void iwl3945_rx_replenish(void *data); | 223 | extern void iwl3945_rx_replenish(void *data); |
224 | extern void iwl3945_tx_queue_free(struct iwl_priv *priv, struct iwl3945_tx_queue *txq); | 224 | extern void iwl3945_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq); |
225 | extern int iwl3945_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len, | 225 | extern int iwl3945_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len, |
226 | const void *data); | 226 | const void *data); |
227 | extern int __must_check iwl3945_send_cmd(struct iwl_priv *priv, | 227 | extern 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); | |||
270 | extern int iwl3945_hw_nic_reset(struct iwl_priv *priv); | 270 | extern int iwl3945_hw_nic_reset(struct iwl_priv *priv); |
271 | extern int iwl3945_hw_txq_attach_buf_to_tfd(struct iwl_priv *priv, void *tfd, | 271 | extern 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); |
273 | extern int iwl3945_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl3945_tx_queue *txq); | 273 | extern int iwl3945_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq); |
274 | extern int iwl3945_hw_get_temperature(struct iwl_priv *priv); | 274 | extern int iwl3945_hw_get_temperature(struct iwl_priv *priv); |
275 | extern int iwl3945_hw_tx_queue_init(struct iwl_priv *priv, | 275 | extern int iwl3945_hw_tx_queue_init(struct iwl_priv *priv, |
276 | struct iwl3945_tx_queue *txq); | 276 | struct iwl_tx_queue *txq); |
277 | extern unsigned int iwl3945_hw_get_beacon_cmd(struct iwl_priv *priv, | 277 | extern 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); |
279 | void iwl3945_hw_build_tx_cmd_rate(struct iwl_priv *priv, struct iwl_cmd *cmd, | 279 | void iwl3945_hw_build_tx_cmd_rate(struct iwl_priv *priv, struct iwl_cmd *cmd, |