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 
odm_DynamicTxPowerInit(void * pDM_VOID)10 void odm_DynamicTxPowerInit(void *pDM_VOID)
11 {
12 	struct dm_odm_t *pDM_Odm = (struct dm_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 }
23