From owner-freebsd-net@FreeBSD.ORG Fri Feb 17 17:56:59 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6829D16A420 for ; Fri, 17 Feb 2006 17:56:59 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 080A143D45 for ; Fri, 17 Feb 2006 17:56:57 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id k1HHuto7022981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 17 Feb 2006 09:56:57 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <43F60F13.6000805@errno.com> Date: Fri, 17 Feb 2006 09:59:47 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= References: <43F599BF.7080004@wm-access.no> In-Reply-To: <43F599BF.7080004@wm-access.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: ATH max packet size? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 17:56:59 -0000 Sten Daniel Sørsdal wrote: > I am still waiting for my PCI -> MiniPCI bridge for my CM9 card so i am > unable to test this, and even though i read the source i am still > unsure, so i was hoping a kind generous soul would answer my question; > > What is the max packet size (mtu) available using the ath driver? > > The reason i ask is, i want to setup a tunnel between two units and > optimally not have to deal with any fragmentation issues. > From net80211/ieee80211.h: /* * Maximum acceptable MTU is: * IEEE80211_MAX_LEN - WEP overhead - CRC - * QoS overhead - RSN/WPA overhead * Min is arbitrarily chosen > IEEE80211_MIN_LEN. The default * mtu is Ethernet-compatible; it's set by ether_ifattach. */ #define IEEE80211_MTU_MAX 2290 #define IEEE80211_MTU_MIN 32 ath can actually handle very large packets (64K I believe) but the current driver won't chain rx descriptors together so it's limited to an mbuf cluster (2K). Sam