mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: to see 802.11 frames thru kernel code
  2005-09-20  2:53 to see 802.11 frames thru kernel code rishikeshsn
@ 2005-09-19 18:30 ` Brian Pomerantz
  2005-09-22 18:05 ` Pavel Machek
  1 sibling, 0 replies; 3+ messages in thread
From: Brian Pomerantz @ 2005-09-19 18:30 UTC (permalink / raw)
  To: rishikeshsn; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* to see 802.11 frames thru kernel code
@ 2005-09-20  2:53 rishikeshsn
  2005-09-19 18:30 ` Brian Pomerantz
  2005-09-22 18:05 ` Pavel Machek
  0 siblings, 2 replies; 3+ messages in thread
From: rishikeshsn @ 2005-09-20  2:53 UTC (permalink / raw)
  To: linux-kernel

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!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: to see 802.11 frames thru kernel code
  2005-09-20  2:53 to see 802.11 frames thru kernel code rishikeshsn
  2005-09-19 18:30 ` Brian Pomerantz
@ 2005-09-22 18:05 ` Pavel Machek
  1 sibling, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2005-09-22 18:05 UTC (permalink / raw)
  To: rishikeshsn; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-22 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20  2:53 to see 802.11 frames thru kernel code rishikeshsn
2005-09-19 18:30 ` Brian Pomerantz
2005-09-22 18:05 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®