2005-09-19 17:36:36

by rishikeshsn

[permalink] [raw]
Subject: to see 802.11 frames thru kernel code

hello,

i want to know:

can i see 802.11 frames in skbuff structure?
I get only ethernet II frame format.

thanks already for help.


-Rishikesh.


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!


2005-09-19 18:30:59

by Brian Pomerantz

[permalink] [raw]
Subject: Re: to see 802.11 frames thru kernel code

On Mon, Sep 19, 2005 at 10:53:22PM -0400, rishikeshsn wrote:
> hello,
>
> i want to know:
>
> can i see 802.11 frames in skbuff structure?
> I get only ethernet II frame format.
>
> thanks already for help.
>

This is hardware and driver specific. Most of the time, the driver
will have access to the 802.11 header, however, it will reformat the
packet into a standard ethernet frame before passing it up to the
network layer.

So, no you cannot see the 802.11 header in a sk_buff because it is
already stripped off. If you look in the driver before it hits the
network layer (in the rx routine) then you may be able to get access
to it there.


BAPper

2005-09-22 18:06:10

by Pavel Machek

[permalink] [raw]
Subject: Re: to see 802.11 frames thru kernel code

Hi!

> i want to know:
>
> can i see 802.11 frames in skbuff structure?
> I get only ethernet II frame format.

See jirka&jirka's wireless patches. They can do that.

Pavel
--
if you have sharp zaurus hardware you don't need... you know my address