From: Oleksij Rempel Date: Sat, 11 May 2013 10:43:07 +0000 (+0200) Subject: use ah_set11nBurstDuration directly X-Git-Tag: 1.4.0~12^2^2~38 X-Git-Url: https://jxself.org/git/?p=open-ath9k-htc-firmware.git;a=commitdiff_plain;h=877fe227e62877a8eb64dfb471b2ef4e91dd9c76 use ah_set11nBurstDuration directly Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 35d48d9..6084d9c 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -493,8 +493,6 @@ a_uint8_t ath_get_minrateidx(struct ath_softc_tgt *sc, struct ath_vap_target *av ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq))) #define ath_hal_rxprocdescfast(_ah, _ds, _dspa, _dsnext, _rx_stats) \ ((*(_ah)->ah_procRxDescFast)((_ah), (_ds), (_dspa), (_dsnext), (_rx_stats))) -#define ath_hal_set11n_burstduration(_ah, _ds, _burstduration) \ - ((*(_ah)->ah_set11nBurstDuration)(_ah, _ds, _burstduration)) #define ath_hal_set11n_virtualmorefrag(_ah, _ds, _vmf) \ ((*(_ah)->ah_set11nVirtualMoreFrag)(_ah, _ds, _vmf)) #define ath_hal_setuptxdesc(_ah, _ds, _plen, _hlen, _atype, _txpow, \ diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index a4e3c71..0793c41 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -986,8 +986,8 @@ ath_tx_freebuf(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) struct ath_hal *ah = sc->sc_ah; for (bfd = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; bfd++, i++) { - ah->ah_clr11nAggr(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); } @@ -1811,7 +1811,7 @@ ath_tx_retry_subframe(struct ath_softc_tgt *sc, struct ath_tx_buf *bf, for(ds = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; ds++, i++) { ah->ah_clr11nAggr(ah, ds); - ath_hal_set11n_burstduration(sc->sc_ah, ds, 0); + ah->ah_set11nBurstDuration(ah, ds, 0); ath_hal_set11n_virtualmorefrag(sc->sc_ah, ds, 0); }