Lines Matching refs:rate_dst
478 qtnf_sta_info_parse_rate(struct rate_info *rate_dst, in qtnf_sta_info_parse_rate() argument
481 rate_dst->legacy = get_unaligned_le16(&rate_src->rate) * 10; in qtnf_sta_info_parse_rate()
483 rate_dst->mcs = rate_src->mcs; in qtnf_sta_info_parse_rate()
484 rate_dst->nss = rate_src->nss; in qtnf_sta_info_parse_rate()
485 rate_dst->flags = 0; in qtnf_sta_info_parse_rate()
489 rate_dst->bw = RATE_INFO_BW_5; in qtnf_sta_info_parse_rate()
492 rate_dst->bw = RATE_INFO_BW_10; in qtnf_sta_info_parse_rate()
496 rate_dst->bw = RATE_INFO_BW_20; in qtnf_sta_info_parse_rate()
499 rate_dst->bw = RATE_INFO_BW_40; in qtnf_sta_info_parse_rate()
502 rate_dst->bw = RATE_INFO_BW_80; in qtnf_sta_info_parse_rate()
505 rate_dst->bw = RATE_INFO_BW_160; in qtnf_sta_info_parse_rate()
508 rate_dst->bw = 0; in qtnf_sta_info_parse_rate()
513 rate_dst->flags |= RATE_INFO_FLAGS_MCS; in qtnf_sta_info_parse_rate()
515 rate_dst->flags |= RATE_INFO_FLAGS_VHT_MCS; in qtnf_sta_info_parse_rate()
517 rate_dst->flags |= RATE_INFO_FLAGS_HE_MCS; in qtnf_sta_info_parse_rate()
520 rate_dst->flags |= RATE_INFO_FLAGS_SHORT_GI; in qtnf_sta_info_parse_rate()