[PATCH v3] iw: Add support for controlling tx power for per station

2019-02-21 Thread Balaji Pothunoori
From: Ashok Raj Nagarajan 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 txpwr limit 20 To revert the user defined tx power for a station: iw wlan0 station set txpwr auto

Re: [PATCH v3] iw: Add support for controlling tx power for per station

2017-02-15 Thread Johannes Berg
> + sta_txpwr = strtoul(argv[0], , 0); you should error-check this. > + NLA_PUT_U32(msg, NL80211_ATTR_STA_TX_POWER, > sta_txpwr); > + } > +} > +COMMAND_ALIAS(station, set, " txpwr [ power mBm>]", > Seems like that should be txpwr or

[PATCH v3] iw: Add support for controlling tx power for per station

2017-02-08 Thread Ashok Raj Nagarajan
This patch allows userspace to set transmit power, in mBm units, to a station associated to the AP. To set a limit tx power of 2000 mBm: iw wlan0 station set txpwr limit 2000 To revert the user defined tx power for a station: iw wlan0 station set txpwr auto Signed-off-by: Ashok Raj Nagarajan