Age | Commit message (Collapse) | Author |
|
i seem to be crashing the rx unit though which is responsible for
generating the interrupts. i havent got any yet.
|
|
lines in here later that call the tx and rx completions.
|
|
|
|
one for lro. the manual says that they all have to have descriptors in them
for correct operation. i dont care about jumbos and lro at this point so im
going to point the descriptors in those rings at a dummy 64k buffer. this
diff adds the allocation of that buffer.
|
|
so use htole32 to get a value for them, not htole64.
|
|
one. Luckily it seems that only show is affected. OK henning@
|
|
of open filedescriptors (like RLimitNPROC for the number of processes).
ok ckuethe, "no objection" henning
|
|
later) removes the need for forced device disconnection. And now they do
not bounce back a few times, but go to 500mA on the 2nd connection.
|
|
735 and 755.
|
|
Only partly tested; works fine if there are no devices on the SCSI bus.
|
|
removes the need for the hardcoded address for the internal Visualize EG on the
B180L, and makes it work on the C180. Tested on a handful of other models too.
ok miod@
|
|
information element in a management frame.
the authenticator has to make a copy of the RSN/WPA1 IE from
(Re)Association requests so that it can be compared with the
one included in message 2/4 of the 4-way handshake.
|
|
of a management or data frame (check if the i_qos, i_ht or i_addr4
are present).
|
|
message 4 based on the EAPOL-Key frame secure bit.
the only thing that differentiate these messages is the presence of
the RSN/WPA1 IE in the EAPOL-Key frame data field.
only message 2/4 contains this IE.
|
|
|
|
|
|
mbufs we've put on the hardware with the nxe_pkt struct. this struct
contains a unique id for each pkt which is used the hardwares tx descriptor
so we could identify which pkts its finished transmitting. turns out the
hardware doesnt return ids though, it tells us which slots in the tx ring
its up to. so now i stash the slot a pkt went into in the pkt_id field.
|
|
allocate for it, rather than the default of 1600.
|
|
|
|
with our server mode. Unfortunatly we dont really support rcs diffs
for update just yet.
|
|
|
|
tends to be junk, except in the pci regs for some reason. read the
crb window register back after setting it to force the junk to go
away. this fixes some really weird issues i had.
|
|
|
|
which are useful to see whats happening on the wire.
|
|
messages, add 'dir=' part to 'loose state' message, ok henning@, markus@
|
|
not a basic listing repository issue.
|
|
|
|
Initial diff from Charles Longeau.
OK otto and moritz.
|
|
|
|
ok dtucker@ deraadt@
|
|
|
|
|
|
|
|
based on work in barry/bcharge; tested on a few units. still not tested
on pearl-style units... if someone has one, contact me please
|
|
|
|
|
|
|
|
|
|
Comments and ok kettenis, art & miod
|
|
priority.
ok gwk, mbalmer, weingart
"explicit non-ok from" henning
|
|
transmitting a frame to a given node.
change ieee80211_encrypt() so that it now takes the key as parameter.
this change is required because drivers doing hardware crypto need to
know what key is being used.
|
|
Tx/Rx MIC for TKIP.
- add two functions to map a PTK and a GTK to an IEEE 802.11 key and
use them in ieee80211_input.c instead of duplicating the same code.
properly set Tx/Rx MIC in the IEEE 802.11 key in the case of TKIP.
- add ic_psk to struct ieee80211com to store the pre-shared key.
- fix setting of the SECURE bit in outgoing EAPOL-Key frames.
- when receiving msg 2 of the 4-way handshake, deauthenticate the
station if the RSN IE does not match that of the (Re)Association
request.
- before parsing an RSN or WPA IE, check that there's enough room for
the version field (2 bytes) which is mandatory.
- various tweaks while i'm here.
|
|
buffer into it using m_copym2() instead of just dropping the received
frame. otherwise, it may happen that all rx buffers are queued by
tcp_input() waiting for a frame that will never arrive because we are
dropping it. when it happens, rx stop working and it is hard to
recover from this.
the problem is not visible when using WEP because WEP decryption is
currently done by software and that rx buffers are copied into mbufs
by the software decryption code.
while i'm here, increase the number of rx buffers allocated by wpi(4)
from 80 to 96 to limit the number of copies.
problem and solution found by bluhm@ - thanks.
|
|
|
|
a kernel and setting SDMMC_DEBUG option.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
from Nicholas Marriott
ok deraadt@
|