Lines Matching refs:rate_dst
455 qtnf_sta_info_parse_rate(struct rate_info *rate_dst, in qtnf_sta_info_parse_rate() argument
458 rate_dst->legacy = get_unaligned_le16(&rate_src->rate) * 10; in qtnf_sta_info_parse_rate()
460 rate_dst->mcs = rate_src->mcs; in qtnf_sta_info_parse_rate()
461 rate_dst->nss = rate_src->nss; in qtnf_sta_info_parse_rate()
462 rate_dst->flags = 0; in qtnf_sta_info_parse_rate()
466 rate_dst->bw = RATE_INFO_BW_5; in qtnf_sta_info_parse_rate()
469 rate_dst->bw = RATE_INFO_BW_10; in qtnf_sta_info_parse_rate()
473 rate_dst->bw = RATE_INFO_BW_20; in qtnf_sta_info_parse_rate()
476 rate_dst->bw = RATE_INFO_BW_40; in qtnf_sta_info_parse_rate()
479 rate_dst->bw = RATE_INFO_BW_80; in qtnf_sta_info_parse_rate()
482 rate_dst->bw = RATE_INFO_BW_160; in qtnf_sta_info_parse_rate()
485 rate_dst->bw = 0; in qtnf_sta_info_parse_rate()
490 rate_dst->flags |= RATE_INFO_FLAGS_MCS; in qtnf_sta_info_parse_rate()
492 rate_dst->flags |= RATE_INFO_FLAGS_VHT_MCS; in qtnf_sta_info_parse_rate()
495 rate_dst->flags |= RATE_INFO_FLAGS_SHORT_GI; in qtnf_sta_info_parse_rate()