I'm simulating 802.11 using NS2.35. I have a simple 2 node model.
At a distance of 240m, a packet is received on the first ACK with no retry:

s 130.000000000 _0_ AGT  --- 1 cbr 256 [0 0 0 0] ------- [0:0 1:0 32 0] [1] 0 0
r 130.000000000 _0_ RTR  --- 1 cbr 256 [0 0 0 0] ------- [0:0 1:0 32 0] [1] 0 0
s 130.000000000 _0_ RTR  --- 1 cbr 256 [0 0 0 0] ------- [0:0 1:0 32 0] [1] 0 0
s 130.000235000 _0_ MAC  --- 1 cbr 314 [13a 1 0 800] ------- [0:0 1:0 32 0] [1] 
0 0
r 130.002747801 _1_ MAC  --- 1 cbr 256 [13a 1 0 800] ------- [0:0 1:0 32 0] [1] 
1 0
s 130.002757801 _1_ MAC  --- 0 ACK 38 [0 0 0 0] 
r 130.002772801 _1_ AGT  --- 1 cbr 256 [13a 1 0 800] ------- [0:0 1:0 32 0] [1] 
1 0
r 130.003062603 _0_ MAC  --- 0 ACK 38 [0 0 0 0] 


Changing only the distance to 260m, the packet is dropped, but there are no 
retries at all:

s 130.000000000 _0_ AGT  --- 1 cbr 256 [0 0 0 0] ------- [0:0 1:0 32 0] [1] 0 0
r 130.000000000 _0_ RTR  --- 1 cbr 256 [0 0 0 0] ------- [0:0 1:0 32 0] [1] 0 0
s 130.000000000 _0_ RTR  --- 1 cbr 256 [0 0 0 0] ------- [0:0 1:0 32 0] [1] 0 0
D 130.000000000 _0_ IFQ  ARP 0 cbr 256 [0 0 0 800] ------- [0:0 1:0 32 0] [0] 0 0
s 130.000615000 _0_ MAC  --- 0 ARP 86 [0 ffffffff 0 806] ------- [REQUEST 0/0 
0/1]
D 990.000000000 _0_ IFQ  END 1 cbr 256 [0 0 0 800] ------- [0:0 1:0 32 0] [1] 0 0

The ARP from earlier in the simulation is still present in the queue, and gets 
dropped. Then the cbr packet gets held until the node is reset at the end of 
the simulation. I expected to see the frame sent 7 times (or 6 due to bug).

Why am I not seeing the MAC performing retries?

Reply via email to