Searched refs:airtime (Results 1 – 10 of 10) sorted by relevance
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | utils.c | 717 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument 722 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage() 726 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument 728 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load() 914 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local 916 total_airtime += airtime; in iwl_mvm_calc_tcm_stats() 917 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats() 919 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats() 922 mvm->tcm.result.airtime[mac] = airtime; in iwl_mvm_calc_tcm_stats() 947 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_calc_tcm_stats() [all …]
|
D | rx.c | 235 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm() 677 u32 airtime = le32_to_cpu(air_time_le[i]); in iwl_mvm_update_tcm_from_stats() local 679 mdata->rx.airtime += airtime; in iwl_mvm_update_tcm_from_stats() 681 if (airtime) { in iwl_mvm_update_tcm_from_stats() 685 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats()
|
D | mvm.h | 563 u32 airtime; member 567 u32 airtime; member 589 u32 airtime[NUM_MAC_INDEX_DRIVER]; member 2035 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
|
D | tx.c | 971 int airtime) in iwl_mvm_tx_airtime() argument 987 mdata->tx.airtime += airtime; in iwl_mvm_tx_airtime()
|
/drivers/net/wireless/ath/ath9k/ |
D | recv.c | 1023 u32 airtime = 0; in ath_rx_count_airtime() local 1045 airtime += ath_pkt_duration(sc, rxs->rate_idx, len, in ath_rx_count_airtime() 1051 airtime += ath9k_hw_computetxtime(ah, phy, rate->bitrate * 100, in ath_rx_count_airtime() 1055 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in ath_rx_count_airtime()
|
D | xmit.c | 669 u32 airtime = 0; in ath_tx_count_airtime() local 672 airtime += ts->duration * (ts->ts_longretry + 1); in ath_tx_count_airtime() 675 airtime += rate_dur * bf->rates[i].count; in ath_tx_count_airtime() 678 ieee80211_sta_register_airtime(sta, tid, airtime, 0); in ath_tx_count_airtime()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mac80211.c | 881 u32 airtime; in mt76_airtime_report() local 884 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len); in mt76_airtime_report() 886 dev->cur_cc_bss_rx += airtime; in mt76_airtime_report() 893 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in mt76_airtime_report()
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mac.c | 403 u32 airtime[4]; in mt7603_mac_sta_poll() local 428 airtime[i] = msta->tx_airtime_ac[i] - airtime_last; in mt7603_mac_sta_poll() 429 airtime[i] *= 32; in mt7603_mac_sta_poll() 430 total_airtime += airtime[i]; in mt7603_mac_sta_poll() 451 u32 txtime = airtime[qidx]; in mt7603_mac_sta_poll()
|
/drivers/net/wireless/intersil/p54/ |
D | lmac.h | 418 __le32 airtime; member
|
/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 3867 struct sk_buff *skb, u16 airtime) in ath10k_mac_tx_h_fill_cb() argument 3920 cb->airtime_est = airtime; in ath10k_mac_tx_h_fill_cb() 4327 u16 airtime = 0; in ath10k_mac_update_airtime() local 4330 return airtime; in ath10k_mac_update_airtime() 4333 return airtime; in ath10k_mac_update_airtime() 4341 airtime = (pktlen * 8 * (1000 / 100)) in ath10k_mac_update_airtime() 4344 airtime += IEEE80211_ATF_OVERHEAD_IFS; in ath10k_mac_update_airtime() 4351 airtime = (pktlen * 8 * (1000 / 100)) / 60; /* 6M */ in ath10k_mac_update_airtime() 4352 airtime += IEEE80211_ATF_OVERHEAD; in ath10k_mac_update_airtime() 4356 return airtime; in ath10k_mac_update_airtime() [all …]
|