summaryrefslogtreecommitdiff
path: root/sys/dev/ic/malo.c
AgeCommit message (Expand)Author
2006-12-31Add a debug printf to warn when malo_init() fails and resets the card.Claudio Jeker
2006-12-31There is no need to busy wait in malo_send_cmd(). 0x0c14 only stores theClaudio Jeker
2006-12-31Use a bus_space_barrier instead of those stupid 0x0c14 reads to make sureClaudio Jeker
2006-12-31In malo_init() check for firmware loading errors and in case of an errorClaudio Jeker
2006-12-31malo_stop() never fails so no need to return an error. OK mglocker@Claudio Jeker
2006-12-31Use #ifdef MALO_DEBUG else a simple #define MALO_DEBUG will not work.Claudio Jeker
2006-12-30Fix another printf where the format string did not match with the varargs.Claudio Jeker
2006-12-30Don't use M_DUP_PKTHDR() on static mbufs. M_DUP_PKTHDR() copies the mtagClaudio Jeker
2006-12-30Why doing something as complex as for () bus_space_write_1(); when thereClaudio Jeker
2006-12-29No colon after "address".Marcus Glocker
2006-12-12Make malo(4) work on macppc by adding a few letoh32(), removing some htole32()Claudio Jeker
2006-12-10Add missing argument to a DPRINTF call.Claudio Jeker
2006-12-03First bits of endian cleanup more still needed but commit early, commit often.Claudio Jeker
2006-12-03Print the number of unknown commands in malo_cmd_string(). Also don'tClaudio Jeker
2006-11-30fix wep key index in firmware command.Damien Bergamini
2006-11-30Yay, forgot to add IEEE80211_C_SHPREAMBLE and IEEE80211_C_SHSLOTMarcus Glocker
2006-11-29Enable short slots, which should increase / stableize throughputMarcus Glocker
2006-11-29Enable monitor mode.Marcus Glocker
2006-11-28Instead debug message for WEP key setting, just complain if WEP keyMarcus Glocker
2006-11-27Enable WEP.Marcus Glocker
2006-11-26Replace the firmware reset command by a register write which alsoMarcus Glocker
2006-11-26It's sizeof(struct ieee80211_frame) not sizeof(struct ieee80211_frame *).Marcus Glocker
2006-11-26do not have each net80211 driver define its own rates structures. if they useTheo de Raadt
2006-11-25Cleanup obsolete rate bits and pass right value to the TX rate descriptor.Marcus Glocker
2006-11-25If no TX rate has been calculated yet, set rate value to autoselectMarcus Glocker
2006-11-24Small KNF fix.Marcus Glocker
2006-11-24Enable setting of fixed rates.Marcus Glocker
2006-11-24Enable automatic rate adapation (done by firmware and hardware).Marcus Glocker
2006-11-23Remove 802.11a stuff. There is one RF chip (88W8030) which supports 5GHz,Marcus Glocker
2006-11-23The duration field is calculated by the firmware. Remove malo_txtime()Marcus Glocker
2006-11-22Remove rssadapt(9) bits; Firmware supports rate adaption. Also,Marcus Glocker
2006-11-21Free allocated mbufs at TX done. While there also reset some TX descriptorMarcus Glocker
2006-11-16Drop malo_reset() for now and do ENETRESET and media changes usingMarcus Glocker
2006-11-16Minor cleanup; reactivate malo_cmd_reset() which seems to work now, removeMarcus Glocker
2006-11-15Quiet down debug output by default. Improve cmd response/result handling.Marcus Glocker
2006-11-15Enable data packet transmission.Marcus Glocker
2006-11-15Fix the loop in malo_tx_intr(). This fixes a infinit loop that happend afterClaudio Jeker
2006-11-12In malo_send_cmd_dma() reduce the poll loop to 10 and increase the delayClaudio Jeker
2006-11-12Rewrite part of malo_tx_mgt() to do the mbuf dance in a nicer way. ThisClaudio Jeker
2006-11-12Simplify code and remove a delay() by actually waiting for the command toClaudio Jeker
2006-11-10Fix DMA firmware command interface (poll for command response), and get theMarcus Glocker
2006-11-09Fix a bug in the firmware command function and check if the main firmwareMarcus Glocker
2006-11-07Add TX done cleanup.Marcus Glocker
2006-11-06Also reset the TX ring if the card gets stopped.Marcus Glocker
2006-11-06Enable TX of management frames. Fix/add firmware commands, add more debugMarcus Glocker
2006-10-29Reorganize malo_intr() a bit. Check for unhandled interrupt flags andClaudio Jeker
2006-10-29In malo_ioctl() if the returned error is ENETRESET reset the device.Claudio Jeker
2006-10-29MALO_CMD_RESPONSE is acting just as a flag so move it to the end of the list.Claudio Jeker
2006-10-29Fix some nasty bugs in malo_reset() and malo_cmd_set_channel() and simplifyClaudio Jeker
2006-10-29Add first TX path and active scan bits. Don't expect to much yet.Marcus Glocker