summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-10-11 09:43:22 +0000
committerkettenis <kettenis@openbsd.org>2012-10-11 09:43:22 +0000
commitde8fb3ae621fe29e01f4ee04064844f19e2c625c (patch)
treed75a173c790e835bf303d47997d47c7b780e261d
parentFix a use-after-free when collapsing the tree in choose mode, from (diff)
downloadwireguard-openbsd-de8fb3ae621fe29e01f4ee04064844f19e2c625c.tar.xz
wireguard-openbsd-de8fb3ae621fe29e01f4ee04064844f19e2c625c.zip
Enable Host AP power saving support for the RT2700, RT2800 and RT3090 chipsets.
Tested by Nathanael Rensen.
-rw-r--r--share/man/man4/ral.49
-rw-r--r--sys/dev/ic/rt2860.c4
2 files changed, 6 insertions, 7 deletions
diff --git a/share/man/man4/ral.4 b/share/man/man4/ral.4
index b5f1e00d57a..07ded4e0240 100644
--- a/share/man/man4/ral.4
+++ b/share/man/man4/ral.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ral.4,v 1.99 2012/08/12 17:01:35 schwarze Exp $
+.\" $OpenBSD: ral.4,v 1.100 2012/10/11 09:43:22 kettenis Exp $
.\"
.\" Copyright (c) 2005-2010 Damien Bergamini <damien.bergamini@free.fr>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 12 2012 $
+.Dd $Mdocdate: October 11 2012 $
.Dt RAL 4
.Os
.Sh NAME
@@ -353,12 +353,13 @@ the RT2500, RT2501 and RT2600 chipsets.
The
.Nm
driver does not support any of the 802.11n capabilities offered by
-the RT2700 and RT2800 chipsets.
+the RT2700, RT2800 and RT3090 chipsets.
Additional work is required in
.Xr ieee80211 9
before those features can be supported.
.Pp
-Host AP mode doesn't support power saving.
+On the RT2500, RT2501 and RT2600 chipsets, host AP mode doesn't
+support power saving.
Clients attempting to use power saving mode may experience significant
packet loss (disabling power saving on the client will fix this).
.Pp
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c
index 81349e91ad6..0e0666c9b69 100644
--- a/sys/dev/ic/rt2860.c
+++ b/sys/dev/ic/rt2860.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2860.c,v 1.65 2010/10/23 14:24:54 damien Exp $ */
+/* $OpenBSD: rt2860.c,v 1.66 2012/10/11 09:43:22 kettenis Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -303,10 +303,8 @@ rt2860_attachhook(void *xsc)
#ifndef IEEE80211_STA_ONLY
IEEE80211_C_IBSS | /* IBSS mode supported */
IEEE80211_C_HOSTAP | /* HostAP mode supported */
-#ifdef notyet
IEEE80211_C_APPMGT | /* HostAP power management */
#endif
-#endif
IEEE80211_C_SHPREAMBLE | /* short preamble supported */
IEEE80211_C_SHSLOT | /* short slot time supported */
IEEE80211_C_WEP | /* s/w WEP */