[ns] Is it possible to have two nodes with two different MAC layers?

2008-06-18 Thread Bahman Kalantari Sabet
Hello everyone, My question is that is it possible to have two nodes communicating with each other using two different MAC layers. For instance, node A uses 802.11mac and node two uses a modified 802.11mac. Regards, Bahman

[ns] How to create another 802_11 MAC layer?

2008-06-12 Thread Bahman Kalantari Sabet
Hi again, I have another question. How can I create another 802_11/MAC layer, which is exactly the same as the original one, but with a different name. Regards, Bahman. _ http://clk.atdmt.com/UKM/go/msnnkmgl001002ukm/dire

[ns] Two mobilde nodes with different MAC/802_11 attributes?

2008-06-12 Thread Bahman Kalantari Sabet
Hello everyone,I'm simulating a wireless (802.11) ad hoc system with 3 mobile nodes.Is there any way that I could change the attributes (e.g. the MAC) of each of the nodes separately.For example, to increase the timeout value of one node and decrease it on the other one.I appreciate your kind

[ns] TCP Transmission between 3 mobile nodes?

2007-09-12 Thread Bahman Kalantari Sabet
Dear all, I have three 802.11b mobile nodes (A..>>...B...<<..C), where A and C are hidden from each other. A sends TCP packets to B (start time = 1 sec) C sends TCP packets to B (start time = 1.5 sec) (end time for both transmissions = 10 sec) Judging by the trace file, I see that only A tr

[ns] HELP- How to implement 802.11a OFDM PHY?

2007-09-03 Thread Bahman Kalantari Sabet
Ladies & Gents, Has anyone implemented the IEEE 802.11a OFDM PHY in NS? Any ideas on how to modify NS or perhaps where the implementation can be found? Couldn't find anything in NS archives... Help please. Thanks, Ben. _

[ns] How to change CSThresh_?

2007-08-17 Thread Bahman Kalantari Sabet
Dear all, Does anyone know how I can only change the CS (Carrier Sense) Threshold? I don't want to change the RX (Receiver) Threshold though. I tired to use the threshold.cc file in NS, but it doesn't give me the CSThresh_ value. Looking forward to your replies. Thanks, Bahman _

[ns] Help Error Module in 802.11

2007-08-17 Thread Bahman Kalantari Sabet
Hi, Does anyone know why the following situation happens. ( Topology: node_(0) >>> node_(1) >>> node_(2) ) I set the error rate to more than 5%, then all packets heading from node_(0) to node_(1) get dropped! (packets from node_(1) to node_(2) are fine, and they go with the defined error

[ns] Error Module in NS

2007-08-16 Thread Bahman Kalantari Sabet
Hi, I'm using a simple Error Model form NS for my ad hoc wireless network. I encounter two problems. 1- packets get dropped with the reason of IFQ. 2- I cann't increase the error rate to more than 4%. Please let me know if you have any ideas please. Thanks, Bahman ___

[ns] TCP data and ack packet sizes

2007-08-03 Thread Bahman Kalantari Sabet
Hi, I get the following Trace file (a short version): r 1.115270923 _1_ MAC --- 0 RTS 44 [7a4 1 0 0] s 1.115280923 _1_ MAC --- 0 CTS 38 [66a 0 0 0] r 1.115586923 _0_ MAC --- 0 CTS 38 [66a 0 0 0] s 1.115596923 _0_ MAC --- 4 tcp 1572 [13a 1 0 800] --- [0:0 1:0 32 1] [1 0] 0 0r 1.11691

[ns] Throughput using perl

2007-08-03 Thread Bahman Kalantari Sabet
Hello,A quick and easy question... I'm using a perl script (filterinng "tcp", "r" and "node _1_") to get the =throughput of a simple two node 11Mbps BASIC (mode) TCP 802.11b system.When Agent and MAC traces are ON, the throughput is around 8Mbps.When only Agent trace is ON, the throughput is

[ns] Disabling the NAV of 802.11

2007-07-03 Thread Bahman Kalantari Sabet
Hi, How can I disable the NAV in 802.11. Thanks, Bahman _ Try Live.com - your fast, personalised homepage with all the things you care about in one place. http://www.live.com/?mkt=en-gb

[ns] Scheduler error in 802.11

2007-05-04 Thread Bahman Kalantari Sabet
Hi, I'm simulating a simple wireless (802.11b Basic Mode) experiment. At the end of the simulation, I get this error: "Scheduler: Event UID not valid!" I understand that the message is being initiated from /ns/common/scheduler.cc file line 93 only because the UID of an event is positive.

[ns] Adding extra Propagation Delay

2007-02-27 Thread Bahman Kalantari Sabet
Dear all, I need to add an additional propagation delay of (for the sake of argument, let's say) 5 micro seconds into the MAC of 802.11 network so that all packets going through the MAC layer pass through this extra delay. Where should I look and how is it done? Do I need to adjust any timeout

[ns] Trace File Generation

2007-02-13 Thread Bahman Kalantari Sabet
Hi, Firstly, thank you for your kind suggestions. Unfortunately, I didn't get any answer to my question as it wasn't a clear one. So, I am wirting my question one more time in a bit more detail. What I need to know is that "how" the trace file is constructed. I mean, for example, is the

[ns] How to bind to phy.cc

2007-02-13 Thread Bahman Kalantari Sabet
Hi, Could anyone please help me. I managed to bind a variable (extra_delay_ ) to wireless-phy.cc and mac-802_11.cc files, but don't know how to bind it to phy.cc file. Any ideas on how to do this please? Thanks, Bahman. _ MSN

[ns] Trace file generation

2007-02-12 Thread Bahman Kalantari Sabet
Dear all, Does anyone know how and where the Trace file (*.tr) is generated from? Bahman. _ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/

[ns] Binding a variable to Phy.cc

2007-02-12 Thread Bahman Kalantari Sabet
Dear all, I need to add an additional delay into the network interface of the 802.11 standard. I managed to bind this delay into wireless-phy.cc and mac-802_11.cc. I need to put this delay into the recv() function of phy.cc as well, but I dont know how to bind in phy.cc Any ideas on how to d

[ns] wireless-phy.cc/h description

2007-02-02 Thread Bahman Kalantari Sabet
Hi eveyone, Does any of you know where I can find the description of the functions/variables/classes etc. of the /ns/mac/wireless-phy.cc(and h) files? Any documents, powerpoints, pdf files I could look into? Thanks, Bahman _ M

[ns] Insering a Delay module in NetIF

2007-02-02 Thread Bahman Kalantari Sabet
Hi, Does anyone know how I can insert a delay module inside the NetIF layer so that all the packets being received from the channel, and being sent to the channel go through this fix delay (of e.g. 20us). Thanks, Bahman. _ Get H

[ns] Inserting a Delay Module in MAC

2006-10-27 Thread Bahman Kalantari Sabet
Hi everyone, I would like to insert a timer in the NetIF of my node so that every packet going up towards the MAC and down towards the channel is held for a certain "delay_" time. This is to simulate an 802.11 network and analyse the RTS,CTS,ACK frames. In other words, making sure that all thes

[ns] Inserting a delay module in 802.11 Node

2006-05-08 Thread Bahman Kalantari Sabet
Hi, How can I implement a delay to the packets that are left or received at a node? Thanks, Bahman

[ns] Implementing a DELAY in sendDown ( Packet * p )

2006-05-08 Thread Bahman Kalantari Sabet
Hi, How could I implement the function --sendDown ( Packet *p ) -- with some delay? Thanks, Bahman

[ns] Modifying 802.11 wireless Channel Propagation Delay

2006-05-05 Thread Bahman Kalantari Sabet
Hi, Does anyone know how I can change the wireless channel propagation delay. I have two mobile nodes, use FTP over TCP, with RTS-CTS mechanism. I want to increase the delay, so that every packet (including the control packets) passing the channel goes though this delay. Then I want to incr

[ns] MAC_802_11 sendup and senddown Delay

2006-05-02 Thread Bahman Kalantari Sabet
Dear all, I want to add an additional delay (suppose: a variable called delay2_ ) to the NefIF of my node, so that all the packets sent from/to the WirelssPhy are scheduled to go through this delay. I want to investigate the MAC performance (throughtput) of the system when this delay is increase

[ns] MAC_802_11 Sendup and Senddown delay

2006-05-01 Thread Bahman Kalantari Sabet
Dear all, I want to add an additional delay (suppose: a variable called delay2_ ) to the NefIF of my node, so that all the packets sent from/to the WirelssPhy are scheduled to go through this delay. I want to investigate the MAC performance (throughtput) of the system when this delay is increase