Date: Tue, 25 Nov 2008 02:19:02 +0000 (UTC) From: Weongyo Jeong <weongyo@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/usb if_zyd.c if_zydreg.h Message-ID: <200811250219.mAP2JFwQ018105@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
weongyo 2008-11-25 02:19:02 UTC FreeBSD src repository Modified files: sys/dev/usb if_zyd.c if_zydreg.h Log: SVN rev 185278 on 2008-11-25 02:19:02Z by weongyo - improve AL2230 RF handling when the device type is zd1211. After this patch the RX/TX performance becomes about 17~18 Mbps comparing with the previous whose values were RX 7~8Mbps and TX 13~14Mbps. - improve AL2230 RF handling in zd1211b - support AL2230S RF that PV2000 is renamed to AL2230S - use register ZYD_CR244, ZYD_CR243, ZYD_CR242 when the driver writes values on RF. This routine is more faster than the original one - use private TX lock to avoid LOR at zyd_raw_xmit() - increase TX slots from 1 to 5 - needs to set the channel at IEEE80211_S_AUTH not IEEE80211_S_RUN - detailed error handling. In previous the next command was sent to the device even if there was errors - setting ZYD_MAC_RX_THRESHOLD value should be different between 1211 and 1211b - only try to stop the device at zyd_init_locked() if the device is UPed - do not use MTX_RECURSE - do not try to grap Giant lock when the channel is changing - move the device initialization routines from zyd_attach to zyd_init to give a device full-reset chance to the driver. - code cleanup at zyd_raw_xmit() - simplify zyd_attach() routines - resort functions and clean up variables - DPRINTF style change. - style(9) Reviewed by: sam Revision Changes Path 1.24 +1031 -716 src/sys/dev/usb/if_zyd.c 1.6 +495 -429 src/sys/dev/usb/if_zydreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811250219.mAP2JFwQ018105>