{
a_int32_t i ;
struct ath_tx_desc *bfd = NULL;
+ struct ath_hal *ah = sc->sc_ah;
for (bfd = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; bfd++, i++) {
- ath_hal_clr11n_aggr(sc->sc_ah, bfd);
- ath_hal_set11n_burstduration(sc->sc_ah, bfd, 0);
+ ah->ah_clr11nAggr(ah, bfd);
+ ah->ah_set11nBurstDuration(ah, bfd, 0);
ath_hal_set11n_virtualmorefrag(sc->sc_ah, bfd, 0);
}
flags |= HAL_TXDESC_INTREQ;
- ath_hal_setuptxdesc(ah, ds
+ ah->ah_setupTxDesc(ah, ds
, pktlen
, hdrlen
, atype
bf->bf_next = NULL;
for(ds = bf->bf_desc; ds <= bf->bf_lastds; ds++)
- ath_hal_clr11n_aggr(sc->sc_ah, ds);
+ ah->ah_clr11nAggr(ah, ds);
ath_buf_set_rate(sc, bf);
bf->bf_txq_add(sc, bf);
bf->bf_lastds = bf_last->bf_lastds;
for (i = 0; i < bf_last->bf_dmamap_info.nsegs; i++)
- ath_hal_set11n_aggr_last(sc->sc_ah, &bf_last->bf_descarr[i]);
+ ah->ah_set11nAggrLast(ah, &bf_last->bf_descarr[i]);
if (status == ATH_AGGR_8K_LIMITED) {
adf_os_assert(0);
struct ath_node_target *an = ATH_NODE_TARGET(bf->bf_node);
ath_atx_tid_t *tid = ATH_AN_2_TID(an, bf->bf_tidno);
struct ath_tx_desc *ds = NULL;
+ struct ath_hal *ah = sc->sc_ah;
int i = 0;
__stats(sc, txaggr_compretries);
for(ds = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; ds++, i++) {
- ath_hal_clr11n_aggr(sc->sc_ah, ds);
- ath_hal_set11n_burstduration(sc->sc_ah, ds, 0);
+ ah->ah_clr11nAggr(ah, ds);
+ ah->ah_set11nBurstDuration(ah, ds, 0);
ath_hal_set11n_virtualmorefrag(sc->sc_ah, ds, 0);
}
adf_nbuf_dmamap_info(bf->bf_dmamap, &bf->bf_dmamap_info);
ds = bf->bf_desc;
- ath_hal_setuptxdesc(sc->sc_ah, ds
+ ah->ah_setupTxDesc(ah, ds
, adf_nbuf_len(skb) + IEEE80211_CRC_LEN
, 0
, HAL_PKT_TYPE_NORMAL
bf->bf_next = NULL;
for (ds0 = ds, i=0; i < bf->bf_dmamap_info.nsegs; ds0++, i++) {
- ath_hal_clr11n_aggr(sc->sc_ah, ds0);
+ ah->ah_clr11nAggr(ah, ds0);
}
ath_filltxdesc(sc, bf);