cfg80211: Add support to set tx power for a station associated
authorAshok Raj Nagarajan <arnagara@codeaurora.org>
Fri, 29 Mar 2019 10:48:21 +0000 (16:18 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Apr 2019 11:02:11 +0000 (13:02 +0200)
commite96d1cd2635c05efdd01b4eafcfc50c22c40751f
tree713f5f5037e3ce6c1b114e2873e7e94376dd97a2
parentdbd50a851c50bb95e457c99306eff298afd3d731
cfg80211: Add support to set tx power for a station associated

This patch adds support to set transmit power setting type and transmit
power level attributes to NL80211_CMD_SET_STATION in order to facilitate
adjusting the transmit power level of a station associated to the AP.

The added attributes allow selection of automatic and limited transmit
power level, with the level defined in dBm format.

Co-developed-by: Balaji Pothunoori <bpothuno@codeaurora.org>
Signed-off-by: Ashok Raj Nagarajan <arnagara@codeaurora.org>
Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c