On 7/1/22 2:55 AM, Johannes Berg wrote:
On Tue, 2022-03-29 at 14:02 -0700, greearb@xxxxxxxxxxxxxxx wrote:
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Combine them into a u64, each byte is one chain.
This only works up to 4 chains, but the specs at least support 8. I
don't think we have any drivers for that, but ...
u64 gives 8 bytes, so the ethtool part can support 8 chains.
The mac80211 part only supports up to 4 chains currently though.
And it's also rather ugly, IMHO.
We're reporting these through nl80211 anyway though, no? Why should we
prefer ethtool, which fundamentally limits to a single value for the AP
rather than giving the full per-station view.
I already gather ethtool stats for STA vdevs, so adding another stat is
basically free as far as performance is concerned. That is important
to me. I do not currently program much against netlink API (just scrape
existing tools output).
I understand if you don't want it upstream though.
Re-work the way that APs averaged stats to be more
efficient.
Isn't that completely unrelated?
At least somewhat unrelated.
Thanks,
Ben
johannes
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com