diff options
author | 2019-03-27 07:26:18 +0000 | |
---|---|---|
committer | 2019-03-27 07:26:18 +0000 | |
commit | 709e530bc956c51de2da4aff727d8da450babdc4 (patch) | |
tree | 9e3c5d482848bdc36d6aba589847be4744daa87a | |
parent | Cleanup output and main return code. (diff) | |
download | wireguard-openbsd-709e530bc956c51de2da4aff727d8da450babdc4.tar.xz wireguard-openbsd-709e530bc956c51de2da4aff727d8da450babdc4.zip |
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.8 | 19 |
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 |