Skip to contentSkip to conversation

batctl set different bw not the one passed as paramenter

B.A.T.M.A.N. Gioacchino Mazzurco 2 participants 2 messages Feb 5, 2012

lore
Share & tools
lore
#0 lore raw

as in subject

eigenServer gioacchino # batctl gw server 10MBit/5MBit eigenServer gioacchino # batctl gw
server (announced bw: 8MBit/5MBit)

why?

#1 lore raw
Quoted 7 lines · On Sunday 05 February 2012 18:34:39 Gioacchino Mazzurco wrote:

as in subject

eigenServer gioacchino # batctl gw server 10MBit/5MBit eigenServer gioacchino # batctl gw
server (announced bw: 8MBit/5MBit)

why?

Because it works similar to wifi coverage when you use iw phy phy0 set distance 10. You ask for a bandwidth and this bandwidth is encoded in a binary word not large enough to store (10 * 2**20) or (5 * 2**20). So you end up with a information that is only similar to the input you gave.

Kind regards,
Sven