diff --git a/sys/dev/ath/ath_rate/amrr/amrr.c b/sys/dev/ath/ath_rate/amrr/amrr.c index 3afdd2c061b..705bd2abe2b 100644 --- a/sys/dev/ath/ath_rate/amrr/amrr.c +++ b/sys/dev/ath/ath_rate/amrr/amrr.c @@ -114,7 +114,7 @@ ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) void ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, - HAL_BOOL shortPreamble, size_t frameLen, + int shortPreamble, size_t frameLen, u_int8_t *rix, int *try0, u_int8_t *txrate) { struct amrr_node *amn = ATH_NODE_AMRR(an); @@ -129,7 +129,7 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, void ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, - struct ath_desc *ds, HAL_BOOL shortPreamble, u_int8_t rix) + struct ath_desc *ds, int shortPreamble, u_int8_t rix) { struct amrr_node *amn = ATH_NODE_AMRR(an); diff --git a/sys/dev/ath/ath_rate/onoe/onoe.c b/sys/dev/ath/ath_rate/onoe/onoe.c index 09c5531aadc..478c014dd13 100644 --- a/sys/dev/ath/ath_rate/onoe/onoe.c +++ b/sys/dev/ath/ath_rate/onoe/onoe.c @@ -131,7 +131,7 @@ ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) void ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, - HAL_BOOL shortPreamble, size_t frameLen, + int shortPreamble, size_t frameLen, u_int8_t *rix, int *try0, u_int8_t *txrate) { struct onoe_node *on = ATH_NODE_ONOE(an); @@ -146,7 +146,7 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, void ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, - struct ath_desc *ds, HAL_BOOL shortPreamble, u_int8_t rix) + struct ath_desc *ds, int shortPreamble, u_int8_t rix) { struct onoe_node *on = ATH_NODE_ONOE(an); diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c index 40322427ecd..0cdc84b1663 100644 --- a/sys/dev/ath/ath_rate/sample/sample.c +++ b/sys/dev/ath/ath_rate/sample/sample.c @@ -237,7 +237,7 @@ static __inline int pick_sample_ndx(struct sample_node *sn, int size_bin) void ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, - HAL_BOOL shortPreamble, size_t frameLen, + int shortPreamble, size_t frameLen, u_int8_t *rix, int *try0, u_int8_t *txrate) { struct sample_node *sn = ATH_NODE_SAMPLE(an); @@ -378,7 +378,7 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, void ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, - struct ath_desc *ds, HAL_BOOL shortPreamble, u_int8_t rix) + struct ath_desc *ds, int shortPreamble, u_int8_t rix) { struct sample_node *sn = ATH_NODE_SAMPLE(an); int rateCode = -1; diff --git a/sys/dev/ath/if_athrate.h b/sys/dev/ath/if_athrate.h index 8acb0466004..90a44162dc5 100644 --- a/sys/dev/ath/if_athrate.h +++ b/sys/dev/ath/if_athrate.h @@ -121,14 +121,14 @@ void ath_rate_newstate(struct ath_softc *, enum ieee80211_state); * can be transmitted with multi-rate retry. */ void ath_rate_findrate(struct ath_softc *, struct ath_node *, - HAL_BOOL shortPreamble, size_t frameLen, + int shortPreamble, size_t frameLen, u_int8_t *rix, int *try0, u_int8_t *txrate); /* * Setup any extended (multi-rate) descriptor state for a data packet. * The rate index returned by ath_rate_findrate is passed back in. */ void ath_rate_setupxtxdesc(struct ath_softc *, struct ath_node *, - struct ath_desc *, HAL_BOOL shortPreamble, u_int8_t rix); + struct ath_desc *, int shortPreamble, u_int8_t rix); /* * Update rate control state for a packet associated with the * supplied transmit descriptor. The routine is invoked both