Searched refs:air_info (Results 1 – 5 of 5) sorted by relevance
/net/mac80211/ |
D | ieee80211_i.h | 1693 static inline void airtime_weight_set(struct airtime_info *air_info, u16 weight) in airtime_weight_set() argument 1695 if (air_info->weight == weight) in airtime_weight_set() 1698 air_info->weight = weight; in airtime_weight_set() 1700 air_info->weight_reciprocal = in airtime_weight_set() 1703 air_info->weight_reciprocal = 0; in airtime_weight_set() 1748 static inline bool airtime_is_active(struct airtime_info *air_info, u64 now) in airtime_is_active() argument 1750 return air_info->last_scheduled >= now - AIRTIME_ACTIVE_DURATION; in airtime_is_active() 1754 struct airtime_info *air_info, u64 now) in airtime_set_active() argument 1756 air_info->last_scheduled = now; in airtime_set_active() 1758 list_move_tail(&air_info->list, &air_sched->active_list); in airtime_set_active() [all …]
|
D | tx.c | 3828 struct airtime_info *air_info; in ieee80211_next_txq() local 3850 air_info = to_airtime_info(&txqi->txq); in ieee80211_next_txq() 3852 if (air_info->v_t > air_sched->v_t && in ieee80211_next_txq() 3853 (!first || !airtime_catchup_v_t(air_sched, air_info->v_t, now))) in ieee80211_next_txq() 3900 struct airtime_info *air_info = to_airtime_info(txq); in ieee80211_resort_txq() local 3931 if ((!a_prev || a_prev->v_t <= air_info->v_t) && in ieee80211_resort_txq() 3932 (!a_next || a_next->v_t > air_info->v_t)) in ieee80211_resort_txq() 3949 struct airtime_info *air_info, *tmp; in ieee80211_update_airtime_weight() local 3961 list_for_each_entry_safe(air_info, tmp, in ieee80211_update_airtime_weight() 3963 if (airtime_is_active(air_info, now)) in ieee80211_update_airtime_weight() [all …]
|
D | debugfs_netdev.c | 520 struct airtime_info *air_info; in ieee80211_if_fmt_airtime() local 527 air_info = to_airtime_info(txq); in ieee80211_if_fmt_airtime() 532 air_info->rx_airtime, in ieee80211_if_fmt_airtime() 533 air_info->tx_airtime, in ieee80211_if_fmt_airtime() 534 air_info->weight, in ieee80211_if_fmt_airtime() 535 air_info->v_t); in ieee80211_if_fmt_airtime()
|
D | sta_info.c | 1912 struct airtime_info *air_info; in ieee80211_register_airtime() local 1916 air_info = to_airtime_info(txq); in ieee80211_register_airtime() 1928 air_info->tx_airtime += tx_airtime; in ieee80211_register_airtime() 1929 air_info->rx_airtime += rx_airtime; in ieee80211_register_airtime() 1935 weight_sum = air_info->weight; in ieee80211_register_airtime() 1936 weight_sum_reciprocal = air_info->weight_reciprocal; in ieee80211_register_airtime() 1942 air_info->v_t += (u32)((airtime + (air_info->weight >> 1)) * in ieee80211_register_airtime() 1943 air_info->weight_reciprocal) >> IEEE80211_RECIPROCAL_SHIFT_32; in ieee80211_register_airtime()
|
D | cfg.c | 1534 struct airtime_info *air_info = &sta->airtime[ac]; in sta_apply_airtime_params() local 1540 if (air_info->weight == params->airtime_weight || in sta_apply_airtime_params() 1545 airtime_weight_set(air_info, params->airtime_weight); in sta_apply_airtime_params()
|