Home
last modified time | relevance | path

Searched refs:air_info (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/net/mac80211/
Dieee80211_i.h1647 static inline void airtime_weight_set(struct airtime_info *air_info, u16 weight) in airtime_weight_set() argument
1649 if (air_info->weight == weight) in airtime_weight_set()
1652 air_info->weight = weight; in airtime_weight_set()
1654 air_info->weight_reciprocal = in airtime_weight_set()
1657 air_info->weight_reciprocal = 0; in airtime_weight_set()
1702 static inline bool airtime_is_active(struct airtime_info *air_info, u64 now) in airtime_is_active() argument
1704 return air_info->last_scheduled >= now - AIRTIME_ACTIVE_DURATION; in airtime_is_active()
1708 struct airtime_info *air_info, u64 now) in airtime_set_active() argument
1710 air_info->last_scheduled = now; in airtime_set_active()
1712 list_move_tail(&air_info->list, &air_sched->active_list); in airtime_set_active()
[all …]
Dtx.c3832 struct airtime_info *air_info; in ieee80211_next_txq() local
3854 air_info = to_airtime_info(&txqi->txq); in ieee80211_next_txq()
3856 if (air_info->v_t > air_sched->v_t && in ieee80211_next_txq()
3857 (!first || !airtime_catchup_v_t(air_sched, air_info->v_t, now))) in ieee80211_next_txq()
3904 struct airtime_info *air_info = to_airtime_info(txq); in ieee80211_resort_txq() local
3935 if ((!a_prev || a_prev->v_t <= air_info->v_t) && in ieee80211_resort_txq()
3936 (!a_next || a_next->v_t > air_info->v_t)) in ieee80211_resort_txq()
3953 struct airtime_info *air_info, *tmp; in ieee80211_update_airtime_weight() local
3965 list_for_each_entry_safe(air_info, tmp, in ieee80211_update_airtime_weight()
3967 if (airtime_is_active(air_info, now)) in ieee80211_update_airtime_weight()
[all …]
Ddebugfs_netdev.c520 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()
Dsta_info.c1898 struct airtime_info *air_info; in ieee80211_register_airtime() local
1902 air_info = to_airtime_info(txq); in ieee80211_register_airtime()
1914 air_info->tx_airtime += tx_airtime; in ieee80211_register_airtime()
1915 air_info->rx_airtime += rx_airtime; in ieee80211_register_airtime()
1921 weight_sum = air_info->weight; in ieee80211_register_airtime()
1922 weight_sum_reciprocal = air_info->weight_reciprocal; in ieee80211_register_airtime()
1928 air_info->v_t += (u32)((airtime + (air_info->weight >> 1)) * in ieee80211_register_airtime()
1929 air_info->weight_reciprocal) >> IEEE80211_RECIPROCAL_SHIFT_32; in ieee80211_register_airtime()
Dcfg.c1480 struct airtime_info *air_info = &sta->airtime[ac]; in sta_apply_airtime_params() local
1486 if (air_info->weight == params->airtime_weight || in sta_apply_airtime_params()
1491 airtime_weight_set(air_info, params->airtime_weight); in sta_apply_airtime_params()