]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: add support for link-specific mesh power modes
authorMarco Porsch <marco@cozybit.com>
Fri, 18 Jan 2013 12:05:32 +0000 (13:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Jan 2013 11:54:44 +0000 (12:54 +0100)
commit8012ad281a8747a3382e086e2aec48c49074ae7f
tree264231dded6505440c0b31490191a96c87fe3d1c
parent46758fa391cf2b44016972a854854c60a4498c0d
iw: add support for link-specific mesh power modes

The different power modes of links towards neighbor STA can be
read using
iw <dev> station get
-or-
iw <dev> station dump

The different power modes shown are:
- mesh local PS mode
- mesh peer PS mode
- mesh non-peer PS mode
where the local PS mode is "our" mode towards the neighbor, the
peer PS mode is the neighbor's mode towards us, and the non-peer
PS mode is the neighbor's non-peer PS mode as indicated in
beacons and management frames.

The local PS mode can be modified for each neighbor using
iw <dev> station set <mac-addr> mesh_power_mode
<active|light|deep>

Signed-off-by: Marco Porsch <marco@cozybit.com>
Signed-off-by: Ivan Bezyazychnyy <ivan.bezyazychnyy@gmail.com>
station.c