Age | Commit message (Collapse) | Author |
|
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 the table itself a #define so we can reuse it in wicontrol.
Also add a bunch of chip IDs from NetBSD/FreeBSD.
mickey@ OK
|
|
|
|
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.
|
|
|
|
whoever made struct ieee80211_nwid an odd-sized structure and created
this particular little corner of alignment hell surely deserves a boot
to the head.
|
|
Hopefully this will confuse people with crufty firmware a little less
than the old behavior. Supposedly it is possible to get hostap working
on prism firmware 0.7.6 but I'm not going to attempt that at this time.
|
|
'struct arpcom foo' -> 'struct arpcom sc_arpcom'
ok itojun@
|
|
The common.h include file has been incorporated into if_wi_ieee.h
similar to what is in FreeBSD.
|
|
or shared key).
|
|
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
|
|
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.
|
|
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.
|
|
<skibo@pacbell.net>; millert@ ok
|
|
wicontrol on the ramdisk floppy, pretty much; from netbsd
|
|
over support from netbsd; partially successfully tested by ellidz@eridu.uchicago.edu
|
|
o Endian fixes
o Missing WI_RID_AUTH_CNTL and WI_RID_MICROWAVE_OVEN bits
o Move promisc mode setting to be before prism2 detect since
some prism2 firmware revs need to have promisc to support WEP
and it is useless to set promisc and then clear it again.
o Add missing clear of ifp->if_timer when IFF_OACTIVE is cleared
|
|
|
|
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 ;-).
|