aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@qca.qualcomm.com>2011-11-28 16:38:46 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-30 15:08:28 -0500
commit1432de0784fc745dd2ed334d8d90f888a9ed3d8a (patch)
tree8e1d2f25f718ca8ac1374e2b82a77abde93aa30f /include/net
parentnet: rfkill: convert net/rfkill/* to use module_platform_driver() (diff)
downloadlinux-dev-1432de0784fc745dd2ed334d8d90f888a9ed3d8a.tar.xz
linux-dev-1432de0784fc745dd2ed334d8d90f888a9ed3d8a.zip
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index ce6236b5473d..f0e82b2e4227 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1402,7 +1402,8 @@ struct cfg80211_gtk_rekey_data {
* have changed. The actual parameter values are available in
* struct wiphy. If returning an error, no value should be changed.
*
- * @set_tx_power: set the transmit power according to the parameters
+ * @set_tx_power: set the transmit power according to the parameters,
+ * the power passed is in mBm, to get dBm use MBM_TO_DBM().
* @get_tx_power: store the current TX power into the dbm variable;
* return 0 if successful
*