Re: [PATCH v3 2/2] mac80211: store tx power value from user to station

2017-02-14 Thread Johannes Berg
> + * @txpwr: indicates the tx power, in mBm, to be used when sending data > frames + * to the STA. Value of 0 means, automatic (default) tx power. Similarly here, I'm not too sure about 0 meaning automatic. johannes

[PATCH v3 2/2] mac80211: store tx power value from user to station

2017-02-08 Thread Ashok Raj Nagarajan
This patch introduce a new driver callback drv_sta_set_txpwr. This API will copy the transmit power value passed from user space and call the driver callback to set the tx power for the station. Signed-off-by: Ashok Raj Nagarajan --- v3: - Store txpwr in mBm