Re: [PATCH] batman-adv: Use wifi rx/tx as fallback throughput

Marek Lindner
2019-06-12T06:39:08Z

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

Hi,

> I have a working solution for this problem. It is not batman-related,
> but I decided to share it with you right here.
> Please let me clarify some details.
>
> 1) Some ath10k firmwares (10.2) do not export tx bitrate. So we can't
> rely on it.
> 2) Throughput estimation is better to inject from userspace, rather
> than make batman estimate it from unreliable sources.
> 3) Here is the patch for mac80211 We made for ath10k and such drivers
> that do not export expected throughput value.

you are very right about those issues. However, your patch only provides a
quick way to push an arbitrary throughput metric into the batman-adv kernel
module. The current discussion is about how such metric could be best derived
in an automated fashion.

Would you mind sharing your approach to obtaining such a metric that addresses
the problems mentioned above ?

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]