Re: [ns] Introduce delay in passing packet to Link Layer

2008-07-16 Thread samira . niafar
hi Although there is a field delay_ in the parent class MAC which simulates the MAC computational overhead, it is not used for any simulation in ll or mac-802.11. So if a MAC layer overhead needs to be simulated, the delay_ field needs to be inserted at 2 places: { simulating the send down overh

[ns] Introduce delay in passing packet to Link Layer

2008-07-15 Thread Kok Lim, Yau
Hi All,   The recv function in link layer (mac/ll.cc) receives packet from routing agent using the following command:   ll->recv(p,(Handler *)0);   where ll is defined as the link layer.   The above command does not has delay. How to introduce delay in passing a packet to the ll layer?   Thanks