mac80211: enable TPC through mac80211 stack
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Wed, 14 Jan 2015 11:55:08 +0000 (12:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 09:28:51 +0000 (10:28 +0100)
commitdb82d8a966ded064bd4cf0e1fcca13442f50d0ae
tree1f88497368334a23af9afe6f2beb9def150238d9
parent4b681c82d2f9bef121c912ffcaac89a004af3f2c
mac80211: enable TPC through mac80211 stack

Control per packet Transmit Power Control (TPC) in lower drivers
according to TX power settings configured by the user. In particular TPC is
enabled if value passed in enum nl80211_tx_power_setting is
NL80211_TX_POWER_LIMITED (allow using less than specified from userspace),
whereas TPC is disabled if nl80211_tx_power_setting is set to
NL80211_TX_POWER_FIXED (use value configured from userspace)

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c