1.\" $OpenBSD: pgt.4,v 1.47 2022/01/05 17:39:25 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: January 5 2022 $ 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 device 39.Sh SYNOPSIS 40.Cd "pgt* at cardbus?" 41.Cd "pgt* at pci?" 42.Sh DESCRIPTION 43The 44.Nm 45driver provides support for Conexant/Intersil GT-series devices 46which can support the Full-MAC firmware, using the ISL3877, 47ISL3880, and ISL3890 chips. 48The 49.Nm 50driver will not (yet) work on similar devices using the ISL3886 or 51similar chips which use the Soft-MAC firmware. 52.Pp 53These are the modes the 54.Nm 55driver can operate in: 56.Bl -tag -width "IBSS-masterXX" 57.It BSS mode 58Also known as 59.Em infrastructure 60mode, this is used when associating with an access point, through 61which all traffic passes. 62This mode is the default. 63.It IBSS mode 64Also known as 65.Em IEEE ad-hoc 66mode or 67.Em peer-to-peer 68mode. 69This is the standardized method of operating without an access point. 70Stations associate with a service set. 71However, actual connections between stations are peer-to-peer. 72.It Host AP 73In this mode the driver acts as an access point (base station) 74for other cards. 75.It monitor mode 76In this mode the driver is able to receive packets without 77associating with an access point. 78This disables the internal receive filter and enables the card to 79capture packets from networks which it wouldn't normally have access to, 80or to scan for access points. 81.El 82.Pp 83The 84.Nm 85driver can be configured to use hardware 86Wired Equivalent Privacy (WEP). 87It is strongly recommended that WEP 88not be used as the sole mechanism 89to secure wireless communication, 90due to serious weaknesses in it. 91.Pp 92In BSS mode, 93the driver supports powersave mode, 94which can be enabled via 95.Xr ifconfig 8 . 96.Pp 97The 98.Nm 99driver can be configured at runtime with 100.Xr ifconfig 8 101or on boot with 102.Xr hostname.if 5 . 103.Sh FILES 104The driver needs a set of firmware files which are loaded when 105an interface is brought up: 106.Pp 107.Bl -tag -width Ds -offset indent -compact 108.It Pa /etc/firmware/pgt-isl3877 109.It Pa /etc/firmware/pgt-isl3890 110.El 111.Pp 112These firmware files are not free because Conexant refuses 113to grant distribution rights. 114In fact they have rebuffed thousands 115of attempts to start a dialogue on this issue. 116As a result, even though 117.Ox 118includes the driver, the firmware files cannot be included and 119users have to download these files on their own. 120.Pp 121A prepackaged version of the firmware can be installed using 122.Xr fw_update 8 . 123.Sh HARDWARE 124The following cards are among those supported by the 125.Nm 126driver: 127.Bl -column "NETGEAR WG511 (Taiwanese, not Chinese)" "ISL3880" "CardBus" -offset 6n 128.It Em Card Ta Em Chip Ta Em Bus 129.It "3COM 3CRWE154G72" Ta ISL3880 Ta CardBus 130.It "D-Link DWL-g650 A1" Ta ISL3890 Ta PCI 131.It "I-O Data WN-G54/CB" Ta ISL3890 Ta PCI 132.It "I4 Z-Com XG-600" Ta ISL3890 Ta PCI 133.It "I4 Z-Com XG-900" Ta ISL3890 Ta PCI 134.It "Intersil PRISM Indigo" Ta ISL3877 Ta PCI 135.It "Intersil PRISM Duette" Ta ISL3890 Ta PCI 136.It "NETGEAR WG511 (Taiwanese, not Chinese)" Ta ISL3890 Ta CardBus 137.It "PLANEX GW-DS54G" Ta ISL3890 Ta PCI 138.It "SMC EZ Connect g 2.4GHz SMC2802W" Ta ISL3890 Ta PCI 139.It "SMC EZ Connect g 2.4GHz SMC2835W-v2" Ta ISL3890 Ta CardBus 140.It "SMC 2802Wv2" Ta ISL3890 Ta PCI 141.It "Soyo Aerielink" Ta ISL3890 Ta CardBus 142.It "ZyXEL ZyAIR G-100" Ta ISL3890 Ta CardBus 143.El 144.Sh EXAMPLES 145The following example scans for available networks: 146.Pp 147.Dl # ifconfig pgt0 scan 148.Pp 149The following 150.Xr hostname.if 5 151example configures pgt0 to join network 152.Dq mynwid , 153using WEP key 154.Dq mywepkey , 155obtaining an IP address using DHCP: 156.Bd -literal -offset indent 157nwid mynwid nwkey mywepkey 158inet autoconf 159.Ed 160.Pp 161The following 162.Xr hostname.if 5 163example creates a host-based access point on boot: 164.Bd -literal -offset indent 165mediaopt hostap 166nwid mynwid nwkey mywepkey 167inet 192.168.1.1 255.255.255.0 168.Ed 169.Sh SEE ALSO 170.Xr arp 4 , 171.Xr cardbus 4 , 172.Xr ifmedia 4 , 173.Xr intro 4 , 174.Xr netintro 4 , 175.Xr pci 4 , 176.Xr hostname.if 5 , 177.Xr hostapd 8 , 178.Xr ifconfig 8 179.Sh HISTORY 180The 181.Nm 182driver first appeared in 183.Ox 4.0 . 184.Sh AUTHORS 185.An -nosplit 186The 187.Nm 188driver was originally written for 189.Fx 190by 191.An Brian Fundakowski , 192and then rewritten for 193.Ox 194by 195.An Marcus Glocker 196and 197.An Claudio Jeker . 198.Sh CAVEATS 199Host AP mode doesn't support power saving. 200Clients attempting to use power saving mode may experience significant 201packet loss (disabling power saving on the client will fix this). 202