Lines Matching defs:rate

1291 		/* XXX split out rate control timer */
1472 "rate=%x chan=%d tstamp=%ju\n", ring->cur, le32toh(desc->len),
1473 le16toh(head->len), (int8_t)stat->rssi, head->rate, head->chan,
1534 switch (head->rate) {
1549 /* unknown rate: should not happen */
1580 "rate=%x duration=%d status=%x\n", desc->qid, desc->idx,
1581 stat->ntries, stat->nkill, stat->rate, le32toh(stat->duration),
1585 * Update rate control statistics for the node.
1587 * the lowest available bit-rate.
1823 wpi_plcp_signal(int rate)
1825 switch (rate) {
1848 /* quickly determine if a given rate is CCK or OFDM */
1849 #define WPI_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22)
1873 int i, error, nsegs, rate, hdrlen, ismcast;
1918 /* pick a rate */
1930 rate = tp->mgmtrate;
1932 rate = tp->mcastrate;
1934 rate = tp->ucastrate;
1937 rate = ni->ni_txrate;
1939 tx->rate = wpi_plcp_signal(rate);
1951 tap->wt_rate = rate;
2260 * Configure h/w multi-rate retries.
2276 /* fallback to the immediate lower CCK rate (if any) */
2278 /* try one time at this rate before falling back to "next" */
2286 /* fallback to the immediate lower OFDM rate (if any) */
2292 /* try one time at this rate before falling back to "next" */
2392 bcn->rate = (ic->ic_curmode == IEEE80211_MODE_11A) ?
2479 node.rate = (ic->ic_curmode == IEEE80211_MODE_11A) ?
2536 /* start automatic rate control timer */
2599 hdr->tx.rate = wpi_ridx_to_plcp[WPI_OFDM6];
2606 hdr->tx.rate = wpi_ridx_to_plcp[WPI_CCK1];
2862 node.rate = wpi_plcp_signal(2);
2869 /* Setup rate scalling */
3421 /* retrieve Tx power for this channel/rate combination */
3425 txpower.rates[i].rate = wpi_ridx_to_plcp[i];
3434 DPRINTFN(WPI_DEBUG_TEMP,("chan %d/rate %d: power index %d\n",
3442 * Determine Tx power index for a given channel/rate combination.
3448 struct ieee80211_channel *c, int rate)
3471 switch (rate) {
3502 if (!WPI_RATE_IS_OFDM(rate))