Lines Matching refs:airtime_weight
102 if (weight != sta->airtime_weight && in sta_set_airtime_weight()
106 sta->airtime_weight = weight; in sta_set_airtime_weight()
148 if (!bss->started || !bss->conf->airtime_weight) in update_airtime_weights()
160 wt_sum += bss->conf->airtime_weight; in update_airtime_weights()
167 if (!bss->started || !bss->conf->airtime_weight) in update_airtime_weights()
184 bss->conf->airtime_weight * num_sta_sum) in update_airtime_weights()
194 if (!bss->started || !bss->conf->airtime_weight) in update_airtime_weights()
203 wt = bss->conf->airtime_weight * num_sta_prod / in update_airtime_weights()
208 bss->airtime_weight = wt; in update_airtime_weights()
217 if (!bss->started || !bss->conf->airtime_weight) in update_airtime_weights()
219 set_sta_weights(bss, bss->airtime_weight * quantum); in update_airtime_weights()
238 return wt ? wt->weight : hapd->conf->airtime_weight; in get_weight_for_sta()