Lines Matching refs:rate

1032 		/* enable automatic rate adaptation */
1116 tap->wt_rate = data->rate;
1265 tap->wr_rate = ieee80211_plcp2rate(sc->sc_rx_desc.rate,
1316 rum_plcp_signal(int rate)
1318 switch (rate) {
1335 return 0xff; /* XXX unsupported/unknown rate */
1360 int hdrlen, int len, int rate)
1380 desc->plcp_signal = rum_plcp_signal(rate);
1384 if (ieee80211_rate2phytype(ic->ic_rt, rate) == IEEE80211_T_OFDM) {
1391 if (rate == 0)
1392 rate = 2; /* avoid division by zero */
1393 plcp_length = howmany(16 * len, rate);
1394 if (rate == 22) {
1402 if (rate != 2 && (ic->ic_flags & IEEE80211_F_SHPREAMBLE))
1418 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
1427 mprot = ieee80211_alloc_prot(ni, m, rate, prot);
1435 protrate = ieee80211_ctl_rate(ic->ic_rt, rate);
1446 data->rate = protrate;
1548 data->rate = tp->mgmtrate;
1553 DPRINTFN(10, "sending mgt frame len=%d rate=%d\n",
1571 int rate, error;
1580 rate = params->ibp_rate0;
1581 if (!ieee80211_isratevalid(ic->ic_rt, rate))
1591 rate);
1607 data->rate = rate;
1611 m0->m_pkthdr.len, rate);
1613 DPRINTFN(10, "sending raw frame len=%u rate=%u\n",
1614 m0->m_pkthdr.len, rate);
1634 int error, hdrlen, rate;
1649 rate = tp->mgmtrate;
1651 rate = tp->mcastrate;
1653 rate = tp->ucastrate;
1656 rate = ni->ni_txrate;
1683 ieee80211_rate2phytype(ic->ic_rt, rate) == IEEE80211_T_OFDM)
1686 error = rum_sendprot(sc, m0, ni, prot, rate);
1704 data->rate = rate;
1712 dur = ieee80211_ack_duration(ic->ic_rt, rate,
1718 m0->m_pkthdr.len, rate);
1720 DPRINTFN(10, "sending frame len=%d rate=%d\n",
1721 m0->m_pkthdr.len + (int)RT2573_TX_DESC_SIZE, rate);
2009 * Enable multi-rate retries for frames sent at OFDM rates.
2042 /* update basic rate set */