• Home
  • Raw
  • Download

Lines Matching refs:rate

456 			struct ieee80211_rate *rate;  in sta_info_alloc()  local
458 rate = &hw->wiphy->bands[i]->bitrates[r]; in sta_info_alloc()
460 if (!(rate->flags & mandatory)) in sta_info_alloc()
2073 static void sta_stats_decode_rate(struct ieee80211_local *local, u32 rate, in sta_stats_decode_rate() argument
2076 rinfo->bw = STA_STATS_GET(BW, rate); in sta_stats_decode_rate()
2078 switch (STA_STATS_GET(TYPE, rate)) { in sta_stats_decode_rate()
2081 rinfo->mcs = STA_STATS_GET(VHT_MCS, rate); in sta_stats_decode_rate()
2082 rinfo->nss = STA_STATS_GET(VHT_NSS, rate); in sta_stats_decode_rate()
2083 if (STA_STATS_GET(SGI, rate)) in sta_stats_decode_rate()
2088 rinfo->mcs = STA_STATS_GET(HT_MCS, rate); in sta_stats_decode_rate()
2089 if (STA_STATS_GET(SGI, rate)) in sta_stats_decode_rate()
2096 int band = STA_STATS_GET(LEGACY_BAND, rate); in sta_stats_decode_rate()
2097 int rate_idx = STA_STATS_GET(LEGACY_IDX, rate); in sta_stats_decode_rate()
2116 rinfo->mcs = STA_STATS_GET(HE_MCS, rate); in sta_stats_decode_rate()
2117 rinfo->nss = STA_STATS_GET(HE_NSS, rate); in sta_stats_decode_rate()
2118 rinfo->he_gi = STA_STATS_GET(HE_GI, rate); in sta_stats_decode_rate()
2119 rinfo->he_ru_alloc = STA_STATS_GET(HE_RU, rate); in sta_stats_decode_rate()
2120 rinfo->he_dcm = STA_STATS_GET(HE_DCM, rate); in sta_stats_decode_rate()
2127 u32 rate = READ_ONCE(sta_get_last_rx_stats(sta)->last_rate); in sta_set_rate_info_rx() local
2129 if (rate == STA_STATS_RATE_INVALID) in sta_set_rate_info_rx()
2132 sta_stats_decode_rate(sta->local, rate, rinfo); in sta_set_rate_info_rx()