diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2013-11-18 12:11:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-06 14:08:13 -0500 |
commit | 057648f92b3f83197d177761dfd290409e23db13 (patch) | |
tree | e9934b48a31b9827837af5656187d342710ed292 /drivers/net/wireless/rtlwifi/rtl8192c | |
parent | 30d93e3bc81d1e123ae190bfbcf9d5b2a94a78b9 (diff) |
rtlwifi: rtl8192c: Add new definitions in the dm_common header
commit c908c74e005de780fddbe8cb6fcd44803f5d4b74 upstream.
Changes in the gain-control mechanism will require some changes in the header.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h b/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h index 518e208c0180..4f232a063636 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h +++ b/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h | |||
@@ -91,6 +91,17 @@ | |||
91 | #define TX_POWER_NEAR_FIELD_THRESH_LVL2 74 | 91 | #define TX_POWER_NEAR_FIELD_THRESH_LVL2 74 |
92 | #define TX_POWER_NEAR_FIELD_THRESH_LVL1 67 | 92 | #define TX_POWER_NEAR_FIELD_THRESH_LVL1 67 |
93 | 93 | ||
94 | #define DYNAMIC_FUNC_DISABLE 0x0 | ||
95 | #define DYNAMIC_FUNC_DIG BIT(0) | ||
96 | #define DYNAMIC_FUNC_HP BIT(1) | ||
97 | #define DYNAMIC_FUNC_SS BIT(2) /*Tx Power Tracking*/ | ||
98 | #define DYNAMIC_FUNC_BT BIT(3) | ||
99 | #define DYNAMIC_FUNC_ANT_DIV BIT(4) | ||
100 | |||
101 | #define RSSI_CCK 0 | ||
102 | #define RSSI_OFDM 1 | ||
103 | #define RSSI_DEFAULT 2 | ||
104 | |||
94 | struct swat_t { | 105 | struct swat_t { |
95 | u8 failure_cnt; | 106 | u8 failure_cnt; |
96 | u8 try_flag; | 107 | u8 try_flag; |
@@ -167,5 +178,8 @@ void rtl92c_phy_lc_calibrate(struct ieee80211_hw *hw); | |||
167 | void rtl92c_phy_iq_calibrate(struct ieee80211_hw *hw, bool recovery); | 178 | void rtl92c_phy_iq_calibrate(struct ieee80211_hw *hw, bool recovery); |
168 | void rtl92c_dm_dynamic_txpower(struct ieee80211_hw *hw); | 179 | void rtl92c_dm_dynamic_txpower(struct ieee80211_hw *hw); |
169 | void rtl92c_dm_bt_coexist(struct ieee80211_hw *hw); | 180 | void rtl92c_dm_bt_coexist(struct ieee80211_hw *hw); |
181 | void dm_savepowerindex(struct ieee80211_hw *hw); | ||
182 | void dm_writepowerindex(struct ieee80211_hw *hw, u8 value); | ||
183 | void dm_restorepowerindex(struct ieee80211_hw *hw); | ||
170 | 184 | ||
171 | #endif | 185 | #endif |