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

/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c819 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) argument
824 return (100 * airtime / elapsed) / USEC_PER_MSEC;
828 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) argument
830 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed);
1017 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; local
1019 total_airtime += airtime;
1020 band_airtime[band[mac]] += airtime;
1022 load = iwl_mvm_tcm_load(mvm, airtime, elapse
[all...]
H A Drx.c231 /* count the airtime only once for each ampdu */
234 mdata->rx.airtime += le16_to_cpu(phy_info->frame_time);
741 u32 airtime = le32_to_cpu(air_time_le[i]); local
743 mdata->rx.airtime += airtime;
745 if (airtime) {
749 rx_bytes * 8 / airtime);
916 * we will end up counting twice the same airtime, once in TCM
1062 * we will end up counting twice the same airtime, once in TCM
1180 * we will end up counting twice the same airtime, onc
[all...]
H A Dmvm.h609 u32 airtime; member in struct:iwl_mvm_tcm_mac::__anon49
613 u32 airtime; member in struct:iwl_mvm_tcm_mac::__anon50
635 u32 airtime[NUM_MAC_INDEX_DRIVER]; member in struct:iwl_mvm_tcm::__anon52
2370 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
H A Dtx.c1142 int airtime)
1158 mdata->tx.airtime += airtime;
1140 iwl_mvm_tx_airtime(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int airtime) argument
/linux-master/net/mac80211/
H A DMakefile38 airtime.o \
H A Ddebugfs_sta.c215 rx_airtime += sta->airtime[ac].rx_airtime;
216 tx_airtime += sta->airtime[ac].tx_airtime;
217 deficit[ac] = sta->airtime[ac].deficit;
241 sta->airtime[ac].rx_airtime = 0;
242 sta->airtime[ac].tx_airtime = 0;
243 sta->airtime[ac].deficit = sta->airtime_weight;
249 STA_OPS_RW(airtime); variable
268 q_limit_l[ac] = sta->airtime[ac].aql_limit_low;
269 q_limit_h[ac] = sta->airtime[ac].aql_limit_high;
271 q_depth[ac] = atomic_read(&sta->airtime[a
[all...]
H A Dsta_info.c635 sta->airtime[i].deficit = sta->airtime_weight;
636 atomic_set(&sta->airtime[i].aql_tx_pending, 0);
637 sta->airtime[i].aql_limit_low = local->aql_txq_limit_low[i];
638 sta->airtime[i].aql_limit_high = local->aql_txq_limit_high[i];
2282 u32 airtime = 0; local
2285 airtime += tx_airtime;
2287 airtime += rx_airtime;
2290 sta->airtime[ac].tx_airtime += tx_airtime;
2291 sta->airtime[ac].rx_airtime += rx_airtime;
2294 sta->airtime[a
[all...]
H A Ddebugfs.c297 if (sta->airtime[ac].aql_limit_low == q_limit_low_old &&
298 sta->airtime[ac].aql_limit_high == q_limit_high_old) {
299 sta->airtime[ac].aql_limit_low = q_limit_low;
300 sta->airtime[ac].aql_limit_high = q_limit_high;
H A Dtx.c3989 u32 airtime; local
3991 airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta,
3993 if (airtime) {
3994 airtime = ieee80211_info_set_tx_time_est(info, airtime);
3997 airtime,
4013 struct airtime_info *air_info = &sta->airtime[ac];
4027 sta->airtime[txqi->txq.ac].last_active = jiffies;
4084 sta->airtime[txqi->txq.ac].deficit +=
4120 /* If airtime accountin
[all...]
H A Dsta_info.h134 /* Debugfs flags to enable/disable use of RX/TX airtime in scheduler */
143 atomic_t aql_tx_pending; /* Estimated airtime for frames pending */
610 * @airtime: per-AC struct airtime_info describing airtime statistics for this
612 * @airtime_weight: station weight for airtime fairness calculation purposes
701 struct airtime_info airtime[IEEE80211_NUM_ACS]; member in struct:sta_info
H A Dieee80211_i.h101 return time_before_eq(jiffies, sta->airtime[ac].last_active + HZ / 10);
/linux-master/drivers/net/wireless/ath/ath9k/
H A Drecv.c1023 u32 airtime = 0; local
1045 airtime += ath_pkt_duration(sc, rxs->rate_idx, len,
1051 airtime += ath9k_hw_computetxtime(ah, phy, rate->bitrate * 100,
1055 ieee80211_sta_register_airtime(sta, tidno, 0, airtime);
H A Dxmit.c717 u32 airtime = 0; local
720 airtime += ts->duration * (ts->ts_longretry + 1);
723 airtime += rate_dur * bf->rates[i].count;
726 ieee80211_sta_register_airtime(sta, tid, airtime, 0);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c417 u32 airtime[4]; local
442 airtime[i] = msta->tx_airtime_ac[i] - airtime_last;
443 airtime[i] *= 32;
444 total_airtime += airtime[i];
465 u32 txtime = airtime[qidx];
/linux-master/drivers/net/wireless/intersil/p54/
H A Dlmac.h418 __le32 airtime; member in struct:p54_statistics
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c1203 u32 airtime; local
1206 airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len);
1208 dev->cur_cc_bss_rx += airtime;
1215 ieee80211_sta_register_airtime(sta, tidno, 0, airtime);
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dmac.c3867 struct sk_buff *skb, u16 airtime)
3927 cb->airtime_est = airtime;
4323 /* Return estimated airtime in microsecond, which is calculated using last
4326 * airtime can be reported by firmware, then delta between estimated and actual
4327 * airtime can be adjusted from deficit.
4337 u16 airtime = 0; local
4340 return airtime;
4343 return airtime;
4350 /* airtime in us, last_tx_bitrate in 100kbps */
4351 airtime
3863 ath10k_mac_tx_h_fill_cb(struct ath10k *ar, struct ieee80211_vif *vif, struct ieee80211_txq *txq, struct ieee80211_sta *sta, struct sk_buff *skb, u16 airtime) argument
4384 u16 airtime; local
4671 u16 airtime; local
[all...]

Completed in 260 milliseconds