mac80211: remove user_power_level from driver API
I missed this during review of "mac80211: Fix tx power setting", the user_power_level shouldn't be available to the driver but rather be an internal value used to calculate the value for the driver. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
8465676241
commit
2bf30fabad
@@ -546,7 +546,6 @@ enum ieee80211_conf_changed {
|
||||
* @listen_interval: listen interval in units of beacon interval
|
||||
* @flags: configuration flags defined above
|
||||
* @power_level: requested transmit power (in dBm)
|
||||
* @user_power_level: User configured transmit power (in dBm)
|
||||
* @channel: the channel to tune to
|
||||
* @ht: the HT configuration for the device
|
||||
* @long_frame_max_tx_count: Maximum number of transmissions for a "long" frame
|
||||
@@ -560,7 +559,6 @@ struct ieee80211_conf {
|
||||
int beacon_int;
|
||||
u32 flags;
|
||||
int power_level;
|
||||
int user_power_level;
|
||||
|
||||
u16 listen_interval;
|
||||
bool radio_enabled;
|
||||
|
||||
Reference in New Issue
Block a user