]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cfg80211/mac80211: Update set_tx_power to use mBm instead of dBm units
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Wed, 23 Jun 2010 09:12:37 +0000 (12:12 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 19:42:33 +0000 (15:42 -0400)
commitfa61cf70a6ae1089e459e4b59b2e8d8e90d8535e
tree1bd81709faaa15fb207de7db4df1ceed96374208
parenta185045c8da1ec6627236b4ade0d949b15da43b3
cfg80211/mac80211: Update set_tx_power to use mBm instead of dBm units

In preparation for a TX power setting interface in the nl80211, change the
.set_tx_power function to use mBm units instead of dBm for greater accuracy and
smaller power levels.

Also, already in advance move the tx_power_setting enumeration to nl80211.

This change affects the .tx_set_power function prototype. As a result, the
corresponding changes are needed to modules using it. These are mac80211,
iwmc3200wifi and rndis_wlan.

Cc: Samuel Ortiz <samuel.ortiz@intel.com>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
Acked-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/cfg80211.c
drivers/net/wireless/rndis_wlan.c
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/wext-compat.c