summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
AgeCommit message (Collapse)Author
2007-10-09Ops, forgot debug printf.Marcus Glocker
2007-10-09Setup channels with OFDM flags. Permit user to set fix rates.Marcus Glocker
2007-10-09Load the firmware files just one time per device lifecycle (attach time)Marcus Glocker
instead on every `ifconfig up'.
2007-10-08Give the device a bit time to finish the reset when stopped. AvoidsMarcus Glocker
helper firmware load timeouts when device is brought up very fast again, like seen with trunk(4).
2007-10-08Make pcmcia malo(4) work with trunk(4) by:Marcus Glocker
Setting interface ethernet address from link level address. Adding firmware command to set ethernet address.
2007-09-11KNFGilles Chehade
prompted and "much better" by marco@, ok pyr@
2007-09-09more M_ZERO conversions; ok krw@.Federico G. Schwindt
2007-09-07sprinkle some M_ZERO love.Federico G. Schwindt
2007-08-28unify firmware load failure messages; ok mglockerTheo de Raadt
2007-08-14Indention and comment.Marcus Glocker
2007-08-14Replace bus_space_write/read_2 loops in cmd req/rsp routines withMarcus Glocker
bus_space_write/read_raw_multi_2.
2007-08-11Set command context save flag already in attach routine. Avoids doubleMarcus Glocker
processing of command responses.
2007-08-11Remove IBSS capability flag for now.Marcus Glocker
2007-08-10Fix some letho16() tweaks which made my macppc crash on anMarcus Glocker
assoiciation.
2007-08-10Add missing multicast part to ioctl.Marcus Glocker
2007-08-09If an association has failed, set the device back to INIT state.Marcus Glocker
2007-08-09Check all FW commands in the init path. None of them shall timeout,Marcus Glocker
otherwise we abort initialization.
2007-08-09o Add a mechanism to execute single commands even if are are not contextMarcus Glocker
save. Protects cmalo_cmd_set_assoc() for now. o In case of deauthentication or disassociation, try to reassociate.
2007-08-09Correctly acknowledge event interrupts. Got the wrong register valueMarcus Glocker
before.
2007-08-09Comment. Sort some register values.Marcus Glocker
2007-08-09Add event handler. Events notify us about things like when aMarcus Glocker
disassociation frame has arrived. Nice side effect; As we acknowledge the event reason after receiving a disassociation frame (which happens pretty often by wi(4) hostap) now, the FW issues an automatic reassociation, and we do not loose network connectivity anymore.
2007-08-07Improve a evil tsleep() loop by using wakeup() in the interrupt handler.Marcus Glocker
Still not sure if the tsleep() is safe here, but better than the previous version. spotted and OK claudio@
2007-08-06o Replace bus_space_write_2 for-loops in TX/RX withMarcus Glocker
bus_space_write_raw_multi_2. o Make TX/RX work on big endian archs (tested on macppc). in co-operation and OK claudio@
2007-08-06Fix FW command API for big endian archs.Marcus Glocker
2007-08-05Fix DPRINTF tweaks.Marcus Glocker
2007-08-05Low-Noise watchdog routine (debug level 2).Marcus Glocker
2007-08-05Parse association command response to check if an association wasMarcus Glocker
successfull or not.
2007-08-05Remove IFQ_SET_MAXLEN() for TX queue.Marcus Glocker
2007-08-05Add WEP support, which is done fully by the FW.Marcus Glocker
2007-08-05o Some better variable namings.Marcus Glocker
o Fix some comments. o Add a forgotten splx().
2007-08-05o Reflect active network settings to ifconfig.Marcus Glocker
o Enable selection of desired network by setting nwid.
2007-08-04o Improve interrupt handler; fixes TX watchdog timeouts on my zaurus.Marcus Glocker
o Add /* FALLTHROUGH */'s to state handler (spotted by claudio@). o Adapt debug levels. OK claudio@
2007-08-03switch cmalo_rx() to use m_getdev() instead of something hand rolled.Claudio Jeker
cmalo_rx() is called from the interrupt handler and therefor is running at IPL_NET so no need to do spl dances instead sprinkel some splassert() into the rx and tx path. OK mglocker@
2007-08-02Activate watchdog timer. We need to find out about the issue that theMarcus Glocker
device stops with TX interrupts so often.
2007-08-02ETHER_ALIGN the mbuf so that it works on strictalignment archs. This is aClaudio Jeker
quick hack because cmalo_rx() should use m_getdev() instead. OK mglocker@
2007-08-01Improve state switching and fix some debug output.Marcus Glocker
2007-07-31Add first version to enable auto association (best signal AP). ThereforeMarcus Glocker
remove experimental, hard-coded MAC address block. Also tested by claudio@
2007-07-31Add missing splx(s); calls. OK mglocker@Claudio Jeker
2007-07-31Plug a mbuf leak in the TX path and replace a handbuilt m_copydata()Claudio Jeker
implementation with m_copydata(). Remove the CMALO_DEBUG that slipped in somehow. OK mglocker@
2007-07-31Start to improve TX/RX path; don't accept further packets from TX queueMarcus Glocker
unless the last packet has been processed by the device. Protect RX routine with splnet(). This changes let me scp with ~575KB/s in 11b for now.
2007-07-31Simplify TX path.Marcus Glocker
2007-07-30After two weeks of fumbling arround in the association FW command, i foundMarcus Glocker
a trick to correct the wrong generated rates-element-id in the FW association mgmt packet. Makes it possible to associate to more AP's.
2007-07-08Process scan command results. Enable 'ifconfig -M'.Marcus Glocker
2007-07-07Make the scan command work, finally.Marcus Glocker
2007-06-30Add 802.11d (domain info) command.Marcus Glocker
2007-06-17Add background SCAN command.Marcus Glocker
2007-06-17Pass the device a better rate set.Marcus Glocker
2007-06-17Add first shoot of SCAN command.Marcus Glocker
2007-06-16Add three new firmware commands to set authentication, set rate adaption,Marcus Glocker
and tune several 802.11 parameters.
2007-06-11Handle mbuf chains in TX path. Improve debug output.Marcus Glocker