Hi Helmut, On Fri, Apr 05, 2013 at 01:21:06AM -0700, Helmut Schaa wrote: > Hi Antonio, > > On Thu, Apr 4, 2013 at 9:57 PM, Antonio Quartulli <antonio@xxxxxxxxxxxxx> wrote: > > This new API is aimed to let other modules in the kernel > > fetch the maximum throughput value towards a peer over > > a given VIF. > > Just curios, what's the intended use for this? > In the batman-adv module (which implements a routing protocol for mesh networks on layer 2) we are trying to switch metric from packet loss to throughput and the idea is to read the estimation from the rate control component (thanks to the API mechanism in cfg/mac80211 this can be eventually changed later). I am not entirely sure that the value I proposed to read (the maximum in the rate table) is the one which better plays the needed role. But the preliminar tests demonstrated that it :) Cheers, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara
Attachment:
pgpAYJTDiK1dO.pgp
Description: PGP signature