> I'd like to use the new rate calculation code that Felix added to mt76. > Is the arsta->txrate info in ath10k suitable to be passed up to mac80211 > and used in that, do you think? Because then that would probably be the > easiest way to go about it... Do you mean the mt76 patch that using the EWMA to smooth estimate data rate? It would be great if you can move that to mac80211. Yes, arsta->txrate info in ath10k is a good place to extract latest date rate. On Mon, Oct 7, 2019 at 12:43 PM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > > On Mon, 2019-10-07 at 21:40 +0200, Toke Høiland-Jørgensen wrote: > > > > > So if and when we start supporting true multi-band devices we'll have to > > > > change these things anyway. So might as well keep everything together so > > > > it all gets fixed :) > > > > > > I guess I'm OK with that, but I'm pretty sure this will come up sooner > > > rather than later ... > > > > > > What else is there though? > > > > By "it all" I meant "all the airtime fairness stuff". Other than that, I > > didn't have anything in particular in mind. I just kinda assumed there > > would be lots of places that had an implicit assumption that all devices > > on the same phy shares a channel... > > Not _that_ much - we do have the channel contexts after all. But except > for hwsim (*cough cough* I was lazy) nothing actually implements real > concurrent multi-channel yet, obviously, but uses a single radio with > channel hopping... > > johannes >