On Fri, 2019-11-22 at 14:11 +0100, Toke Høiland-Jørgensen wrote: > > as in bitrate = 1/airtime? Dunno, maybe? How important is precision to > the bitrate calculations? Not *that* important, it's just sort of advisory for userspace. Though I think there's at least one place in mac80211 related to radiotap that actually does use it for airtime calculation, which should probably be changed to the new code now ... > > Or maybe we should keep both and use them as a sanity check for each > > other :P > > Hmm, yeah, it should be possible to write a selftest to iterate through > all rates and compare the output of each calculation, shouldn't it? > Where would be a good place to put that? No idea ... make a new kselftest thing for wireless? johannes