Date: Tue, 14 Sep 2004 16:21:52 -0700 From: Sam Leffler <sam@errno.com> To: freebsd-hackers@freebsd.org Cc: Rob Deker <deker@slackdot.org> Subject: Re: Parameters passed to ath_hal_setuptxdesc() from ath(4) Message-ID: <200409141621.52897.sam@errno.com> In-Reply-To: <41475335.5020507@slackdot.org> References: <41475335.5020507@slackdot.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 14 September 2004 01:23 pm, Rob Deker wrote: > -----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? hardware (but only 5210 parts need it). > ~ - 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? hdrLen <= pktLen probably; though I'm not sure a 5210 would care what you supplied. Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409141621.52897.sam>