aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_rate/amrr/amrr.c4
-rw-r--r--sys/dev/ath/ath_rate/onoe/onoe.c4
-rw-r--r--sys/dev/ath/ath_rate/sample/sample.c4
-rw-r--r--sys/dev/ath/if_athrate.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ath/ath_rate/amrr/amrr.c b/sys/dev/ath/ath_rate/amrr/amrr.c
index 3afdd2c061b09..705bd2abe2b16 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 09c5531aadc40..478c014dd1332 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 40322427ecddb..0cdc84b166396 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 8acb0466004bf..90a44162dc53e 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