Lines Matching defs:airtime
849 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed)
854 return (100 * airtime / elapsed) / USEC_PER_MSEC;
858 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed)
860 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed);
1045 u32 airtime = mdata->rx.airtime + mdata->tx.airtime;
1047 total_airtime += airtime;
1048 band_airtime[band[mac]] += airtime;
1050 load = iwl_mvm_tcm_load(mvm, airtime, elapsed);
1053 mvm->tcm.result.airtime[mac] = airtime;
1078 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime));
1079 memset(&mdata->tx.airtime, 0, sizeof(mdata->tx.airtime));
1188 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime));
1189 memset(&mdata->tx.airtime, 0, sizeof(mdata->tx.airtime));