Lines Matching refs:rates
260 struct ieee80211_tx_rate *rates;
374 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE)
397 rates = info->control.rates;
409 /* Overwrite rates[0].count to make the retry calculation
413 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) ||
414 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) {
415 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count;
418 rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count;
422 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) ||
423 (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) {
438 if (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) {
533 if (rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS &&
856 retry_limit = report->status.rates[0].count;
871 report->status.rates[0].count = 0;
880 report->status.rates[0].count = 0;
881 report->status.rates[1].count = status->frame_count;
884 report->status.rates[0].count = retry_limit;
885 report->status.rates[1].count = status->frame_count -
889 report->status.rates[0].count = status->frame_count;
890 report->status.rates[1].idx = -1;