Deleted Added
full compact
ath.4 (232250) ath.4 (233648)
1.\"-
2.\" Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3.\" All rights reserved.
4.\""
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22.\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27.\" THE POSSIBILITY OF SUCH DAMAGES.
28.\"
1.\"-
2.\" Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3.\" All rights reserved.
4.\""
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22.\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27.\" THE POSSIBILITY OF SUCH DAMAGES.
28.\"
29.\" $FreeBSD: head/share/man/man4/ath.4 232250 2012-02-28 13:19:34Z gavin $
29.\" $FreeBSD: head/share/man/man4/ath.4 233648 2012-03-29 05:02:12Z eadler $
30.\"/
31.Dd August 28, 2011
32.Dt ATH 4
33.Os
34.Sh NAME
35.Nm ath
36.Nd "Atheros IEEE 802.11 wireless network driver"
37.Sh SYNOPSIS

--- 86 unchanged lines hidden (view full) ---

124mode operation.
125Multiple
126.Cm hostap
127virtual interfaces may be configured for simultaneous
128use on cards that use a 5212 part.
129When multiple interfaces are configured each may have a separate
130mac address that is formed by setting the U/L bits in the mac
131address assigned to the underlying device.
30.\"/
31.Dd August 28, 2011
32.Dt ATH 4
33.Os
34.Sh NAME
35.Nm ath
36.Nd "Atheros IEEE 802.11 wireless network driver"
37.Sh SYNOPSIS

--- 86 unchanged lines hidden (view full) ---

124mode operation.
125Multiple
126.Cm hostap
127virtual interfaces may be configured for simultaneous
128use on cards that use a 5212 part.
129When multiple interfaces are configured each may have a separate
130mac address that is formed by setting the U/L bits in the mac
131address assigned to the underlying device.
132Any number of
132Any number of
133.Cm wds
134virtual interfaces may be configured together with
135.Cm hostap
136interfaces.
137Multiple
138.Cm station
133.Cm wds
134virtual interfaces may be configured together with
135.Cm hostap
136interfaces.
137Multiple
138.Cm station
139interfaces may be operated together with
139interfaces may be operated together with
140.Cm hostap
141interfaces to construct a wireless repeater device.
142The driver also support
143.Cm tdma
144operation when compiled with
145.Cd "options IEEE80211_SUPPORT_TDMA"
146(which also enables the required 802.11 support).
147For more information on configuring this device, see

--- 38 unchanged lines hidden (view full) ---

186.Ed
187.Pp
188Create two virtual 802.11a host-based access points, one with
189with WEP enabled and one with no security, and bridge them to
190the fxp0 (wired) device:
191.Bd -literal -offset indent
192ifconfig wlan0 create wlandev ath0 wlanmode hostap \e
193 ssid paying-customers wepmode on wepkey 0x1234567890 \e
140.Cm hostap
141interfaces to construct a wireless repeater device.
142The driver also support
143.Cm tdma
144operation when compiled with
145.Cd "options IEEE80211_SUPPORT_TDMA"
146(which also enables the required 802.11 support).
147For more information on configuring this device, see

--- 38 unchanged lines hidden (view full) ---

186.Ed
187.Pp
188Create two virtual 802.11a host-based access points, one with
189with WEP enabled and one with no security, and bridge them to
190the fxp0 (wired) device:
191.Bd -literal -offset indent
192ifconfig wlan0 create wlandev ath0 wlanmode hostap \e
193 ssid paying-customers wepmode on wepkey 0x1234567890 \e
194 mode 11a up
194 mode 11a up
195ifconfig wlan1 create wlandev ath0 wlanmode hostap bssid \e
196 ssid freeloaders up
197ifconfig bridge0 create addm wlan0 addm wlan1 addm fxp0 up
198.Ed
199.Pp
200Create a master node in a two slot TDMA BSS configured to use
2012.5 millisecond slots.
202.Bd -literal -offset indent
203ifconfig wlan0 create wlandev ath0 wlanmode tdma \e
204 ssid tdma-test tmdaslot 0 tdmaslotlen 2500 \e
195ifconfig wlan1 create wlandev ath0 wlanmode hostap bssid \e
196 ssid freeloaders up
197ifconfig bridge0 create addm wlan0 addm wlan1 addm fxp0 up
198.Ed
199.Pp
200Create a master node in a two slot TDMA BSS configured to use
2012.5 millisecond slots.
202.Bd -literal -offset indent
203ifconfig wlan0 create wlandev ath0 wlanmode tdma \e
204 ssid tdma-test tmdaslot 0 tdmaslotlen 2500 \e
205 channel 36 up
205 channel 36 up
206.Ed
207.Sh DIAGNOSTICS
208.Bl -diag
209.It "ath%d: unable to attach hardware; HAL status %u"
210The Atheros Hardware Access Layer was unable to configure the hardware
211as requested.
212The status code is explained in the HAL include file
213.Pa sys/dev/ath/ath_hal/ah.h .

--- 89 unchanged lines hidden ---
206.Ed
207.Sh DIAGNOSTICS
208.Bl -diag
209.It "ath%d: unable to attach hardware; HAL status %u"
210The Atheros Hardware Access Layer was unable to configure the hardware
211as requested.
212The status code is explained in the HAL include file
213.Pa sys/dev/ath/ath_hal/ah.h .

--- 89 unchanged lines hidden ---