summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_athrate.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/if_athrate.h')
-rw-r--r--sys/dev/ath/if_athrate.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ath/if_athrate.h b/sys/dev/ath/if_athrate.h
index ca7a8b0..10f6040 100644
--- a/sys/dev/ath/if_athrate.h
+++ b/sys/dev/ath/if_athrate.h
@@ -120,7 +120,7 @@ void ath_rate_newassoc(struct ath_softc *, struct ath_node *,
* Return the four TX rate index and try counts for the current data packet.
*/
void ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an,
- uint8_t rix0, uint8_t *rix, uint8_t *try);
+ uint8_t rix0, struct ath_rc_series *rc);
/*
* Return the transmit info for a data packet. If multi-rate state
@@ -142,8 +142,12 @@ void ath_rate_setupxtxdesc(struct ath_softc *, struct ath_node *,
* supplied transmit descriptor. The routine is invoked both
* for packets that were successfully sent and for those that
* failed (consult the descriptor for details).
+ *
+ * For A-MPDU frames, nframes and nbad indicate how many frames
+ * were in the aggregate, and how many failed.
*/
struct ath_buf;
void ath_rate_tx_complete(struct ath_softc *, struct ath_node *,
- const struct ath_buf *);
+ const struct ath_rc_series *, const struct ath_tx_status *,
+ int pktlen, int nframes, int nbad);
#endif /* _ATH_RATECTRL_H_ */
OpenPOWER on IntegriCloud