diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-05-04 22:22:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 16:29:47 -0400 |
commit | 164669032ecbf7c9a3bc78adad4e13ee486e975c (patch) | |
tree | abd5e1b801267a207effcd604889cca9b246e1a2 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | d67f5489d8d9be09bc8e1615ec6c57c3120a731d (diff) |
iwlwifi: remove 4965 prefix from iwl4965_kw and iwl4965_tx_queue
This patch removes the 4965 prefix to form iwl_kw and iwl_tx_queue structs,
as they are used mostly in iwlcore now.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 09f2a6383d2d..45bbce7f66a4 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include "iwl-calib.h" | 54 | #include "iwl-calib.h" |
55 | 55 | ||
56 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, | 56 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, |
57 | struct iwl4965_tx_queue *txq); | 57 | struct iwl_tx_queue *txq); |
58 | 58 | ||
59 | /****************************************************************************** | 59 | /****************************************************************************** |
60 | * | 60 | * |
@@ -347,7 +347,7 @@ u8 iwl4965_add_station_flags(struct iwl_priv *priv, const u8 *addr, | |||
347 | */ | 347 | */ |
348 | int iwl4965_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) | 348 | int iwl4965_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) |
349 | { | 349 | { |
350 | struct iwl4965_tx_queue *txq = &priv->txq[IWL_CMD_QUEUE_NUM]; | 350 | struct iwl_tx_queue *txq = &priv->txq[IWL_CMD_QUEUE_NUM]; |
351 | struct iwl4965_queue *q = &txq->q; | 351 | struct iwl4965_queue *q = &txq->q; |
352 | struct iwl_tfd_frame *tfd; | 352 | struct iwl_tfd_frame *tfd; |
353 | u32 *control_flags; | 353 | u32 *control_flags; |
@@ -1767,7 +1767,7 @@ static int iwl4965_tx_skb(struct iwl_priv *priv, | |||
1767 | struct iwl_tfd_frame *tfd; | 1767 | struct iwl_tfd_frame *tfd; |
1768 | u32 *control_flags; | 1768 | u32 *control_flags; |
1769 | int txq_id = ctl->queue; | 1769 | int txq_id = ctl->queue; |
1770 | struct iwl4965_tx_queue *txq = NULL; | 1770 | struct iwl_tx_queue *txq = NULL; |
1771 | struct iwl4965_queue *q = NULL; | 1771 | struct iwl4965_queue *q = NULL; |
1772 | dma_addr_t phys_addr; | 1772 | dma_addr_t phys_addr; |
1773 | dma_addr_t txcmd_phys; | 1773 | dma_addr_t txcmd_phys; |
@@ -2331,7 +2331,7 @@ static void iwl4965_txstatus_to_ieee(struct iwl_priv *priv, | |||
2331 | */ | 2331 | */ |
2332 | int iwl4965_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index) | 2332 | int iwl4965_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index) |
2333 | { | 2333 | { |
2334 | struct iwl4965_tx_queue *txq = &priv->txq[txq_id]; | 2334 | struct iwl_tx_queue *txq = &priv->txq[txq_id]; |
2335 | struct iwl4965_queue *q = &txq->q; | 2335 | struct iwl4965_queue *q = &txq->q; |
2336 | int nfreed = 0; | 2336 | int nfreed = 0; |
2337 | 2337 | ||
@@ -2531,7 +2531,7 @@ static void iwl4965_rx_reply_tx(struct iwl_priv *priv, | |||
2531 | u16 sequence = le16_to_cpu(pkt->hdr.sequence); | 2531 | u16 sequence = le16_to_cpu(pkt->hdr.sequence); |
2532 | int txq_id = SEQ_TO_QUEUE(sequence); | 2532 | int txq_id = SEQ_TO_QUEUE(sequence); |
2533 | int index = SEQ_TO_INDEX(sequence); | 2533 | int index = SEQ_TO_INDEX(sequence); |
2534 | struct iwl4965_tx_queue *txq = &priv->txq[txq_id]; | 2534 | struct iwl_tx_queue *txq = &priv->txq[txq_id]; |
2535 | struct ieee80211_tx_status *tx_status; | 2535 | struct ieee80211_tx_status *tx_status; |
2536 | struct iwl4965_tx_resp *tx_resp = (void *)&pkt->u.raw[0]; | 2536 | struct iwl4965_tx_resp *tx_resp = (void *)&pkt->u.raw[0]; |
2537 | u32 status = le32_to_cpu(tx_resp->status); | 2537 | u32 status = le32_to_cpu(tx_resp->status); |
@@ -3273,7 +3273,7 @@ int iwl4965_calc_sig_qual(int rssi_dbm, int noise_dbm) | |||
3273 | * iwl4965_tx_queue_update_write_ptr - Send new write index to hardware | 3273 | * iwl4965_tx_queue_update_write_ptr - Send new write index to hardware |
3274 | */ | 3274 | */ |
3275 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, | 3275 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, |
3276 | struct iwl4965_tx_queue *txq) | 3276 | struct iwl_tx_queue *txq) |
3277 | { | 3277 | { |
3278 | u32 reg = 0; | 3278 | u32 reg = 0; |
3279 | int rc = 0; | 3279 | int rc = 0; |
@@ -5783,7 +5783,7 @@ static int iwl4965_mac_get_tx_stats(struct ieee80211_hw *hw, | |||
5783 | { | 5783 | { |
5784 | struct iwl_priv *priv = hw->priv; | 5784 | struct iwl_priv *priv = hw->priv; |
5785 | int i, avail; | 5785 | int i, avail; |
5786 | struct iwl4965_tx_queue *txq; | 5786 | struct iwl_tx_queue *txq; |
5787 | struct iwl4965_queue *q; | 5787 | struct iwl4965_queue *q; |
5788 | unsigned long flags; | 5788 | unsigned long flags; |
5789 | 5789 | ||