batctl set different bw not the one passed as paramenter
as in subject
eigenServer gioacchino # batctl gw server 10MBit/5MBit eigenServer gioacchino # batctl gw
server (announced bw: 8MBit/5MBit)
why?
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