37 #include "../rtl8192c/fw_common.h"
44 long undecorated_smoothed_pwdb;
46 if (!rtlpriv->
dm.dynamic_txpower_enable)
55 (rtlpriv->
dm.entry_min_undecoratedsmoothed_pwdb == 0)) {
57 "Not connected to any\n");
67 undecorated_smoothed_pwdb =
68 rtlpriv->
dm.entry_min_undecoratedsmoothed_pwdb;
70 "AP Client PWDB = 0x%lx\n",
71 undecorated_smoothed_pwdb);
73 undecorated_smoothed_pwdb =
74 rtlpriv->
dm.undecorated_smoothed_pwdb;
76 "STA Default Port PWDB = 0x%lx\n",
77 undecorated_smoothed_pwdb);
80 undecorated_smoothed_pwdb =
81 rtlpriv->
dm.entry_min_undecoratedsmoothed_pwdb;
84 "AP Ext Port PWDB = 0x%lx\n",
85 undecorated_smoothed_pwdb);
91 "TXHIGHPWRLEVEL_LEVEL1 (TxPwr=0x0)\n");
92 }
else if ((undecorated_smoothed_pwdb <
94 (undecorated_smoothed_pwdb >=
99 "TXHIGHPWRLEVEL_LEVEL1 (TxPwr=0x10)\n");
100 }
else if (undecorated_smoothed_pwdb <
104 "TXHIGHPWRLEVEL_NORMAL\n");
107 if ((rtlpriv->
dm.dynamic_txhighpower_lvl != rtlpriv->
dm.last_dtp_lvl)) {
109 "PHY_SetTxPowerLevel8192S() Channel = %d\n",
114 rtlpriv->
dm.last_dtp_lvl = rtlpriv->
dm.dynamic_txhighpower_lvl;