Home
last modified time | relevance | path

Searched refs:airtime (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c1023 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
1028 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
1032 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
1034 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
1233 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local
1235 total_airtime += airtime; in iwl_mvm_calc_tcm_stats()
1236 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats()
1238 load = iwl_mvm_tcm_load(mvm, airtime, elapse in iwl_mvm_calc_tcm_stats()
[all...]
H A Drx.c284 /* count the airtime only once for each ampdu */ in iwl_mvm_rx_handle_tcm()
287 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm()
728 u32 airtime = le32_to_cpu(air_time_le[i]); in iwl_mvm_update_tcm_from_stats() local
730 mdata->rx.airtime += airtime; in iwl_mvm_update_tcm_from_stats()
732 if (airtime) { in iwl_mvm_update_tcm_from_stats()
736 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats()
800 * we will end up counting twice the same airtime, once in TCM in iwl_mvm_handle_rx_statistics_tlv()
912 * we will end up counting twice the same airtime, once in TCM in iwl_mvm_handle_rx_statistics()
H A Dmvm.h614 u32 airtime; member
618 u32 airtime; member
640 u32 airtime[NUM_MAC_INDEX_DRIVER]; member
2076 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c756 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
761 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
765 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
767 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
954 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local
956 total_airtime += airtime; in iwl_mvm_calc_tcm_stats()
957 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats()
959 load = iwl_mvm_tcm_load(mvm, airtime, elapse in iwl_mvm_calc_tcm_stats()
[all...]
H A Drx.c231 /* 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()
741 u32 airtime = le32_to_cpu(air_time_le[i]); in iwl_mvm_update_tcm_from_stats() local
743 mdata->rx.airtime += airtime; in iwl_mvm_update_tcm_from_stats()
745 if (airtime) { in iwl_mvm_update_tcm_from_stats()
749 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats()
904 * we will end up counting twice the same airtime, once in TCM in iwl_mvm_handle_rx_statistics_tlv()
1015 * we will end up counting twice the same airtime, once in TCM in iwl_mvm_handle_rx_statistics()
H A Dmvm.h595 u32 airtime; member
599 u32 airtime; member
621 u32 airtime[NUM_MAC_INDEX_DRIVER]; member
2351 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
/kernel/linux/linux-5.10/net/mac80211/
H A Ddebugfs_sta.c213 rx_airtime += sta->airtime[ac].rx_airtime; in sta_airtime_read()
214 tx_airtime += sta->airtime[ac].tx_airtime; in sta_airtime_read()
215 deficit[ac] = sta->airtime[ac].deficit; in sta_airtime_read()
239 sta->airtime[ac].rx_airtime = 0; in sta_airtime_write()
240 sta->airtime[ac].tx_airtime = 0; in sta_airtime_write()
241 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write()
247 STA_OPS_RW(airtime); variable
266 q_limit_l[ac] = sta->airtime[ac].aql_limit_low; in sta_aql_read()
267 q_limit_h[ac] = sta->airtime[ac].aql_limit_high; in sta_aql_read()
269 q_depth[ac] = atomic_read(&sta->airtime[a in sta_aql_read()
[all...]
H A Dsta_info.c433 sta->airtime[i].deficit = sta->airtime_weight; in sta_info_alloc()
434 atomic_set(&sta->airtime[i].aql_tx_pending, 0); in sta_info_alloc()
435 sta->airtime[i].aql_limit_low = local->aql_txq_limit_low[i]; in sta_info_alloc()
436 sta->airtime[i].aql_limit_high = local->aql_txq_limit_high[i]; in sta_info_alloc()
1904 u32 airtime = 0; in ieee80211_sta_register_airtime() local
1907 airtime += tx_airtime; in ieee80211_sta_register_airtime()
1909 airtime += rx_airtime; in ieee80211_sta_register_airtime()
1912 sta->airtime[ac].tx_airtime += tx_airtime; in ieee80211_sta_register_airtime()
1913 sta->airtime[ac].rx_airtime += rx_airtime; in ieee80211_sta_register_airtime()
1914 sta->airtime[a in ieee80211_sta_register_airtime()
[all...]
H A Ddebugfs.c267 if (sta->airtime[ac].aql_limit_low == q_limit_low_old && in aql_txq_limit_write()
268 sta->airtime[ac].aql_limit_high == q_limit_high_old) { in aql_txq_limit_write()
269 sta->airtime[ac].aql_limit_low = q_limit_low; in aql_txq_limit_write()
270 sta->airtime[ac].aql_limit_high = q_limit_high; in aql_txq_limit_write()
H A DMakefile37 airtime.o
H A Dtx.c3774 u32 airtime; in ieee80211_tx_dequeue() local
3776 airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta, in ieee80211_tx_dequeue()
3778 if (airtime) { in ieee80211_tx_dequeue()
3779 airtime = ieee80211_info_set_tx_time_est(info, airtime); in ieee80211_tx_dequeue()
3782 airtime, in ieee80211_tx_dequeue()
3826 s64 deficit = sta->airtime[txqi->txq.ac].deficit; in ieee80211_next_txq()
3832 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq()
3868 /* If airtime accounting is active, always enqueue STAs at the in __ieee80211_schedule_txq()
3870 * back by the airtime DR in __ieee80211_schedule_txq()
[all...]
H A Dsta_info.h132 /* Debugfs flags to enable/disable use of RX/TX airtime in scheduler */
140 atomic_t aql_tx_pending; /* Estimated airtime for frames pending */
515 * @airtime: per-AC struct airtime_info describing airtime statistics for this
517 * @airtime_weight: station weight for airtime fairness calculation purposes
647 struct airtime_info airtime[IEEE80211_NUM_ACS]; member
/kernel/linux/linux-6.6/net/mac80211/
H A Dsta_info.c631 sta->airtime[i].deficit = sta->airtime_weight; in __sta_info_alloc()
632 atomic_set(&sta->airtime[i].aql_tx_pending, 0); in __sta_info_alloc()
633 sta->airtime[i].aql_limit_low = local->aql_txq_limit_low[i]; in __sta_info_alloc()
634 sta->airtime[i].aql_limit_high = local->aql_txq_limit_high[i]; in __sta_info_alloc()
2267 u32 airtime = 0; in ieee80211_sta_register_airtime() local
2271 airtime += tx_airtime; in ieee80211_sta_register_airtime()
2273 airtime += rx_airtime; in ieee80211_sta_register_airtime()
2276 sta->airtime[ac].tx_airtime += tx_airtime; in ieee80211_sta_register_airtime()
2277 sta->airtime[ac].rx_airtime += rx_airtime; in ieee80211_sta_register_airtime()
2279 diff = (u32)jiffies - sta->airtime[a in ieee80211_sta_register_airtime()
[all...]
H A Ddebugfs_sta.c215 rx_airtime += sta->airtime[ac].rx_airtime; in sta_airtime_read()
216 tx_airtime += sta->airtime[ac].tx_airtime; in sta_airtime_read()
217 deficit[ac] = sta->airtime[ac].deficit; in sta_airtime_read()
241 sta->airtime[ac].rx_airtime = 0; in sta_airtime_write()
242 sta->airtime[ac].tx_airtime = 0; in sta_airtime_write()
243 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write()
249 STA_OPS_RW(airtime); variable
268 q_limit_l[ac] = sta->airtime[ac].aql_limit_low; in sta_aql_read()
269 q_limit_h[ac] = sta->airtime[ac].aql_limit_high; in sta_aql_read()
271 q_depth[ac] = atomic_read(&sta->airtime[a in sta_aql_read()
[all...]
H A 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()
H A DMakefile38 airtime.o \
H A Dtx.c3966 u32 airtime; in ieee80211_tx_dequeue() local
3968 airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta, in ieee80211_tx_dequeue()
3970 if (airtime) { in ieee80211_tx_dequeue()
3971 airtime = ieee80211_info_set_tx_time_est(info, airtime); in ieee80211_tx_dequeue()
3974 airtime, in ieee80211_tx_dequeue()
3990 struct airtime_info *air_info = &sta->airtime[ac]; in ieee80211_sta_deficit()
4004 sta->airtime[txqi->txq.ac].last_active = (u32)jiffies; in ieee80211_txq_set_active()
4020 diff = (u32)jiffies - sta->airtime[txqi->txq.ac].last_active; in ieee80211_txq_keep_active()
4064 sta->airtime[txq in ieee80211_next_txq()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A 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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c800 u32 airtime; in mt76_airtime_report() local
802 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len); in mt76_airtime_report()
804 dev->cur_cc_bss_rx += airtime; in mt76_airtime_report()
811 ieee80211_sta_register_airtime(sta, status->tid, 0, airtime); in mt76_airtime_report()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A 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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c403 u32 airtime[4]; in mt7603_mac_sta_poll() local
428 airtime[i] = msta->tx_airtime_ac[i] - airtime_last; in mt7603_mac_sta_poll()
429 airtime[i] *= 32; in mt7603_mac_sta_poll()
430 total_airtime += airtime[i]; in mt7603_mac_sta_poll()
451 u32 txtime = airtime[qidx]; in mt7603_mac_sta_poll()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c417 u32 airtime[4]; in mt7603_mac_sta_poll() local
442 airtime[i] = msta->tx_airtime_ac[i] - airtime_last; in mt7603_mac_sta_poll()
443 airtime[i] *= 32; in mt7603_mac_sta_poll()
444 total_airtime += airtime[i]; in mt7603_mac_sta_poll()
465 u32 txtime = airtime[qidx]; in mt7603_mac_sta_poll()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c1178 u32 airtime; in mt76_airtime_report() local
1181 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len); in mt76_airtime_report()
1183 dev->cur_cc_bss_rx += airtime; in mt76_airtime_report()
1190 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in mt76_airtime_report()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
H A Dlmac.h418 __le32 airtime; member
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/
H A Dlmac.h418 __le32 airtime; member

Completed in 51 milliseconds

12