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.
This commit is contained in:
Damien Bergamini 2005-11-15 17:58:16 +00:00
parent 8fe21ac40a
commit 903c939fd5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152457

View file

@ -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;