diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2012-10-27 16:13:29 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2012-10-27 16:13:29 +0000 |
commit | 6546dce36c67affafc99e96af041db55e667b063 (patch) | |
tree | 24d803a8f605a4593eaefb3212e1b1ea0422e5d4 /sys/dev/ic/acx100.c | |
parent | 03f796e15851d0a9577e7464eb38078cf840ab2b (diff) |
Implememnt AP side power saving for acx(4). Tested on acx11.
With some input and OK from kettenis@ and OK sthen@
Diffstat (limited to 'sys/dev/ic/acx100.c')
-rw-r--r-- | sys/dev/ic/acx100.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/acx100.c b/sys/dev/ic/acx100.c index 97c0e96749d..ebf156781ab 100644 --- a/sys/dev/ic/acx100.c +++ b/sys/dev/ic/acx100.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acx100.c,v 1.21 2010/04/20 22:05:41 tedu Exp $ */ +/* $OpenBSD: acx100.c,v 1.22 2012/10/27 16:13:28 claudio Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -264,6 +264,9 @@ acx100_set_param(struct acx_softc *sc) sc->chip_ioreg = acx100_reg; sc->chip_hw_crypt = 1; sc->chip_intr_enable = ACX100_INTR_ENABLE; +#ifndef IEEE80211_STA_ONLY + sc->chip_intr_enable |= ACXRV_INTR_DTIM; +#endif sc->chip_intr_disable = ACX100_INTR_DISABLE; sc->chip_gpio_pled = ACX100_GPIO_POWER_LED; sc->chip_ee_eaddr_ofs = ACX100_EE_EADDR_OFS; |