diff options
author | Sven Eckelmann <sven@narfation.org> | 2018-11-23 12:14:56 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2019-02-09 14:28:13 +0100 |
commit | 60040513536097584c3d55b39acdfa7080645d80 (patch) | |
tree | cc88121c671b91b0a079611a67a43faa2f89d429 /sound/pci/nm256 | |
parent | c4a7a8d9bb8f9e712d0e4c90c3d11b4388b621ba (diff) | |
download | linux-60040513536097584c3d55b39acdfa7080645d80.tar.bz2 |
batman-adv: Prepare framework for mesh genl config
The batman-adv configuration interface was implemented solely using sysfs.
This approach was condemned by non-batadv developers as "huge mistake".
Instead a netlink/genl based implementation was suggested.
The main objects for this configuration is the mesh/soft-interface object.
Its actual object in memory already contains most of the available
configuration settings. The genl interface reflects this by allowing to
get/set it using the mesh specific commands.
The BATADV_CMD_GET_MESH_INFO (or short version BATADV_CMD_GET_MESH) is
reused as get command because it already provides the content of other
information from the mesh/soft-interface which are not yet configuration
specific.
The set command BATADV_CMD_SET_MESH will also notify interested userspace
listeners of the "config" mcast group using the BATADV_CMD_SET_MESH command
message type that settings might have been changed and what the current
values are.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'sound/pci/nm256')
0 files changed, 0 insertions, 0 deletions