Lines Matching +full:fixed +full:- +full:rate
31 .Nd 802.11 network driver transmit rate control support
78 is an implementation of the AMRR transmit rate control algorithm
82 A rate control algorithm is responsible for choosing the transmit
83 rate for each frame.
84 To maximize throughput algorithms try to use the highest rate that
86 The rate will vary as conditions change; the distance between two stations
94 limits it's effectiveness--do not expect it to function well in
98 requires per-vap state and per-node state for each station it is to
100 The API's are designed for drivers to pre-allocate state in the
101 driver-private extension areas of each vap and node.
105 .Bd -literal -offset indent
118 structure member holds the per-vap state for
123 .Bd -literal -offset indent
124 ieee80211_amrr_init(&rvp->amrr, vap,
131 .Bd -literal -offset indent
141 .Bd -literal -offset indent
145 struct ieee80211vap *vap = ni->ni_vap;
147 ieee80211_amrr_node_init(&RT2560_VAP(vap)->amrr,
148 &RT2560_NODE(ni)->amrr, ni);
157 .Bd -literal -offset indent
158 tp = &vap->iv_txparms[ieee80211_chan2mode(ni->ni_chan)];
159 if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
160 rate = tp->mcastrate;
161 } else if (m0->m_flags & M_EAPOL) {
162 rate = tp->mgmtrate;
163 } else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) {
164 rate = tp->ucastrate;
166 (void) ieee80211_amrr_choose(ni, &RT2560_NODE(ni)->amrr);
167 rate = ni->ni_txrate;
171 Note a rate is chosen only for unicast data frames when a fixed
172 transmit rate is not configured; the other cases are handled with
178 writes the chosen rate in
181 they can display the current transmit rate in status.