cfg80211: allow per interface TX power setting
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Oct 2012 08:17:18 +0000 (10:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Oct 2012 08:11:34 +0000 (09:11 +0100)
commitc8442118ad9cd05cfe3b993f058e70ab25b1009a
treee9d454ef6461e70cf99de76f9dda52952b665e44
parent71fe96bf9db8b117d28de6f9ced606cae2ad9661
cfg80211: allow per interface TX power setting

The TX power setting is currently per wiphy (hardware
device) but with multi-channel capabilities that doesn't
make much sense any more.

Allow drivers (and mac80211) to advertise support for
per-interface TX power configuration. When the TX power
is configured for the wiphy, the wdev will be NULL and
the driver can still handle that, but when a wdev is
given the TX power can be set only for that wdev now.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/rndis_wlan.c
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c
net/wireless/rdev-ops.h
net/wireless/trace.h
net/wireless/wext-compat.c