Lines Matching defs:status
404 struct ieee80211_rx_status *status,
407 bool sgi = status->enc_flags & RX_ENC_FLAG_SHORT_GI;
412 switch (status->bw) {
430 switch (status->encoding) {
432 streams = status->nss;
433 idx = status->rate_idx;
437 streams = ((status->rate_idx >> 3) & 3) + 1;
438 idx = status->rate_idx & 7;
442 streams = status->nss;
443 idx = status->rate_idx;
444 group = HE_GROUP_IDX(streams, status->he_gi, bw);
451 if (WARN_ON_ONCE((status->encoding != RX_ENC_HE && streams > 4) ||
452 (status->encoding == RX_ENC_HE && streams > 8)))
467 struct ieee80211_rx_status *status,
473 if (status->encoding == RX_ENC_LEGACY) {
475 bool sp = status->enc_flags & RX_ENC_FLAG_SHORTPRE;
479 if (WARN_ON_ONCE(status->band == NL80211_BAND_60GHZ ||
480 status->band == NL80211_BAND_S1GHZ))
483 sband = hw->wiphy->bands[status->band];
484 if (!sband || status->rate_idx >= sband->n_bitrates)
487 rate = &sband->bitrates[status->rate_idx];
494 duration = ieee80211_get_rate_duration(hw, status, &overhead);
612 for (i = 0; i < ARRAY_SIZE(info->status.rates); i++) {
613 struct ieee80211_tx_rate *rate = &info->status.rates[i];