Commit 1432de0784fc745dd2ed334d8d90f888a9ed3d8a

Authored by Luis R. Rodriguez
Committed by John W. Linville
1 parent 98ef55f66f

cfg80211: clarify set tx power mBm documentation

Tons of drivers missed that we use mBm and not dBm...

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

include/net/cfg80211.h
... ... @@ -1402,7 +1402,8 @@
1402 1402 * have changed. The actual parameter values are available in
1403 1403 * struct wiphy. If returning an error, no value should be changed.
1404 1404 *
1405   - * @set_tx_power: set the transmit power according to the parameters
  1405 + * @set_tx_power: set the transmit power according to the parameters,
  1406 + * the power passed is in mBm, to get dBm use MBM_TO_DBM().
1406 1407 * @get_tx_power: store the current TX power into the dbm variable;
1407 1408 * return 0 if successful
1408 1409 *