summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-27rework ieee80211_recv_4way_msg2() function.Damien Bergamini
add some RSNA authenticator state machine bits.
2007-08-27typo in error msg; from Igor Zinovik.Xavier Santolaria
2007-08-27Process all FW command responses, and therefore make them visible in debugMarcus Glocker
mode. Make a note that processing of command-done interrupts doesn't work yet. OK claudio@
2007-08-27Checking the MIC early in ieee80211_recv_eapol() does not work forDamien Bergamini
message 2/4 of the 4-way handshake because the authenticator must derive the PTK first (the MIC is computed using the KCK). Move calls to ieee80211_eapol_key_check_mic() - and as a consequence ieee80211_eapol_key_decrypt() - directly in the ieee80211_recv_{group,4way}_msg*() functions. Unconstify the first parameter since checking the MIC modifies the frame. Remove ni->ni_ptk_ok field while i'm here.
2007-08-27start implementing the rx code. this puts pkts and descriptors onto theDavid Gwynne
rx ring.
2007-08-26add a description for -ztzIgor Sobrado
ok xsa@
2007-08-26Use ptoa((psize_t)...) and %lu to print memory size.Mark Kettenis
2007-08-26Fix XXX comment. There is nothing wrong with the following statement.Marcus Glocker
2007-08-26- remove commented out 'extern errno' declarationJacob Meuser
- remove pointless AUDIO_FLUSH.
2007-08-26add a function to trigger recording and use it for full-duplex modeJacob Meuser
2007-08-26Fix some error messages and comments, from Brad.Ray Lai
OK otto.
2007-08-25Remove FW command for WEP, it doesn't work with this FW versionMarcus Glocker
(not supported). We always did software WEP. Spotted by Mikore dot Li at sun dot com. OK claudio@
2007-08-25Real mutexes for sparc64. Some comments from henric@ and claudio@.Mark Kettenis
Tested by fkr@, claudio@, nick@.
2007-08-25Use ptoa((psize_t)...) and %lu to print memory sizes.Mark Kettenis
2007-08-25Fix typo in debug line.Marcus Glocker
2007-08-25Fix debug output for some FW commands.Marcus Glocker
2007-08-25missing free, Igor Zinovik <zinovik@cs.karelia.ru>Henning Brauer
2007-08-25Print a bit more information in the safari interrupt handler. Get rid ofMark Kettenis
function names starting with an underscore while I'm there.
2007-08-25Fix printing of more than 2G of memory.Mark Kettenis
ok miod@
2007-08-25Real mutexes for sparc64. Some comments from henric@ and claudio@.Mark Kettenis
Tested by fkr@, claudio@, nick@.
2007-08-24fix a bug leading to infinite recursion; adapted from CPANSimon Bertrang
ok millert@
2007-08-24Add missing bits for siop@gsc.Mark Kettenis
2007-08-24enable interrupts when the interface comes up.David Gwynne
i seem to be crashing the rx unit though which is responsible for generating the interrupts. i havent got any yet.
2007-08-24this is what the interrupt handler will look like. there'll be some addedDavid Gwynne
lines in here later that call the tx and rx completions.
2007-08-24Mention 53c720 and 53c770 chips.Mark Kettenis
2007-08-24the chip has three rx rings, one for normal packets, one for jumbos, andDavid Gwynne
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.
2007-08-24the ring sizes are reprresented by 32 bit fields in the context descirptor,David Gwynne
so use htole32 to get a value for them, not htole64.
2007-08-24Yet another application that does not check if the RTM_VERSION is the expectedClaudio Jeker
one. Luckily it seems that only show is affected. OK henning@
2007-08-24Add a new configuration directive 'RLimitNOFILE' to set the number ofMarc Balmer
of open filedescriptors (like RLimitNPROC for the number of processes). ok ckuethe, "no objection" henning
2007-08-24On the older devices, apparently early configuration (and doing it againTheo de Raadt
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.
2007-08-23Add commented-out entry for siop@gsc, the onboard Fast-Wide SCSI on theMark Kettenis
735 and 755.
2007-08-23First stab at a driver for the onboard Fast-Wide SCSI on the 735 and 755.Mark Kettenis
Only partly tested; works fine if there are no devices on the SCSI bus.
2007-08-23Look for STI firmware at the additional address given by the firmware. ThisMark Kettenis
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@
2007-08-23add a new ieee80211_save_ie() function to make a copy of anDamien Bergamini
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.
2007-08-23add ieee80211_get_hdrlen() to compute the size of the 802.11 headerDamien Bergamini
of a management or data frame (check if the i_qos, i_ht or i_addr4 are present).
2007-08-23the authenticator can't differentiate 4-way handshake message 2 fromDamien Bergamini
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.
2007-08-23add pseudo-header definition for TKIP MIC computation.Damien Bergamini
2007-08-23fix ieee80211_map_ptk() for TKIP.Damien Bergamini
2007-08-23implement the completion half of the tx path. the driver keeps track ofDavid Gwynne
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.
2007-08-23configure the NIU to rx packets that will fit into the mbufs we willDavid Gwynne
allocate for it, rather than the default of 1600.
2007-08-23support ArgumentX - unbreaks more gnu cvs client things.Joris Vink
2007-08-23missing 'u' option for update caused gnu cvs client to not functionJoris Vink
with our server mode. Unfortunatly we dont really support rcs diffs for update just yet.
2007-08-23wrap writes to the doorbell register.David Gwynne
2007-08-23the first read or write in the crb space after you switch the windowsDavid Gwynne
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.
2007-08-23program the niu with the mac address in the right order.David Gwynne
2007-08-23tweak the register macros a bit. add macros for the NIUs port registersDavid Gwynne
which are useful to see whats happening on the wire.
2007-08-23allow RSTs with th_seq == seqlo +- 1, reduces the amount of 'loose state'Daniel Hartmeier
messages, add 'dir=' part to 'loose state' message, ok henning@, markus@
2007-08-23write out the object url in the error message if that's an object error andMarc Espie
not a basic listing repository issue.
2007-08-23fix v* order in keep_most_recent.Marc Espie
2007-08-23Check fgets for failure and do a proper newline strip.Ray Lai
Initial diff from Charles Longeau. OK otto and moritz.