Lines Matching defs:rate

99 	RUN_DEBUG_RATE		= 0x00000020,	/* rate adaptation */
510 uint8_t rate;
1688 * Used to adjust per-rate Tx power registers.
1992 /* read Tx power compensation for each Tx rate */
2126 uint8_t rate, ridx;
2143 rate = ic->ic_sup_rates[ic->ic_curmode].
2146 if (rt2860_rates[ridx].rate == rate)
2152 RUN_DPRINTF(sc, RUN_DEBUG_RATE, "rate=%d, fix_ridx=%d\n",
2153 rate, rn->fix_ridx);
2270 /* enable automatic rate adaptation */
2665 * Check if there were retries, ie if the Tx success rate is
2666 * different from the requested rate. Note that it works only
2667 * because we do not allow rate fallback from OFDM to CCK.
2744 if (rt2860_rates[ridx].rate == ni->ni_txrate)
2751 RUN_DPRINTF(sc, RUN_DEBUG_RATE, "rate=%d, ridx=%d\n", ni->ni_txrate, rn->amrr_ridx);
2777 uint8_t rate;
2808 rate = vap->iv_txparms[ieee80211_chan2mode(ic->ic_curchan)].mgmtrate;
2811 if (rt2860_rates[ridx].rate == rate)
2815 "rate=%d, mgmt_ridx=%d\n", rate, rn->mgt_ridx);
3248 tap->wt_rate = rt2860_rates[data->ridx].rate;
3367 /* get MCS code from rate index */
3474 /* pickup a rate index */
3578 "sending data frame len=%d rate=%d qid=%d\n",
3580 sizeof(struct rt2860_txwi)), rt2860_rates[ridx].rate, qid);
3611 dur = ieee80211_ack_duration(ic->ic_rt, rt2860_rates[ridx].rate,
3637 RUN_DPRINTF(sc, RUN_DEBUG_XMIT, "sending mgt frame len=%d rate=%d\n",
3639 sizeof(struct rt2860_txwi)), rt2860_rates[ridx].rate);
3650 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
3669 mprot = ieee80211_alloc_prot(ni, m, rate, prot);
3676 protrate = ieee80211_ctl_rate(ic->ic_rt, rate);
3699 if (rt2860_rates[ridx].rate == protrate)
3705 RUN_DPRINTF(sc, RUN_DEBUG_XMIT, "sending prot len=%u rate=%u\n",
3706 m->m_pkthdr.len, rate);
3724 uint8_t rate;
3733 rate = params->ibp_rate0;
3734 if (!ieee80211_isratevalid(ic->ic_rt, rate)) {
3745 rate);
3775 if (rt2860_rates[ridx].rate == rate)
3781 RUN_DPRINTF(sc, RUN_DEBUG_XMIT, "sending raw frame len=%u rate=%u\n",
3782 m->m_pkthdr.len, rate);
5074 /* send beacons at the lowest available rate */
5113 /* setup protection frame rate (MCS code) */