From 425f7134ee9509ea923695000ac5c4d21b5b6136 Mon Sep 17 00:00:00 2001 From: damien Date: Tue, 15 Nov 2005 17:58:16 +0000 Subject: Add some initial bits (currently unused) for upcoming AMRR support. AMRR = Adaptive Multi Rate Retry algorithm More information: http://www-sop.inria.fr/rapports/sophia/RR-5208.html More to come. --- sys/dev/usb/if_uralvar.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/dev/usb/if_uralvar.h b/sys/dev/usb/if_uralvar.h index 160ad0d..e39c387 100644 --- a/sys/dev/usb/if_uralvar.h +++ b/sys/dev/usb/if_uralvar.h @@ -67,6 +67,14 @@ struct ural_rx_data { struct mbuf *m; }; +struct ural_amrr { + int txcnt; + int retrycnt; + int success; + int success_threshold; + int recovery; +}; + struct ural_softc { struct ifnet *sc_ifp; struct ieee80211com sc_ic; @@ -88,6 +96,8 @@ struct ural_softc { enum ieee80211_state sc_state; struct usb_task sc_task; + struct ural_amrr amrr; + struct ural_rx_data rx_data[RAL_RX_LIST_COUNT]; struct ural_tx_data tx_data[RAL_TX_LIST_COUNT]; int tx_queued; -- cgit v1.1