Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 6, 2024
1 parent 6f8ea76 commit a96ff76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions os_dep/linux/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -3697,11 +3697,11 @@ if(type == NL80211_TX_POWER_FIXED) {
}else{
padapter->registrypriv.RegTxPowerIndexOverride = 0;
}*/
if(mbm>=0 && mbm<=63){
padapter->registrypriv.RegTxPowerIndexOverride = mbm;
RTW_WARN("OpenHD:interpreting %d mBm as tx power index override",(int)mbm);
}
RTW_INFO("OpenHD:Tx power index override is %d",padapter->registrypriv.RegTxPowerIndexOverride);
// if(mbm>=0 && mbm<=63){
// padapter->registrypriv.RegTxPowerIndexOverride = mbm;
// RTW_WARN("OpenHD:interpreting %d mBm as tx power index override",(int)mbm);
// }
// RTW_INFO("OpenHD:Tx power index override is %d",padapter->registrypriv.RegTxPowerIndexOverride);

pHalData->CurrentTxPwrIdx = value;
rtw_hal_set_tx_power_level(padapter, pHalData->current_channel);
Expand Down

0 comments on commit a96ff76

Please sign in to comment.