DATA and RTS frames certainly you can control from madwifi code, about CTS Iam not sure, but ACK is certainly handled in hardware. So you dont have control over generation of ACK other than setting timeout, no. of re-tries etc.

As regards selecting the antenna terminal, there is provision to set the antenna before transmitting the packet. For this you may want to look at the function

ath_hal_setuptxdesc

if if_ath.c. See if it is of any help to you.

Vishal



On Wed, Apr 28, 2010 at 7:06 PM, Francisco Fernandes <k_a_n_u_p_s@hotmail.com> wrote:
I forgot to mention that I'm using madwifi, and I'm familiar with the fact that the HAL is in binary form only.
I'd just like to know in which files/functions the RTS/CTS,DATA & ACK frames are constructed.
I believe this happens before the frames are delivered to the HAL, correct?
 
Thanks You,
Francisco Fernandes

 
> From: proski@gnu.org
> To: k_a_n_u_p_s@hotmail.com
> Date: Tue, 27 Apr 2010 19:57:53 -0400
> CC: madwifi-devel@lists.sourceforge.net
> Subject: Re: [Madwifi-devel] Switched-Beam Smart Antenna Control using Madwifi

>
> On Tue, 2010-04-27 at 22:51 +0000, Francisco Fernandes wrote:
> > I'm resending this message as I didn't receive any feedback yet. I'd
> > really appreciate any help please.
>
> I think ath5k-devel@lists.ath5k.org would be a better place to ask,
> since MadWifi is not actively developed, and when it was, the hardware
> access was encapsulated in a closed source HAL.
>
> > I need that when every RTS/CTS, DATA or ACK frame is delivered to the
> > HAL the correct combination of bits is sent to the parallel port so
> > that the correct beam is activated. Anyone has an idea how to do this?
>
> HAL is a purely software thing. It's open sourced now, and it could be
> "dissolved" in the rest of the code. The time of delivery to HAL is
> irrelevant to any hardware.
>
> Besides, I think the control frames are not controlled by the host
> software. Even data and management frames use DMA, which limits the
> amount of control you can have over the timing.
>
> --
> Regards,
> Pavel Roskin
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Madwifi-devel mailing list
> Madwifi-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/madwifi-devel


Hotmail: Correio Electrónico Poderoso e Gratuito com segurança Microsoft. Obtenha-o já.

------------------------------------------------------------------------------

_______________________________________________
Madwifi-devel mailing list
Madwifi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-devel