diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2015-11-10 20:50:51 +0300 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-29 11:25:06 +0300 |
commit | c833484e5f3872a38fe232c663586069d5ad9645 (patch) | |
tree | d4ab62093f50a411de1fb0ed6bef90634fbe61b1 /net/batman-adv/Kconfig | |
parent | 95d392784dd0a51e4216e075f04a68c922745985 (diff) | |
download | linux-c833484e5f3872a38fe232c663586069d5ad9645.tar.xz |
batman-adv: ELP - compute the metric based on the estimated throughput
In case of wireless interface retrieve the throughput by
querying cfg80211. To perform this call a separate work
must be scheduled because the function may sleep and this
is not allowed within an RCU protected context (RCU in this
case is used to iterate over all the neighbours).
Use ethtool to retrieve information about an Ethernet link
like HALF/FULL_DUPLEX and advertised bandwidth (e.g.
100/10Mbps).
The metric is updated each time a new ELP packet is sent,
this way it is possible to timely react to a metric
variation which can imply (for example) a neighbour
disconnection.
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/Kconfig')
-rw-r--r-- | net/batman-adv/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig index 5c148a8489da..e651dc927bfd 100644 --- a/net/batman-adv/Kconfig +++ b/net/batman-adv/Kconfig @@ -17,7 +17,7 @@ config BATMAN_ADV config BATMAN_ADV_BATMAN_V bool "B.A.T.M.A.N. V protocol (experimental)" - depends on BATMAN_ADV + depends on BATMAN_ADV && CFG80211 default n help This option enables the B.A.T.M.A.N. V protocol, the successor |