diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-06-17 19:07:20 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-06-17 19:07:20 +0000 |
commit | 450bd603f12aa3967b92c42500ad81f481d392f0 (patch) | |
tree | b5858fbb9926989a29a6f8fc9ece501364d78ced /sys/dev/pci/if_wpivar.h | |
parent | 0687c41ffcf408ac7d8bdbf417add41082bfc17e (diff) |
Move AMRR rate control algorithm out of wpi(4) and ural(4), into net80211.
ok brad@
Diffstat (limited to 'sys/dev/pci/if_wpivar.h')
-rw-r--r-- | sys/dev/pci/if_wpivar.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/dev/pci/if_wpivar.h b/sys/dev/pci/if_wpivar.h index f80a74426e0..8f3324e90bb 100644 --- a/sys/dev/pci/if_wpivar.h +++ b/sys/dev/pci/if_wpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpivar.h,v 1.6 2006/05/25 09:26:58 damien Exp $ */ +/* $OpenBSD: if_wpivar.h,v 1.7 2006/06/17 19:07:19 damien Exp $ */ /*- * Copyright (c) 2006 @@ -91,13 +91,9 @@ struct wpi_rx_ring { int cur; }; -struct wpi_amrr { - struct ieee80211_node ni; /* must be the first */ - int txcnt; - int retrycnt; - int success; - int success_threshold; - int recovery; +struct wpi_node { + struct ieee80211_node ni; /* must be the first */ + struct ieee80211_amrr_node amn; }; struct wpi_softc { @@ -106,6 +102,7 @@ struct wpi_softc { struct ieee80211com sc_ic; int (*sc_newstate)(struct ieee80211com *, enum ieee80211_state, int); + struct ieee80211_amrr amrr; uint32_t flags; #define WPI_FLAG_FW_INITED (1 << 0) |