Home
last modified time | relevance | path

Searched refs:airtime (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c1038 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
1043 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
1047 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
1049 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
1248 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local
1250 total_airtime += airtime; in iwl_mvm_calc_tcm_stats()
1251 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats()
1253 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats()
1256 mvm->tcm.result.airtime[mac] = airtime; in iwl_mvm_calc_tcm_stats()
1281 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_calc_tcm_stats()
[all …]
Drx.c287 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm()
816 u32 airtime = le32_to_cpu(air_time[i]); in iwl_mvm_handle_rx_statistics() local
820 if (airtime) { in iwl_mvm_handle_rx_statistics()
824 rx_bytes * 8 / airtime); in iwl_mvm_handle_rx_statistics()
827 mdata->rx.airtime += airtime; in iwl_mvm_handle_rx_statistics()
Dmvm.h614 u32 airtime; member
618 u32 airtime; member
640 u32 airtime[NUM_MAC_INDEX_DRIVER]; member
2057 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
Dtx.c1031 int airtime) in iwl_mvm_tx_airtime() argument
1047 mdata->tx.airtime += airtime; in iwl_mvm_tx_airtime()
/drivers/net/wireless/ath/ath9k/
Drecv.c1022 u32 airtime = 0; in ath_rx_count_airtime() local
1044 airtime += ath_pkt_duration(sc, rxs->rate_idx, len, in ath_rx_count_airtime()
1050 airtime += ath9k_hw_computetxtime(ah, phy, rate->bitrate * 100, in ath_rx_count_airtime()
1054 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in ath_rx_count_airtime()
Dxmit.c669 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/ath/ath10k/
Dmac.c3578 struct sk_buff *skb, u16 airtime) in ath10k_mac_tx_h_fill_cb() argument
3608 cb->airtime_est = airtime; in ath10k_mac_tx_h_fill_cb()
4014 u16 airtime = 0; in ath10k_mac_update_airtime() local
4017 return airtime; in ath10k_mac_update_airtime()
4020 return airtime; in ath10k_mac_update_airtime()
4028 airtime = (pktlen * 8 * (1000 / 100)) in ath10k_mac_update_airtime()
4031 airtime += IEEE80211_ATF_OVERHEAD_IFS; in ath10k_mac_update_airtime()
4038 airtime = (pktlen * 8 * (1000 / 100)) / 60; /* 6M */ in ath10k_mac_update_airtime()
4039 airtime += IEEE80211_ATF_OVERHEAD; in ath10k_mac_update_airtime()
4043 return airtime; in ath10k_mac_update_airtime()
[all …]
/drivers/net/wireless/intersil/p54/
Dlmac.h418 __le32 airtime; member