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>
Showing
- drivers/net/wireless/iwmc3200wifi/cfg80211.c 8 additions, 4 deletionsdrivers/net/wireless/iwmc3200wifi/cfg80211.c
- drivers/net/wireless/rndis_wlan.c 13 additions, 7 deletionsdrivers/net/wireless/rndis_wlan.c
- include/linux/nl80211.h 13 additions, 0 deletionsinclude/linux/nl80211.h
- include/net/cfg80211.h 1 addition, 14 deletionsinclude/net/cfg80211.h
- net/mac80211/cfg.c 11 additions, 11 deletionsnet/mac80211/cfg.c
- net/wireless/wext-compat.c 5 additions, 5 deletionsnet/wireless/wext-compat.c
Loading
Please register or sign in to comment