root/drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. odm_DynamicTxPowerInit

   1 // SPDX-License-Identifier: GPL-2.0
   2 /******************************************************************************
   3  *
   4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
   5  *
   6  ******************************************************************************/
   7 
   8 #include "odm_precomp.h"
   9 
  10 void odm_DynamicTxPowerInit(void *pDM_VOID)
  11 {
  12         PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID;
  13 
  14         struct adapter *Adapter = pDM_Odm->Adapter;
  15         struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
  16         struct dm_priv *pdmpriv = &pHalData->dmpriv;
  17 
  18         pdmpriv->bDynamicTxPowerEnable = false;
  19 
  20         pdmpriv->LastDTPLvl = TxHighPwrLevel_Normal;
  21         pdmpriv->DynamicTxHighPowerLvl = TxHighPwrLevel_Normal;
  22 }

/* [<][>][^][v][top][bottom][index][help] */