summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2010-08-18 19:18:30 +0000
committerdamien <damien@openbsd.org>2010-08-18 19:18:30 +0000
commit823a16149fe634e50f5ed5db2e61972e52955b15 (patch)
tree17deb4ecb3aa31e36d1a37489c0d7573e6a73860
parentfix a test that prevents division by zero (diff)
downloadwireguard-openbsd-823a16149fe634e50f5ed5db2e61972e52955b15.tar.xz
wireguard-openbsd-823a16149fe634e50f5ed5db2e61972e52955b15.zip
document Host AP mode with the usual CAVEATS
-rw-r--r--share/man/man4/athn.419
1 files changed, 17 insertions, 2 deletions
diff --git a/share/man/man4/athn.4 b/share/man/man4/athn.4
index 2b39b284e2e..d204ae6adc8 100644
--- a/share/man/man4/athn.4
+++ b/share/man/man4/athn.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: athn.4,v 1.9 2010/04/29 09:20:17 jmc Exp $
+.\" $OpenBSD: athn.4,v 1.10 2010/08/18 19:18:30 damien Exp $
.\"
.\" Copyright (c) 2009 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: April 29 2010 $
+.Dd $Mdocdate: August 18 2010 $
.Dt ATHN 4
.Os
.Sh NAME
@@ -123,6 +123,9 @@ Also known as
mode, this is used when associating with an access point, through
which all traffic passes.
This mode is the default.
+.It Host AP
+In this mode the driver acts as an access point (base station)
+for other cards.
.It monitor mode
In this mode the driver is able to receive packets without
associating with an access point.
@@ -161,6 +164,14 @@ channel 11, obtaining an IP address using DHCP:
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
.Ed
.Pp
+The following
+.Xr hostname.if 5
+example creates a host-based access point on boot:
+.Bd -literal -offset indent
+inet 192.168.1.1 255.255.255.0 NONE media autoselect \e
+ mediaopt hostap nwid my_net chan 11
+.Ed
+.Pp
Configure athn0 to join network
.Dq my_net
using WPA-PSK with passphrase
@@ -228,3 +239,7 @@ the adapters.
Additional work is required in
.Xr ieee80211 9
before those features can be supported.
+.Pp
+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).