Lines Matching defs:an
97 * This file is an implementation of the SampleRate algorithm
152 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an)
159 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an)
254 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
258 struct sample_node *sn = ATH_NODE_SAMPLE(an);
327 ether_sprintf(an->an_node.ni_macaddr),
349 an->an_node.ni_txrate = ndx;
366 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an,
369 struct sample_node *sn = ATH_NODE_SAMPLE(an);
395 update_stats(struct ath_softc *sc, struct ath_node *an,
403 struct sample_node *sn = ATH_NODE_SAMPLE(an);
478 __func__, ether_sprintf(an->an_node.ni_macaddr),
489 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an,
493 struct sample_node *sn = ATH_NODE_SAMPLE(an);
509 __func__, ether_sprintf(an->an_node.ni_macaddr),
522 ether_sprintf(an->an_node.ni_macaddr),
541 __func__, ether_sprintf(an->an_node.ni_macaddr),
546 update_stats(sc, an, frame_size,
582 __func__, ether_sprintf(an->an_node.ni_macaddr),
594 update_stats(sc, an, frame_size,
604 update_stats(sc, an, frame_size,
614 update_stats(sc, an, frame_size,
624 update_stats(sc, an, frame_size,
636 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew)
639 ether_sprintf(an->an_node.ni_macaddr), isnew);
641 ath_rate_ctl_reset(sc, &an->an_node);
652 struct ath_node *an = ATH_NODE(ni);
653 struct sample_node *sn = ATH_NODE_SAMPLE(an);
661 * A fixed rate is to be used; ic_fixed_rate is an