diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/hw.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c index c08d0f4c5f3d..3d0498e69c8c 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | |||
@@ -202,7 +202,7 @@ static void _rtl92cu_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, | |||
202 | } | 202 | } |
203 | } | 203 | } |
204 | for (i = 0; i < 14; i++) { | 204 | for (i = 0; i < 14; i++) { |
205 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 205 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
206 | "RF(%d)-Ch(%d) [CCK / HT40_1S / HT40_2S] = [0x%x / 0x%x / 0x%x]\n", rf_path, i, | 206 | "RF(%d)-Ch(%d) [CCK / HT40_1S / HT40_2S] = [0x%x / 0x%x / 0x%x]\n", rf_path, i, |
207 | rtlefuse->txpwrlevel_cck[rf_path][i], | 207 | rtlefuse->txpwrlevel_cck[rf_path][i], |
208 | rtlefuse->txpwrlevel_ht40_1s[rf_path][i], | 208 | rtlefuse->txpwrlevel_ht40_1s[rf_path][i], |
@@ -238,11 +238,11 @@ static void _rtl92cu_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, | |||
238 | ((rtlefuse->eeprom_pwrlimit_ht40[index] | 238 | ((rtlefuse->eeprom_pwrlimit_ht40[index] |
239 | & 0xf0) >> 4); | 239 | & 0xf0) >> 4); |
240 | } | 240 | } |
241 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 241 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
242 | "RF-%d pwrgroup_ht20[%d] = 0x%x\n", | 242 | "RF-%d pwrgroup_ht20[%d] = 0x%x\n", |
243 | rf_path, i, | 243 | rf_path, i, |
244 | rtlefuse->pwrgroup_ht20[rf_path][i]); | 244 | rtlefuse->pwrgroup_ht20[rf_path][i]); |
245 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 245 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
246 | "RF-%d pwrgroup_ht40[%d] = 0x%x\n", | 246 | "RF-%d pwrgroup_ht40[%d] = 0x%x\n", |
247 | rf_path, i, | 247 | rf_path, i, |
248 | rtlefuse->pwrgroup_ht40[rf_path][i]); | 248 | rtlefuse->pwrgroup_ht40[rf_path][i]); |
@@ -273,26 +273,26 @@ static void _rtl92cu_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, | |||
273 | rtlefuse->legacy_ht_txpowerdiff = | 273 | rtlefuse->legacy_ht_txpowerdiff = |
274 | rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][7]; | 274 | rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][7]; |
275 | for (i = 0; i < 14; i++) | 275 | for (i = 0; i < 14; i++) |
276 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 276 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
277 | "RF-A Ht20 to HT40 Diff[%d] = 0x%x\n", | 277 | "RF-A Ht20 to HT40 Diff[%d] = 0x%x\n", |
278 | i, rtlefuse->txpwr_ht20diff[RF90_PATH_A][i]); | 278 | i, rtlefuse->txpwr_ht20diff[RF90_PATH_A][i]); |
279 | for (i = 0; i < 14; i++) | 279 | for (i = 0; i < 14; i++) |
280 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 280 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
281 | "RF-A Legacy to Ht40 Diff[%d] = 0x%x\n", | 281 | "RF-A Legacy to Ht40 Diff[%d] = 0x%x\n", |
282 | i, rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][i]); | 282 | i, rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][i]); |
283 | for (i = 0; i < 14; i++) | 283 | for (i = 0; i < 14; i++) |
284 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 284 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
285 | "RF-B Ht20 to HT40 Diff[%d] = 0x%x\n", | 285 | "RF-B Ht20 to HT40 Diff[%d] = 0x%x\n", |
286 | i, rtlefuse->txpwr_ht20diff[RF90_PATH_B][i]); | 286 | i, rtlefuse->txpwr_ht20diff[RF90_PATH_B][i]); |
287 | for (i = 0; i < 14; i++) | 287 | for (i = 0; i < 14; i++) |
288 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 288 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
289 | "RF-B Legacy to HT40 Diff[%d] = 0x%x\n", | 289 | "RF-B Legacy to HT40 Diff[%d] = 0x%x\n", |
290 | i, rtlefuse->txpwr_legacyhtdiff[RF90_PATH_B][i]); | 290 | i, rtlefuse->txpwr_legacyhtdiff[RF90_PATH_B][i]); |
291 | if (!autoload_fail) | 291 | if (!autoload_fail) |
292 | rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); | 292 | rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); |
293 | else | 293 | else |
294 | rtlefuse->eeprom_regulatory = 0; | 294 | rtlefuse->eeprom_regulatory = 0; |
295 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 295 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
296 | "eeprom_regulatory = 0x%x\n", rtlefuse->eeprom_regulatory); | 296 | "eeprom_regulatory = 0x%x\n", rtlefuse->eeprom_regulatory); |
297 | if (!autoload_fail) { | 297 | if (!autoload_fail) { |
298 | rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; | 298 | rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; |
@@ -301,7 +301,7 @@ static void _rtl92cu_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, | |||
301 | rtlefuse->eeprom_tssi[RF90_PATH_A] = EEPROM_DEFAULT_TSSI; | 301 | rtlefuse->eeprom_tssi[RF90_PATH_A] = EEPROM_DEFAULT_TSSI; |
302 | rtlefuse->eeprom_tssi[RF90_PATH_B] = EEPROM_DEFAULT_TSSI; | 302 | rtlefuse->eeprom_tssi[RF90_PATH_B] = EEPROM_DEFAULT_TSSI; |
303 | } | 303 | } |
304 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 304 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
305 | "TSSI_A = 0x%x, TSSI_B = 0x%x\n", | 305 | "TSSI_A = 0x%x, TSSI_B = 0x%x\n", |
306 | rtlefuse->eeprom_tssi[RF90_PATH_A], | 306 | rtlefuse->eeprom_tssi[RF90_PATH_A], |
307 | rtlefuse->eeprom_tssi[RF90_PATH_B]); | 307 | rtlefuse->eeprom_tssi[RF90_PATH_B]); |
@@ -316,7 +316,7 @@ static void _rtl92cu_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, | |||
316 | if (rtlefuse->eeprom_thermalmeter == 0x1f || autoload_fail) | 316 | if (rtlefuse->eeprom_thermalmeter == 0x1f || autoload_fail) |
317 | rtlefuse->apk_thermalmeterignore = true; | 317 | rtlefuse->apk_thermalmeterignore = true; |
318 | rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; | 318 | rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; |
319 | RTPRINT(rtlpriv, FINIT, INIT_TxPower, | 319 | RTPRINT(rtlpriv, FINIT, INIT_TXPOWER, |
320 | "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); | 320 | "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); |
321 | } | 321 | } |
322 | 322 | ||