summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uathvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* undo rev 1.10 "implement a zero-copy RX data path".damien2007-09-111-13/+6
| | | | | working with a fixed number of Rx buffers doesn't work well. fixes problems with blocked incoming traffic.
* Mechanical removal of USBBASEDEVICE. No binary change.mk2007-06-061-2/+2
| | | | | | Tested by thib and myself. ok mbalmer jsg
* The device doesn't always detach gracefully from the bus after a firmwaredamien2006-12-031-1/+4
| | | | | | | | | | | | | upload. We thus force a port reset and a re-exploration on the parent hub after firmware upload. In uath_newstate(), if we're called from a process context, we don't need to schedule a USB task. This fixes a problem in uath_stop(): when moving to the S_INIT state, the task was scheduled after the device was reset. Don't abort the RX firmware command pipe in uath_stop(), otherwise we will never receive commands ACKs from the firmware anymore. We now survive to an ifconfig down up.
* implement a zero-copy RX data path.damien2006-09-201-37/+44
| | | | | | | | instead of copying the xfer buffer's content into a mbuf cluster, attach the xfer buffer as a mbuf external storage and pass it to the net80211 layer as is. maintain a reference count on the softc structure and wait in detach() until all references have been released by the network layer.
* add new uath(4) ids and fix existing ones.damien2006-09-161-3/+1
| | | | ok deraadt@
* Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UXdamien2006-09-161-0/+155
chipsets. Based on a black-box analysis of the Windows binary driver. Requires a firmware that is not freely redistributable (see man uath). The driver handles both pre- and post-firmware devices. Still a bit experimental but Tx/Rx works great in BSS mode (on i386). No 802.11a, IBSS, or HostAP modes yet but there's more to come. Great thanks to jsg@ for digging the USB IDs out of the Windows driver. Committed over a D-Link DWL-G132.