| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The account flag `ASU' will no longer be set but that makes suser()
mpsafe since it no longer mess with a per-process field.
No objection from millert@, ok tedu@, bluhm@
|
| |
|
|
|
|
|
|
|
|
|
| |
This header is only needed because <netinet/if_ether.h> declares a
structure that needs it. But it turns out that <net/if.h> already
includes it as workaround.
A proper solution would be to stop declarting "struct ether_arp"
there. But no driver should need this header.
|
| |
|
|
|
|
| |
ok mpi@
|
|
|
|
| |
to include that than rdnvar.h. ok deraadt dlg
|
|
|
|
| |
ok mpi@ kspillner@
|
|
|
|
|
|
|
|
| |
CIRCLEQ_* is deprecated and not called in the tree. The other queue types
have *_END macros which were added for symmetry with CIRCLEQ_END. They are
defined as NULL. There's no reason to keep the other *_END macro calls.
ok millert@
|
| |
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
| |
don't have to. Just remove these include lines.
Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
|
|
|
|
|
|
| |
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
|
|
| |
ok krw@
|
| |
|
|
|
|
|
|
|
|
| |
In ip_esp.c all allocated memory is now zero'd in the
"malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
initialized by the bzero() call. Noticed by chl@.
"Looks good" art@ "seems ok" chl@
|
| |
|
|
|
|
| |
net80211 node wrappers.
|
|
|
|
|
|
|
|
|
| |
- support scanning and node listing ("ifconfig -M"). this will replace
wicontrol -L in station mode and wicontrol -l in hostap mode.
- allow to print the BSSID
tested by quite a few people
ok jsg@
|
|
|
|
| |
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
|
|
|
|
| |
ok marco@
|
|
|
|
|
|
| |
required for net80211 support.
Updated version of a diff from dlg@
similiar diff ok fgsch@, ok dlg@
|
|
|
|
|
| |
just ignore the vendor private one and continue. Fixes a problem
with hostap and some 802.11g cards. Adapted from a diff by drahn@
|
|
|
|
| |
millert@ mcbride@ jsg@
|
|
|
|
|
|
|
|
| |
If the station sends a bogus challenge when authorizing, send back
a response to that effect instead of just returning.
Simplify sequence number handling--there's no need to update the sequence
value by hand since we just need to increment it for the response packet.
|
|
|
|
|
|
|
|
| |
Accept probe packets that Lucent cards send when the associated AP
disapears; this speeds up reassocication with those cards. Don't
advertise HostAP as being available for firmware 1.4.2. I added a
note about this in the man pages a while ago but forgot to update
the driver itself. OK mickey@
|
|
|
|
| |
ok markus 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@
|
|
|
|
| |
of working on sparc64.
|
|
|
|
|
| |
stations such as the airport extreme to associate. Tested by
Ben Lovett.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a deauth/disassoc packet when the inactivity timer fires, just set
a flag, re-queue it and set the master wihap timer if needed. What
this does is to effectively bundle (and serialize) deauth/disassoc
packets so if a large number need to be sent at once we don't stomp
all over the card. We also only do at most 10 stations at a time.
The sta_list has been changed from a doubly linked list to a tailq.
Inactive stations are kept at the head of the queue, new ones are
added to the tail.
Idea and OK by mickey@, prompted by an issue found by
merith AT vantronix DOT net
|
|
|
|
| |
floppies; OK mickey@ deraadt@
|
|
|
|
|
| |
instead of sending a separate packet to each station.
Based on a patch from merith AT vantronix DOT net
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
request. We need to eat the MAC address of the packet before we
go looking at the SSID and such. Doing do is sufficient to make
Cisco cards associate with HostAP. From FreeBSD (jhay).
|
|
|
|
|
|
|
|
|
|
| |
tell the station to disassociate itself. This fixes a problem when
the HostAP reboots but stations still think they are associated.
With this change the station will re-associate properly.
Change wihap_sta_disassoc() to take an array of u_int8_t (ether
addr) instead of a struct wihap_sta_info * to make the above change
possible. This is also consistent with wihap_sta_deauth().
|
| |
|
|
|
|
|
| |
'struct arpcom foo' -> 'struct arpcom sc_arpcom'
ok itojun@
|
|
|
|
| |
Also do a little KNF while I'm in here.
|
|
|
|
|
|
| |
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 If capinfo doesn't match, save it anyway for debugging porpoises
o Add more info for capinfo failures in debug mode
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|