Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c725 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
730 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
734 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
736 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
922 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local
924 total_airtime += airtime; in iwl_mvm_calc_tcm_stats()
925 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats()
927 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats()
930 mvm->tcm.result.airtime[mac] = airtime; in iwl_mvm_calc_tcm_stats()
955 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_calc_tcm_stats()
[all …]
Drx.c230 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm()
738 u32 airtime = le32_to_cpu(air_time_le[i]); in iwl_mvm_update_tcm_from_stats() local
740 mdata->rx.airtime += airtime; in iwl_mvm_update_tcm_from_stats()
742 if (airtime) { in iwl_mvm_update_tcm_from_stats()
746 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats()
Dmvm.h565 u32 airtime; member
569 u32 airtime; member
591 u32 airtime[NUM_MAC_INDEX_DRIVER]; member
2058 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
Dtx.c1018 int airtime) in iwl_mvm_tx_airtime() argument
1034 mdata->tx.airtime += airtime; in iwl_mvm_tx_airtime()
/Linux-v6.1/net/mac80211/
Ddebugfs_sta.c214 rx_airtime += sta->airtime[ac].rx_airtime; in sta_airtime_read()
215 tx_airtime += sta->airtime[ac].tx_airtime; in sta_airtime_read()
216 deficit[ac] = sta->airtime[ac].deficit; in sta_airtime_read()
240 sta->airtime[ac].rx_airtime = 0; in sta_airtime_write()
241 sta->airtime[ac].tx_airtime = 0; in sta_airtime_write()
242 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write()
248 STA_OPS_RW(airtime);
267 q_limit_l[ac] = sta->airtime[ac].aql_limit_low; in sta_aql_read()
268 q_limit_h[ac] = sta->airtime[ac].aql_limit_high; in sta_aql_read()
270 q_depth[ac] = atomic_read(&sta->airtime[ac].aql_tx_pending); in sta_aql_read()
[all …]
Dsta_info.c624 sta->airtime[i].deficit = sta->airtime_weight; in __sta_info_alloc()
625 atomic_set(&sta->airtime[i].aql_tx_pending, 0); in __sta_info_alloc()
626 sta->airtime[i].aql_limit_low = local->aql_txq_limit_low[i]; in __sta_info_alloc()
627 sta->airtime[i].aql_limit_high = local->aql_txq_limit_high[i]; in __sta_info_alloc()
2110 u32 airtime = 0; in ieee80211_sta_register_airtime() local
2114 airtime += tx_airtime; in ieee80211_sta_register_airtime()
2116 airtime += rx_airtime; in ieee80211_sta_register_airtime()
2119 sta->airtime[ac].tx_airtime += tx_airtime; in ieee80211_sta_register_airtime()
2120 sta->airtime[ac].rx_airtime += rx_airtime; in ieee80211_sta_register_airtime()
2122 diff = (u32)jiffies - sta->airtime[ac].last_active; in ieee80211_sta_register_airtime()
[all …]
Ddebugfs.c297 if (sta->airtime[ac].aql_limit_low == q_limit_low_old && in aql_txq_limit_write()
298 sta->airtime[ac].aql_limit_high == q_limit_high_old) { in aql_txq_limit_write()
299 sta->airtime[ac].aql_limit_low = q_limit_low; in aql_txq_limit_write()
300 sta->airtime[ac].aql_limit_high = q_limit_high; in aql_txq_limit_write()
DMakefile38 airtime.o \
Dtx.c3880 u32 airtime; in ieee80211_tx_dequeue() local
3882 airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta, in ieee80211_tx_dequeue()
3884 if (airtime) { in ieee80211_tx_dequeue()
3885 airtime = ieee80211_info_set_tx_time_est(info, airtime); in ieee80211_tx_dequeue()
3888 airtime, in ieee80211_tx_dequeue()
3904 struct airtime_info *air_info = &sta->airtime[ac]; in ieee80211_sta_deficit()
3918 sta->airtime[txqi->txq.ac].last_active = (u32)jiffies; in ieee80211_txq_set_active()
3934 diff = (u32)jiffies - sta->airtime[txqi->txq.ac].last_active; in ieee80211_txq_keep_active()
3978 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq()
4058 if (atomic_read(&sta->airtime[txq->ac].aql_tx_pending) < in ieee80211_txq_airtime_check()
[all …]
Dsta_info.h690 struct airtime_info airtime[IEEE80211_NUM_ACS]; member
/Linux-v6.1/drivers/net/wireless/ath/ath9k/
Drecv.c1023 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()
Dxmit.c710 u32 airtime = 0; in ath_tx_count_airtime() local
713 airtime += ts->duration * (ts->ts_longretry + 1); in ath_tx_count_airtime()
716 airtime += rate_dur * bf->rates[i].count; in ath_tx_count_airtime()
719 ieee80211_sta_register_airtime(sta, tid, airtime, 0); in ath_tx_count_airtime()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c406 u32 airtime[4]; in mt7603_mac_sta_poll() local
431 airtime[i] = msta->tx_airtime_ac[i] - airtime_last; in mt7603_mac_sta_poll()
432 airtime[i] *= 32; in mt7603_mac_sta_poll()
433 total_airtime += airtime[i]; in mt7603_mac_sta_poll()
454 u32 txtime = airtime[qidx]; in mt7603_mac_sta_poll()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dmac80211.c1098 u32 airtime; in mt76_airtime_report() local
1101 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len); in mt76_airtime_report()
1103 dev->cur_cc_bss_rx += airtime; in mt76_airtime_report()
1110 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in mt76_airtime_report()
/Linux-v6.1/drivers/net/wireless/intersil/p54/
Dlmac.h418 __le32 airtime; member
/Linux-v6.1/drivers/net/wireless/ath/ath10k/
Dmac.c3873 struct sk_buff *skb, u16 airtime) in ath10k_mac_tx_h_fill_cb() argument
3933 cb->airtime_est = airtime; in ath10k_mac_tx_h_fill_cb()
4343 u16 airtime = 0; in ath10k_mac_update_airtime() local
4346 return airtime; in ath10k_mac_update_airtime()
4349 return airtime; in ath10k_mac_update_airtime()
4357 airtime = (pktlen * 8 * (1000 / 100)) in ath10k_mac_update_airtime()
4360 airtime += IEEE80211_ATF_OVERHEAD_IFS; in ath10k_mac_update_airtime()
4367 airtime = (pktlen * 8 * (1000 / 100)) / 60; /* 6M */ in ath10k_mac_update_airtime()
4368 airtime += IEEE80211_ATF_OVERHEAD; in ath10k_mac_update_airtime()
4372 return airtime; in ath10k_mac_update_airtime()
[all …]