Re: Identify Beacon Frame

2015-08-28 Thread Anand Moon
Hi All, On Friday, August 28, 2015 11:44 PM, Avinash Patil wrote: Well..from userspace application you need to register which subtype of frames you want to receive. This is done with netlink sockets. You can check hostapd/wpa_supplicant sources to see how this is done. http://w1.fi/wpa_supplic

Re: Identify Beacon Frame

2015-08-28 Thread Avinash Patil
Well..from userspace application you need to register which subtype of frames you want to receive. This is done with netlink sockets. You can check hostapd/wpa_supplicant sources to see how this is done. http://w1.fi/wpa_supplicant/ I assume you are using newer kernel e.g. 3.0 onwards. Old kernel

Re: Identify Beacon Frame

2015-08-28 Thread Gunjan Mehta
Avinash, Ya m talking about the WLAN. can you just throw some more light on cfg802.11 handlers. On Fri, Aug 28, 2015 at 11:24 PM, Avinash Patil wrote: > Hi Gunjan, > > Are you talking about WLAN beacon frames? If so, you can you cfg80211 > handlers to register management frames and once frame i

Re: Identify Beacon Frame

2015-08-28 Thread Avinash Patil
Hi Gunjan, Are you talking about WLAN beacon frames? If so, you can you cfg80211 handlers to register management frames and once frame is received parse frame type/subtype to check if its beacon. I dont think beacon frames are delievered to netdev. Thanks, Avinash On Fri, Aug 28, 2015 at 10:51 A

RE: Identify Beacon Frame

2015-08-28 Thread Jeff Haran
From: Gunjan Mehta [mailto:gunjanmeht...@gmail.com] Sent: Friday, August 28, 2015 10:51 AM To: Jeff Haran Cc: kernelnewbies Subject: Re: Identify Beacon Frame Then how do i capture the beacon frames? On Fri, Aug 28, 2015 at 10:40 PM, Jeff Haran mailto:jeff.ha...@citrix.com>> wrote: I

Re: Identify Beacon Frame

2015-08-28 Thread Gunjan Mehta
Then how do i capture the beacon frames? On Fri, Aug 28, 2015 at 10:40 PM, Jeff Haran wrote: > > > > > *From:* kernelnewbies-boun...@kernelnewbies.org [mailto: > kernelnewbies-boun...@kernelnewbies.org] *On Behalf Of *Gunjan Mehta > *Sent:* Friday, August 28, 2015 9:21 AM > *To:* kernelnewbies;

RE: Identify Beacon Frame

2015-08-28 Thread Jeff Haran
From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Gunjan Mehta Sent: Friday, August 28, 2015 9:21 AM To: kernelnewbies; netfilter-de...@vger.kernel.org Subject: Identify Beacon Frame Hi All, I am new to kernel development. I am writing