Age | Commit message (Collapse) | Author |
|
|
|
|
|
This allows the mouse port to become available on AlphaStation machines,
as well as on some older x86 machines.
From NetBSD.
Tested by various people on alpha and i386, no regression discovered.
|
|
|
|
Also do a little KNF while I'm in here.
|
|
|
|
not actually set. Closed PR #2569.
|
|
or shared key).
|
|
|
|
|
|
early as possible. Also move the timeout_del() in wi_stop() to
before we disable wi(4) so it doesn't fire at the wrong time.
Joint effort between mickey@ and myself.
|
|
|
|
WI_RID_P2_SHORT_PREAMBLE and WI_RID_P2_EXCLUDE_LONG_PREAMBLE.
Unforturnately, the Prism2 preamble RIDs conflict with the Lucent
WEP RIDs (and they don't seem to behave as I would expect anyway).
|
|
Nonnekes <maurice@amaze.nl> based on FreeBSD (only minor surgery necessary)
|
|
dcreg.h and out of the bus specific drivers
|
|
o Fix m->m_data alignment in wi_rxeof()
o Add a comment
|
|
|
|
o If capinfo doesn't match, save it anyway for debugging porpoises
o Add more info for capinfo failures in debug mode
|
|
EXCLUDE_UNENCRYPTED bit in the WI_RID_P2_ENCRYPTION value if we are
in shared key mode. Symbol cards, just to be different, supposedly
always want the EXCLUDE_UNENCRYPTED bit set (confirmed with the
Linux orinoco and spectrum24 drivers).
I have so far been unable to get my Symbol card to interop with
Lucent or Prism2 WEP. In BSS mode at least, this Symbol card does
not list WEP as a capability it supports. This is, to put it mildly,
rather annoying.
|
|
o Move the sc->has_wep flag into sc->wi_flags
o Only do the COR reset on Symbol cards just to play it safe.
o Remove unused sc->sc_enabled variable.
o Kill ibss_portmap array in favor of sc->wi_ibss_port, which is
stored in little endian.
mickey@ OK
|
|
o Map port type 4 to ibss regardless of firmware type. This gives
us a consistent way to set ibss mode.
|
|
is not handling them and may throw the kernel into a spurious interrupt
loop. ok art@
|
|
|
|
|
|
|
|
ok deraadt@
|
|
only call it from wi_attach() and wi_pcmcia_activate() (ie: just once).
It would be nicer to have the COR reset be part of the bus-specific
code but we need to know whether or not we have a Lucent card since
old Lucent firmware revs get messed up on a COR soft reset.
Even with the COR reset we still need to avoid initializing Symbol
cards more than once. However, we *do* want to do a reset after
returning from suspend. Therefore, rename wi_gone to wi_flags and
store both the attach and init status in it. wi_reset() now checks
wi_flags to see if the card should be initialized in the Symbol case.
Info on initializing Symbol cards once from NetBSD.
|
|
Also add some more Symbol-specific RID values I noticed in the
Linux orinoco driver.
|
|
out of generic wi_attach() and into wi_pci_attach(). This means
we can't print the CIS info for embedded cards like the NCP130 but
since those don't have a "real" pcmcia card in them this is really
not a problem. Also check to see that there is actually a pcmcia
present and give and error if not. CIS magic number taken from the
Linux orinoco driver; there may be a better way to do this.
|
|
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.
|
|
|
|
is available everywhere wi_init() is called. deraadt@ OK
|
|
"ifconfig nwid FOO" work correctly in Host-AP mode.
|
|
- don't complain about still owned descriptors
tested by myself and Joey Coleman <joeycoleman@acm.org>
|
|
wrong index used for RC4SWAP during key setup
IV is stored in little endian format; works for millert@
|
|
|
|
Only Lucent uses the 'variant' form. Also, prism2 firmware 0.8.2 does
WEP w/o requiring promisc mode (from NetBSD). OK mickey@
|
|
formatiing and byte-swapping fixens as well
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32bit TGA) From NetBSD, ok deraadt@.
|
|
supported data rates. Fixes rate probing on Lucent cards.
Figured out from reading the Linux orinoco driver.
|
|
the IFF_PROMISC flag was set (e.g. in bridge mode). Found by mickey@
There still seems to be an issue with Lucent stations reporting
1Mbs when the AP is in bridge mode though.
|
|
|
|
|
|
|