1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /****************************************************************************** 3 * 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 5 * 6 ******************************************************************************/ 7 8 #ifndef __ODMDYNAMICBBPOWERSAVING_H__ 9 #define __ODMDYNAMICBBPOWERSAVING_H__ 10 11 typedef struct _Dynamic_Power_Saving_ { 12 u8 PreCCAState; 13 u8 CurCCAState; 14 15 u8 PreRFState; 16 u8 CurRFState; 17 18 int Rssi_val_min; 19 20 u8 initialize; 21 u32 Reg874, RegC70, Reg85C, RegA74; 22 23 } PS_T, *pPS_T; 24 25 #define dm_RF_Saving ODM_RF_Saving 26 27 void ODM_RF_Saving(void *pDM_VOID, u8 bForceInNormal); 28 29 void odm_DynamicBBPowerSavingInit(void *pDM_VOID); 30 31 #endif