| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | utils.c | 1038 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 …]
|
| D | rx.c | 286 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm() 815 u32 airtime = le32_to_cpu(air_time[i]); in iwl_mvm_handle_rx_statistics() local 819 if (airtime) { in iwl_mvm_handle_rx_statistics() 823 rx_bytes * 8 / airtime); in iwl_mvm_handle_rx_statistics() 826 mdata->rx.airtime += airtime; in iwl_mvm_handle_rx_statistics()
|
| D | mvm.h | 614 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);
|
| D | tx.c | 1026 int airtime) in iwl_mvm_tx_airtime() argument 1042 mdata->tx.airtime += airtime; in iwl_mvm_tx_airtime()
|
| /Linux-v5.4/net/mac80211/ |
| D | debugfs_sta.c | 212 rx_airtime += sta->airtime[ac].rx_airtime; in sta_airtime_read() 213 tx_airtime += sta->airtime[ac].tx_airtime; in sta_airtime_read() 214 deficit[ac] = sta->airtime[ac].deficit; in sta_airtime_read() 243 sta->airtime[ac].rx_airtime = 0; in sta_airtime_write() 244 sta->airtime[ac].tx_airtime = 0; in sta_airtime_write() 245 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write() 251 STA_OPS_RW(airtime); 979 DEBUGFS_ADD(airtime); in ieee80211_sta_debugfs_add()
|
| D | sta_info.c | 398 sta->airtime[i].deficit = sta->airtime_weight; in sta_info_alloc() 1881 u32 airtime = 0; in ieee80211_sta_register_airtime() local 1884 airtime += tx_airtime; in ieee80211_sta_register_airtime() 1886 airtime += rx_airtime; in ieee80211_sta_register_airtime() 1889 sta->airtime[ac].tx_airtime += tx_airtime; in ieee80211_sta_register_airtime() 1890 sta->airtime[ac].rx_airtime += rx_airtime; in ieee80211_sta_register_airtime() 1891 sta->airtime[ac].deficit -= airtime; in ieee80211_sta_register_airtime() 2267 sinfo->rx_duration += sta->airtime[ac].rx_airtime; in sta_set_sinfo() 2273 sinfo->tx_duration += sta->airtime[ac].tx_airtime; in sta_set_sinfo()
|
| D | sta_info.h | 602 struct airtime_info airtime[IEEE80211_NUM_ACS]; member
|
| D | tx.c | 3690 if (sta->airtime[txqi->txq.ac].deficit < 0) { in ieee80211_next_txq() 3691 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq() 3773 if (sta->airtime[ac].deficit < 0) in ieee80211_txq_may_transmit() 3774 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit() 3779 if (sta->airtime[ac].deficit >= 0) in ieee80211_txq_may_transmit() 3782 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit()
|
| /Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
| D | recv.c | 1022 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()
|
| 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()
|
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | mac.c | 3578 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() 4012 u16 airtime = 0; in ath10k_mac_update_airtime() local 4015 return airtime; in ath10k_mac_update_airtime() 4018 return airtime; in ath10k_mac_update_airtime() 4026 airtime = (pktlen * 8 * (1000 / 100)) in ath10k_mac_update_airtime() 4029 airtime += IEEE80211_ATF_OVERHEAD_IFS; in ath10k_mac_update_airtime() 4036 airtime = (pktlen * 8 * (1000 / 100)) / 60; /* 6M */ in ath10k_mac_update_airtime() 4037 airtime += IEEE80211_ATF_OVERHEAD; in ath10k_mac_update_airtime() 4041 return airtime; in ath10k_mac_update_airtime() [all …]
|
| /Linux-v5.4/drivers/net/wireless/intersil/p54/ |
| D | lmac.h | 418 __le32 airtime; member
|