Yibo Zhao <yiboz@xxxxxxxxxxxxxx> writes: > On 2019-09-25 16:11, Toke Høiland-Jørgensen wrote: >> Yibo Zhao <yiboz@xxxxxxxxxxxxxx> writes: >> >>> So if it is going to work together with virtual time based mechanism >>> in >>> the future, the Tx criteria will be met both of below conditions, >>> 1. Lower than g_vt >>> 2. Lower than IEEE80211_AIRTIME_QUEUE_LIMIT >> >>> Are we going to maintain two kinds of airtime that one is from >>> estimation and the other is basically from FW reporting? >> >> Yes, that was my plan. For devices that don't have FW reporting of >> airtime, we can fall back to the estimation; but if we do have FW >> reporting that is most likely going to be more accurate, so better to >> use that for fairness... > > Do you mean we will use airtime reported by FW to calculate > local->airtime_queued in case we have FW reporting airtime? No, the opposite; if the firmware can't report airtime, we can use the estimated values to feed into report_airtime() for the fairness calculation... -Toke