summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/if_wireg.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove some unnecessary casts. ok blambert deraadt kettenis matthewtedu2011-06-211-2/+2
|
* Remove sparc64-specific hack to byteswap pcmcia bus_space access. This is nokettenis2008-02-031-19/+5
| | | | | | | longer necessary now that stp(4) maps the pcmcia windows little-endian. Makes wi(4) behind cbb(4) work on sparc64. tested by miod@
* remove wrong definition since result really belongs to stat (which isfgsch2005-10-181-2/+1
| | | | already there).
* define a mask to extract the result from status.fgsch2005-10-171-1/+2
|
* correctly parse the supported data rates. needed by wi@usb.fgsch2005-10-151-1/+11
| | | | tested by jsg@ and joris@, deraadt@ go ahead.
* add the manual tx power option. this is supported by some prism2/2.5/3reyk2005-02-151-1/+9
| | | | | | | | cards in hostap mode but it depends on the firmware version. support for other wireless chipsets will be added in the future using the net80211-framework. ok robert@ bob@ danh@, tested by some others
* Fix timing issues with newer Prism firmware and retry card reset upmillert2004-03-021-2/+3
| | | | | | to three times (only once for Symbol though). This fixes intermittent problems on Prism-based cards with newer firmware. Tested with a wide variety of cards and firmware revisions. OK mickey@
* typos from Tom Cosgrove;jmc2003-10-211-4/+4
| | | | | | | | Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
* Extend the sparc bus_space_tag_t to store access endianness in it, andmiod2003-06-251-3/+1
| | | | | | | | | adapt all bus_space functions to do proper endianness conversion whenever necessary, except for the raw ones. This allows us to remove the forced endianness conversions in if_wi. with help from and ok mickey@
* Add support for Symbol LA4123 and Nortel E-mobility 211818-A PCImillert2003-01-101-2/+7
| | | | | | | | | | | | | cards. These use an ACEX EP1K30 programmable logic device (PLD) as the PCMCIA->PCI bridge. There's no documentation available on how Symbol has this configured; the magic bits are based on modifications to the Linux orinoco driver by Tobias Hoffmann. He, in turn, figured out the magic from the Windows driver. This does mean we have undocuemnted hex constants; sigh. I also moved commented bridge chip info to right before the appropriate bridge attachment. The massive comment at the top of the file was becoming illegible.
* Add an option to use software WEP now that we have a software decryptmillert2002-10-271-1/+3
| | | | | | | function. Can be useful for cards that only support 40-bit WEP or where the card firmware lacks weak IVs avoidance. Prism/Symbol only. In the future this will be expanded to support proposed WEP replacements. Based on code from Jamison Adcock.
* Make wi_get_id() table driven, similar to NetBSD and FreeBSD butmillert2002-10-101-15/+1
| | | | | | make the table itself a #define so we can reuse it in wicontrol. Also add a bunch of chip IDs from NetBSD/FreeBSD. mickey@ OK
* o break up wi_pci_attach() into device-specific parts for better readabilitymillert2002-09-121-5/+6
| | | | | | | o kludge around a problem with Netgear MA301 hanging when booted w/o a card. o better card detection w/ PLX adapters o correct the info in some comments mickey@ OK
* no need for pragma here.fgsch2002-09-101-4/+1
|
* change WI_PORTTYPE_AP -> WI_PORTTYPE_HOSTAP to match FreeBSD and NetBSD.millert2002-08-131-2/+2
| | | | | | The reason for this is that it is possible in the future to have wi(4) be a real AP using the AP tertiary firmware. mickey@ OK
* Use the correct COR offset for pcmcia card; noted by Warner Loshmillert2002-07-101-2/+3
|
* missing parenthesis in this macro.fgsch2002-06-271-2/+2
|
* stp at sparc will map this card always as big-endian.fgsch2002-06-261-2/+4
|
* cleanup WI_IS_BE macrosderaadt2002-06-231-21/+25
|
* Add new flag, WI_FLAGS_BUS_PCMCIA and mark pcmcia attachment as such.fgsch2002-06-221-31/+17
| | | | | | | | Replace ugly kludge with a macro that tests on sparc if it's pcmcia and tries to deal with it correctly (card mapped as be). This makes possible to have wi at pcmcia and pci on sparc64; from theo and myself. Tested with the PLX adapter and the SBus pcmcia bridge. millert@ ok.
* ugly kludge to deal correctly with endianess in sparc and sparc64.fgsch2002-06-211-4/+31
| | | | millert@ ok.
* Change WI_PORTTYPE_IBSS to 4. This change got lost in the big ibssmillert2002-05-011-3/+4
| | | | simplication a while back. Luckily, it is basically cosmetic...
* Add support for setting antenna diversity on Symbol cards.millert2002-04-061-1/+3
| | | | | Also add some more Symbol-specific RID values I noticed in the Linux orinoco driver.
* Add support for Symbol cards and printing of the primary stationmillert2002-04-061-19/+25
| | | | | | | | | | | firmware version. Adapted from NetBSD and the Linux orinoco driver. The Symbol firmware requires that we do a COR soft reset before initializing the card in wi_reset(). Also, setting WI_RID_ROAMING_MODE caused the Symbol card to go into a strange (non-working) mode with firmware 2.x.x. There are some other Symbol additions/oddities that will need to be addressed in the future.
* o Move register definitions to if_wireg.hmillert2002-03-301-4/+12
| | | | | | o Rename some register defines to be more useful (adapted from FreeBSD) o Enable interrupts on PLX chip since some boards don't have this in the EEPROM (adapted from FreeBSD and Linux).
* some BITS defs for %bmickey2002-03-281-1/+2
|
* basic host-ap implementation, more work is needed; from Thomas Skibo <skibo@pacbell.net>; millert@ okmickey2002-03-281-3/+26
|
* recognize isl37300p as a prism2.5, for niels babymickey2002-03-281-1/+2
|
* Add support for the TMD7160 dumb PCI-ISA bridge (similar in function tomillert2002-03-261-1/+3
| | | | | the PLX905x). Info gleaned from patches to the Linux wlan driver from NDC. This makes the NDC NCP130 rev A2 work.
* In WI_SETSTR round up i_len to be an even number if needed since wemillert2002-02-211-2/+4
| | | | are going to divide it by 2. More or less based on NetBSD.
* add support for media and other generic 802.11 ioctls, elliminates need for wicontrol on the ramdisk floppy, pretty much; from netbsdmickey2002-02-191-6/+4
|
* increase the timeout 10x, it seems some cards cannot keep up w/ our pacemickey2001-12-211-2/+2
|
* for mimi-pci cards registers are word in a dword, missed that in bringing over support from netbsd; partially successfully tested by ellidz@eridu.uchicago.edumickey2001-12-201-11/+17
|
* implement "the other" pci interface for wavelans, found on intersilmickey2001-10-251-3/+25
| | | | | | mini-pci cards. inspired by the netbsd's if_wi_pci.c . rename WI_COR_* into WI_PLX_COR_*, per millert@'s suggestion. tested by millert@ for the plx-based cards.
* add prism2.5 mini-pci nic idmickey2001-10-251-1/+2
|
* Add the missing endian pieces to wavelan driver.drahn2001-06-251-3/+10
| | | | ok, millert@
* Kill #define duplicates between if_wireg.h and if_wi_ieee.hmillert2001-06-071-74/+11
|
* no, definately *wi.* does not work heremickey2001-06-071-1/+24
|
* PCI shim for if_wi.c as promised. Magic for setting the PLX upmillert2001-06-061-1/+4
| | | | | | | correctly take from the FreeBSD driver and explained by imp@ Currently this is hard-coded for PrismII cards but that will change when the PrismII auto-detect code is added to if_wi.c. Tested with a LinkSys WPC11 in a Global Sun GL24110P02 (aka LinSys WDT11)
* Split wi(4) into bus-dependent and bus-independent bits similar tomillert2001-05-151-0/+553
an(4) -- no real code changes at this point. Rename if_wavelan_ieee.h to if_wi_ieee.h while I'm at it and create an if_wivar.h similar to NetBSD. PCI adaptors exist that are not true PCMCIA controllers so wi(4) @ PCI is possible (though the code is not working yet ;-).