[ns] whether there are two packets in Phy layer in

2006-05-06 Thread
Hi, I have some question about wireless node.Whether Phy layer receive another packet to transmit when transmiting last packet,It is to say that whether there are two packets in Phy layer in the same time?? We know, The packet from LL to MAC to Phy,If mac did not receive a ACK it could not

[ns] some questions about the class WirelessPhy

2006-04-20 Thread
ns-users, Hello all, I have three questions about the class WirelessPhy: (1) Around line 202 and 355 in wireless-phy.cc are the following lines: double start_time = max(channel_idle_time_, NOW); double end_time = max(channel_idle_time_, NOW+txtime); Should the end_time be start_time+txtime ?

Re: [ns] inquire a question

2006-04-19 Thread
Myung-Ah Park, Thanks a lot ,I found the answer in Inter ,it is defined in " ns-2.26/tcl/lan/ns-mac.tcl" ,anyway ,thank u [EMAIL PROTECTED] 2006-4-20 - Original Message - From: Myung-Ah Park To: liuwei_76 Sent: 2006-04-20, 10:49:25 Subject: Re: inquire a question Since I have not

[ns] inquire a question

2006-04-19 Thread
myung_p213, I found the question which named " When and where is bandwidth_ set?" I do not know whether you have solved this question,because I have the same doubt about this question. in mac-802.11.cc,if dataRate_ is not defined in TCL space,the parameter is binded with bandwidth_, BUT the ba

[ns] can anyone help me in some code expalin:)

2006-04-13 Thread
Hi ,my ns friends: I am quite confused by some code in wireless-phy.cc,it is: double begin_adjust_time = MIN(channel_idle_time_, temp); double finish_adjust_time = MIN(channel_idle_time_, NOW+txtime); double gap_adjust_time = finish_adjust_time - begin_adjust_time; if (gap_ad

[ns] NS modification in tcl-object.tcl

2006-04-05 Thread
Hi,ns-users, I want to debug my NS program ,so I add some output data in file tcl-object.tcl,which is located in ns/tclcl/lib.But nothing happened when I run some test program,Why?? Do I need some further modification in NS? any advise is appreciated,thanks a lot 2006-4-5

[ns] how to modify bandwidth in wireless nodes

2006-04-01 Thread
ns-users, I am a new user in NS2,Now I want to modify bandwidth in my simulation in wireless nodes.How can I do that? Maybe I try to modify ns-default.tcl,where I find below: Phy/WirelessPhy set bandwidth_ 2e6 I modify it to Phy/WirelessPhy set bandwidth_ 19.2e3,but any change occur,what