Mr. Fire,

You may want to take a look at the ath_hardstart() function in if_ath.c
(madwifi) to get a sense of how packets are transmitted by the Madwifi driver.
That function is normally called by the Linux networking stack, but any piece
of kernel code could do so.  You just need to fill in the sk_buf appropriately.
Alternatively, you can look at the beacon transmittion code ath_beacon_{send,
generate, setup, alloc}.  If you model your code on the beacon functions, you
end up filling in an ath_buf structure instead of an ethernet header in an
sk_buf.

Good luck,
Eric

Thus spake cool fire ([EMAIL PROTECTED]):

>    Hello,
> 
>    I understand that the driver processes a packet it receives from the
>    higher layer. But I want to make and transmit a packet without involving
>    the higher layers using ath5k. Could you please tell me how to do it.
> 
>    Thank you.
>    Cool Fire.

> _______________________________________________
> ath5k-devel mailing list
> [email protected]
> https://lists.ath5k.org/mailman/listinfo/ath5k-devel


-- 
Eric W. Anderson                                   University of Colorado
[EMAIL PROTECTED]                      Dept. of Computer Science
phone: +1-720-984-8864                   Systems Research Lab - ECCR 1B54

                         PGP key fingerprints:
       personal: 1BD4 CFCE 8B59 8D6E EA3E  EBD5 4DC9 3E61 656C 462B
       academic: D3C5 D6FF EDED 9F1F C36D  53A3 74B7 53A6 3C74 5F12

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ath5k-devel mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to