]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: Add support for controlling tx power for per station
authorAshok Raj Nagarajan <arnagara@codeaurora.org>
Fri, 29 Mar 2019 11:23:15 +0000 (16:53 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Apr 2019 11:00:17 +0000 (13:00 +0200)
commit5bdf11e31fcbdc9d80ba2229d9d73a4b023652d3
treef6e4f6f6e1bdff1ac2207ce2429f827bfcdef7be
parent24091b7f6cf613d6535f8875f5a8bd80be8f4ee8
iw: Add support for controlling tx power for per station

This patch allows userspace to set transmit power,
in dBm units, to a station associated to the AP.

To set a limit tx power of 20 dBm:
iw wlan0 station set <mac-addr> txpwr limit 20

To revert the user defined tx power for a station:
iw wlan0 station set <mac-addr> txpwr auto

Co-developed-by: Balaji Pothunoori <bpothuno@codeaurora.org>
Signed-off-by: Ashok Raj Nagarajan <arnagara@codeaurora.org>
Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
station.c