From owner-cvs-src-old@FreeBSD.ORG Tue Nov 25 02:19:15 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97E76106564A for ; Tue, 25 Nov 2008 02:19:15 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8481C8FC1A for ; Tue, 25 Nov 2008 02:19:15 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mAP2JFCO018106 for ; Tue, 25 Nov 2008 02:19:15 GMT (envelope-from weongyo@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mAP2JFwQ018105 for cvs-src-old@freebsd.org; Tue, 25 Nov 2008 02:19:15 GMT (envelope-from weongyo@repoman.freebsd.org) Message-Id: <200811250219.mAP2JFwQ018105@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to weongyo@repoman.freebsd.org using -f From: Weongyo Jeong Date: Tue, 25 Nov 2008 02:19:02 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb if_zyd.c if_zydreg.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 02:19:15 -0000 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