summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uath.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.jsg2007-05-271-16/+17
| | | | ok deraadt@ krw@ mbalmer@
* Remove logprintf macrojsg2007-05-211-3/+3
|
* do not do a curproc test for interrupt context, because it is plainly wrong.deraadt2007-02-191-7/+3
| | | | | this lets these work on macppc, for instance diagnosed by kettenis, but damien is not around, so ok jsg and others
* Don't use M_DUP_PKTHDR() in the driver bpf hook. Using M_DUP_PKTHDR() on aclaudio2007-01-021-5/+7
| | | | | static mbuf results in a mbuf tag memory leak. Same change as in rum(4). OK mglocker@
* trim 802.11 FCS from received frames.damien2006-12-161-3/+3
| | | | noticed by jsg@
* don't include <net80211/ieee80211_amrr.h>damien2006-12-031-2/+1
| | | | rate control is handled by firmware.
* The device doesn't always detach gracefully from the bus after a firmwaredamien2006-12-031-11/+28
| | | | | | | | | | | | | 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.
* do not have each net80211 driver define its own rates structures. if they usederaadt2006-11-261-12/+3
| | | | | the standard rates, use some defined by net80211 itself. kernel shrinks a bit ok jsg mglocker
* make sure to call SLIST_INIT on sc->rx_freelist.damien2006-10-031-5/+11
| | | | sanity check length field in RX descriptors.
* implement a zero-copy RX data path.damien2006-09-201-52/+57
| | | | | | | | 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.
* fix my 1.7 commit.damien2006-09-181-2/+5
| | | | in uath_reset(), return on error if tsleep() fails.
* better uath_set_rates().damien2006-09-181-8/+5
|
* cleanup the list of supported devices.damien2006-09-181-47/+29
|
* don't use IF_PREPEND() on altq's.damien2006-09-181-3/+3
| | | | use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
* More uath devices, also properly mark some of the UB52/AR5005UX devicesjsg2006-09-181-5/+16
| | | | with the dual band flag.
* add new uath(4) ids and fix existing ones.damien2006-09-161-38/+35
| | | | ok deraadt@
* more uath(4) usb ids.damien2006-09-161-1/+15
| | | | from jsg@
* indentdamien2006-09-161-2/+2
|
* Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UXdamien2006-09-161-0/+2116
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.