summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_upgt.c
AgeCommit message (Collapse)Author
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
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
2011-01-25garbage collect "usb events". without /dev/usb there is no way to accessJacob Meuser
them from userland, and nothing in the kernel uses them. ok krw@, miod@
2010-12-06* replace per-driver dying and/or other state variables with use ofJacob Meuser
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()
2010-10-27don't free network related resources if they were not allocatedJacob Meuser
2010-10-23check that a timeout(9) has been initialized before deleting itJacob Meuser
ok phessler
2010-10-23create another kthread to run xfer abort tasks. xfer abort tasks cannotJacob Meuser
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.
2010-08-27remove the unused if_init callback in struct ifnetJonathan Gray
ok deraadt@ henning@ claudio@
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
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
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
2009-08-10USB network devices do not DMA in a way that requires a shutdown functionTheo de Raadt
2009-08-03timeout_add -> timeout_add_msecBret Lambert
ok jsg@
2009-08-02Never return nonzero in a device activate method invoked with DVACT_ACTIVATE,Miod Vallat
for this prevents it to be invoked with DVACT_DEACTIVATE later. This had been sweeped some time ago already, but bad constructs crept in again.
2009-04-09Remove obsolete braces around case switch.Marcus Glocker
2009-03-27Add a bunch of GW3887/v2 based upgt devices found in linux driver.Jonathan Gray
ok mglocker@
2009-02-14remove dead assignments and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok fgsch@ krw@
2008-11-27The Netgear WG1111v2 wifi dongle contains a RTL8187 chip,Kevin Lo
not a GW3887 chip. ok mglocker@
2008-11-25upgt(4) doesn't use amrr, remove useless header net80211/ieee80211_amrr.hKevin Lo
ok mglocker@
2008-10-14Change m_devget()'s outdated and unused "offset" argument: It isChristian Weisgerber
now the offset into the first mbuf of the target chain before copying the source data over. From FreeBSD. Convert drivers' use of m_devget(). Mostly from thib@. Update mbuf(9) man page. ok claudio@, thib@
2008-08-27pass FCS to radiotap.Damien Bergamini
2008-08-08if we fail to extract the mbuf in the Rx routine, incrementThordur I. Bjornsson
the if_ierrors before bailing out; Turn a printf() that fires in this case too a DPRINTF since we the interface error counters now reflect this. OK mglocker@
2008-07-21instead of passing rx tstamp and rssi to the ieee80211_input function,Damien Bergamini
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.
2008-04-16Kernel implementation of the 4-way handshake and group-keyDamien Bergamini
handshake protocols (both supplicant and authenticator state machines) as defined in the IEEE 802.11i standard. Software implementation of the TKIP (Temporal Key Integrity Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols. This diff doesn't implement any of the 802.1X authentication protocols and thus only PSK authentication (using pre-shared keys) is currently supported. In concrete terms, this adds support for WPA-PSK and WPA2-PSK protocols, both in station and hostap modes. The following drivers are marked as WPA-capable and should work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4), rum(4), upgt(4), and zyd(4) The following options have been added to ifconfig(8): wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher wpa-psk(8) can be used to generate keys from passphrases. tested by many@ ok deraadt@
2008-02-16Remove if_ipackets++ since ieee80211_input() already does that.Marcus Glocker
2008-02-02- Add a v1 device which I found here.Marcus Glocker
- Differ between v1 and v2 devices for later v1 support. - Tell the end-user that v1 is not supported yet.
2008-01-27Add TODO's to comment.Marcus Glocker
2008-01-25Since TX rate control is done by the firmware, we report the maximumMarcus Glocker
rate which is available.
2008-01-24Fix some comments.Marcus Glocker
2008-01-24We don't report the antenna in the bpf tap. Remove it.Marcus Glocker
2008-01-24Report RX rates in radio tap.Marcus Glocker
2008-01-22- Fix some ifconfig up / down tweaks.Marcus Glocker
- Make monitor mode work again. - Enable fast channel switching.
2008-01-21Add shutdown hook which resets the device when called. This solvesMarcus Glocker
re-attach issues when rebooting with upgt attached.
2008-01-20Remove obsolete rateset variables.Marcus Glocker
2008-01-20Cleanup rates:Marcus Glocker
- The device (firmware) does automatic rate control for 11b/g. - Allow user to set fixed rates. - Send management frames always at DS1.
2008-01-20Read EEPROM content the other way around (from start to end).Marcus Glocker
2008-01-20Adjust level 1 debug messages.Marcus Glocker
2008-01-20Add one more device which could work. Fix comment typo in usbdevs whileMarcus Glocker
there.
2008-01-19Make the device work again on big endian archs (after firmware upgrade).Marcus Glocker
Tested on macppc.
2008-01-18Add LED support.Marcus Glocker
2008-01-17Fix RX queue stalling by regulary reading the device statistics (with aMarcus Glocker
firmware command). Doh! We can now reliable communicate in 11g. Took me about 3 weeks to find out (just had to say that).
2008-01-17Replace firmware version 2.5.8.0 with 2.13.1.0. Firmware API slightlyMarcus Glocker
changes. You need to update the firmware package to upgt-firmware-1.1.tgz.
2008-01-04Fix wrong sizeof(). Makes driver work on amd64, too.Marcus Glocker
2008-01-04Fix TX padding.Marcus Glocker
2008-01-03Fix page fault trap which occured when device was detached after a failedMarcus Glocker
attach attempt.
2008-01-02Make network scanning work correctly.Marcus Glocker
2008-01-01Add devices 11b rateset. Add/Adjust comments.Marcus Glocker
2008-01-01No watchdog operations if device is not running.Marcus Glocker
2008-01-01More constant naming for some defines.Marcus Glocker
2008-01-01Tune TX descriptor so we can successfully set some TX rates. CouldMarcus Glocker
do transfers between 1.3MB/s - 2MB/s. Though still unreliable because we have random TX watchdog timeouts.
2007-12-22Reset the MAC filter if we stop the device, so no frames are acceptedMarcus Glocker
anymore.
2007-12-20More minor TX fixing (still sucks). Add more debug info and leave debugMarcus Glocker
mode on for now.