43 (AR_SCR_SLDUR|AR_SCR_SLE|AR_SCR_SLDTP|AR_SCR_SLDWP|\
44 AR_SCR_SLEPOL|AR_SCR_MIBIE|AR_SCR_UNKNOWN)
45#define POWER_UP_TIME 2000
62 "%s: bogus SCR 0x%x, PCICFG 0x%x\n",
125 static const char*
modes[] = {
136 setChip ?
"set chip " :
"");
#define OS_REG_SET_BIT(_a, _r, _f)
#define OS_REG_CLR_BIT(_a, _r, _f)
#define OS_REG_RMW_FIELD(_a, _r, _f, _v)
#define HALDEBUG(_ah, __m,...)
void ath_hal_printf(struct ath_hal *, const char *,...)
#define OS_REG_WRITE(_ah, _reg, _val)
#define OS_REG_READ(_ah, _reg)
static const struct cmode modes[]
#define AR_PCICFG_SPWR_DN
#define AR_STA_ID1_PWR_SAV
HAL_BOOL ar5212GetPowerStatus(struct ath_hal *ah)
static void ar5212SetPowerModeNetworkSleep(struct ath_hal *ah, int setChip)
static void ar5212SetPowerModeSleep(struct ath_hal *ah, int setChip)
HAL_BOOL ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip)
HAL_POWER_MODE ar5212GetPowerMode(struct ath_hal *ah)
static HAL_BOOL ar5212SetPowerModeAwake(struct ath_hal *ah, int setChip)
HAL_POWER_MODE ah_powerMode