diff options
author | damien <damien@FreeBSD.org> | 2005-11-15 17:58:16 +0000 |
---|---|---|
committer | damien <damien@FreeBSD.org> | 2005-11-15 17:58:16 +0000 |
commit | 425f7134ee9509ea923695000ac5c4d21b5b6136 (patch) | |
tree | 03de2809689a77d7e26f491cc55180ec875bb8fe | |
parent | 1ea847bee23f34a5be0b69d9c85a486b7a4ccbf2 (diff) | |
download | FreeBSD-src-425f7134ee9509ea923695000ac5c4d21b5b6136.zip FreeBSD-src-425f7134ee9509ea923695000ac5c4d21b5b6136.tar.gz |
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.
-rw-r--r-- | sys/dev/usb/if_uralvar.h | 10 |
1 files changed, 10 insertions, 0 deletions
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; |