summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_zyd.c
AgeCommit message (Collapse)Author
2008-05-27Add ZyXEL G-202, which was already in usbdevs.Jonathan Gray
From/tested by pedro@am-gen.org
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@
2007-12-07more zydas versions, collected from various placesTheo de Raadt
2007-11-27properly update hardware multicast filter.Damien Bergamini
hints from zd1211rw.
2007-11-18add the Planex GW-US54GXS adapter.Brad Smith
From the Linux ZyDAS driver. ok dlg@
2007-11-03two fixes from FreeBSD:Damien Bergamini
- fix an incorrect setting of `retry times' in case of zd1211b - increase max rx size so there's room for multi-frame transactions (slightly modified version) from the Linux zd1211rw driver: - patch registers CR47 and CR157 on devices that require it - fix power calibration setting on ZD1211B
2007-10-14attach Planex GWUS54GD, from freebsdFelix Kronlage
ok damien@
2007-10-11treat usb vendor/product names as a locator, and have usbd_print handle it,Theo de Raadt
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
2007-09-07use new malloc M_ZERO flag to shrink kernel.Damien Bergamini
remove <malloc.h> from files where malloc is not used.
2007-08-28unify firmware load failure messages; ok mglockerTheo de Raadt
2007-06-14Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andMarc Balmer
USB_DECLARE_DRIVER macros. No binary change. ok dlg.
2007-06-12Remove the definition and use of the device_ptr_t which was a struct device *.Marc Balmer
No binary change. ok mk.
2007-06-10Remove the definition and use of the USBDEVNAME macro.Marc Balmer
(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.
2007-06-10Remove the definition and use of the USBDEV macro. It only created confusionMarc Balmer
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
2007-06-09Remove the definition and use of if_deactivate(). It was defined empty andMarc Balmer
thus produced no code at all. No binary change. ok jsg.
2007-05-27Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.Jonathan Gray
ok deraadt@ krw@ mbalmer@
2007-02-11Don't enable debug spam by default.Jonathan Gray
2007-02-09Add a bunch more zyd(4) devicesJonathan Gray
2007-01-14Match some additional devices found in Linux driver.Jonathan Gray
2007-01-02Don't use M_DUP_PKTHDR() in the driver bpf hook. Using M_DUP_PKTHDR() on aClaudio Jeker
static mbuf results in a mbuf tag memory leak. Same change as in rum(4). OK mglocker@
2006-12-16o add missing calibration bits for ZD1211B in zyd_set_chan()Damien Bergamini
o add workaround for TX rate==0 bug here too.
2006-12-09Add USR5423. -mojMats O Jansson
2006-12-02Add a "break" which makes AL7230B initialize now. Still doesn't workMarcus Glocker
afterwards, but ... Spotted by claudio@, ok deraadt@ jsg@
2006-11-30cosmeticDamien Bergamini
2006-11-30fix PHY initialization for ZD1211B.Damien Bergamini
we were iterating from 0 to N(zyd_def_phy), but N(zyd_def_phy) is not equal to N(zyd_def_phyB). we were probably writting garbage to the PHY.
2006-11-30fix setting of MAC register ZYD_MAC_RETRY for ZD1211B.Damien Bergamini
maximum retry count must be set for each EDCA access category.
2006-11-30more ZD1211B devicesJonathan Gray
2006-11-29Remaining bits required for ZD1211B support.Jonathan Gray
Seems to work fine with Linksys and 3Com adapters.
2006-11-29match Linksys WUSBF54GJonathan Gray
2006-11-27Initial untested bits for ZD1211B support, different initJonathan Gray
sequences for radios not yet done. "commit what you have" damien@
2006-11-26do not have each net80211 driver define its own rates structures. if they useTheo de Raadt
the standard rates, use some defined by net80211 itself. kernel shrinks a bit ok jsg mglocker
2006-11-16add support for 4 new radios: AL2210, CGT, Maxim New, Maxim New2Damien Bergamini
untested because of lack of hardware. if you have a ZD1211 adapter with one of these radios, please drop us a mail. code written by Florian Stoehr <ich AT florian-stoehr DOT de>
2006-11-13first round of commits for proper 11b/g protection support:Damien Bergamini
- use the newly introduced ieee80211_get_rts() and ieee80211_get_cts_to_self() functions. - use CTS-to-self instead of RTS/CTS to protect OFDM frames in a mixed 11b/g BSS. - make sure multicast frames are sent using CCK modulation. remove support for 5GHz radios in ral(4) RT2560 and ural(4). i'm not aware of any such adapters on the market and 11a code is known to be broken. some cleanup while i'm here.
2006-11-03add new code to handle the AL7230B radios.Damien Bergamini
code written by Florian Stoehr. not tested due to lack of hardware. if you happen to have an adapter with this radio please report success/ failure.
2006-11-01abort bulk-in and bulk-out pipes in zyd_stop() before freeing theDamien Bergamini
Rx/Tx xfer lists.
2006-10-23simplify zyd_read_eeprom().Damien Bergamini
2006-10-23turn link led off when returning to the S_INIT state.Damien Bergamini
implement fast channel switching for monitor mode.
2006-10-22make data LED blink upon TX.Damien Bergamini
2006-10-22do per-node rate control.Damien Bergamini
2006-10-21some extra const disease damien was testing slipped in; ok damienTheo de Raadt
2006-10-21huge diff to bring zyd(4) into a working state.Damien Bergamini
should work with ZD1211 (not ZD1211B!) adapters with either a RFMD or AL2230 radio chip. does not support IBSS or HostAP modes yet. committed over a Billion 3011G (ZD1211/AL2230). "commit it!" deraadt@
2006-09-23Add TRENDnet TEW-429UB A.Marcus Glocker
2006-09-18don't use IF_PREPEND() on altq's.Damien Bergamini
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
2006-08-24Be sure to print device name in debug messages, removeJonathan Gray
a few surplus dmesg messages while here.
2006-08-15- Belkin F5D705C is a zyd(4)Niall O'Higgins
2006-07-04cleanup in zyd_openpipes(); no functional change. OK jsg@.Xavier Santolaria
2006-07-04Harcoded hex values for control field don't work soJonathan Gray
ditch them and at least attempt to use the function that sets up the control field properly.
2006-07-03minor knf; ok jsg@.Xavier Santolaria
2006-07-03in zyd_start():Xavier Santolaria
net80211 may still try to send management frames even if the IFF_RUNNING flag is not set...; ok jsg@.
2006-07-02If ieee80211_encap() returns NULL the node is already free,Jonathan Gray
do not try to free it again. Modified version of a diff from Graham Gower.