Home
last modified time | relevance | path

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

/Linux-v5.15/net/mac80211/
Dtx.c3829 struct airtime_sched_info *air_sched; in ieee80211_next_txq() local
3837 air_sched = &local->airtime[ac]; in ieee80211_next_txq()
3838 spin_lock_bh(&air_sched->lock); in ieee80211_next_txq()
3840 node = air_sched->schedule_pos; in ieee80211_next_txq()
3844 node = rb_first_cached(&air_sched->active_txqs); 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()
3865 air_sched->schedule_pos = node; in ieee80211_next_txq()
3866 air_sched->last_schedule_activity = now; in ieee80211_next_txq()
3869 spin_unlock_bh(&air_sched->lock); in ieee80211_next_txq()
[all …]
Dieee80211_i.h1661 static inline void airtime_weight_sum_set(struct airtime_sched_info *air_sched, in airtime_weight_sum_set() argument
1664 if (air_sched->weight_sum == weight_sum) in airtime_weight_sum_set()
1667 air_sched->weight_sum = weight_sum; in airtime_weight_sum_set()
1668 if (air_sched->weight_sum) { in airtime_weight_sum_set()
1669 air_sched->weight_sum_reciprocal = IEEE80211_RECIPROCAL_DIVISOR_64; in airtime_weight_sum_set()
1670 do_div(air_sched->weight_sum_reciprocal, air_sched->weight_sum); in airtime_weight_sum_set()
1672 air_sched->weight_sum_reciprocal = 0; in airtime_weight_sum_set()
1707 static inline void airtime_set_active(struct airtime_sched_info *air_sched, in airtime_set_active() argument
1711 air_sched->last_schedule_activity = now; in airtime_set_active()
1712 list_move_tail(&air_info->list, &air_sched->active_list); in airtime_set_active()
[all …]
Dmain.c710 struct airtime_sched_info *air_sched = &local->airtime[i]; in ieee80211_alloc_hw_nm() local
712 air_sched->active_txqs = RB_ROOT_CACHED; in ieee80211_alloc_hw_nm()
713 INIT_LIST_HEAD(&air_sched->active_list); in ieee80211_alloc_hw_nm()
714 spin_lock_init(&air_sched->lock); in ieee80211_alloc_hw_nm()
715 air_sched->aql_txq_limit_low = IEEE80211_DEFAULT_AQL_TXQ_LIMIT_L; in ieee80211_alloc_hw_nm()
716 air_sched->aql_txq_limit_high = in ieee80211_alloc_hw_nm()
Dsta_info.c1897 struct airtime_sched_info *air_sched; in ieee80211_register_airtime() local
1901 air_sched = &local->airtime[txq->ac]; in ieee80211_register_airtime()
1912 spin_lock_bh(&air_sched->lock); in ieee80211_register_airtime()
1917 if (air_sched->weight_sum) { in ieee80211_register_airtime()
1918 weight_sum = air_sched->weight_sum; in ieee80211_register_airtime()
1919 weight_sum_reciprocal = air_sched->weight_sum_reciprocal; in ieee80211_register_airtime()
1926 air_sched->v_t += (u64)((airtime + (weight_sum >> 1)) * in ieee80211_register_airtime()
1932 spin_unlock_bh(&air_sched->lock); in ieee80211_register_airtime()
Dcfg.c1479 struct airtime_sched_info *air_sched = &local->airtime[ac]; in sta_apply_airtime_params() local
1484 spin_lock_bh(&air_sched->lock); in sta_apply_airtime_params()
1497 ieee80211_update_airtime_weight(local, air_sched, in sta_apply_airtime_params()
1500 spin_unlock_bh(&air_sched->lock); in sta_apply_airtime_params()