From 39b3424c380bb480cc3c13c38d66bb350d461226 Mon Sep 17 00:00:00 2001
From: "Todd C. Miller" <millert@cvs.openbsd.org>
Date: Thu, 11 Apr 2002 20:34:07 +0000
Subject: Add IBSS examples.

---
 share/man/man4/wi.4tbl | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/share/man/man4/wi.4tbl b/share/man/man4/wi.4tbl
index b549092bf80..c71ce5cfd0a 100644
--- a/share/man/man4/wi.4tbl
+++ b/share/man/man4/wi.4tbl
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: wi.4tbl,v 1.8 2002/04/08 04:21:49 millert Exp $
+.\"	$OpenBSD: wi.4tbl,v 1.9 2002/04/11 20:34:06 millert Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -52,7 +52,7 @@ All four chipsets provide a similar interface to the driver.
 .Pp
 All host/device interaction is via programmed I/O.
 Supported features include 802.11 and 802.3 frames, power management, BSS,
-WDS and ad-hoc operation modes.
+IBSS, WDS and ad-hoc operation modes.
 Cards based on the Intersil PRISM-II and PRISM-2.5 chips also support a
 host-based access point mode which allows a card to act as a normal access
 point (with some assistance from the
@@ -221,12 +221,32 @@ Join an ad-hoc network with network name
 	mediaopt adhoc
 .Ed
 .Pp
+Create an IBBS network with network name
+.Dq my_net .
+.Bd -literal -compact -offset indent
+# ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net \e
+	mediaopt create-ibss
+.Ed
+.Pp
+Join an IBBS network with network name
+.Dq my_net .
+.Bd -literal -compact -offset indent
+# ifconfig wi0 inet 192.168.0.22 netmask 0xffffff00 nwid my_net \e
+	mediaopt ibss
+.Ed
+.Pp
 Create a host-based access point (Prism only):
 .Bd -literal -compact -offset indent
 # ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 nwid my_ap \e
 	mediaopt hostap
 .Ed
 .Pp
+Create a host-based access point with WEP enabled (Prism only):
+.Bd -literal -compact -offset indent
+# ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 nwid my_ap \e
+	nwkey 0x1234567890 mediaopt hostap
+.Ed
+.Pp
 Create a host-based wireless bridge to fxp0 (Prism only):
 .Bd -literal -compact -offset indent
 # ifconfig wi0 inet up nwid my_ap mediaopt hostap
@@ -282,3 +302,8 @@ for information on how to change the channel.
 3.3V
 .Nm
 PCMCIA cards do not currently work.
+.Pp
+IBSS creation does not currently work with Symbol cards.
+.Pp
+Prism2 host-based access point mode has bugs for firmware versions
+prior to 0.8.3.
-- 
cgit v1.2.3