On 2019-01-25 18:05, Johannes Berg wrote:
On Thu, 2019-01-17 at 18:59 +0530, Balaji Pothunoori wrote:
From: Ashok Raj Nagarajan <arnagara@xxxxxxxxxxxxxx>
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 <mac-addr> txpwr limit 2000
I would prefer if this was *dBm*, rather than mBm, and be allowed to
take float values, i.e. this would become "limit 20".
johannes
Johannes,
Curiously asking, existing txpower set for vap/phy interface will in mBm
from user space.
why would you suggesting dBm for per peer txpower set?
Existing designs :
root@OpenWrt:~# iw | grep power
dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]
phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>]
Regards,
Balaji.