34#ifndef _ATH_RATECTRL_H_
35#define _ATH_RATECTRL_H_
84#define ATH_RC_DS_FLAG 0x01
85#define ATH_RC_CW40_FLAG 0x02
86#define ATH_RC_SGI_FLAG 0x04
87#define ATH_RC_HT_FLAG 0x08
88#define ATH_RC_RTSCTS_FLAG 0x10
89#define ATH_RC_STBC_FLAG 0x20
90#define ATH_RC_TS_FLAG 0x40
119 int isNewAssociation);
142 int shortPreamble,
size_t frameLen,
int tid,
int is_aggr,
143 u_int8_t *rix,
int *try0, u_int8_t *txrate,
int *maxdur,
150 struct ath_desc *,
int shortPreamble, u_int8_t rix);
163 int pktlen,
int rc_framelen,
int nframes,
int nbad);
void ath_rate_setupxtxdesc(struct ath_softc *, struct ath_node *, struct ath_desc *, int shortPreamble, u_int8_t rix)
void ath_rate_findrate(struct ath_softc *, struct ath_node *, int shortPreamble, size_t frameLen, int tid, int is_aggr, u_int8_t *rix, int *try0, u_int8_t *txrate, int *maxdur, int *maxpktlen)
struct ath_ratectrl * ath_rate_attach(struct ath_softc *)
int ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, struct ath_rateioctl *rs)
int ath_rate_fetch_stats(struct ath_softc *sc, struct ath_rateioctl *rs)
void ath_rate_newassoc(struct ath_softc *, struct ath_node *, int isNewAssociation)
void ath_rate_tx_complete(struct ath_softc *, struct ath_node *, const struct ath_rc_series *, const struct ath_tx_status *, int pktlen, int rc_framelen, int nframes, int nbad)
void ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, uint8_t rix0, int is_aggr, struct ath_rc_series *rc)
void ath_rate_detach(struct ath_ratectrl *)
void ath_rate_node_init(struct ath_softc *, struct ath_node *)
void ath_rate_node_cleanup(struct ath_softc *, struct ath_node *)
void ath_rate_update_rx_rssi(struct ath_softc *, struct ath_node *, int rssi)