summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_rate/onoe/onoe.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ath_rate/onoe/onoe.h')
-rw-r--r--sys/dev/ath/ath_rate/onoe/onoe.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_rate/onoe/onoe.h b/sys/dev/ath/ath_rate/onoe/onoe.h
index 4eef862..27bbe94 100644
--- a/sys/dev/ath/ath_rate/onoe/onoe.h
+++ b/sys/dev/ath/ath_rate/onoe/onoe.h
@@ -38,11 +38,14 @@
/* per-device state */
struct onoe_softc {
struct ath_ratectrl arc; /* base state */
- struct callout timer; /* periodic timer */
};
/* per-node state */
struct onoe_node {
+ int on_rix; /* current rate index */
+ int on_ticks; /* time of last update */
+ int on_interval; /* update interval (ticks) */
+
u_int on_tx_ok; /* tx ok pkt */
u_int on_tx_err; /* tx !ok pkt */
u_int on_tx_retr; /* tx retry count */
OpenPOWER on IntegriCloud