mac80211: store tx power value from user to station
authorAshok Raj Nagarajan <arnagara@codeaurora.org>
Fri, 29 Mar 2019 10:49:09 +0000 (16:19 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Apr 2019 11:02:11 +0000 (13:02 +0200)
commitba905bf432f662cb907fd692a4f160e612c0408b
treeba776973d21febf657cc7ede3a9e07f6bb5d5914
parente96d1cd2635c05efdd01b4eafcfc50c22c40751f
mac80211: store tx power value from user to station

This patch introduce a new driver callback drv_sta_set_txpwr. This API will
copy the transmit power value passed from user space and call the driver
callback to set the tx power for the station.

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/mac80211.h
net/mac80211/cfg.c
net/mac80211/driver-ops.c
net/mac80211/driver-ops.h
net/mac80211/trace.h