diff options
author | Marco Porsch <marco@cozybit.com> | 2013-01-07 16:04:52 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-16 22:48:04 +0100 |
commit | 3b1c5a5307fb5277f395efdcf330c064d79df07d (patch) | |
tree | 9aca9007c05a70a0bce2c18c3c60fcfda1b7923d /net/x25/sysctl_net_x25.c | |
parent | 9bdbf04db099c11bbbaea9dcea7465c508531fb8 (diff) | |
download | op-kernel-dev-3b1c5a5307fb5277f395efdcf330c064d79df07d.zip op-kernel-dev-3b1c5a5307fb5277f395efdcf330c064d79df07d.tar.gz |
{cfg,nl}80211: mesh power mode primitives and userspace access
Add the nl80211_mesh_power_mode enumeration which holds possible
values for the mesh power mode. These modes are unknown, active,
light sleep and deep sleep.
Add power_mode entry to the mesh config structure to hold the
user-configured default mesh power mode. This value will be used
for new peer links.
Add the dot11MeshAwakeWindowDuration value to the mesh config.
The awake window is a duration in TU describing how long the STA
will stay awake after transmitting its beacon in PS mode.
Add access routines to:
- get/set local link-specific power mode (STA)
- get remote STA's link-specific power mode (STA)
- get remote STA's non-peer power mode (STA)
- get/set default mesh power mode (mesh config)
- get/set mesh awake window duration (mesh config)
All config changes may be done at mesh runtime and take effect
immediately.
Signed-off-by: Marco Porsch <marco@cozybit.com>
Signed-off-by: Ivan Bezyazychnyy <ivan.bezyazychnyy@gmail.com>
Signed-off-by: Mike Krinkin <krinkin.m.u@gmail.com>
[fix commit message line length, error handling in set station]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/x25/sysctl_net_x25.c')
0 files changed, 0 insertions, 0 deletions