aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/xmit.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-09 02:57:12 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:45:05 -0500
commitcbe61d8a41210600bc76b212edcd4dc0f55c014f (patch)
treed8bd8e43d3556c58d410f1bef0d2ca3bf7d75c92 /drivers/net/wireless/ath9k/xmit.c
parentba52da58be0acf3b7775972b2b5234ce64388c79 (diff)
ath9k: Merge ath_hal and ath_hal_5416 structures
Finally, merge these structures and have a single HW specific data structure. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath9k/xmit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c
index 777376094a4a..3fff3344b2ee 100644
--- a/drivers/net/wireless/ath9k/xmit.c
+++ b/drivers/net/wireless/ath9k/xmit.c
@@ -809,7 +809,7 @@ static void ath_txq_drain_pending_buffers(struct ath_softc *sc,
809 809
810struct ath_txq *ath_txq_setup(struct ath_softc *sc, int qtype, int subtype) 810struct ath_txq *ath_txq_setup(struct ath_softc *sc, int qtype, int subtype)
811{ 811{
812 struct ath_hal *ah = sc->sc_ah; 812 struct ath_hw *ah = sc->sc_ah;
813 struct ath9k_tx_queue_info qi; 813 struct ath9k_tx_queue_info qi;
814 int qnum; 814 int qnum;
815 815
@@ -926,7 +926,7 @@ struct ath_txq *ath_test_get_txq(struct ath_softc *sc, struct sk_buff *skb)
926int ath_txq_update(struct ath_softc *sc, int qnum, 926int ath_txq_update(struct ath_softc *sc, int qnum,
927 struct ath9k_tx_queue_info *qinfo) 927 struct ath9k_tx_queue_info *qinfo)
928{ 928{
929 struct ath_hal *ah = sc->sc_ah; 929 struct ath_hw *ah = sc->sc_ah;
930 int error = 0; 930 int error = 0;
931 struct ath9k_tx_queue_info qi; 931 struct ath9k_tx_queue_info qi;
932 932
@@ -1047,7 +1047,7 @@ void ath_draintxq(struct ath_softc *sc, struct ath_txq *txq, bool retry_tx)
1047 1047
1048void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx) 1048void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx)
1049{ 1049{
1050 struct ath_hal *ah = sc->sc_ah; 1050 struct ath_hw *ah = sc->sc_ah;
1051 struct ath_txq *txq; 1051 struct ath_txq *txq;
1052 int i, npend = 0; 1052 int i, npend = 0;
1053 1053
@@ -1165,7 +1165,7 @@ int ath_tx_setup(struct ath_softc *sc, int haltype)
1165static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, 1165static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq,
1166 struct list_head *head) 1166 struct list_head *head)
1167{ 1167{
1168 struct ath_hal *ah = sc->sc_ah; 1168 struct ath_hw *ah = sc->sc_ah;
1169 struct ath_buf *bf; 1169 struct ath_buf *bf;
1170 1170
1171 /* 1171 /*
@@ -1580,7 +1580,7 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
1580 struct list_head bf_head; 1580 struct list_head bf_head;
1581 struct ath_desc *ds; 1581 struct ath_desc *ds;
1582 struct ath_atx_tid *tid; 1582 struct ath_atx_tid *tid;
1583 struct ath_hal *ah = sc->sc_ah; 1583 struct ath_hw *ah = sc->sc_ah;
1584 int frm_type; 1584 int frm_type;
1585 1585
1586 frm_type = get_hw_packet_type(skb); 1586 frm_type = get_hw_packet_type(skb);
@@ -1879,7 +1879,7 @@ static void ath_wake_mac80211_queue(struct ath_softc *sc, struct ath_txq *txq)
1879 1879
1880static void ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq) 1880static void ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
1881{ 1881{
1882 struct ath_hal *ah = sc->sc_ah; 1882 struct ath_hw *ah = sc->sc_ah;
1883 struct ath_buf *bf, *lastbf, *bf_held = NULL; 1883 struct ath_buf *bf, *lastbf, *bf_held = NULL;
1884 struct list_head bf_head; 1884 struct list_head bf_head;
1885 struct ath_desc *ds; 1885 struct ath_desc *ds;