Hi lingqiw as I am understanding you want to know percentage of data packet
loss right, if this is case then you can use simple AWK code e.g
BEGIN {
sendLine=0;
recvLine=0;
--
---
}
{
# CALCULATE PACKET DELIVERY FRACTION
if (( $1 == s) ( $35 == cbr ) ( $19==AGT )) { sendLine++; }
if (( $1 == r) ( $35 == cbr ) ( $19==AGT )) { recvLine++;
}
# Then calculate packet loss and print
printf %d %d %.4f \n, sendLine, recvLine,((sendLine -
recvLine)/sendLine));
Hope this will help you.
On Wed, Jun 9, 2010 at 5:30 AM, ns-users-requ...@isi.edu wrote:
Send Ns-users mailing list submissions to
ns-users@isi.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-requ...@isi.edu
You can reach the person managing the list at
ns-users-ow...@isi.edu
When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...
Today's Topics:
1. how to use awk to analyze packet collision probability? (lingqiw)
2. How are bandwidth constraints added in AOMDV in NS2? ( Spy )
3. ns-2.34 Wireless MAC Parameters for IEEE802.11b, 802.11g and
802.11n (Mustafa Kamal)
4. Ad hoc Network RTS/CTS procedure (El hadi Cherkaoui)
5. how to calculate convergence time (Muhammad Faiz)
6. help me to run TORA routing protocol (mobi faizy)
--
Message: 1
Date: Tue, 8 Jun 2010 10:27:41 +0800 (CST)
From: lingqiw ling...@126.com
Subject: [ns] how to use awk to analyze packet collision probability?
To: ns-users ns-users@isi.edu
Message-ID: 177221a.cb44.129156277f8.coremail.ling...@126.com
Content-Type: text/plain; charset=gbk
hello,
I am a research student, I want to know that how to use awk to analyze
packet collision probability.
please help me.
thanks!
--
Message: 2
Date: Tue, 8 Jun 2010 15:53:53 +0800
From: Spy 348737...@qq.com
Subject: [ns] How are bandwidth constraints added in AOMDV in NS2?
To: ns-users ns-users@isi.edu
Message-ID: tencent_22b3d57f103a7a25355d8...@qq.com
Content-Type: text/plain; charset=ISO-8859-1
Hi,
Do anyone know how bandwidth constraints added in AOMDV in NS2?
--
Message: 3
Date: Tue, 8 Jun 2010 05:50:26 -0700 (PDT)
From: Mustafa Kamal contact.joar...@yahoo.com
Subject: [ns] ns-2.34 Wireless MAC Parameters for IEEE802.11b, 802.11g
and 802.11n
To: NS2 Users ns-users@isi.edu
Message-ID: 463824.11337...@web45607.mail.sp1.yahoo.com
Content-Type: text/plain; charset=us-ascii
Hello everyone,
I am using ns-2.34 with 80211Ext+PhyExt and by default ns-2 is ported with
IEEE 802.11a and 802.11p MAC parameters with default values. I was wondering
what will be values for IEEE 802.11b and 802.11g? I've found few values in
http://hpds.ee.ncku.edu.tw/~smallko/ns2/11b.htmhttp://hpds.ee.ncku.edu.tw/%7Esmallko/ns2/11b.htmbut
it also didn't cover all the necessary values (although it is very much
helpful). And is ns-2.34 supports MIMO operations of IEEE 802.11n? Is there
anyone could kindly able to help in this regard?
#802.11a default parameters
Mac/802_11Ext set CWMin_15
Mac/802_11Ext set CWMax_1023
Mac/802_11Ext set SlotTime_ 0.09
Mac/802_11Ext set SIFS_ 0.16
Mac/802_11Ext set ShortRetryLimit_ 7
Mac/802_11Ext set LongRetryLimit_ 4
Mac/802_11Ext set HeaderDuration_ 0.20
Mac/802_11Ext set SymbolDuration_ 0.04
Mac/802_11Ext set BasicModulationScheme_0
Mac/802_11Ext set use_802_11a_flag_ true
Mac/802_11Ext set RTSThreshold_ 2346
Mac/802_11Ext set MAC_DBG 0
Thanks in advance.
Joarder Mohammad Mustafa Kamal
Staffordshire University, UK
--
Message: 4
Date: Tue, 8 Jun 2010 15:16:36 + (GMT)
From: El hadi Cherkaoui e_cherka...@yahoo.fr
Subject: [ns] Ad hoc Network RTS/CTS procedure
To: NS user ns-users@isi.edu
Message-ID: 672288.19471...@web28610.mail.ukl.yahoo.com
Content-Type: text/plain; charset=iso-8859-1
Dear NS users,
Just a basic question about Ad hoc networks...
what's the part of code in NS2 in which a node can reach an other node ...
I mean where the procedure RTS/CTS in done (in which class, which method)??
Thank you.
Regards
?
--
Message: 5
Date: Tue, 8 Jun 2010 17:44:19 +0200
From: Muhammad Faiz mubasherf...@gmail.com
Subject: [ns] how to calculate convergence time
To: ns-users@isi.edu
Message-ID:
aanlktimex_kmmwcj6scgmsodta07mw7z9c-lntjxw...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1
Hi dear