From owner-freebsd-current@FreeBSD.ORG Wed Nov 12 07:51:01 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D24C1065672 for ; Wed, 12 Nov 2008 07:51:01 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id E5A1E8FC0A for ; Wed, 12 Nov 2008 07:51:00 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so152816wag.27 for ; Tue, 11 Nov 2008 23:51:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:organization:x-operation-sytem:from; bh=RxetyJRGEWQ26MvLehig2yayqT6pzMkffpoQ0svmjjs=; b=GmDzdBgsY6lpm1pnuSxPUS9yNht68E0mPcyDddZPN4tPs2QF/CA8Lwj9W3OwAs5s5j /ABORmOKmjC4OJtXLKnVpmKhpoT9DQlPCAUqrDT7g4hX+NqxEURdI5syPQ759ffUgzCn cqIO72bjnbvV8kjCHnD4h5bu2q2U3uaUKek/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:organization :x-operation-sytem:from; b=EKeNc3DbKJAGW/UZHNjQW37xroeNEZwKUvTtGNjCf/cS+DEmiuX7tMIxAsOm2q8Pon cAsdH45bZXcnJrD7d1H83HxMUK0jfVT8HuDUuIFmC+irShwNmdgFoHaFnqVrEQao2O56 88tQCxU7sSopEob/v4nGhbuWdFxov9U8dPRSI= Received: by 10.114.72.1 with SMTP id u1mr6000026waa.203.1226476260413; Tue, 11 Nov 2008 23:51:00 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id y25sm5135362pod.23.2008.11.11.23.50.58 (version=SSLv3 cipher=RC4-MD5); Tue, 11 Nov 2008 23:50:59 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Wed, 12 Nov 2008 16:51:20 +0900 Date: Wed, 12 Nov 2008 16:51:20 +0900 To: freebsd-current@freebsd.org Message-ID: <20081112075120.GA36226@freebsd.weongyo.org> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Subject: CFT: zyd(4)'s major patch. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 07:51:01 -0000 Hello, I'm looking for testers of zyd(4) before committing this patch to HEAD. This version has various patches about zyd(4) as follows: - improve AL2230 RF handling - 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() - increate 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) The files can be found at the following URL: http://people.freebsd.org/~weongyo/zyd_20081112.tar.gz Please let me know if you've encountered to problems or have opinions. Any patches to improve or enhance are welcome! regards, Weongyo Jeong