Lines Matching defs:ra_report

2875 	struct rtw89_ra_report *ra_report = &rtwsta_link->ra_report;
2908 memset(&ra_report->txrate, 0, sizeof(ra_report->txrate));
2912 ra_report->txrate.legacy = legacy_bitrate;
2915 ra_report->txrate.flags |= RATE_INFO_FLAGS_MCS;
2921 ra_report->txrate.mcs = rate;
2923 ra_report->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI;
2924 mcs = ra_report->txrate.mcs & 0x07;
2927 ra_report->txrate.flags |= RATE_INFO_FLAGS_VHT_MCS;
2928 ra_report->txrate.mcs = format_v1 ?
2931 ra_report->txrate.nss = format_v1 ?
2935 ra_report->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI;
2936 mcs = ra_report->txrate.mcs;
2939 ra_report->txrate.flags |= RATE_INFO_FLAGS_HE_MCS;
2940 ra_report->txrate.mcs = format_v1 ?
2943 ra_report->txrate.nss = format_v1 ?
2947 ra_report->txrate.he_gi = NL80211_RATE_INFO_HE_GI_0_8;
2949 ra_report->txrate.he_gi = NL80211_RATE_INFO_HE_GI_1_6;
2951 ra_report->txrate.he_gi = NL80211_RATE_INFO_HE_GI_3_2;
2952 mcs = ra_report->txrate.mcs;
2955 ra_report->txrate.flags |= RATE_INFO_FLAGS_EHT_MCS;
2956 ra_report->txrate.mcs = u8_get_bits(rate, RTW89_RA_RATE_MASK_MCS_V1);
2957 ra_report->txrate.nss = u8_get_bits(rate, RTW89_RA_RATE_MASK_NSS_V1) + 1;
2959 ra_report->txrate.eht_gi = NL80211_RATE_INFO_EHT_GI_0_8;
2961 ra_report->txrate.eht_gi = NL80211_RATE_INFO_EHT_GI_1_6;
2963 ra_report->txrate.eht_gi = NL80211_RATE_INFO_EHT_GI_3_2;
2964 mcs = ra_report->txrate.mcs;
2968 ra_report->txrate.bw = rtw89_hw_to_rate_info_bw(bw);
2969 ra_report->bit_rate = cfg80211_calculate_bitrate(&ra_report->txrate);
2970 ra_report->hw_rate = format_v1 ?
2975 ra_report->might_fallback_legacy = mcs <= 2;
2976 link_sta->agg.max_rc_amsdu_len = get_max_amsdu_len(rtwdev, ra_report);