Lines Matching refs:streams
31 #define MCS_DURATION(streams, sgi, bps) \ argument
32 ((u32)MCS_SYMBOL_TIME(sgi, MCS_N_KSYMS((streams) * (bps))))
34 #define MCS_DURATION_S(shift, streams, sgi, bps) \ argument
35 ((u16)((MCS_DURATION(streams, sgi, bps) >> shift)))
52 #define HE_DURATION(streams, gi, bps) \ argument
53 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps))))
55 #define HE_DURATION_S(shift, streams, gi, bps) \ argument
56 (HE_DURATION(streams, gi, bps) >> shift)
408 int bw, streams; in ieee80211_get_rate_duration() local
432 streams = status->nss; in ieee80211_get_rate_duration()
434 group = VHT_GROUP_IDX(streams, sgi, bw); in ieee80211_get_rate_duration()
437 streams = ((status->rate_idx >> 3) & 3) + 1; in ieee80211_get_rate_duration()
439 group = HT_GROUP_IDX(streams, sgi, bw); in ieee80211_get_rate_duration()
442 streams = status->nss; in ieee80211_get_rate_duration()
444 group = HE_GROUP_IDX(streams, status->he_gi, bw); in ieee80211_get_rate_duration()
451 if (WARN_ON_ONCE((status->encoding != RX_ENC_HE && streams > 4) || in ieee80211_get_rate_duration()
452 (status->encoding == RX_ENC_HE && streams > 8))) in ieee80211_get_rate_duration()
460 *overhead = 36 + (streams << 2); in ieee80211_get_rate_duration()