| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | utils.c | 784 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument 789 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage() 793 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument 795 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load() 980 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local 982 total_airtime += airtime; in iwl_mvm_calc_tcm_stats() 983 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats() 985 load = iwl_mvm_tcm_load(mvm, airtime, elapse in iwl_mvm_calc_tcm_stats() [all...] |
| H A D | rx.c | 231 /* count the airtime only once for each ampdu */ in iwl_mvm_rx_handle_tcm() 234 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm() 746 u32 airtime = le32_to_cpu(air_time_le[i]); in iwl_mvm_update_tcm_from_stats() local 748 mdata->rx.airtime += airtime; in iwl_mvm_update_tcm_from_stats() 750 if (airtime) { in iwl_mvm_update_tcm_from_stats() 754 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats() 919 * we will end up counting twice the same airtime, once in TCM in iwl_mvm_stat_iterator_all_links() 1065 * we will end up counting twice the same airtime, once in TCM in iwl_mvm_handle_rx_statistics_tlv() 1183 * we will end up counting twice the same airtime, onc in iwl_mvm_handle_rx_statistics() [all...] |
| H A D | mvm.h | 658 u32 airtime; member 662 u32 airtime; member 684 u32 airtime[NUM_MAC_INDEX_DRIVER]; member 2415 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
|
| H A D | tx.c | 1031 int airtime) in iwl_mvm_tx_airtime() argument 1047 mdata->tx.airtime += airtime; in iwl_mvm_tx_airtime()
|
| /linux/net/mac80211/ |
| H A D | sta_info.c | 735 sta->airtime[i].deficit = sta->airtime_weight; in __sta_info_alloc() 736 atomic_set(&sta->airtime[i].aql_tx_pending, 0); in __sta_info_alloc() 737 sta->airtime[i].aql_limit_low = local->aql_txq_limit_low[i]; in __sta_info_alloc() 738 sta->airtime[i].aql_limit_high = local->aql_txq_limit_high[i]; in __sta_info_alloc() 2423 u32 airtime = 0; in ieee80211_sta_register_airtime() local 2426 airtime += tx_airtime; in ieee80211_sta_register_airtime() 2428 airtime += rx_airtime; in ieee80211_sta_register_airtime() 2431 sta->airtime[ac].tx_airtime += tx_airtime; in ieee80211_sta_register_airtime() 2432 sta->airtime[ac].rx_airtime += rx_airtime; in ieee80211_sta_register_airtime() 2435 sta->airtime[a in ieee80211_sta_register_airtime() [all...] |
| H A D | debugfs.c | 288 if (sta->airtime[ac].aql_limit_low == q_limit_low_old && in aql_txq_limit_write() 289 sta->airtime[ac].aql_limit_high == q_limit_high_old) { in aql_txq_limit_write() 290 sta->airtime[ac].aql_limit_low = q_limit_low; in aql_txq_limit_write() 291 sta->airtime[ac].aql_limit_high = q_limit_high; in aql_txq_limit_write()
|
| H A D | tx.c | 4149 u32 airtime; in ieee80211_txq_keep_active() 4151 airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta, 4153 if (!airtime) in ieee80211_next_txq() 4156 airtime = ieee80211_info_set_tx_time_est(info, airtime); in ieee80211_next_txq() 4159 airtime, false, in ieee80211_next_txq() 4174 struct airtime_info *air_info = &sta->airtime[ac]; in ieee80211_next_txq() 4188 sta->airtime[txqi->txq.ac].last_active = jiffies; in ieee80211_next_txq() 4245 sta->airtime[txqi->txq.ac].deficit += in __ieee80211_schedule_txq() 4286 /* If airtime accountin in ieee80211_txq_airtime_check() 4095 u32 airtime; ieee80211_tx_dequeue() local [all...] |
| H A D | sta_info.h | 134 /* Debugfs flags to enable/disable use of RX/TX airtime in scheduler */ 143 atomic_t aql_tx_pending; /* Estimated airtime for frames pending */ 677 * @airtime: per-AC struct airtime_info describing airtime statistics for this 679 * @airtime_weight: station weight for airtime fairness calculation purposes 768 struct airtime_info airtime[IEEE80211_NUM_ACS]; 766 struct airtime_info airtime[IEEE80211_NUM_ACS]; global() member
|
| H A D | ieee80211_i.h | 112 return time_before_eq(jiffies, sta->airtime[ac].last_active + HZ / 10); in ieee80211_sta_keep_active()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mac.c | 444 u32 airtime[4]; in mt7603_mac_sta_poll() local 469 airtime[i] = msta->tx_airtime_ac[i] - airtime_last; in mt7603_mac_sta_poll() 470 airtime[i] *= 32; in mt7603_mac_sta_poll() 471 total_airtime += airtime[i]; in mt7603_mac_sta_poll() 492 u32 txtime = airtime[qidx]; in mt7603_mac_sta_poll()
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | lmac.h | 418 __le32 airtime; member
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | mac.c | 3897 struct sk_buff *skb, u16 airtime) in ath10k_mac_tx_h_fill_cb() argument 3957 cb->airtime_est = airtime; in ath10k_mac_tx_h_fill_cb() 4367 u16 airtime = 0; in ath10k_mac_update_airtime() local 4370 return airtime; in ath10k_mac_update_airtime() 4373 return airtime; in ath10k_mac_update_airtime() 4381 airtime = (pktlen * 8 * (1000 / 100)) in ath10k_mac_update_airtime() 4384 airtime += IEEE80211_ATF_OVERHEAD_IFS; in ath10k_mac_update_airtime() 4391 airtime = (pktlen * 8 * (1000 / 100)) / 60; /* 6M */ in ath10k_mac_update_airtime() 4392 airtime += IEEE80211_ATF_OVERHEAD; in ath10k_mac_update_airtime() 4396 return airtime; in ath10k_mac_update_airtime() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mac80211.c | 1399 u32 airtime; 1402 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len); in mt76_airtime_flush_ampdu() 1404 dev->cur_cc_bss_rx += airtime; in mt76_airtime_flush_ampdu() 1411 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in mt76_airtime_flush_ampdu() 1385 u32 airtime; mt76_airtime_report() local
|