Re: [ns] Please help me to solve my issue in ns2

2008-10-18 Thread Daniel Dekst
Hi, I don't think you want to classify packets in mac layer. Instead, you want your packets to be submitted to aodv. Thus, in aodv.cc, you need to identify your packets in AODV::recv(Packet *p). In fact, as you know, all packets first arrive at such a recv function in any layer. So if you

[ns] A possible BUG in ns2, in capture() function in mac/mac-802_11.cc

2008-10-18 Thread Mayur
Dear all, [Sorry, I attached wrong file, Pl find the modified_mac-802_11.cc attached herewith. Kindly discard the earlier sent mac-802_11.cc file.] Mayur wrote: Dear NS experts, There seems to be a BUG in ns2 (till

[ns] A possible BUG in ns2, in capture() function in mac/mac-802_11.cc

2008-10-18 Thread Mayur
Dear NS experts, There seems to be a BUG in ns2 (till latest version ns2.33) : _*Abstract: *_ capture() function should treat errored_pkts and normal_pkts differently. Viz., the NAV should be set to only EIFS for errored packets and for normal packets to { EIFS + txtime(pkt) }. _*More elab

Re: [ns] Doubt Clarified.... TCP max congestion window and ssthreh's values

2008-10-18 Thread Mayur
Mayur wrote: > Dear ns colleagues, > > How to set max congestion window in tcp? I ns-default.tcl sets it to 0 > (Zero). How it could be if following concept is correct? > > maxcwnd (Maximum Congestion Window) indicates the maximum number > that the CWND can achieve. ie. After tcp enters in