summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uath.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingmatthew2011-07-031-4/+1
| | | | | | | | that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
* Do not use NULL in integer comparisons. No functional change.miod2011-04-071-2/+2
| | | | ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
* garbage collect "usb events". without /dev/usb there is no way to accessjakemsr2011-01-251-7/+1
| | | | | | them from userland, and nothing in the kernel uses them. ok krw@, miod@
* Remove dead links.damien2011-01-061-3/+1
| | | | Atheros have reworked their website.
* * replace per-driver dying and/or other state variables with use ofjakemsr2010-12-061-1/+5
| | | | | | | usbd_deactivete() and usbd_is_dying() * use usbd_deactivate() in activate()/DEACTIVATE * convert a few more direct checks of the associated bus' dying flag with usbd_is_dying()
* don't free network related resources if they were not allocatedjakemsr2010-10-271-3/+5
|
* check that a timeout(9) has been initialized before deleting itjakemsr2010-10-231-3/+5
| | | | ok phessler
* create another kthread to run xfer abort tasks. xfer abort tasks cannotjakemsr2010-10-231-2/+2
| | | | | | | | | | | be run from the generic task kthread, because xfers that need to be aborted block newly queued tasks from running (i.e. the xfer to be aborted blocks the abort of that task). as there are now three types of usb tasks, add an argument to usb_init_task() and another member to struct usb_task to specify the task type. fixes boot hangs that are showing up because we now use usb tasks to attach/detach usb devices.
* remove the unused if_init callback in struct ifnetjsg2010-08-271-2/+1
| | | | ok deraadt@ henning@ claudio@
* Interface drivers should use DV_IFNET, not DV_DULL.matthew2010-06-291-2/+2
| | | | ok deraadt@
* remove proc.h include from uvm_map.h. This has far reaching effects, astedu2010-04-201-2/+1
| | | | | | sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
* Get rid of devact enum, substitute it with an int and coresponding defines.pirofti2009-10-131-4/+4
| | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
* timeout_add -> timeout_add_msecblambert2009-08-031-2/+2
| | | | ok jsg@
* remove duplicated usb iddamien2008-12-151-2/+1
|
* 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
|