| /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, elapsed); in iwl_mvm_calc_tcm_stats() 988 mvm->tcm.result.airtime[mac] = airtime; in iwl_mvm_calc_tcm_stats() 1013 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_calc_tcm_stats() [all …]
|
| H A D | rx.c | 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()
|
| H A D | mvm.h | 658 u32 airtime; member 662 u32 airtime; member 684 u32 airtime[NUM_MAC_INDEX_DRIVER]; member 2416 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 | 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 | 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() 2421 u32 airtime = 0; in ieee80211_sta_register_airtime() local 2424 airtime += tx_airtime; in ieee80211_sta_register_airtime() 2426 airtime += rx_airtime; in ieee80211_sta_register_airtime() 2429 sta->airtime[ac].tx_airtime += tx_airtime; in ieee80211_sta_register_airtime() 2430 sta->airtime[ac].rx_airtime += rx_airtime; in ieee80211_sta_register_airtime() 2433 sta->airtime[ac].deficit -= airtime; in ieee80211_sta_register_airtime() [all …]
|
| H A D | tx.c | 4064 u32 airtime; in ieee80211_tx_dequeue() local 4066 airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta, in ieee80211_tx_dequeue() 4068 if (!airtime) in ieee80211_tx_dequeue() 4071 airtime = ieee80211_info_set_tx_time_est(info, airtime); in ieee80211_tx_dequeue() 4074 airtime, false, in ieee80211_tx_dequeue() 4089 struct airtime_info *air_info = &sta->airtime[ac]; in ieee80211_sta_deficit() 4103 sta->airtime[txqi->txq.ac].last_active = jiffies; in ieee80211_txq_set_active() 4160 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq() 4246 if (atomic_read(&sta->airtime[txq->ac].aql_tx_pending) < in ieee80211_txq_airtime_check() 4247 sta->airtime[txq->ac].aql_limit_low) in ieee80211_txq_airtime_check() [all …]
|
| H A D | sta_info.h | 766 struct airtime_info airtime[IEEE80211_NUM_ACS]; 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 | 1385 u32 airtime; in mt76_airtime_report() local 1388 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len); in mt76_airtime_report() 1390 dev->cur_cc_bss_rx += airtime; in mt76_airtime_report() 1397 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in mt76_airtime_report()
|