1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Apply TX power settings

This commit is contained in:
Sergei Makarenkov 2017-02-11 13:54:53 +03:00
parent c2cac9b8f6
commit 587fda34bd
2 changed files with 2 additions and 1 deletions

View File

@ -723,7 +723,7 @@ PHY_GetTxPowerIndex_8812A(
if ( txPower % 2 == 1 && !IS_NORMAL_CHIP(pHalData->VersionID))
--txPower;
DBG_871X("Final Tx Power(RF-%c, Channel: %d) = %d(0x%X)\n", ((RFPath==0)?'A':'B'), Channel,txPower, txPower);
// DBG_871X("Final Tx Power(RF-%c, Channel: %d) = %d(0x%X)\n", ((RFPath==0)?'A':'B'), Channel,txPower, txPower);
return (u8) txPower;
}

View File

@ -3460,6 +3460,7 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
value = 40;
pHalData->CurrentTxPwrIdx = value;
PHY_SetTxPowerLevel8812(padapter, pHalData->CurrentChannel);
#if 0
struct iwm_priv *iwm = wiphy_to_iwm(wiphy);