Deleted Added
full compact
ieee80211_amrr.9 (197300) ieee80211_amrr.9 (233648)
1.\"
2.\" Copyright (c) 2009 Sam Leffler, Errno Consulting
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 2009 Sam Leffler, Errno Consulting
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man9/ieee80211_amrr.9 197300 2009-09-18 00:33:47Z brueffer $
26.\" $FreeBSD: head/share/man/man9/ieee80211_amrr.9 233648 2012-03-29 05:02:12Z eadler $
27.\"
28.Dd August 4, 2009
29.Dt IEEE8021_AMRR 9
30.Os
31.Sh NAME
32.Nm ieee80211_amrr
33.Nd 802.11 network driver transmit rate control support
34.Sh SYNOPSIS

--- 46 unchanged lines hidden (view full) ---

81for drivers that use the
82.Nm net80211
83software layer.
84A rate control algorithm is responsible for choosing the transmit
85rate for each frame.
86To maximize throughput algorithms try to use the highest rate that
87is appropriate for the operating conditions.
88The rate will vary as conditions change; the distance between two stations
27.\"
28.Dd August 4, 2009
29.Dt IEEE8021_AMRR 9
30.Os
31.Sh NAME
32.Nm ieee80211_amrr
33.Nd 802.11 network driver transmit rate control support
34.Sh SYNOPSIS

--- 46 unchanged lines hidden (view full) ---

81for drivers that use the
82.Nm net80211
83software layer.
84A rate control algorithm is responsible for choosing the transmit
85rate for each frame.
86To maximize throughput algorithms try to use the highest rate that
87is appropriate for the operating conditions.
88The rate will vary as conditions change; the distance between two stations
89may change, transient noise may be present that affects signal quality,
89may change, transient noise may be present that affects signal quality,
90etc.
91.Nm
92uses very simple information from a driver to do it's job:
93whether a frame was successfully delivered and how many transmit
94attempts were made.
95While this enables its use with virtually any wireless device it
96limits it's effectiveness--do not expect it to function well in
97difficult environments and/or respond quickly to changing conditions.

--- 16 unchanged lines hidden (view full) ---

114 enum ieee80211_state, int);
115};
116.Ed
117.Pp
118The
119.Vt amrr
120structure member holds the per-vap state for
121.Nm
90etc.
91.Nm
92uses very simple information from a driver to do it's job:
93whether a frame was successfully delivered and how many transmit
94attempts were made.
95While this enables its use with virtually any wireless device it
96limits it's effectiveness--do not expect it to function well in
97difficult environments and/or respond quickly to changing conditions.

--- 16 unchanged lines hidden (view full) ---

114 enum ieee80211_state, int);
115};
116.Ed
117.Pp
118The
119.Vt amrr
120structure member holds the per-vap state for
121.Nm
122and
123.Xr ral 4
122and
123.Xr ral 4
124initializes it in the vap create method with:
125.Bd -literal -offset indent
126ieee80211_amrr_init(&rvp->amrr, vap,
127 IEEE80211_AMRR_MIN_SUCCESS_THRESHOLD,
128 IEEE80211_AMRR_MAX_SUCCESS_THRESHOLD,
129 500 /* ms */);
130.Ed
131.Pp

--- 63 unchanged lines hidden ---
124initializes it in the vap create method with:
125.Bd -literal -offset indent
126ieee80211_amrr_init(&rvp->amrr, vap,
127 IEEE80211_AMRR_MIN_SUCCESS_THRESHOLD,
128 IEEE80211_AMRR_MAX_SUCCESS_THRESHOLD,
129 500 /* ms */);
130.Ed
131.Pp

--- 63 unchanged lines hidden ---