#ifndef __RTL871X_PWRCTRL_H_
#define __RTL871X_PWRCTRL_H_
#include "osdep_service.h"
#include "drv_types.h"
#define CMD_ALIVE …
enum Power_Mgnt { … };
#define PS_DPS …
#define PS_LCLK …
#define PS_RF_OFF …
#define PS_ALL_ON …
#define PS_ST_ACTIVE …
#define PS_LP …
#define PS_STATE_MASK …
#define PS_STATE_HW_MASK …
#define PS_SEQ_MASK …
#define PS_STATE(x) …
#define PS_STATE_HW(x) …
#define PS_SEQ(x) …
#define PS_STATE_S0 …
#define PS_STATE_S1 …
#define PS_STATE_S2 …
#define PS_STATE_S3 …
#define PS_STATE_S4 …
#define PS_IS_RF_ON(x) …
#define PS_IS_ACTIVE(x) …
#define CLR_PS_STATE(x) …
struct reportpwrstate_parm { … };
struct pwrctrl_priv { … };
void r8712_init_pwrctrl_priv(struct _adapter *adapter);
int r8712_register_cmd_alive(struct _adapter *padapter);
void r8712_unregister_cmd_alive(struct _adapter *padapter);
void r8712_cpwm_int_hdl(struct _adapter *padapter,
struct reportpwrstate_parm *preportpwrstate);
void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode,
uint smart_ps);
void r8712_set_rpwm(struct _adapter *padapter, u8 val8);
void r8712_flush_rwctrl_works(struct _adapter *padapter);
#endif