summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uath.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Second pass of simple timeout_add -> timeout_add_sec conversionsblambert2008-10-151-3/+3
| | | | | | | This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
* Add IDs for Philips SNU6500 to uath(4) ok damien@canacar2008-09-231-1/+2
|
* instead of passing rx tstamp and rssi to the ieee80211_input function,damien2008-07-211-2/+8
| | | | | | | pass a pointer to an ieee80211_rxinfo structure containing those two fields plus an extra flags field that indicates whether the frame was decrypted by hardware or not. required for a future fix.
* add following devicesyuo2008-06-081-1/+3
| | | | | - IODATA WN-G54/US (11bg) - MELCO WLI-U2-KAMG54 (11abg)
* Add missing monitor mode capabilities flag.brad2008-04-171-1/+2
| | | | ok damien@
* Add support for SMC SMCWUSBT-G2.jsg2008-01-211-1/+2
| | | | Tested by Kaspo Lo <kaxpolox@yahoo.com>
* treat usb vendor/product names as a locator, and have usbd_print handle it,deraadt2007-10-111-6/+1
| | | | | | so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
* undo rev 1.10 "implement a zero-copy RX data path".damien2007-09-111-52/+47
| | | | | working with a fixed number of Rx buffers doesn't work well. fixes problems with blocked incoming traffic.
* use new malloc M_ZERO flag to shrink kernel.damien2007-09-071-2/+1
| | | | remove <malloc.h> from files where malloc is not used.
* unify firmware load failure messages; ok mglockerderaadt2007-08-281-3/+3
|
* replace the ieee80211_wepkey structure with a more generic ieee80211_keydamien2007-07-181-11/+8
| | | | one that can be used with other ciphers than WEP.
* Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andmbalmer2007-06-141-2/+17
| | | | | | | | USB_DECLARE_DRIVER macros. No binary change. ok dlg.
* Remove the definition and use of the device_ptr_t which was a struct device *.mbalmer2007-06-121-3/+3
| | | | | | No binary change. ok mk.
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-61/+61
| | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
* Remove the definition and use of the USBDEV macro. It only created confusionmbalmer2007-06-101-3/+3
| | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
* Remove the definition and use of if_deactivate(). It was defined empty andmbalmer2007-06-091-2/+1
| | | | | | | | thus produced no code at all. No binary change. ok jsg.
* re-indent prototypes after "Static" removal.damien2007-06-091-24/+16
| | | | no binary change.
* Remove the "Static" declaration of many functions. It was defined to be emptymbalmer2007-06-051-97/+97
| | | | | | | and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg.
* 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.