xref: /openbsd/share/man/man4/pgt.4 (revision 91f110e0)
1.\"	$OpenBSD: pgt.4,v 1.40 2013/04/16 16:29:30 jmc Exp $
2.\"
3.\" Copyright (c) 2006 Theo de Raadt.
4.\" Copyright (c) 2006 The DragonFly Project.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\"
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in
14.\"    the documentation and/or other materials provided with the
15.\"    distribution.
16.\" 3. Neither the name of The DragonFly Project nor the names of its
17.\"    contributors may be used to endorse or promote products derived
18.\"    from this software without specific, prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
24.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
26.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
30.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE.
32.\"
33.Dd $Mdocdate: April 16 2013 $
34.Dt PGT 4
35.Os
36.Sh NAME
37.Nm pgt
38.Nd Conexant/Intersil Prism GT Full-MAC IEEE 802.11a/b/g wireless network
39device
40.Sh SYNOPSIS
41.Cd "pgt* at cardbus?"
42.Cd "pgt* at pci?"
43.Sh DESCRIPTION
44The
45.Nm
46driver provides support for Conexant/Intersil GT-series devices
47which can support the Full-Mac firmware, using the ISL3877,
48ISL3880, and ISL3890 chips.
49The
50.Nm
51driver will not (yet) work on similar devices using the ISL3886 or
52similar chips which use the Soft-Mac firmware.
53.Pp
54These are the modes the
55.Nm
56driver can operate in:
57.Bl -tag -width "IBSS-masterXX"
58.It BSS mode
59Also known as
60.Em infrastructure
61mode, this is used when associating with an access point, through
62which all traffic passes.
63This mode is the default.
64.It IBSS mode
65Also known as
66.Em IEEE ad-hoc
67mode or
68.Em peer-to-peer
69mode.
70This is the standardized method of operating without an access point.
71Stations associate with a service set.
72However, actual connections between stations are peer-to-peer.
73.It Host AP
74In this mode the driver acts as an access point (base station)
75for other cards.
76.It monitor mode
77In this mode the driver is able to receive packets without
78associating with an access point.
79This disables the internal receive filter and enables the card to
80capture packets from networks which it wouldn't normally have access to,
81or to scan for access points.
82.El
83.Pp
84The
85.Nm
86driver can be configured to use hardware
87Wired Equivalent Privacy (WEP).
88It is strongly recommended that WEP
89not be used as the sole mechanism
90to secure wireless communication,
91due to serious weaknesses in it.
92.Pp
93The
94.Nm
95driver can be configured at runtime with
96.Xr ifconfig 8
97or on boot with
98.Xr hostname.if 5 .
99.Sh FILES
100The driver needs a set of firmware files which are loaded when
101an interface is brought up:
102.Pp
103.Bl -tag -width Ds -offset indent -compact
104.It Pa /etc/firmware/pgt-isl3877
105.It Pa /etc/firmware/pgt-isl3890
106.El
107.Pp
108These firmware files are not free because Conexant refuses
109to grant distribution rights.
110In fact they have rebuffed thousands
111of attempts to start a dialogue on this issue.
112As a result, even though
113.Ox
114includes the driver, the firmware files cannot be included and
115users have to download these files on their own.
116.Pp
117A prepackaged version of the firmware can be installed using
118.Xr fw_update 1 .
119.Sh HARDWARE
120The following cards are among those supported by the
121.Nm
122driver:
123.Bl -column "NETGEAR WG511 (Taiwanese, not Chinese)" "ISL3880" "CardBus" -offset 6n
124.It Em Card Ta Em Chip Ta Em Bus
125.It "3COM 3CRWE154G72" Ta ISL3880 Ta CardBus
126.It "D-Link DWL-g650 A1" Ta ISL3890 Ta PCI
127.It "I-O Data WN-G54/CB" Ta ISL3890 Ta PCI
128.It "I4 Z-Com XG-600" Ta ISL3890 Ta PCI
129.It "I4 Z-Com XG-900" Ta ISL3890 Ta PCI
130.It "Intersil PRISM Indigo" Ta ISL3877 Ta PCI
131.It "Intersil PRISM Duette" Ta ISL3890 Ta PCI
132.It "NETGEAR WG511 (Taiwanese, not Chinese)" Ta ISL3890 Ta CardBus
133.It "PLANEX GW-DS54G" Ta ISL3890 Ta PCI
134.It "SMC EZ Connect g 2.4GHz SMC2802W" Ta ISL3890 Ta PCI
135.It "SMC EZ Connect g 2.4GHz SMC2835W-v2" Ta ISL3890 Ta CardBus
136.It "SMC 2802Wv2" Ta ISL3890 Ta PCI
137.It "Soyo Aerielink" Ta ISL3890 Ta CardBus
138.It "ZyXEL ZyAIR G-100" Ta ISL3890 Ta CardBus
139.El
140.Sh EXAMPLES
141The following example scans for available networks:
142.Pp
143.Dl # ifconfig pgt0 scan
144.Pp
145The following
146.Xr hostname.if 5
147example configures pgt0 to join network
148.Dq mynwid ,
149using WEP key
150.Dq mywepkey ,
151obtaining an IP address using DHCP:
152.Bd -literal -offset indent
153nwid mynwid
154nwkey mywepkey
155dhcp
156.Ed
157.Pp
158The following
159.Xr hostname.if 5
160example creates a host-based access point on boot:
161.Bd -literal -offset indent
162inet 192.168.1.1 255.255.255.0
163mediaopt hostap
164nwid mynwid
165nwkey mywepkey
166.Ed
167.Sh SEE ALSO
168.Xr arp 4 ,
169.Xr cardbus 4 ,
170.Xr ifmedia 4 ,
171.Xr intro 4 ,
172.Xr netintro 4 ,
173.Xr pci 4 ,
174.Xr hostname.if 5 ,
175.Xr hostapd 8 ,
176.Xr ifconfig 8
177.Sh HISTORY
178The
179.Nm
180driver first appeared in
181.Ox 4.0 .
182.Sh AUTHORS
183.An -nosplit
184The
185.Nm
186driver was originally written for
187.Fx
188by
189.An Brian Fundakowski ,
190and then rewritten for
191.Ox
192by
193.An Marcus Glocker
194and
195.An Claudio Jeker .
196.Sh CAVEATS
197Host AP mode doesn't support power saving.
198Clients attempting to use power saving mode may experience significant
199packet loss (disabling power saving on the client will fix this).
200