Skip to content

Distance setting problem and "auto" setting #932

@ilario

Description

@ilario

Talking to community members seems that is common the experience of trying LibreMesh over long links and discard it as it "does not work". This is due to the default "distance" setting on the 5 GHz link (1 km):

There is no "right" value (in my opinion, to have it too large is better than having it too small), and surely is of foremost importance to recommend in the documentation to change it.

Asking around at BattleMeshV14 we just realized that there is an "auto" setting for distance in ath9k driver.
The Aredn people set it and unset it a few times in their firmware https://github.com/aredn/aredn_ar71xx/search?q=distance&type=issues so seems like it had some problems, at least in the past.

I think we could recommend the users to select the
CONFIG_PACKAGE_ATH_DYNACK=y (in Menuconfig it is in Kernel modules > Wireless drivers > kmod-ath > Enable Dynack support) and set "auto" or we could even make it default with a fallback value.

Something like: if the distance value is negative (e.g. -1000 but I would push for -5000) and have lime-config checking if Dynack is available (how??????), otherwise just apply the distance number. If the distance is positive, just use that value without checking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions