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)
63 #define EHT_DURATION(streams, gi, bps) \ argument
64 HE_DURATION(streams, gi, bps)
65 #define EHT_DURATION_S(shift, streams, gi, bps) \ argument
66 HE_DURATION_S(shift, streams, gi, bps)
511 int bw, streams; in ieee80211_get_rate_duration() local
538 streams = status->nss; in ieee80211_get_rate_duration()
540 group = VHT_GROUP_IDX(streams, sgi, bw); in ieee80211_get_rate_duration()
543 streams = ((status->rate_idx >> 3) & 3) + 1; in ieee80211_get_rate_duration()
545 group = HT_GROUP_IDX(streams, sgi, bw); in ieee80211_get_rate_duration()
548 streams = status->nss; in ieee80211_get_rate_duration()
550 group = HE_GROUP_IDX(streams, status->he_gi, bw); in ieee80211_get_rate_duration()
553 streams = status->nss; in ieee80211_get_rate_duration()
555 group = EHT_GROUP_IDX(streams, status->eht.gi, bw); in ieee80211_get_rate_duration()
565 if (WARN_ON_ONCE(streams > 8)) in ieee80211_get_rate_duration()
569 if (WARN_ON_ONCE(streams > 4)) in ieee80211_get_rate_duration()
579 *overhead = 36 + (streams << 2); in ieee80211_get_rate_duration()