From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 14 20:23:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CD9416A4D0 for ; Tue, 14 Sep 2004 20:23:22 +0000 (GMT) Received: from M4.sparta.com (M4.sparta.com [157.185.61.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A01E643D1F for ; Tue, 14 Sep 2004 20:23:21 +0000 (GMT) (envelope-from deker@slackdot.org) Received: from Beta5.sparta.com (beta5.sparta.com [157.185.63.21]) by M4.sparta.com (8.12.8/8.12.8) with ESMTP id i8EKNJXZ001439 for ; Tue, 14 Sep 2004 15:23:20 -0500 Received: from columbia.sparta.com (lilo.columbia.SPARTA.COM [157.185.80.32]) by Beta5.sparta.com (8.12.11/8.12.11) with ESMTP id i8EKNJ2E013582 for ; Tue, 14 Sep 2004 15:23:19 -0500 Received: from [157.185.80.108] (7lyxg41.columbia.sparta.com [157.185.80.108]) i8EKNIfq016900 for ; Tue, 14 Sep 2004 16:23:18 -0400 (EDT) Message-ID: <41475335.5020507@slackdot.org> Date: Tue, 14 Sep 2004 16:23:17 -0400 From: Rob Deker User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Parameters passed to ath_hal_setuptxdesc() from ath(4) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 20:23:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey folks, ~ I've recently been working on some patches to the ath(4) driver to allow for raw frame injection, and I've got a question. Our patches will be allowing for full-frame raw injection, and so we can't necessarily know the length of the header on any given packet (ie. If the injected frame includes the addr4 field, is WEPped, etc). As I understand the IEEE spec, the LLC headers must be transmitted at the lowest supported rate (usually 1Mbps). My questions are: ~ - Is this a function of the HAL? ~ - If so, does the header length parameter to ath_hal_setuptxdesc() tell the HAL how many bytes it needs to send at a slower rate? ~ - If the answers to the first two questions were "yes", and I wanted to provide a mechanism for the application programmer to specify his/her header length, what (if any) are the limits imposed on this parameter by the HAL? Any insight is appreciated,, - -d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBR1M1iaU9aKbHcJcRAhHGAJ0VfhoBvyL9WWSkZHeG9/nmH3mkmgCeJrIZ XbWQoJX6jb508K5bOh7HBPE= =7ASk -----END PGP SIGNATURE-----