Date: Fri, 27 Mar 2009 03:17:25 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/wpi if_wpi.c if_wpireg.h Message-ID: <200903270317.n2R3HbsB080933@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903270317.n2R3HbsB080933>