2018-08-13 09:04:35 +03:00
|
|
|
.\" $NetBSD: ifmedia.4,v 1.31 2018/08/13 06:04:35 wiz Exp $
|
1998-08-09 04:37:16 +04:00
|
|
|
.\"
|
2004-05-17 04:32:26 +04:00
|
|
|
.\" Copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
|
|
|
.\" The NetBSD Foundation, Inc.
|
1998-08-09 04:37:16 +04:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
|
|
|
|
.\" NASA Ames Research Center.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2018-08-03 08:27:16 +03:00
|
|
|
.Dd August 3, 2018
|
1998-08-09 04:37:16 +04:00
|
|
|
.Dt IFMEDIA 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1998-08-09 04:37:16 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ifmedia
|
|
|
|
.Nd network interface media settings
|
|
|
|
.Sh SYNOPSIS
|
2003-04-16 17:34:34 +04:00
|
|
|
.In sys/socket.h
|
|
|
|
.In net/if.h
|
|
|
|
.In net/if_media.h
|
1998-08-09 04:37:16 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
interface provides a consistent method for querying and setting
|
2018-08-13 09:04:35 +03:00
|
|
|
network interface media and media options.
|
|
|
|
The media is typically
|
1998-08-09 04:37:16 +04:00
|
|
|
set using the
|
|
|
|
.Xr ifconfig 8
|
|
|
|
command.
|
|
|
|
.Pp
|
2000-07-19 21:09:00 +04:00
|
|
|
There are currently four link types supported by
|
2003-02-25 13:34:36 +03:00
|
|
|
.Nm :
|
2000-07-19 21:09:00 +04:00
|
|
|
.Bl -tag -offset indent -width IFM_IEEE80211 -compact
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_ETHER
|
1998-08-09 04:37:16 +04:00
|
|
|
Ethernet
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOKEN
|
1998-08-09 04:37:16 +04:00
|
|
|
Token Ring
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FDDI
|
1998-08-09 04:37:16 +04:00
|
|
|
FDDI
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211
|
2000-07-19 08:35:50 +04:00
|
|
|
IEEE802.11 Wireless LAN
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following sections describe the possible media settings for each
|
2018-08-13 09:04:35 +03:00
|
|
|
link type.
|
|
|
|
Not all of these are supported by every device; refer to
|
1998-08-09 04:37:16 +04:00
|
|
|
your device's manual page for more information.
|
|
|
|
.Pp
|
|
|
|
The lists below provide the possible names of each media type or option.
|
|
|
|
The first name in the list is the canonical name of the media type or
|
2018-08-13 09:04:35 +03:00
|
|
|
option.
|
|
|
|
Additional names are acceptable aliases for the media type or
|
1998-08-09 04:37:16 +04:00
|
|
|
option.
|
|
|
|
.Sh COMMON MEDIA TYPES AND OPTIONS
|
1999-10-17 00:17:29 +04:00
|
|
|
The following media types are shared by all link types:
|
2000-07-19 21:09:00 +04:00
|
|
|
.Bl -tag -offset indent -width IFM_MANUAL -compact
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_AUTO
|
2018-08-13 09:04:35 +03:00
|
|
|
Autoselect the best media.
|
|
|
|
[autoselect, auto]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_MANUAL
|
2018-08-13 09:04:35 +03:00
|
|
|
Jumper or switch on device selects media.
|
|
|
|
[manual]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_NONE
|
2018-08-13 09:04:35 +03:00
|
|
|
Deselect all media.
|
|
|
|
[none]
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following media options are shared by all link types:
|
|
|
|
.Bl -tag -offset indent -width IFM_FLAG0
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FDX
|
2018-08-13 09:04:35 +03:00
|
|
|
Place the device into full-duplex mode.
|
|
|
|
This option only has meaning
|
|
|
|
if the device is normally not full-duplex.
|
|
|
|
[full-duplex, fdx]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_HDX
|
2018-08-13 09:04:35 +03:00
|
|
|
Place the device into half-duplex mode.
|
|
|
|
This option only has meaning
|
|
|
|
if the device is normally not half-duplex.
|
|
|
|
[half-duplex, hdx]
|
2004-05-17 04:32:26 +04:00
|
|
|
.It Dv IFM_FLOW
|
2018-08-13 09:04:35 +03:00
|
|
|
Hardware flow control support.
|
|
|
|
[flowcontrol, flow]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FLAG0
|
2018-08-13 09:04:35 +03:00
|
|
|
Driver-defined flag.
|
|
|
|
[flag0]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FLAG1
|
2018-08-13 09:04:35 +03:00
|
|
|
Driver-defined flag.
|
|
|
|
[flag1]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FLAG2
|
2018-08-13 09:04:35 +03:00
|
|
|
Driver-defined flag.
|
|
|
|
[flag2]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_LOOP
|
2018-08-13 09:04:35 +03:00
|
|
|
Place the device into hardware loopback mode.
|
|
|
|
[loopback, hw-loopback, loop]
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
|
|
|
.Sh MEDIA TYPES AND OPTIONS FOR ETHERNET
|
|
|
|
The following media types are defined for Ethernet:
|
|
|
|
.Bl -tag -offset indent -width IFM_1000_FX
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_HPNA_1
|
2018-08-13 09:04:35 +03:00
|
|
|
HomePNA 1.0, 1Mb/s.
|
|
|
|
[HomePNA1, HPNA1]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_10_T
|
2018-08-13 09:04:35 +03:00
|
|
|
10BASE-T, 10Mb/s over unshielded twisted pair, RJ45 connector.
|
|
|
|
[10baseT, UTP, 10UTP]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_10_2
|
2001-06-24 18:22:43 +04:00
|
|
|
10BASE2, 10Mb/s over coaxial cable, BNC connector, also called Thinnet.
|
1998-08-09 04:37:16 +04:00
|
|
|
[10base2, BNC, 10BNC]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_10_5
|
2001-06-24 18:22:43 +04:00
|
|
|
10BASE5, 10Mb/s over 15-wire cables, DB15 connector, also called AUI.
|
1998-08-09 04:37:16 +04:00
|
|
|
[10base5, AUI, 10AUI]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_10_STP
|
2018-08-13 09:04:35 +03:00
|
|
|
10BASE-STP, 10Mb/s over shielded twisted pair, DB9 connector.
|
|
|
|
[10baseSTP, STP, 10STP]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_10_FL
|
2018-08-13 09:04:35 +03:00
|
|
|
10BASE-FL, 10Mb/s over fiber optic cables.
|
|
|
|
[10baseFL, FL, 10FL]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_100_TX
|
2018-08-13 09:04:35 +03:00
|
|
|
100BASE-TX, 100Mb/s over unshielded twisted pair, RJ45 connector.
|
|
|
|
[100baseTX, 100TX]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_100_FX
|
2018-08-13 09:04:35 +03:00
|
|
|
100BASE-FX, 100Mb/s over fiber optic cables.
|
|
|
|
[100baseFX, 100FX]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_100_T4
|
2001-06-24 18:22:43 +04:00
|
|
|
100BASE-T4, 100Mb/s over 4-wire (category 3) unshielded twisted pair, RJ45
|
2018-08-13 09:04:35 +03:00
|
|
|
connector.
|
|
|
|
[100baseT4, 100T4]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_100_T2
|
2018-08-13 09:04:35 +03:00
|
|
|
100BASE-T2.
|
|
|
|
[100baseT2, 100T2]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_100_VG
|
2018-08-13 09:04:35 +03:00
|
|
|
100VG-AnyLAN.
|
|
|
|
[100baseVG, 100VG]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_1000_SX
|
2018-08-13 09:04:35 +03:00
|
|
|
1000BASE-SX, 1Gb/s over multi-mode fiber optic cables.
|
|
|
|
(short waves)
|
2006-10-08 03:16:43 +04:00
|
|
|
[1000baseSX, 1000SX]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_1000_LX
|
2018-08-03 08:27:16 +03:00
|
|
|
1000BASE-LX, 1Gb/s over single-mode fiber or multi-mode fiber optic cables.
|
|
|
|
(long waves)
|
2006-10-08 03:16:43 +04:00
|
|
|
[1000baseLX, 1000LX]
|
2018-08-03 08:27:16 +03:00
|
|
|
.It Dv IFM_1000_BX10
|
2018-08-13 09:04:35 +03:00
|
|
|
1000BASE-BX10, 1Gb/s over bidirectional fiber optic cables.
|
|
|
|
(long waves)
|
2018-08-03 08:27:16 +03:00
|
|
|
[1000BASE-BX10]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_1000_CX
|
2018-08-13 09:04:35 +03:00
|
|
|
1000BASE-CX, 1Gb/s over shielded twisted pair.
|
|
|
|
(twinax)
|
2006-10-08 03:16:43 +04:00
|
|
|
[1000baseCX, 1000CX]
|
2001-06-30 21:57:21 +04:00
|
|
|
.It Dv IFM_1000_T
|
2006-10-08 03:16:43 +04:00
|
|
|
1000BASE-T, 1Gb/s over category 5 unshielded twisted pair, 802.3ab, RJ45
|
|
|
|
connector.
|
2001-06-30 21:57:21 +04:00
|
|
|
[1000baseT, 1000T]
|
2018-08-03 08:27:16 +03:00
|
|
|
.It Dv IFM_1000_KX
|
|
|
|
1000BASE-KX, 1Gb/s backplane.
|
|
|
|
[1000BASE-KX, 1000baseKX]
|
|
|
|
.It Dv IFM_2500_SX
|
|
|
|
2500BASE-SX, 2.5Gb/s over multi-mode fiber optic cables.
|
|
|
|
[2500baseSX, 2500SX]
|
|
|
|
.It Dv IFM_2500_T
|
|
|
|
2.5GBASE-T, 2.5Gb/s over category 5e.
|
|
|
|
[2.5GBASE-T, 2500baseT]
|
|
|
|
.It Dv IFM_2500_KX
|
|
|
|
2500BASE-KX, 2.5Gb/s backplane.
|
|
|
|
[2500BASE-KX, 2500baseKX]
|
|
|
|
.It Dv IFM_5000_T
|
|
|
|
5GBASE-T, 5Gb/s over category 6.
|
|
|
|
[5GBASE-T, 5GbaseT]
|
|
|
|
.It Dv IFM_10G_CX4
|
|
|
|
10GBASE-CX4, 10Gb/s over XAUI 4-lane PCS and copper cables.
|
|
|
|
[10GbaseCX4, 10GCX4, 10GBASE-CX4]
|
2004-03-10 17:44:52 +03:00
|
|
|
.It Dv IFM_10G_LR
|
2018-08-13 09:04:35 +03:00
|
|
|
10GBASE-LR, 10Gb/s over single-mode fiber optic cables.
|
|
|
|
[10GbaseLR, 10GLR]
|
2018-08-03 08:27:16 +03:00
|
|
|
.It Dv IFM_10G_LRM
|
2018-08-13 09:04:35 +03:00
|
|
|
10GBASE-LR, 10Gb/s over single-mode fiber optic cables.
|
|
|
|
[10GbaseLRM]
|
2018-08-03 08:27:16 +03:00
|
|
|
.It Dv IFM_10G_SR
|
|
|
|
10GBASE-SR, 10Gb/s over multi-mode fiber optic cables.
|
|
|
|
[10GbaseSR, 10GSR, 10GBASE-SR]
|
|
|
|
.It Dv IFM_10G_T
|
|
|
|
10GBASE-T, 10Gb/s over unshielded twisted pair, RJ45 connector.
|
|
|
|
[10Gbase-T]
|
|
|
|
.It Dv IFM_10G_TWINAX
|
|
|
|
SFP+ direct attach, 10Gb/s over twinaxial cable.
|
|
|
|
[10Gbase-Twinax]
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
|
|
|
.Pp
|
2001-06-28 23:50:32 +04:00
|
|
|
The following media option is defined for Ethernet:
|
2004-05-17 04:32:26 +04:00
|
|
|
.Bl -tag -offset indent -width IFM_ETH_TXPAUSE
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_ETH_MASTER
|
2004-05-17 04:32:26 +04:00
|
|
|
Configure a 1000BASE-T PHY as the clock master for a 1000BASE-T link.
|
|
|
|
This option has no effect
|
|
|
|
.Pq shows current status only
|
|
|
|
if the media is
|
|
|
|
.Dv IFM_AUTO .
|
|
|
|
.It Dv IFM_ETH_TXPAUSE
|
|
|
|
Configure the device to send PAUSE
|
|
|
|
.Pq flow control
|
|
|
|
frames.
|
|
|
|
This option has no effect
|
|
|
|
.Pq shows current status only
|
|
|
|
if the media is
|
|
|
|
.Dv IFM_AUTO .
|
|
|
|
.It Dv IFM_ETH_RXPAUSE
|
|
|
|
Configure the device to receive PAUSE
|
|
|
|
.Pq flow control
|
|
|
|
frames.
|
|
|
|
This option has no effect
|
|
|
|
.Pq shows current status only
|
|
|
|
if the media is
|
|
|
|
.Dv IFM_AUTO .
|
2001-06-28 23:50:32 +04:00
|
|
|
.El
|
1998-08-09 04:37:16 +04:00
|
|
|
.Sh MEDIA TYPES AND OPTIONS FOR TOKEN RING
|
|
|
|
The following media types are defined for Token Ring:
|
|
|
|
.Bl -tag -offset indent -width IFM_TOK_UTP16
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOK_STP4
|
2018-08-13 09:04:35 +03:00
|
|
|
4Mb/s, shielded twisted pair, DB9 connector.
|
|
|
|
[DB9/4Mbit, 4STP]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOK_STP16
|
2018-08-13 09:04:35 +03:00
|
|
|
16Mb/s, shielded twisted pair, DB9 connector.
|
|
|
|
[DB9/16Mbit, 16STP]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOK_UTP4
|
2018-08-13 09:04:35 +03:00
|
|
|
4Mb/s, unshielded twisted pair, RJ45 connector.
|
|
|
|
[UTP/4Mbit, 4UTP]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOK_UTP16
|
2018-08-13 09:04:35 +03:00
|
|
|
16Mb/s, unshielded twisted pair, RJ45 connector.
|
|
|
|
[UTP/16Mbit, 16UTP]
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following media options are defined for Token Ring:
|
|
|
|
.Bl -tag -offset indent -width IFM_TOK_SRCRT
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOK_ETR
|
2018-08-13 09:04:35 +03:00
|
|
|
Early token release.
|
|
|
|
[EarlyTokenRelease, ETR]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOK_SRCRT
|
2018-08-13 09:04:35 +03:00
|
|
|
Enable source routing features.
|
|
|
|
[SourceRouting, SRCRT]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_TOK_ALLR
|
2018-08-13 09:04:35 +03:00
|
|
|
All routes vs. single route broadcast.
|
|
|
|
[AllRoutes, ALLR]
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
|
|
|
.Sh MEDIA TYPES AND OPTIONS FOR FDDI
|
|
|
|
The following media types are defined for FDDI:
|
2000-07-19 21:09:00 +04:00
|
|
|
.Bl -tag -offset indent -width IFM_FDDI_SMF -compact
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FDDI_SMF
|
2018-08-13 09:04:35 +03:00
|
|
|
Single-mode fiber.
|
|
|
|
[Single-mode, SMF]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FDDI_MMF
|
2018-08-13 09:04:35 +03:00
|
|
|
Multi-mode fiber.
|
|
|
|
[Multi-mode, MMF]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FDDI_UTP
|
2018-08-13 09:04:35 +03:00
|
|
|
Unshielded twisted pair, RJ45 connector.
|
|
|
|
[UTP, CDDI]
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following media options are defined for FDDI:
|
|
|
|
.Bl -tag -offset indent -width IFM_FDDI_DA
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_FDDI_DA
|
2018-08-13 09:04:35 +03:00
|
|
|
Dual-attached station vs. Single-attached station.
|
|
|
|
[dual-attach, das]
|
1998-08-09 04:37:16 +04:00
|
|
|
.El
|
2000-07-19 08:35:50 +04:00
|
|
|
.Sh MEDIA TYPES AND OPTIONS FOR IEEE802.11 WIRELESS LAN
|
|
|
|
The following media types are defined for IEEE802.11 Wireless LAN:
|
2005-10-03 22:08:03 +04:00
|
|
|
.Bl -tag -offset indent -width IFM_IEEE80211_OFDM12 -compact
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211_FH1
|
2018-08-13 09:04:35 +03:00
|
|
|
Frequency Hopping 1Mbps.
|
|
|
|
[FH1]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211_FH2
|
2018-08-13 09:04:35 +03:00
|
|
|
Frequency Hopping 2Mbps.
|
|
|
|
[FH2]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211_DS1
|
2018-08-13 09:04:35 +03:00
|
|
|
Direct Sequence 1Mbps.
|
|
|
|
[DS1]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211_DS2
|
2018-08-13 09:04:35 +03:00
|
|
|
Direct Sequence 2Mbps.
|
|
|
|
[DS2]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211_DS5
|
2018-08-13 09:04:35 +03:00
|
|
|
Direct Sequence 5Mbps.
|
|
|
|
[DS5]
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211_DS11
|
2018-08-13 09:04:35 +03:00
|
|
|
Direct Sequence 11Mbps.
|
|
|
|
[DS11]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_DS22
|
2018-08-13 09:04:35 +03:00
|
|
|
Direct Sequence 22Mbps.
|
|
|
|
[DS22]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM6
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 6Mbps.
|
|
|
|
[OFDM6]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM9
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 9Mbps.
|
|
|
|
[OFDM9]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM12
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 12Mbps.
|
|
|
|
[OFDM12]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM18
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 18Mbps.
|
|
|
|
[OFDM18]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM24
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 24Mbps.
|
|
|
|
[OFDM24]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM36
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 36Mbps.
|
|
|
|
[OFDM36]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM48
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 48Mbps.
|
|
|
|
[OFDM48]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM54
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 54Mbps.
|
|
|
|
[OFDM54]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_OFDM72
|
2018-08-13 09:04:35 +03:00
|
|
|
Orthogonal Frequency Division Multiplexing 72Mbps.
|
|
|
|
[OFDM72]
|
2000-07-19 08:35:50 +04:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following media options are defined for IEEE802.11 Wireless LAN:
|
2009-04-10 21:07:15 +04:00
|
|
|
.Bl -tag -offset indent -width IFM_IEEE80211_MONITOR
|
2001-06-29 02:51:17 +04:00
|
|
|
.It Dv IFM_IEEE80211_ADHOC
|
2018-08-13 09:04:35 +03:00
|
|
|
Ad-hoc (IBSS) mode.
|
|
|
|
[adhoc, ibss]
|
2009-04-10 21:07:15 +04:00
|
|
|
.Lp
|
|
|
|
In some drivers, it may be used with the
|
2002-08-21 07:30:54 +04:00
|
|
|
.Dv IFM_FLAG0
|
2003-01-04 04:09:37 +03:00
|
|
|
[flag0] media option to specify non-standard ad-hoc demo mode.
|
2002-08-12 21:08:40 +04:00
|
|
|
.It Dv IFM_IEEE80211_HOSTAP
|
|
|
|
Access Point mode [hostap]
|
2005-10-03 22:08:03 +04:00
|
|
|
.It Dv IFM_IEEE80211_MONITOR
|
|
|
|
Monitor mode [monitor]
|
|
|
|
.It Dv IFM_IEEE80211_TURBO
|
|
|
|
Turbo mode [turbo]
|
2000-07-19 08:35:50 +04:00
|
|
|
.El
|
1998-08-09 04:37:16 +04:00
|
|
|
.Sh SEE ALSO
|
2001-09-22 04:57:40 +04:00
|
|
|
.Xr netintro 4 ,
|
|
|
|
.Xr ifconfig 8
|
1998-08-09 04:37:16 +04:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
interface first appeared in
|
|
|
|
.Bsx 3.0 .
|
|
|
|
The implementation that appeared in
|
|
|
|
.Nx 1.3
|
|
|
|
was written by Jonathan Stone and Jason R. Thorpe to be compatible with
|
2018-08-13 09:04:35 +03:00
|
|
|
the BSDI API.
|
|
|
|
It has since gone through several revisions which have
|
1998-08-09 04:37:16 +04:00
|
|
|
extended the API while maintaining backwards compatibility with the
|
|
|
|
original API.
|
2000-07-19 21:09:00 +04:00
|
|
|
.Pp
|
|
|
|
Support for the
|
|
|
|
.Sy IEEE802.11 Wireless LAN
|
|
|
|
link type was added in
|
|
|
|
.Nx 1.5 .
|