Lines Matching full:streams
30 #define MCS_DURATION(streams, sgi, bps) \ argument
31 ((u32)MCS_SYMBOL_TIME(sgi, MCS_N_KSYMS((streams) * (bps))))
33 #define MCS_DURATION_S(shift, streams, sgi, bps) \ argument
34 ((u16)((MCS_DURATION(streams, sgi, bps) >> shift)))
51 #define HE_DURATION(streams, gi, bps) \ argument
52 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps))))
54 #define HE_DURATION_S(shift, streams, gi, bps) \ argument
55 (HE_DURATION(streams, gi, bps) >> shift)
63 * Define group sort order: HT40 -> SGI -> #streams
413 int bw, streams; in ieee80211_get_rate_duration() local
437 streams = status->nss; in ieee80211_get_rate_duration()
439 group = VHT_GROUP_IDX(streams, sgi, bw); in ieee80211_get_rate_duration()
442 streams = ((status->rate_idx >> 3) & 3) + 1; in ieee80211_get_rate_duration()
444 group = HT_GROUP_IDX(streams, sgi, bw); in ieee80211_get_rate_duration()
447 streams = status->nss; in ieee80211_get_rate_duration()
449 group = HE_GROUP_IDX(streams, status->he_gi, bw); in ieee80211_get_rate_duration()
456 if (WARN_ON_ONCE((status->encoding != RX_ENC_HE && streams > 4) || in ieee80211_get_rate_duration()
457 (status->encoding == RX_ENC_HE && streams > 8))) in ieee80211_get_rate_duration()
462 *overhead = 36 + (streams << 2); in ieee80211_get_rate_duration()