Felix Fietkau <nbd@xxxxxxxx> writes: > On 2019-09-27 09:45, Toke Høiland-Jørgensen wrote: >> Felix Fietkau <nbd@xxxxxxxx> writes: >> >>> Estimate by calculating duration for EWMA packet size + estimated A-MPDU >>> length on tx status events >> >> Would it make sense to move some of this code into mac80211? If we're >> going to do airtime estimation for queue limiting it may make sense to >> use this instead of the simplistic estimate I used in my RFC patch? > Sure. I mainly put it in the driver because I wanted to get it working, > tested and merged first without having to wait for a mac80211-next -> > wireless-drivers-next merge. Right, OK. So that means another patch set on top of this to move it afterwards? Don't suppose you can be convinced to take care of that as well? :) > If we move it to mac80211, we can also make ath9k use it. My > implementation should be faster than the ath9k duration calculation. SGTM! -Toke