msaitoh
11dd166429
Add 1000baseT-FDX.
2012-10-25 10:59:43 +00:00
cegger
126af76cac
add MBSS. From FreeBSD.
2011-02-20 13:51:17 +00:00
dyoung
7617f65929
Add some 10-gigabit media words used by Intel 82599.
2011-01-26 00:57:47 +00:00
dyoung
7b7a580067
Replace u_quad_t with uint64_t. u_quad_t is just a typedef for
...
uint64_t, so no ABI/API breakage will result from this change.
2009-10-05 21:25:05 +00:00
msaitoh
7dc1329052
Add 1000BASE-BX10.
2009-08-12 11:17:17 +00:00
mhitch
70a12d51ab
Add support for SerDes controllers; from the OpenBSD driver. Tested on a
...
Dell Blade server by me, and an HP Blade server by Havard.
2008-09-09 20:12:18 +00:00
christos
ab4f03ff74
- Add more definitions from FreeBSD
...
- Add ifmedia_removeall from FreeBSD
2008-06-15 16:33:58 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
skrll
5bdccff36c
CARP is Common *Address* Redundancy Protocol
2008-02-13 09:25:24 +00:00
dyoung
72fea72bb2
Add a helper subroutine for ethernet drivers, ifmedia_change().
2008-01-10 08:00:22 +00:00
ragge
cb7f51a59d
Add IFM_10G_SR and IFM_10G_CX4, to keep in sync with FreeBSD.
...
Kindly requested by Gleb Smirnoff at FreeBSD.
2006-06-03 12:43:28 +00:00
liamjfoy
4876c304b1
Integrate Common Address Redundancy Procotol (CARP) from OpenBSD
...
'pseudo-device carp'
Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@
2006-05-18 09:05:49 +00:00
lukem
a1f606d3fd
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
...
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
elad
976bf6cfdd
Multiple inclusion protection, as suggested by christos@ on tech-kern@
...
few days ago.
2005-12-10 23:21:38 +00:00
dsl
de3f63a902
Add prototypes for functions that convert media to/from strings.
...
In libutil/if_media.c (moved from ifconfig.c so that they can be shared
in crunched binaries)
2004-11-11 20:34:30 +00:00
dsl
43dde40d82
Put spaces either side of '|' for clarity ('|' looks too much like 'I' or 'l')
2004-10-16 11:11:04 +00:00
thorpej
15921b5f23
De-__P'ify.
2004-04-09 20:44:57 +00:00
thorpej
13357b24dd
Add flow control-related media bits / descriptions.
...
From HITOSHI Osada.
2004-04-09 20:30:28 +00:00
keihan
2ece851d2e
Add 10GBASE-LR to IFM_10G_LR.
2004-03-10 14:42:10 +00:00
ragge
9a3ec25f87
Add media type 10GbaseLR. Change ifmb_baudrate and ifmedia_baudrate()
...
to u_quad_t instead of int (common speed today exceeds 2Gbit).
2004-02-19 11:58:30 +00:00
dyoung
dd813020b9
Add constants and strings for 802.11 radios with OFDM PHY (802.11a,
...
802.11g).
Add constants and strings for multi-mode devices (a/b/g).
From FreeBSD/Sam Leffler.
2003-10-13 05:06:44 +00:00
itojun
91b11e1eba
prototype must not have variable name
2003-07-08 07:13:50 +00:00
bjh21
c4987984da
Accept standard IEEE 802.3 names for Ethernet medium types.
...
Suggested by Christos, IIRC.
2003-04-23 23:16:43 +00:00
dyoung
595c6d88b2
Add support for Prism monitor mode. From Kevin Lahey
...
<kml@patheticgeek.net>.
This patch does NOT add monitor mode support for the Lucent radios.
awi(4) was only modified for compatibility with the new mediaopt.
It does NOT support monitor mode.
Tested by Kevin, Daniel Carosone, and I.
2003-02-25 01:57:35 +00:00
thorpej
f5c6a07c43
Fix more signed/unsigned comparison warnings.
2002-11-07 08:00:47 +00:00
thorpej
079b24a323
Make ifm_data unsigned.
2002-11-07 07:53:37 +00:00
thorpej
facf465586
Make media and mask unsigned.
2002-11-07 07:42:24 +00:00
onoe
23ab1acf02
Change ifmb_baudrate for IFM_IEEE80211_DS5: 5Mbps -> 5.5Mbps
2002-09-27 05:27:20 +00:00
onoe
63a1f2ed02
Delete IFM_IEEE80211_IBSS [ibss] and IFM_IEEE80211_IBSSMASTER [ibss-master]
...
from media options, since IEEE80211_ADHOC [adhoc] is already defined for
IBSS. Instead, [ibss] is assigned as an alias for IEEE80211_ADHOC.
2002-08-21 03:22:04 +00:00
thorpej
0eee4f1a69
Add "hostap", "ibss", and "ibss-master" 802.11 media options.
...
From OpenBSD.
2002-08-10 23:21:58 +00:00
kleink
e2d6ca2037
Rename an IFM_1000_TX occurrence missed in previous.
2001-06-30 21:23:39 +00:00
bjh21
8d829065a6
IFM_1000_TX -> IFM_1000_T, as (breifly) discussed on tech-net.
2001-06-30 17:53:58 +00:00
thorpej
a6e732946b
Add an Ethernet option bit for master mode (for 1000baseTX, the link
...
master provides the clock -- this is normally the switch, but if you
are doing back-to-back NICs, you need to tell one side to be the master).
2001-05-31 16:30:04 +00:00
thorpej
877704d33e
Add ifmedia_baudrate(), which returns a value suitable for ifi_baudrate
...
given a media word, or 0 for unknown.
2000-03-06 20:50:29 +00:00
sommerfeld
a00eb27e1a
More 802.11 subtypes: there's also 1MB/s DS
...
(the BayStack 660 firmware claims to support it).
2000-02-17 21:53:16 +00:00
thorpej
d87b838524
Fix TMASK to use all 5 lower bits of the media word, and add HomePNA 1.0.
2000-02-16 18:03:14 +00:00
thorpej
3302e4f5a2
Add a way to delete all media for a specified instance.
2000-01-26 21:58:17 +00:00
thorpej
52ee0b9f98
IFM_1000_FX -> IFM_1000_SX, like it's supposed to be, and add a few
...
more gigabit Ethernet tyes from FreeBSD.
2000-01-25 20:18:52 +00:00
thorpej
fe58a40561
Define some convenience information and tables related to ifmedia status
...
bits for ifconfig(8).
2000-01-25 00:58:59 +00:00
augustss
6d0075dcc2
Fix a typo.
2000-01-24 01:20:21 +00:00
chopps
84d74cfd6d
add 802.11 media types
2000-01-23 23:49:48 +00:00
thorpej
e19c356e76
Make the ifmedia_entry list a TAILQ. This is pretty much for cosmetics
...
(media added to tail, so that when e.g. the list is run to print out
what media exist, they appear in-order).
1999-11-03 23:06:35 +00:00
thorpej
98109043a9
Expose the ifmedia_match() function.
1999-10-27 17:59:24 +00:00
thorpej
86f87d7c5f
Add a new shared media option, IFM_FLOW, used to enable link-level
...
flow control. IEEE 802.3x is in mind, but this could be generally
useful for different types of media.
1999-03-23 21:46:47 +00:00
thorpej
be4ce8c3f4
Add "10baseT-FDX" and "100baseTX-FDX" aliases to the end of the subtype
...
table. These are actually subtype+option combos, but these are the
strings displayed by the MII code to indicate 10Mbps full-duplex and
100Mbps full-duplex respectively, and it's Nice that ifconfig(8) can
grok them.
1998-11-02 22:10:26 +00:00
thorpej
798cb235bc
Oops, I forgot aliases for some old names (10baseT/UTP, 10base2/BNC,
...
and 10base5/AUI).
1998-08-12 23:23:29 +00:00
thorpej
f996a2e194
Define IFM_INST_MAX, the largest possible "instance" value.
1998-08-08 22:12:30 +00:00
thorpej
ddb9746a51
Define the minimum and maximum "network type" values. These values are
...
incremented by the minimum to interate through them.
1998-08-06 19:16:37 +00:00
thorpej
dd588c0660
Add a macro to create a media word from type, subtype, options, and instance.
1998-08-06 02:38:19 +00:00
thorpej
b04ded7264
Completely rewrite the way media descriptions are represented. The same
...
data structure is used, but a much saner matching mechanism is used, one
which allows greater ease in adding new types.
1998-08-06 02:19:34 +00:00