summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2019-03-27 07:26:19 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2019-03-27 07:26:19 +0000
commit8fd537c3b7c978a8de670c729372cf4d30daa4c3 (patch)
treeae5575ed59e815874ec2ac5b02b7c83a9707be8e
parent24343f8a3fc6eded415d6aef60977f4a7ddcd7db (diff)
comment out the optional "duration" argument to powersave:
only two older cards currently attempt to set this, and it should not be neccessary anyway; i've added in a some (commented) info to explain this; discussed with and ok stsp
-rw-r--r--sbin/ifconfig/ifconfig.819
1 files changed, 12 insertions, 7 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 9fb8fbf1df1..325fbcac620 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.329 2019/03/26 19:47:08 jmc Exp $
+.\" $OpenBSD: ifconfig.8,v 1.330 2019/03/27 07:26:18 jmc Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: March 26 2019 $
+.Dd $Mdocdate: March 27 2019 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -1044,15 +1044,20 @@ Write
to the persistent memory of the network card, and
enable WEP encryption using that
.Ar key .
-.It Cm powersave Op Ar duration
+.It Cm powersave
Enable 802.11 power saving mode.
Power saving is disabled by default.
-If enabled, the receiver sleep period is set to 100ms,
-though some drivers allow this to be altered via the
-.Ar duration
-argument.
.\" See driver specific manual pages
.\" to see details of the implementation relevant to that device.
+.\" XXX
+.\" Undocumented because optional sleep period
+.\" only configurable on legacy an(4) and atw(4) devices.
+.\" XXX
+.\" Op Ar duration
+.\" If enabled, the receiver sleep period is set to 100ms,
+.\" though some drivers allow this to be altered via the
+.\" .Ar duration
+.\" argument.
.It Cm -powersave
Disable 802.11 power saving mode.
.It Cm scan