nuke unintentional use of HAL_BOOL type

This commit is contained in:
Sam Leffler 2005-04-02 18:54:30 +00:00
parent f0ceb98f93
commit a4d8dd103e
4 changed files with 8 additions and 8 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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;

View file

@ -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