Search Linux Wireless

[RFC 4/4] iw: add mesh awake window to mesh config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The awake window is the duration the local STA will stay awake after sending
its own beacon in PS mode. The value can be modified as part of the mesh
params.

Signed-off-by: Marco Porsch <marco.porsch@xxxxxxxxxxxxxxxxxxx>
---
 mesh.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/mesh.c b/mesh.c
index b2eb69d..c8de327 100644
--- a/mesh.c
+++ b/mesh.c
@@ -261,6 +261,8 @@ const static struct mesh_param_descr _mesh_param_descrs[] =
 	_my_nla_put_u8, _parse_u8, _print_u8},
 	{"mesh_power_mode", NL80211_MESHCONF_POWER_MODE,
 	_my_nla_put_u8, _parse_u8_power_mode, _print_u8_power_mode},
+	{"mesh_awake_window", NL80211_MESHCONF_AWAKE_WINDOW,
+	_my_nla_put_u16, _parse_u16, _print_u16_in_TUs},
 };
 
 static void print_all_mesh_param_descr(void)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux