summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_rate/amrr/amrr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ath_rate/amrr/amrr.h')
-rw-r--r--sys/dev/ath/ath_rate/amrr/amrr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_rate/amrr/amrr.h b/sys/dev/ath/ath_rate/amrr/amrr.h
index cb5d135..c97a007 100644
--- a/sys/dev/ath/ath_rate/amrr/amrr.h
+++ b/sys/dev/ath/ath_rate/amrr/amrr.h
@@ -43,11 +43,13 @@
/* per-device state */
struct amrr_softc {
struct ath_ratectrl arc; /* base state */
- struct callout timer; /* periodic timer */
};
/* per-node state */
struct amrr_node {
+ int amn_rix; /* current rate index */
+ int amn_ticks; /* time of last update */
+ int amn_interval; /* update interval (ticks) */
/* AMRR statistics for this node */
u_int amn_tx_try0_cnt;
u_int amn_tx_try1_cnt;
OpenPOWER on IntegriCloud