[Prism54-devel] FreeBSD advances

Jean-Baptiste Note jean-baptiste.note at wanadoo.fr
Sun Jan 23 12:32:58 UTC 2005


Hello sebastien,

> I am willing to do so, but I don't understand how you imagined the "monitor 
> packet" that's in the source... could you explain on this ?
> I'll use Netstumbler (according to http://www.stumbler.net/compat/, "on 
> Windows XP, most 802.11b, 802.11a, and 802.11g adapters should work") and 
> usbsnoop this week and try to capture the monitor filter packet, if my driver 
> supports monitor mode.

Thanks for trying to do so. Could you send the packets if you get one
(or logs from the device, i'm willing to go through them) ?

I don't have an explanation, rather excuses. The following packet is
assuredly a "receive filter packet" (jugding from atheros, you could set
up things as filter on the addresses in the headers, type of frame, etc...)

addresses are clearly visible, but other parameters are not.

static char p54u_data_filter[0x44] = {
  0x00, 0x02, 0x02, 0x00, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  0x01, 0x80, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xde, 0x00, 0x00, 0x00, 0x00,
  0x08, 0x06, 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x48, 0x02, 0x00, 0x10, 0x06, 0x03, 0x00,
  0x00, 0x00, 0x00, 0x00 };

Some of those packets instances are available on :
http://jbnote.free.fr/prism54usb/FilterPacket.html

These packets are usually followed by those ones (called "monitor mode
packets" in the source, but really i don't know what they mean, i'd be
glad to have a clue !).

static  char p54u_mode_monitor[0x24] = {
  0x00, 0x02, 0x02, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  0x01, 0x80, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00,
  0x00, 0x00, 0xf4, 0x01 };

I think that those are essential too, but i don't understand their
meaning...

Feyd, your science and help is very much needed on this one !

Assuredly, if we could do monitor mode, we could have the full receive
stack set up, with further refinement needed, but workable. This is not
the case now... Then there's the sending of frames... Have a look at 

http://jbnote.free.fr/prism54usb/DataSent.html

Still so much to do :)

-- 
Jean-Baptiste Note
+33 (0)6 83 03 42 38
jean-baptiste.note at wanadoo.fr


More information about the Prism54-devel mailing list