Lines Matching refs:mdata
206 struct iwl_mvm_tcm_mac *mdata; in iwl_mvm_rx_handle_tcm() local
224 mdata = &mvm->tcm.data[mac]; in iwl_mvm_rx_handle_tcm()
225 mdata->rx.pkts[ac]++; in iwl_mvm_rx_handle_tcm()
228 if (mdata->rx.last_ampdu_ref != mvm->ampdu_ref) { in iwl_mvm_rx_handle_tcm()
229 mdata->rx.last_ampdu_ref = mvm->ampdu_ref; in iwl_mvm_rx_handle_tcm()
230 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm()
238 if (mdata->opened_rx_ba_sessions || in iwl_mvm_rx_handle_tcm()
239 mdata->uapsd_nonagg_detect.detected || in iwl_mvm_rx_handle_tcm()
263 mdata->uapsd_nonagg_detect.rx_bytes += len; in iwl_mvm_rx_handle_tcm()
264 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr); in iwl_mvm_rx_handle_tcm()
736 struct iwl_mvm_tcm_mac *mdata = &mvm->tcm.data[i]; in iwl_mvm_update_tcm_from_stats() local
740 mdata->rx.airtime += airtime; in iwl_mvm_update_tcm_from_stats()
741 mdata->uapsd_nonagg_detect.rx_bytes += rx_bytes; in iwl_mvm_update_tcm_from_stats()
744 ewma_rate_init(&mdata->uapsd_nonagg_detect.rate); in iwl_mvm_update_tcm_from_stats()
745 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, in iwl_mvm_update_tcm_from_stats()