]>
git.ipfire.org Git - thirdparty/iw.git/commit - station.c
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>