Lines Matching refs:status
409 struct ieee80211_rx_status *status,
412 bool sgi = status->enc_flags & RX_ENC_FLAG_SHORT_GI;
417 switch (status->bw) {
435 switch (status->encoding) {
437 streams = status->nss;
438 idx = status->rate_idx;
442 streams = ((status->rate_idx >> 3) & 3) + 1;
443 idx = status->rate_idx & 7;
447 streams = status->nss;
448 idx = status->rate_idx;
449 group = HE_GROUP_IDX(streams, status->he_gi, bw);
456 if (WARN_ON_ONCE((status->encoding != RX_ENC_HE && streams > 4) ||
457 (status->encoding == RX_ENC_HE && streams > 8)))
472 struct ieee80211_rx_status *status,
478 if (status->encoding == RX_ENC_LEGACY) {
480 bool sp = status->enc_flags & RX_ENC_FLAG_SHORTPRE;
483 if (WARN_ON_ONCE(status->band > NL80211_BAND_5GHZ))
486 sband = hw->wiphy->bands[status->band];
487 if (!sband || status->rate_idx >= sband->n_bitrates)
490 rate = &sband->bitrates[status->rate_idx];
497 duration = ieee80211_get_rate_duration(hw, status, &overhead);
615 for (i = 0; i < ARRAY_SIZE(info->status.rates); i++) {
616 struct ieee80211_tx_rate *rate = &info->status.rates[i];