diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2013-04-23 09:40:00 -0400 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-09 15:22:28 -0400 |
commit | 3f4841ffb336075f74b05fe4a205e877bb22848d (patch) | |
tree | bcf704a6cc178d4fa9ceb5a7f5cfe5d24868564a /net/batman-adv/sysfs.c | |
parent | 17cf0ea455f1a4a7e8436ef96236999e9c452a93 (diff) |
batman-adv: tvlv - add network coding container
Create network coding container to announce network coding
capabilities (if enabled).
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/sysfs.c')
-rw-r--r-- | net/batman-adv/sysfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index e1a826e43210..fbc1c251711d 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include "sysfs.h" | 21 | #include "sysfs.h" |
22 | #include "translation-table.h" | 22 | #include "translation-table.h" |
23 | #include "distributed-arp-table.h" | 23 | #include "distributed-arp-table.h" |
24 | #include "network-coding.h" | ||
24 | #include "originator.h" | 25 | #include "originator.h" |
25 | #include "hard-interface.h" | 26 | #include "hard-interface.h" |
26 | #include "gateway_common.h" | 27 | #include "gateway_common.h" |
@@ -447,7 +448,8 @@ static BATADV_ATTR(gw_bandwidth, S_IRUGO | S_IWUSR, batadv_show_gw_bwidth, | |||
447 | BATADV_ATTR_SIF_UINT(log_level, S_IRUGO | S_IWUSR, 0, BATADV_DBG_ALL, NULL); | 448 | BATADV_ATTR_SIF_UINT(log_level, S_IRUGO | S_IWUSR, 0, BATADV_DBG_ALL, NULL); |
448 | #endif | 449 | #endif |
449 | #ifdef CONFIG_BATMAN_ADV_NC | 450 | #ifdef CONFIG_BATMAN_ADV_NC |
450 | BATADV_ATTR_SIF_BOOL(network_coding, S_IRUGO | S_IWUSR, NULL); | 451 | BATADV_ATTR_SIF_BOOL(network_coding, S_IRUGO | S_IWUSR, |
452 | batadv_nc_status_update); | ||
451 | #endif | 453 | #endif |
452 | 454 | ||
453 | static struct batadv_attribute *batadv_mesh_attrs[] = { | 455 | static struct batadv_attribute *batadv_mesh_attrs[] = { |