use ah_startTxDma directly
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:08:17 +0000 (10:08 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:04 +0000 (16:10 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_ath.c
target_firmware/wlan/if_athvar.h
target_firmware/wlan/if_owl.c

index af6684ae918c25d347cdf803119fa0d6198be337..1059a25007d61e6c0cb278c4101950c77f918a92 100755 (executable)
@@ -625,7 +625,7 @@ static void ath_tgt_send_beacon(struct ath_softc_tgt *sc, adf_nbuf_t bc_hdr,
        ath_beacon_setup(sc, bf, &sc->sc_vap[vap_index]);
        ath_hal_stoptxdma(ah, sc->sc_bhalq);
        ah->ah_setTxDP(ah, sc->sc_bhalq, ATH_BUF_GET_DESC_PHY_ADDR(bf));
-       ath_hal_txstart(ah, sc->sc_bhalq);
+       ah->ah_startTxDma(ah, sc->sc_bhalq);
 }
 
 /******/
index 945a9558c8f40b269e8d50bcd694621bf0cdfe56..4bd3b416857f6981d77deb19c1bf75b55a83705d 100755 (executable)
@@ -543,8 +543,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av
     (ath_hal_getcapability(_ah, HAL_CAP_HT, 0, NULL) == HAL_OK)
 #define ath_hal_getrtsaggrlimit(_ah, _pv) \
     (ath_hal_getcapability(_ah, HAL_CAP_RTS_AGGR_LIMIT, 0, _pv) == HAL_OK)
- #define ath_hal_txstart(_ah, _q) \
-    ((*(_ah)->ah_startTxDma)((_ah), (_q)))
 #define ath_hal_setrxfilter(_ah, _filter) \
     ((*(_ah)->ah_setRxFilter)((_ah), (_filter)))
 #define ath_hal_gettsf64(_ah) \
index 2f7e55bc080c828034967f94fe32182447b6e5bb..3d4744d263c4e3cc1bcd5b1bbbd8280e5dc8d527 100755 (executable)
@@ -898,7 +898,7 @@ static void ath_tgt_txq_add_ucast(struct ath_softc_tgt *sc, struct ath_tx_buf *b
        }
 
        txq->axq_link = &bf->bf_lastds->ds_link;
-       ath_hal_txstart(ah, txq->axq_qnum);
+       ah->ah_startTxDma(ah, txq->axq_qnum);
 }
 
 static a_int32_t ath_tgt_txbuf_setup(struct ath_softc_tgt *sc,
@@ -1254,7 +1254,7 @@ ath_tgt_txqaddbuf(struct ath_softc_tgt *sc,
        }
 
        txq->axq_link = &lastds->ds_link;
-       ath_hal_txstart(ah, txq->axq_qnum);
+       ah->ah_startTxDma(ah, txq->axq_qnum);
 }
 
 void ath_tgt_handle_normal(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)