diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-01-06 17:23:56 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:53 -0500 |
commit | 2bf30fabadbdcb535b057afc92aba015884847dc (patch) | |
tree | 7a0234aeb666602e7b25a62bb7e483be0fb4a742 /include/net | |
parent | 8465676241cad5e28a1b745c32a0e18e1f67e18e (diff) |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 9215b1ec90ec..0ffe932942fd 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -546,7 +546,6 @@ enum ieee80211_conf_changed { | |||
546 | * @listen_interval: listen interval in units of beacon interval | 546 | * @listen_interval: listen interval in units of beacon interval |
547 | * @flags: configuration flags defined above | 547 | * @flags: configuration flags defined above |
548 | * @power_level: requested transmit power (in dBm) | 548 | * @power_level: requested transmit power (in dBm) |
549 | * @user_power_level: User configured transmit power (in dBm) | ||
550 | * @channel: the channel to tune to | 549 | * @channel: the channel to tune to |
551 | * @ht: the HT configuration for the device | 550 | * @ht: the HT configuration for the device |
552 | * @long_frame_max_tx_count: Maximum number of transmissions for a "long" frame | 551 | * @long_frame_max_tx_count: Maximum number of transmissions for a "long" frame |
@@ -560,7 +559,6 @@ struct ieee80211_conf { | |||
560 | int beacon_int; | 559 | int beacon_int; |
561 | u32 flags; | 560 | u32 flags; |
562 | int power_level; | 561 | int power_level; |
563 | int user_power_level; | ||
564 | 562 | ||
565 | u16 listen_interval; | 563 | u16 listen_interval; |
566 | bool radio_enabled; | 564 | bool radio_enabled; |