Project

General

Profile

Actions

Feature #373

closed

Add configuration interface for hardif settings

Added by Sven Eckelmann over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/25/2019
Due date:
% Done:

0%

Estimated time:

Description

Following two commits introduced per hardif settings in batman-adv but never exposed the netlink or sysfs interface via batctl:

  • a4b88af77e28 ("batman-adv: ELP - adding basic infrastructure")
  • c513176e4b7a ("batman-adv: add throughput override attribute to hard_ifaces")

We need something to configure them via batctl to make sure that users can actually change them when sysfs is going away. This will also be used later by OpenWrt to have this configuration in the network configuration.

I don't have a good idea how this command interface should look like but here are two possible ways ("[...] mark the optional argument that is only required when you set the value"):

batctl -m "${batadv_meshif}" hardif "${hardif}" elp_interval ["${elp_interval}"]
batctl -m "${batadv_meshif}" hardif "${hardif}" throughput_override ["${throughput_override}"]
batctl -m "${batadv_meshif}" elp_interval "${hardif}" ["${elp_interval}"]
batctl -m "${batadv_meshif}" throughput_override "${hardif}" ["${throughput_override}"]

Please provide some input regarding the format which we should use here.

Actions

Also available in: Atom PDF