| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Errors will result in nice clean panic messages so we know what's wrong.
Reviewed by dhill visa natano jsg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Read commands were issued via asynchronous transfers and replies were
expected after a fixed tsleep() timeout. Upon timeout zyd simply freed
the xfer even if it was still in-flight within the USB stack. This could
cause havoc such as making all USB ports on the system unusable until reboot.
ehci_freex: xfer=0xfffffe811e63e9d8 not busy, 0x4f4e5155
("busy" here would indicate the xfer is done and marked for being freed)
To fix this, issue read commands with synchronous transfers so the xfer
can always complete. Split read/write code paths into separate methods.
Add a flag that tells us if a reply was received in interrupt context
while the read path waited in tsleep().
With and ok mpi@
|
|
|
|
|
| |
resurrection of the bad idiom in the tree.
sufficient review by miod, kettenis, tedu
|
|
|
|
|
|
|
|
|
| |
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
|
| |
|
|
|
|
| |
'sync to p4' style commit in FreeBSD.
|
|
|
|
|
|
|
|
| |
IEEE80211_ACK_LEN instead of IEEE80211_MIN_LEN for ZYD_MIN_RXBUFSZ
and ZYD_MIN_FRAGSZ.
silence some warnings while i'm there.
change ZYD_FILTER_BSS to use the same value as the vendor's driver
that contains some magic (undocumented) bits.
|
|
|
|
| |
hints from zd1211rw.
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
Tested by thib and myself.
ok mbalmer jsg
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Seems to work fine with Linksys and 3Com adapters.
|
|
|
|
|
| |
sequences for radios not yet done.
"commit what you have" damien@
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
This lets me see beacons on my device.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
and move declarations of the big ones to get them off the
limited amount of stack we get to play with in kernel land.
Discussed with Florian, ok reyk@ xsa@
|
|
|
|
| |
From Graham Gower.
|
| |
|
| |
|
| |
|
|
ich@florian-stoehr.de. Apparently it can receive now. Contact him
if you want to help, or need the firmware image.
|