Winpcap can receive 802.11 MAC layer frames... The question is if your card and/or driver can accept it... To receive those frame you need to go into monitor mode, note that not all driver or card support that mode... On windows there is no wifi driver other than some third party one that allow Monitor Mode... To send some frames you would need to be able to put your card in HostAP mode, to my knowledge there is no driver that support sutch mode on windows.
 
Personally I have been sucessful at capturing those frame using the Sniffer Pro Wireless driver, on those driver you can easily activate the monitor mode and start sniffing with winpcap... Snax have done the same with AiroPeek driver (he actually got airsnort to run on windows) http://airsnort.shmoo.com/ the advantage of the AiroPeek driver is that it's available on the web via their webpage but i am not sure how legal all this is... 
 
There is currently no Free driver that allow those mode, but I have been looking into developing one for a while... Unfortunally I don't have no experience on developing driver on windows... But if you want to develop a Open one count me in!
 
Hugo Fortier
 
 
----- Original Message -----
From: Yi-Wen Liu
Sent: Friday, May 30, 2003 1:12 AM
Subject: [WinPcap-users] Can WinPcap send and receive 802.11 frames?

Hi all:
        Can winPcap send and receive the 802.11 MAC layer frames? Or get the bssid on WLANs?
        I want to write a VC++ program to get and send 802.11 mac layer frames by using the 802.11 adapter.
        It works fine to capture and send MAC frames on 802.3 ethernet, but can't capture any frames on 802.11 WLANs.
        Is there other library that support to capture 802.11 MAC frames? Or WinPcap supports this function?
        Anybody knows? Plz help me, thanks very much!!!
 
Best Regards,
Tim Liu
       

Reply via email to