From owner-cvs-src-old@FreeBSD.ORG Fri Mar 27 03:17:37 2009 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 C22BF1065676 for ; Fri, 27 Mar 2009 03:17:37 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AEBD78FC20 for ; Fri, 27 Mar 2009 03:17:37 +0000 (UTC) (envelope-from jmallett@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 n2R3Hbvu080938 for ; Fri, 27 Mar 2009 03:17:37 GMT (envelope-from jmallett@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2R3HbsB080933 for cvs-src-old@freebsd.org; Fri, 27 Mar 2009 03:17:37 GMT (envelope-from jmallett@repoman.freebsd.org) Message-Id: <200903270317.n2R3HbsB080933@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jmallett@repoman.freebsd.org using -f From: Juli Mallett Date: Fri, 27 Mar 2009 03:17:25 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/wpi if_wpi.c if_wpireg.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: Fri, 27 Mar 2009 03:17:38 -0000 jmallett 2009-03-27 03:17:25 UTC FreeBSD src repository Modified files: sys/dev/wpi if_wpi.c if_wpireg.h Log: SVN rev 190458 on 2009-03-27 03:17:25Z by jmallett o) Check that no overrun or CRC errors were encountered in receiving a packet. Linux, OpenBSD and our iwn(4) all do this. It also results in a huge performance improvement (and the rejection of a fair number of apparently-bad packets on receive) on my hardware. o) Like the wpi(4) driver in OpenBSD, and like our iwn(4), also drop runt packets. o) Don't bother doing IFQ_POLL and then IFQ_DRV_DEQUEUE, just do IFQ_DRV_DEQUEUE outright. This is more similar to how OpenBSD and our iwn(4) work. Reviewed by: sam Revision Changes Path 1.20 +15 -2 src/sys/dev/wpi/if_wpi.c 1.4 +0 -2 src/sys/dev/wpi/if_wpireg.h