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:
parent
c2cac9b8f6
commit
587fda34bd
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user