[ns] MAC protocol

2006-02-04 Thread Curi

Hi all!
Someone knows the features of the mac-simple module?
I tried to find something, but from the manual to the mailing list I  
founded nothing.
It wuold be enough some links..

I'd like also to check, and maybe to change the size of the  
contention window in 802_11,
but I can't find it.

Many thanks!

Curi



[ns] 802.11 trace file

2006-01-21 Thread Curi

Hi all!
I'm tryng to solve my collisions problem:
*802.11
*only broadcast transmission.
*I haven't modified nothing in the mac and the ip layer. I'm using  
default settings.

Analysing the trace file I can read, for example so:

s 83.229636473 _16_ AGT  --- 16437 myag 52 [0 0 0 0] --- [16:0  
-1:0 32 0]
r 83.229636473 _16_ RTR  --- 16437 myag 52 [0 0 0 0] --- [16:0  
-1:0 32 0]
s 83.229636473 _16_ RTR  --- 16437 myag 52 [0 0 0 0] --- [16:0  
-1:0 32 0]
s 83.230131473 _16_ MAC  --- 16437 myag 104 [0  10 800]  
--- [16:0 -1:0 32 0]
r 83.230964284 _12_ MAC  --- 16437 myag 52 [0  10 800]  
--- [16:0 -1:0 32 0]
D 83.230287491 _15_ MAC  COL 16437 myag 104 [0  10 800]  
--- [16:0 -1:0 32 0]

The collisions happens always when the packet is 104 long.
But I use a fixed 52 long header, without any payload..
So... why the packet (always 52 byte long) sometimes is sended by the  
MAC-layer as a 104 long one?
And the collision is always signed with a 104 long packet,
while a correct reception is always signed with a 52 long packet  
as in the previous example.

Someone can explain me the reason?

Many thanks!

Curi