Age | Commit message (Collapse) | Author |
|
and if_wi_usb ok millert@
|
|
it does not yet handle bulk data copies or hostap mode. Only one model
currently supported, however driver may support other PRISM based adapters.
ok millert@ fgsch@
|
|
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
|
|
|
|
ok miod@ millert@ deraadt@
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
freebsd does as well
|
|
ok mickey@
|
|
things obvious.
|
|
Found by dhartmei@; I thought he committed the fix but appearently not.
Also make the debugging printf for IV mismatch more useful.
|
|
|
|
wi_mgmt_xmit: xmit failed messages; millert@ testing and ok
|
|
floppies; OK mickey@ deraadt@
|
|
not set yet this is a NOOP (noticed some time ago by fgs@).
Call wi_cor_reset() from wi_watchdog() so we do a soft reset of the
card. Currently, we only reset Symbol cards but should probably
reset all but Lucent cards with very old firmware revisions.
|
|
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.
|
|
|
|
mickey and millert ok.
|
|
mickey and millert ok.
|
|
by millert@
|
|
evaluate the same thing for each loop iteration in wi_get_id().
[ previous commit contained unrelated changes and has been removed ]
|
|
since gcc doesn't seem to evaluate htole16() of a constant at
compile time after all. Noticed by deraadt@
|
|
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
|
|
|
|
|
|
|
|
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
|
|
wi_init() if only IFF_PROMISC status has changed. There is no need
to change anything if we are in HostAP mode since wi_init() has
already turned off the hardware promisc bit when we entered HostAP
(HostAP already implies promisc behavior).
Noticed by imp@, OK by mickey@
|
|
|
|
|
|
somehow i didn't commit this. from denver airport.
|
|
|
|
doesn't do the wrong thing with quick card insert/ejects.
|
|
|
|
routines have been called. Avoids a panic when you insert & eject
a card very quickly on a slow machine.
|
|
sparc64 and macppc; tested by me and drahn@ on i386, macppc and sparc64.
|
|
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.
|
|
|
|
the interface was up, even if it was the empty string. This tends
to confuse users who have not set the desired net name (ie: associate
with any AP). Now we only return the desired net name if it is not
empty and the interface is up. Otherwise we return the current
net name (ie: what we are associated with).
|
|
'struct arpcom foo' -> 'struct arpcom sc_arpcom'
ok itojun@
|
|
of comparing directly against WI_STAT_1042, WI_STAT_TUNNEL, etc.
This is needed by some Symbol cards in ad-hoc mode.
o change some ntohs(var) to htons(constant).
Adapted from NetBSD (mycroft).
|
|
The common.h include file has been incorporated into if_wi_ieee.h
similar to what is in FreeBSD.
|
|
From John Hay via Warner Losh
|
|
|
|
|
|
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.
|
|
|
|
o Fix m->m_data alignment in wi_rxeof()
o Add a comment
|
|
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.
|