Re: to see 802.11 frames thru kernel code

From: Brian Pomerantz
Date: Mon Sep 19 2005 - 13:31:21 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/