| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | utils.c | 810 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument 815 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage() 1006 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local 1008 total_airtime += airtime; in iwl_mvm_calc_tcm_stats() 1009 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats() 1011 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats() 1014 mvm->tcm.result.airtime[mac] = airtime; in iwl_mvm_calc_tcm_stats() 1039 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_calc_tcm_stats() 1040 memset(&mdata->tx.airtime, 0, sizeof(mdata->tx.airtime)); in iwl_mvm_calc_tcm_stats() 1149 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_resume_tcm() [all …]
|
| H A D | rx.c | 234 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time); in iwl_mvm_rx_handle_tcm() 768 u32 airtime = le32_to_cpu(air_time_le[i]); in iwl_mvm_update_tcm_from_stats() local 770 mdata->rx.airtime += airtime; in iwl_mvm_update_tcm_from_stats() 772 if (airtime) { in iwl_mvm_update_tcm_from_stats() 776 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats()
|
| H A D | mvm.h | 744 u32 airtime; member 748 u32 airtime; member 770 u32 airtime[NUM_MAC_INDEX_DRIVER]; member 2582 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
|
| H A D | tx.c | 1078 int airtime) in iwl_mvm_tx_airtime() argument 1094 mdata->tx.airtime += airtime; in iwl_mvm_tx_airtime()
|
| /linux-6.15/net/mac80211/ |
| H A D | debugfs_sta.c | 213 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); 266 q_limit_l[ac] = sta->airtime[ac].aql_limit_low; in sta_aql_read() 305 sta->airtime[ac].aql_limit_low = q_limit_l; in sta_aql_write() 306 sta->airtime[ac].aql_limit_high = q_limit_h; in sta_aql_write() [all …]
|
| H A D | sta_info.c | 653 sta->airtime[i].deficit = sta->airtime_weight; in __sta_info_alloc() 654 atomic_set(&sta->airtime[i].aql_tx_pending, 0); in __sta_info_alloc() 2317 u32 airtime = 0; in ieee80211_sta_register_airtime() local 2320 airtime += tx_airtime; in ieee80211_sta_register_airtime() 2322 airtime += rx_airtime; in ieee80211_sta_register_airtime() 2325 sta->airtime[ac].tx_airtime += tx_airtime; in ieee80211_sta_register_airtime() 2326 sta->airtime[ac].rx_airtime += rx_airtime; in ieee80211_sta_register_airtime() 2329 sta->airtime[ac].deficit -= airtime; in ieee80211_sta_register_airtime() 2400 &sta->airtime[ac].aql_tx_pending); in ieee80211_sta_update_pending_airtime() 2409 &sta->airtime[ac].aql_tx_pending); in ieee80211_sta_update_pending_airtime() [all …]
|
| H A D | Makefile | 38 airtime.o \
|
| H A D | debugfs.c | 294 if (sta->airtime[ac].aql_limit_low == q_limit_low_old && in aql_txq_limit_write() 295 sta->airtime[ac].aql_limit_high == q_limit_high_old) { in aql_txq_limit_write() 296 sta->airtime[ac].aql_limit_low = q_limit_low; in aql_txq_limit_write() 297 sta->airtime[ac].aql_limit_high = q_limit_high; in aql_txq_limit_write()
|
| H A D | tx.c | 3991 u32 airtime; in ieee80211_tx_dequeue() local 3995 if (airtime) { in ieee80211_tx_dequeue() 3996 airtime = ieee80211_info_set_tx_time_est(info, airtime); in ieee80211_tx_dequeue() 3999 airtime, in ieee80211_tx_dequeue() 4015 struct airtime_info *air_info = &sta->airtime[ac]; in ieee80211_sta_deficit() 4029 sta->airtime[txqi->txq.ac].last_active = jiffies; in ieee80211_txq_set_active() 4086 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq() 4167 sta->airtime[txq->ac].aql_limit_low) in ieee80211_txq_airtime_check() 4173 sta->airtime[txq->ac].aql_limit_high) in ieee80211_txq_airtime_check() 4235 if (sta->airtime[ac].deficit >= 0) in ieee80211_txq_may_transmit() [all …]
|
| H A D | sta_info.h | 708 struct airtime_info airtime[IEEE80211_NUM_ACS]; member
|
| H A D | ieee80211_i.h | 103 return time_before_eq(jiffies, sta->airtime[ac].last_active + HZ / 10); in ieee80211_sta_keep_active()
|
| /linux-6.15/drivers/net/wireless/ath/ath9k/ |
| H A D | recv.c | 1023 u32 airtime = 0; in ath_rx_count_airtime() local 1045 airtime += ath_pkt_duration(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()
|
| H A D | xmit.c | 713 u32 airtime = 0; in ath_tx_count_airtime() local 716 airtime += ts->duration * (ts->ts_longretry + 1); in ath_tx_count_airtime() 719 airtime += rate_dur * bf->rates[i].count; in ath_tx_count_airtime() 722 ieee80211_sta_register_airtime(sta, tid, airtime, 0); in ath_tx_count_airtime()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mac.c | 417 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()
|
| /linux-6.15/drivers/net/wireless/intersil/p54/ |
| H A D | lmac.h | 418 __le32 airtime; member
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| H A D | mac80211.c | 1315 u32 airtime; in mt76_airtime_report() local 1318 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len); in mt76_airtime_report() 1320 dev->cur_cc_bss_rx += airtime; in mt76_airtime_report() 1327 ieee80211_sta_register_airtime(sta, tidno, 0, airtime); in mt76_airtime_report()
|
| /linux-6.15/drivers/net/wireless/ath/ath10k/ |
| H A D | mac.c | 3868 struct sk_buff *skb, u16 airtime) in ath10k_mac_tx_h_fill_cb() argument 3928 cb->airtime_est = airtime; in ath10k_mac_tx_h_fill_cb() 4338 u16 airtime = 0; in ath10k_mac_update_airtime() local 4341 return airtime; in ath10k_mac_update_airtime() 4344 return airtime; in ath10k_mac_update_airtime() 4352 airtime = (pktlen * 8 * (1000 / 100)) in ath10k_mac_update_airtime() 4355 airtime += IEEE80211_ATF_OVERHEAD_IFS; in ath10k_mac_update_airtime() 4363 airtime += IEEE80211_ATF_OVERHEAD; in ath10k_mac_update_airtime() 4367 return airtime; in ath10k_mac_update_airtime() 4385 u16 airtime; in ath10k_mac_tx_push_txq() local [all …]
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | nl80211.yaml | 1147 name: airtime-weight
|