xref: /freebsd/share/man/man4/ath.4 (revision 90296834d97db401ea834f9e27960d66a97091d0)
1cf8faa80SSam Leffler.\"-
2014be7fbSSam Leffler.\" Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
3cf8faa80SSam Leffler.\" All rights reserved.
4cf8faa80SSam Leffler.\""
5cf8faa80SSam Leffler.\" Redistribution and use in source and binary forms, with or without
6cf8faa80SSam Leffler.\" modification, are permitted provided that the following conditions
7cf8faa80SSam Leffler.\" are met:
8cf8faa80SSam Leffler.\" 1. Redistributions of source code must retain the above copyright
9cf8faa80SSam Leffler.\"    notice, this list of conditions and the following disclaimer,
10cf8faa80SSam Leffler.\"    without modification.
11cf8faa80SSam Leffler.\" 2. Redistributions in binary form must reproduce at minimum a disclaimer
12cf8faa80SSam Leffler.\"    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
13cf8faa80SSam Leffler.\"    redistribution must be conditioned upon including a substantially
14cf8faa80SSam Leffler.\"    similar Disclaimer requirement for further binary redistribution.
15cf8faa80SSam Leffler.\" 3. Neither the names of the above-listed copyright holders nor the names
16cf8faa80SSam Leffler.\"    of any contributors may be used to endorse or promote products derived
17cf8faa80SSam Leffler.\"    from this software without specific prior written permission.
18cf8faa80SSam Leffler.\"
19cf8faa80SSam Leffler.\" NO WARRANTY
20cf8faa80SSam Leffler.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21cf8faa80SSam Leffler.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22cf8faa80SSam Leffler.\" LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
23cf8faa80SSam Leffler.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
24cf8faa80SSam Leffler.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
25cf8faa80SSam Leffler.\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26cf8faa80SSam Leffler.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27cf8faa80SSam Leffler.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
28cf8faa80SSam Leffler.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29cf8faa80SSam Leffler.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30cf8faa80SSam Leffler.\" THE POSSIBILITY OF SUCH DAMAGES.
31cf8faa80SSam Leffler.\"
32cf8faa80SSam Leffler.\" $FreeBSD$
33cf8faa80SSam Leffler.\"/
3486e3186eSTom Rhodes.Dd July 16, 2005
35cf8faa80SSam Leffler.Dt ATH 4
36cf8faa80SSam Leffler.Os
37cf8faa80SSam Leffler.Sh NAME
38cf8faa80SSam Leffler.Nm ath
393c9bf41dSChristian Brueffer.Nd "Atheros IEEE 802.11 wireless network driver"
40cf8faa80SSam Leffler.Sh SYNOPSIS
4186e3186eSTom RhodesTo compile support for the
4286e3186eSTom Rhodes.Nm
4390296834STom Rhodesdriver into your kernel, place the following lines in your
4490296834STom Rhodeskernel configuration file:
4586e3186eSTom Rhodes.Bd -ragged -offset indent
46cf8faa80SSam Leffler.Cd "device ath"
4710626faeSHiten Pandya.Cd "device ath_hal"
48014be7fbSSam Leffler.Cd "device ath_rate_onoe"
4910626faeSHiten Pandya.Cd "device wlan"
5086e3186eSTom Rhodes.Ed
5186e3186eSTom Rhodes.Pp
5286e3186eSTom RhodesAlternatively, to load the
5386e3186eSTom Rhodes.Nm
5486e3186eSTom Rhodesdriver at boot time, place the following lines in
5586e3186eSTom Rhodes.Xr loader.conf 5 :
5686e3186eSTom Rhodes.Bd -literal -offset indent
5786e3186eSTom Rhodesif_ath_load="YES"
5886e3186eSTom Rhodes.Ed
59cf8faa80SSam Leffler.Sh DESCRIPTION
60cf8faa80SSam LefflerThe
61cf8faa80SSam Leffler.Nm
62cf8faa80SSam Lefflerdriver provides support for wireless network adapters based on
63cf8faa80SSam Lefflerthe Atheros AR5210, AR5211, and AR5212 chips.
64cf8faa80SSam LefflerChip-specific support is provided by the Atheros Hardware Access Layer
65cf8faa80SSam Leffler(HAL), that is packaged separately.
66cf8faa80SSam Leffler.Pp
67cf8faa80SSam LefflerSupported features include 802.11 and 802.3 frames, power management, BSS,
68cf8faa80SSam LefflerIBSS, and host-based access point operation modes.
69cf8faa80SSam LefflerAll host/device interaction is via DMA.
70cf8faa80SSam Leffler.Pp
71cf8faa80SSam LefflerThe
72cf8faa80SSam Leffler.Nm
73cf8faa80SSam Lefflerdriver encapsulates all IP and ARP traffic as 802.11 frames, however
74cf8faa80SSam Lefflerit can receive either 802.11 or 802.3 frames.
75cf8faa80SSam LefflerTransmit speed and operating mode is selectable
7691d89945SChristian Bruefferand depends on the specific chipset.
7759ddccc6SChristian BruefferAR5210-based devices support 802.11a operation with transmit speeds
78cf8faa80SSam Lefflerof 6 Mbps, 9 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, and 54 Mbps.
79cf8faa80SSam LefflerAR5211-based devices support 802.11a and 802.11b operation with transmit
80cf8faa80SSam Lefflerspeeds as above for 802.11a operation and
81cf8faa80SSam Leffler1Mbps, 2Mbps, 5.5 Mbps and 11Mbps for 802.11b operation.
82cf8faa80SSam LefflerAR5212-based devices support 802.11a, 802.11b, and 802.11g operation
83cf8faa80SSam Lefflerwith transmit speeds appropriate to each.
84702d4fc4SRuslan ErmilovAll chips also support an Atheros Turbo Mode (TM) that operates in
85014be7fbSSam Lefflerthe 5Ghz frequency range with 2x the transmit speeds.
86014be7fbSSam LefflerSome chips also support Turbo mode in the 2.4Ghz range with 802.11g.
87014be7fbSSam Leffler(These modes are, however, only interoperable with other Atheros-based devices.)
88cf8faa80SSam LefflerThe actual transmit speed used is dependent on signal quality and the
89702d4fc4SRuslan Ermilov.Dq "rate control"
90702d4fc4SRuslan Ermilovalgorithm employed by the driver.
91cf8faa80SSam LefflerAll chips support WEP encryption.
92014be7fbSSam LefflerThe AR5212 has hardware support for the AES-CCM, TKIP, and Michael cryptographic
93014be7fbSSam Leffleroperations required for WPA.
94cf8faa80SSam LefflerTo enable encryption, use
95cf8faa80SSam Leffler.Xr ifconfig 8
96cf8faa80SSam Leffleras shown below.
97cf8faa80SSam Leffler.Pp
98cf8faa80SSam LefflerBy default, the
99cf8faa80SSam Leffler.Nm
100cf8faa80SSam Lefflerdriver configures the card for BSS operation (aka infrastructure
101cf8faa80SSam Lefflermode).
102cf8faa80SSam LefflerThis mode requires the use of an access point (base station).
103cf8faa80SSam Leffler.Pp
104cf8faa80SSam LefflerThe
105cf8faa80SSam Leffler.Nm
106cf8faa80SSam Lefflerdriver also supports the standard IBSS point-to-point mode
107cf8faa80SSam Lefflerwhere stations can communicate amongst themselves without the
108cf8faa80SSam Leffleraid of an access point.
109cf8faa80SSam Leffler.Pp
110cf8faa80SSam LefflerThe driver may also be configured to operate in hostap mode.
111cf8faa80SSam LefflerIn this mode a host may function as an access point (base station).
112cf8faa80SSam LefflerAccess points are different than operating in IBSS mode.
113cf8faa80SSam LefflerThey operate in BSS mode.
1143c9bf41dSChristian BruefferThey allow for easier roaming and bridge all Ethernet traffic such
115cf8faa80SSam Lefflerthat machines connected via an access point appear to be on the local
1163c9bf41dSChristian BruefferEthernet segment.
117cf8faa80SSam Leffler.Pp
118cf8faa80SSam LefflerFor more information on configuring this device, see
119cf8faa80SSam Leffler.Xr ifconfig 8 .
120cf8faa80SSam Leffler.Pp
121cf8faa80SSam LefflerDevices supported by the
122cf8faa80SSam Leffler.Nm
123cf8faa80SSam Lefflerdriver come in either Cardbus or mini-PCI packages.
124cf8faa80SSam LefflerWireless cards in Cardbus slots may be inserted and ejected on the fly.
12571d4b49aSSimon L. B. Nielsen.Sh HARDWARE
126cf8faa80SSam LefflerThe following cards are among those supported by the
127cf8faa80SSam Leffler.Nm
128cf8faa80SSam Lefflerdriver:
129cf8faa80SSam Leffler.Pp
1305eebbfd6SSam Leffler.Bl -column -compact "Samsung SWL-5200N" "AR5212" "Cardbus" "a/b/g"
13171d4b49aSSimon L. B. Nielsen.It Em "Card	Chip	Bus	Standard"
132a0c83d59SRuslan Ermilov.It "Aztech WL830PC	AR5212	CardBus	b/g"
133a0c83d59SRuslan Ermilov.It "Cisco AIR-CB21AG	AR5115	Cardbus	a/b/g"
134a0c83d59SRuslan Ermilov.It "Cisco AIR-PI21AG	AR5115	PCI	a/b/g"
135a0c83d59SRuslan Ermilov.It "D-Link DWL-A650	AR5210	CardBus	a"
136a0c83d59SRuslan Ermilov.It "D-Link DWL-AB650	AR5211	CardBus	a/b"
137a0c83d59SRuslan Ermilov.It "D-Link DWL-A520	AR5210	PCI	a"
138a0c83d59SRuslan Ermilov.It "D-Link DWL-AG520	AR5212	PCI	a/b/g"
139a0c83d59SRuslan Ermilov.It "D-Link DWL-AG650	AR5212	CardBus	a/b/g"
140a0c83d59SRuslan Ermilov.It "D-Link DWL-G520B	AR5212	PCI	b/g"
141a0c83d59SRuslan Ermilov.It "D-Link DWL-G650B	AR5212	CardBus	b/g"
142a0c83d59SRuslan Ermilov.It "Elecom LD-WL54AG	AR5212	Cardbus	a/b/g"
143a0c83d59SRuslan Ermilov.It "Elecom LD-WL54	AR5211	Cardbus	a"
144a0c83d59SRuslan Ermilov.It "Fujitsu E5454	AR5212	Cardbus	a/b/g"
145a0c83d59SRuslan Ermilov.It "Fujitsu FMV-JW481	AR5212	Cardbus	a/b/g"
146a0c83d59SRuslan Ermilov.It "Fujitsu E5454	AR5212	Cardbus	a/b/g"
147a0c83d59SRuslan Ermilov.It "HP NC4000	AR5212	PCI	a/b/g"
148a0c83d59SRuslan Ermilov.It "I/O Data WN-AB	AR5212	CardBus	a/b"
149a0c83d59SRuslan Ermilov.It "I/O Data WN-AG	AR5212	CardBus	a/b/g"
150a0c83d59SRuslan Ermilov.It "I/O Data WN-A54	AR5212	CardBus	a"
151a0c83d59SRuslan Ermilov.It "Linksys WMP55AG	AR5212	PCI	a/b/g"
152a0c83d59SRuslan Ermilov.It "Linksys WPC51AB	AR5211	CardBus	a/b"
153a0c83d59SRuslan Ermilov.It "Linksys WPC55AG	AR5212	CardBus	a/b/g"
154a0c83d59SRuslan Ermilov.It "NEC PA-WL/54AG	AR5212	CardBus	a/b/g"
155a0c83d59SRuslan Ermilov.It "Netgear WAG311	AR5212	PCI	a/b/g"
156a0c83d59SRuslan Ermilov.It "Netgear WAB501	AR5211	CardBus	a/b"
157a0c83d59SRuslan Ermilov.It "Netgear WAG511	AR5212	CardBus	a/b/g"
158a0c83d59SRuslan Ermilov.It "Netgear WG311T	AR5212	PCI	b/g"
159a0c83d59SRuslan Ermilov.It "Netgear WG511T	AR5212	CardBus	b/g"
160a0c83d59SRuslan Ermilov.It "Orinoco 8480	AR5212	CardBus	a/b/g"
161a0c83d59SRuslan Ermilov.It "Orinoco 8470WD	AR5212	CardBus	a/b/g"
162a0c83d59SRuslan Ermilov.It "Proxim Skyline 4030	AR5210	CardBus	a"
163a0c83d59SRuslan Ermilov.It "Proxim Skyline 4032	AR5210	PCI	a"
164a0c83d59SRuslan Ermilov.It "Samsung SWL-5200N	AR5212	CardBus	a/b/g"
165a0c83d59SRuslan Ermilov.It "SMC SMC2536W-AG	AR5212	CardBus	a/b/g"
166a0c83d59SRuslan Ermilov.It "SMC SMC2735W	AR5210	CardBus	a"
167a0c83d59SRuslan Ermilov.It "Sony PCWA-C700	AR5212	Cardbus	a/b"
168a0c83d59SRuslan Ermilov.It "Sony PCWA-C300S	AR5212	Cardbus	b/g"
169a0c83d59SRuslan Ermilov.It "Sony PCWA-C500	AR5210	Cardbus	a"
170a0c83d59SRuslan Ermilov.It "3Com 3CRPAG175	AR5212	CardBus	a/b/g"
171cf8faa80SSam Leffler.El
1725eebbfd6SSam Leffler.Pp
1735eebbfd6SSam LefflerAn up to date list can be found at
1745eebbfd6SSam Leffler.Pa http://customerproducts.atheros.com/customerproducts .
175cf8faa80SSam Leffler.Sh EXAMPLES
176cf8faa80SSam LefflerJoin an existing BSS network (ie: connect to an access point):
177cf8faa80SSam Leffler.Pp
178cf8faa80SSam Leffler.Dl "ifconfig ath0 inet 192.168.0.20 netmask 0xffffff00"
179cf8faa80SSam Leffler.Pp
180cf8faa80SSam LefflerJoin a specific BSS network with network name
181cf8faa80SSam Leffler.Dq Li my_net :
182cf8faa80SSam Leffler.Pp
183cf8faa80SSam Leffler.Dl "ifconfig ath0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net"
184cf8faa80SSam Leffler.Pp
185cf8faa80SSam LefflerJoin a specific BSS network with WEP encryption:
186cf8faa80SSam Leffler.Bd -literal -offset indent
187cf8faa80SSam Lefflerifconfig ath0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e
188cf8faa80SSam Leffler	wepmode on wepkey 0x8736639624
189cf8faa80SSam Leffler.Ed
190cf8faa80SSam Leffler.Pp
191cf8faa80SSam LefflerJoin/create an 802.11b IBSS network with network name
192cf8faa80SSam Leffler.Dq Li my_net :
193cf8faa80SSam Leffler.Bd -literal -offset indent
194cf8faa80SSam Lefflerifconfig ath0 inet 192.168.0.22 netmask 0xffffff00 ssid my_net \e
195cf8faa80SSam Leffler	mode 11b mediaopt adhoc
196cf8faa80SSam Leffler.Ed
197cf8faa80SSam Leffler.Pp
198cf8faa80SSam LefflerCreate an 802.11g host-based access point:
199cf8faa80SSam Leffler.Bd -literal -offset indent
200cf8faa80SSam Lefflerifconfig ath0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e
201cf8faa80SSam Leffler	mode 11g mediaopt hostap
202cf8faa80SSam Leffler.Ed
203cf8faa80SSam Leffler.Pp
204cf8faa80SSam LefflerCreate an 802.11a host-based access point with WEP enabled:
205cf8faa80SSam Leffler.Bd -literal -offset indent
206cf8faa80SSam Lefflerifconfig ath0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e
207cf8faa80SSam Leffler	wepmode on wepkey 0x1234567890 mode 11a mediaopt hostap
208cf8faa80SSam Leffler.Ed
209cf8faa80SSam Leffler.Pp
210cf8faa80SSam LefflerCreate a host-based wireless bridge to fxp0:
211cf8faa80SSam Leffler.Bd -literal -offset indent
212cf8faa80SSam LefflerAdd BRIDGE to the kernel config.
213cf8faa80SSam Lefflerifconfig ath0 inet up ssid my_ap media DS/11Mbps mediaopt hostap
21447b03edeSSam Lefflersysctl net.link.ether.bridge.enable=1
21547b03edeSSam Lefflersysctl net.link.ether.bridge.config="ath0 fxp0"
21626d2edc7SMaxim Konovalovsysctl net.inet.ip.check_interface=0
217cf8faa80SSam Leffler.Ed
218cf8faa80SSam Leffler.Pp
219cf8faa80SSam LefflerThis will give you the same functionality as an access point.
220cf8faa80SSam Leffler.Sh DIAGNOSTICS
221cf8faa80SSam Leffler.Bl -diag
222cf8faa80SSam Leffler.It "ath%d: unable to attach hardware; HAL status %u"
223cf8faa80SSam LefflerThe Atheros Hardware Access Layer was unable to configure the hardware
224cf8faa80SSam Leffleras requested.
225cf8faa80SSam LefflerThe status code is explained in the HAL include file
226cf8faa80SSam Leffler.Pa sys/contrib/dev/ath/ah.h .
227cf8faa80SSam Leffler.It "ath%d: failed to allocate descriptors: %d"
228cf8faa80SSam LefflerThe driver was unable to allocate contiguous memory for the transmit
22959ddccc6SChristian Bruefferand receive descriptors.
230cf8faa80SSam LefflerThis usually indicates system memory is scarce and/or fragmented.
231cf8faa80SSam Leffler.It "ath%d: unable to setup a data xmit queue!"
232cf8faa80SSam LefflerThe request to the HAL to set up the transmit queue for normal
233cf8faa80SSam Lefflerdata frames failed.
234cf8faa80SSam LefflerThis should not happen.
235cf8faa80SSam Leffler.It "ath%d: unable to setup a beacon xmit queue!"
236cf8faa80SSam LefflerThe request to the HAL to set up the transmit queue for 802.11 beacon frames
237cf8faa80SSam Lefflerframes failed.
238cf8faa80SSam LefflerThis should not happen.
239cf8faa80SSam Leffler.It "ath%d: 802.11 address: %s"
240cf8faa80SSam LefflerThe MAC address programmed in the EEPROM is displayed.
241cf8faa80SSam Leffler.It "ath%d: hardware error; resetting"
242cf8faa80SSam LefflerAn unrecoverable error in the hardware occurred.
243cf8faa80SSam LefflerErrors of this sort include unrecoverable DMA errors.
244cf8faa80SSam LefflerThe driver will reset the hardware and continue.
245cf8faa80SSam Leffler.It "ath%d: rx FIFO overrun; resetting"
246cf8faa80SSam LefflerThe receive FIFO in the hardware overflowed before the data could be
247cf8faa80SSam Lefflertransferred to the host.
248cf8faa80SSam LefflerThis typically occurs because the hardware ran short of receive
249cf8faa80SSam Lefflerdescriptors and had no place to transfer received data.
250cf8faa80SSam LefflerThe driver will reset the hardware and continue.
251cf8faa80SSam Leffler.It "ath%d: unable to reset hardware; hal status %u"
252cf8faa80SSam LefflerThe Atheros Hardware Access Layer was unable to reset the hardware
253cf8faa80SSam Leffleras requested.
254cf8faa80SSam LefflerThe status code is explained in the HAL include file
255cf8faa80SSam Leffler.Pa sys/contrib/dev/ath/ah.h .
256cf8faa80SSam LefflerThis should not happen.
257cf8faa80SSam Leffler.It "ath%d: unable to start recv logic"
258cf8faa80SSam LefflerThe driver was unable to restart frame reception.
259cf8faa80SSam LefflerThis should not happen.
260cf8faa80SSam Leffler.It "ath%d: device timeout"
261cf8faa80SSam LefflerA frame dispatched to the hardware for transmission did not complete in time.
262cf8faa80SSam LefflerThe driver will reset the hardware and continue.
263d562e82bSHideyuki KURASHINAThis should not happen.
264cf8faa80SSam Leffler.It "ath%d: bogus xmit rate 0x%x"
265cf8faa80SSam LefflerAn invalid transmit rate was specified for an outgoing frame.
266cf8faa80SSam LefflerThe frame is discarded.
267cf8faa80SSam LefflerThis should not happen.
268cf8faa80SSam Leffler.It "ath%d: ath_chan_set: unable to reset channel %u (%u Mhz)"
269cf8faa80SSam LefflerThe Atheros Hardware Access Layer was unable to reset the hardware
270cf8faa80SSam Lefflerwhen switching channels during scanning.
271cf8faa80SSam LefflerThis should not happen.
272cf8faa80SSam Leffler.It "ath%d: unable to allocate channel table"
273cf8faa80SSam LefflerThe driver was unable to allocate memory for the table used to hold
274cf8faa80SSam Lefflerthe set of available channels.
275cf8faa80SSam Leffler.It "ath%d: unable to collect channel list from hal"
276cf8faa80SSam LefflerA problem occurred while querying the HAL to find the set of available
277cf8faa80SSam Lefflerchannels for the device.
278cf8faa80SSam LefflerThis should not happen.
279cf8faa80SSam Leffler.It "ath%d: failed to enable memory mapping"
280cf8faa80SSam LefflerThe driver was unable to enable memory-mapped I/O to the PCI device registers.
281cf8faa80SSam LefflerThis should not happen.
282cf8faa80SSam Leffler.It "ath%d: failed to enable bus mastering"
283cf8faa80SSam LefflerThe driver was unable to enable the device as a PCI bus master for doing DMA.
284cf8faa80SSam LefflerThis should not happen.
285cf8faa80SSam Leffler.It "ath%d: cannot map register space"
286cf8faa80SSam LefflerThe driver was unable to map the device registers into the host address space.
287cf8faa80SSam LefflerThis should not happen.
288cf8faa80SSam Leffler.It "ath%d: could not map interrupt"
289cf8faa80SSam LefflerThe driver was unable to allocate an IRQ for the device interrupt.
290cf8faa80SSam LefflerThis should not happen.
291cf8faa80SSam Leffler.It "ath%d: could not establish interrupt"
292cf8faa80SSam LefflerThe driver was unable to install the device interrupt handler.
293cf8faa80SSam LefflerThis should not happen.
294cf8faa80SSam Leffler.El
295cf8faa80SSam Leffler.Sh SEE ALSO
296cf8faa80SSam Leffler.Xr an 4 ,
297cf8faa80SSam Leffler.Xr arp 4 ,
298cf8faa80SSam Leffler.Xr ath_hal 4 ,
299cf8faa80SSam Leffler.Xr card 4 ,
300cf8faa80SSam Leffler.Xr netintro 4 ,
301cf8faa80SSam Leffler.Xr pcic 4 ,
302cf8faa80SSam Leffler.Xr wi 4 ,
303cf8faa80SSam Leffler.Xr wlan 4 ,
304cf8faa80SSam Leffler.Xr ifconfig 8 ,
305cf8faa80SSam Leffler.Xr wicontrol 8
306cf8faa80SSam Leffler.Sh HISTORY
307cf8faa80SSam LefflerThe
308cf8faa80SSam Leffler.Nm
309cf8faa80SSam Lefflerdevice driver first appeared in
310cf8faa80SSam Leffler.Fx 5.2 .
311cf8faa80SSam Leffler.Sh CAVEATS
312cf8faa80SSam LefflerDifferent regulatory domains have different default channels for adhoc
313cf8faa80SSam Lefflermode.
314cf8faa80SSam LefflerSee
315cf8faa80SSam Leffler.Xr ifconfig 8
316cf8faa80SSam Lefflerfor information on how to change the channel.
317cf8faa80SSam LefflerSee
318cf8faa80SSam Leffler.Xr wicontrol 8
319cf8faa80SSam Lefflerfor information on different regulatory domains.
3207d43c8c9SWarner LoshDifferent regulatory domains may not be able to communicate with each
321c48524c2SMike Pritchardother with 802.11a as different regulatory domains do not necessarily
3227d43c8c9SWarner Loshhave overlapping channels.
323c6316a61SStefan Eßer.Pp
324c6316a61SStefan EßerRevision A1 of the D-LINK DWL-G520 and DWL-G650 are based on an
325c6316a61SStefan EßerIntersil PrismGT chip and are not supported by this driver.
326cf8faa80SSam Leffler.Sh BUGS
327cf8faa80SSam LefflerPerformance in lossy environments is suboptimal.
328cf8faa80SSam LefflerThe algorithm used to select the rate for transmitted packets is
329cf8faa80SSam Lefflervery simplistic.
330cf8faa80SSam LefflerThere is no software retransmit; only hardware retransmit is used.
331cf8faa80SSam LefflerContributors are encouraged to replace the existing rate control algorithm
332c48524c2SMike Pritchardwith a better one (hint: all the information needed is available to the driver).
333cf8faa80SSam Leffler.Pp
334cf8faa80SSam LefflerThe driver does not fully enable power-save operation of the chip;
335cf8faa80SSam Lefflerconsequently power use is suboptimal.
336b91bb9a5SWarner Losh.Pp
337b91bb9a5SWarner LoshThe driver honors the regulatory domain programmed into the EEPROM of a
338b91bb9a5SWarner Loshdevice and does not support overriding this setting.
339b91bb9a5SWarner LoshThis is done to insure compliance with local regulatory agencies when
340b91bb9a5SWarner Loshoperating as an access point.
341b91bb9a5SWarner LoshUnfortunately this also means that devices purchased for use in one locale
342b91bb9a5SWarner Loshmay not be usable in another.
343b91bb9a5SWarner LoshChanges are planned to remove this restriction when operating in station mode.
344