summaryrefslogtreecommitdiffstats
path: root/sys/net/if_media.h
Commit message (Collapse)AuthorAgeFilesLines
* Add TWINAX (Twin Axial Copper for 10G networking) media types.gnn2008-12-171-0/+12
| | | | | | | | | Add code to the Chelsio driver so that it can recognize different module types which may be plugged into it, including SR, LR lasers and TWINAX copper cables. Obtained from: Chelsio Inc. MFC after: 1 week
* Make "1000baseT" the description and "1000baseTX" the alias forantoine2008-08-011-2/+2
| | | | | | | | | IFM_1000_T instead of the reverse. It is possible FreeBSD doesn't even support 1000baseTX. This changes ifconfig(8) output. Requested by: gavin@ and bms@ See also: http://docs.freebsd.org/cgi/mid.cgi?20050307191901.H32508
* Move "1000baseT" from IFM_SUBTYPE_ETHERNET_DESCRIPTIONS toantoine2008-04-201-1/+1
| | | | | | | | | | IFM_SUBTYPE_ETHERNET_ALIASES: there is already "1000baseTX" in IFM_SUBTYPE_ETHERNET_DESCRIPTIONS. This doesn't change ifconfig behaviour. PR: 45793 (maybe) Approved by: rwatson (mentor) MFC after: 1 month
* IFM_IEEE80211_IBSSMASTER hasn't been used in many years; replace itsam2008-03-251-2/+2
| | | | | | with IFM_IEEE80211_WDS which will be used by the forthcoming vap code MFC after: 3 weeks
* remove IFM_IEEE80211_HT40PLUS and IFM_IEEE80211_HT40MINUS; theysam2007-09-181-4/+0
| | | | | | never got used so nuke 'em before we branch Approved by: re (blanket wireless)
* Update 802.11 wireless support:sam2007-06-111-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o major overhaul of the way channels are handled: channels are now fully enumerated and uniquely identify the operating characteristics; these changes are visible to user applications which require changes o make scanning support independent of the state machine to enable background scanning and roaming o move scanning support into loadable modules based on the operating mode to enable different policies and reduce the memory footprint on systems w/ constrained resources o add background scanning in station mode (no support for adhoc/ibss mode yet) o significantly speedup sta mode scanning with a variety of techniques o add roaming support when background scanning is supported; for now we use a simple algorithm to trigger a roam: we threshold the rssi and tx rate, if either drops too low we try to roam to a new ap o add tx fragmentation support o add first cut at 802.11n support: this code works with forthcoming drivers but is incomplete; it's included now to establish a baseline for other drivers to be developed and for user applications o adjust max_linkhdr et. al. to reflect 802.11 requirements; this eliminates prepending mbufs for traffic generated locally o add support for Atheros protocol extensions; mainly the fast frames encapsulation (note this can be used with any card that can tx+rx large frames correctly) o add sta support for ap's that beacon both WPA1+2 support o change all data types from bsd-style to posix-style o propagate noise floor data from drivers to net80211 and on to user apps o correct various issues in the sta mode state machine related to handling authentication and association failures o enable the addition of sta mode power save support for drivers that need net80211 support (not in this commit) o remove old WI compatibility ioctls (wicontrol is officially dead) o change the data structures returned for get sta info and get scan results so future additions will not break user apps o fixed tx rate is now maintained internally as an ieee rate and not an index into the rate set; this needs to be extended to deal with multi-mode operation o add extended channel specifications to radiotap to enable 11n sniffing Drivers: o ath: add support for bg scanning, tx fragmentation, fast frames, dynamic turbo (lightly tested), 11n (sniffing only and needs new hal) o awi: compile tested only o ndis: lightly tested o ipw: lightly tested o iwi: add support for bg scanning (well tested but may have some rough edges) o ral, ural, rum: add suppoort for bg scanning, calibrate rssi data o wi: lightly tested This work is based on contributions by Atheros, kmacy, sephe, thompsa, mlaier, kevlo, and others. Much of the scanning work was supported by Atheros. The 11n work was supported by Marvell.
* - Added a new Ethernet media type (2500BaseSX) to support BCM5708 controllersdavidch2007-06-051-0/+4
| | | | | | | | which support a 2.5Gbps mode over fiber using next page extensions during autonegotiation. Typically only found in blade systems which also include a Broadcom 2.5Gbps capable switch. MFC after: 2 weeks
* First cut at half/quarter-rate 11a channel support (e.g. for usesam2006-12-271-0/+9
| | | | | | | | | | | | | | | | | | | | in the Public Safety Band): o add channel flags to identify half/quarter-rate operation o add rate sets (need to check spec on 4Mb/s in 1/4 rate) o add if_media definitions for new rates o split net80211 channel setup out into ieee80211_chan_init o fixup ieee80211_mhz2ieee and ieee80211_ieee2mhz to understand half/quarter rate channels: note we temporarily use a nonstandard/hack numbering that avoids overlap with 2.4G channels because we don't (yet) have enough state to identify and/or map overlapping channel sets o fixup ieee80211_ifmedia_init so it can be called post attach and will recalculate the channel list and associated state; this enables changing channel-related state like the regulatory domain after attach (will be needed for 802.11d support too) o add ieee80211_get_suprates to return a reference to the supported rate set for a given channel o add 3, 4.5, and 27 MB/s tx rates to rate <-> media conversion routines o const-poison channel arg to ieee80211_chan2mode
* - Add definition for IFM_10G_CX4.glebius2006-06-021-0/+4
| | | | | | - Put IFM_10G_CX4 and IFM_10G_SR into IFMEDIA_BAUDRATE array. Requested by: Jack Vogel <jfvogel gmail.com>
* Undo damage from wrong MFC to HEAD.andre2006-04-041-38/+0
| | | | Pointed out by: jkim, remko
* MFC rev. 1.32: Add link status descriptions and related structures for userlandandre2006-04-041-0/+38
| | | | | | applications. Approved by: re
* Add link status descriptions and related structures for userlandandre2006-03-151-0/+38
| | | | | | | | | | applications. Open[BGP|OSPF]D make use of this to determine the link status of interfaces to make the right routing descisions. Obtained from: OpenBSD MFC after: 3 days
* Fix build.glebius2006-02-151-2/+2
|
* - Introduce ifmedia_baudrate(), which returns correct baudrate of theglebius2006-02-141-2/+60
| | | | | | | given media status. [1] - Utilize ifmedia_baudrate() in miibus_statchg() to update ifp->if_baudrate. Obtained from: NetBSD [1]
* Add CARP (Common Address Redundancy Protocol), which allows multipleglebius2005-02-221-0/+6
| | | | | | | | | | | | | hosts to share an IP address, providing high availability and load balancing. Original work on CARP done by Michael Shalayeff, with many additions by Marco Pfatschbacher and Ryan McBride. FreeBSD port done solely by Max Laier. Patch by: mlaier Obtained from: OpenBSD (mickey, mcbride)
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Added two new media types for 10GBASE-SR and 10GBASE-LRtackerman2004-08-121-0/+5
|
* Add Direct Sequence 354K and 512K (needed for arl(4)).fjoe2004-04-131-0/+8
|
* Add an ATM sub-type for virtual interfaces.harti2004-01-261-0/+3
|
* Fix definition of IFM_MODE, which should be refrected the change ofonoe2004-01-221-1/+1
| | | | | IFM_IEEE80211_ mode. Also ifconfig(8) must be recompiled. Pointed out by Sam Leffeler.
* Add support for FH phy, which will be used by awi driver.onoe2004-01-151-3/+7
| | | | | Also some if_media constants to indicate operational mode are changed to bitmasks to reduce diffs from NetBSD.
* add monitor modesam2003-07-211-0/+2
|
* add "autoselect" mode and "auto" alias: these let you reset thesam2003-06-251-0/+6
| | | | | "phy mode" to an auto-selecting mode, as opposed to one where you're locked to a particular one (e.g. 11a for 802.11)
* Fix a typo in an ATM media name. As this name was not use yet, no problemsharti2003-06-021-1/+1
| | | | should occur.
* Add media types and options for ATM. While on most ATM cards media cannotharti2003-04-291-0/+52
| | | | | | | | be changed, it is very convenient to be able to toggle SDH/Sonet, idle/unassigned cells and scrambled mode and to see the carrier state. Reviewed by: -arch (if_media.h definitions)
* o add support for multi-mode devices like 802.11 wireless cards that supportsam2003-04-281-28/+52
| | | | | | | | | 11a/b/g by adding an optional 3-bit mode field o correct the spelling of OFDM (was ODFM) o add an 802.11 subtype option for turbo mode: the phy is clocked at 2x the normal clock rate; note this can be applied to both OFDM in 11a and OFDM in 11g mode (and possibly DS11 in 11b for certain phy's) o add 802.11 CCK aliases for 11b/11g rates--the more common terminology
* Add some additional 802.11 media definitions.kbyanc2002-07-141-0/+27
| | | | Reviewed by: imp
* MFOpenBSD: ibss and ibss-master.imp2002-05-071-0/+4
| | | | | | | | | | | | | ibss is the modern ad-hoc mode. ibss-master is the same, except that it creates the ibss network. This distinction is necessary because some supported cards (symbol) support the former without supporting the latter. A seprate commit will introduce a demo-adhoc mode so that we can disentwingle the multiple, mutually exclusive meandings of adhoc in the present state of affairs. Submitted by: jhay
* Move us yet closer to IFM_* definitions in NetBSD.phk2002-04-291-42/+42
|
* Follow NetBSD and s/IFM_1000_TX/IFM_1000_T/phk2002-04-281-2/+2
|
* Add hostap 802.11 media type.imp2002-04-121-0/+2
| | | | From wi_hostap stuff by Thomas Skibo
* Remove __P.alfred2002-03-191-9/+9
|
* Currently, each wireless networking driver has it's own control programphk2001-05-261-3/+51
| | | | | | | | | | | | despite the fact that most people want to set exactly the same settings regardless of which card they have. It has been repeatidly suggested that this configuration should be done via ifconfig. This patch implements the required functionality in ifconfig and add support to the wi and an drivers. It also provides partial, untested support for the awi driver. PR: 25577 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
* Back out the previous change to the queue(3) interface.jake2000-05-261-2/+2
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-2/+2
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+2
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Expand the field width for subtypes. We had already overflowed itjulian1999-11-241-3/+5
| | | | | | | | by 2 with people just adding numbers on the end of the ethernet subtypes. We now have an additional 14 subtypes available in ethernet. Use one of them immediatly for homePNA. Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-161-1/+4
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Also add 1000baseSX, 1000baseLX, 1000baseCX and 1000baseTX media types. Atwpaul1999-03-071-0/+12
| | | | | this point I don't know if there are any actual gigabit ethernet devices that support media other than 1000baseSX (multi-mode fiber) but who knows.
* Add 1000baseFX, 10baseSTP and 10baseFL media types. The 1000baseFXwpaul1999-03-061-1/+19
| | | | | | | | type may become necessary soon. :) Also add a couple of additional macros that NetBSD has which we don't. Nothing in FreeBSD uses these (yet) so adding them in shouldn't hurt anything.
* World, I'd like you to meet the first FreeBSD token Ring driver.julian1999-02-201-4/+17
| | | | | | | | This is for various Olicom cards. An IBM driver is following. This patch also adds support to tcpdump to decode packets on tokenring. Congratulations to the proud father.. (below) Submitted by: Larry Lile <lile@stdio.com>
* Make it compile on FreeBSD, add $Id$peter1997-05-031-2/+3
|
* Backend support for if_media interface ioctl's. This is for supportingpeter1997-05-031-0/+306
the many-mode, many-media-option type ethernet cards, in particular, the new if_de. Obtained from: NetBSD (Their implementation of BSDI's design)
OpenPOWER on IntegriCloud