When I try to configure batman_adv on a bridge interface, I get this
warning from the kernel:

> batman_adv: bat0: WiFi driver or ethtool info does not provide
information about link speeds on interface br0.100, therefore defaulting to
hardcoded throughput values of 1.0 Mbps. Consider overriding the throughput
manually or checking your driver.

It seems there is no way to suppress it.

I could do `batctl hardif br0.100 to 100000` but only *after* I add the
interface and get the above warning.

So here's a suggestion - maybe there could be a "default link speed"
setting, which, when set, would also suppress the warning?
And/or allow setting the link speed override *before* adding the interface.
Then we could patch systemd-networkd to make it configurable.

Or perhaps expand link speed detection to descend into bridges and grab the
underlying link speeds?

---
To prevent discussion about why I'm adding a bridge interface instead of
underlying ports, it's because my ethernet has loops and I have STP
enabled, and STP doesn't interoperate with batman_adv at all, plus I have
other services that run outside batman_adv so I have to keep the bridge
with STP on.

Thanks in advance for any reaction on this matter,

Cheers
Rustam

Reply via email to