[ns] How are bandwidth constraints added in AOMDV in NS2?

2010-06-08 Thread Spy

Hi,
 Do anyone know how bandwidth constraints added in AOMDV in NS2?


[ns] ns-2.34 Wireless MAC Parameters for IEEE802.11b, 802.11g and 802.11n

2010-06-08 Thread Mustafa Kamal

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.htm but 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


  


[ns] Ad hoc Network RTS/CTS procedure

2010-06-08 Thread El hadi Cherkaoui

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 
 





  


[ns] how to calculate convergence time

2010-06-08 Thread Muhammad Faiz

Hi dear All,

I want to calculate the convergence time of AODV , DSDV and TORA routing
protocols.
Help me in this regrad



Muhammad Mubasher Faiz
Master program in Computer Science
University West
Trolhattan,Sweden.


[ns] help me to run TORA routing protocol

2010-06-08 Thread mobi faizy

Dear All,

I am using NS 2.31 , but *TORA* is not working properly.
Can anyone help me in this regard.

Regards,


Re: [ns] how to use awk to analyze packet collision probability? (lingqiw)

2010-06-08 Thread ashish tiwari

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,  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 
> Subject: [ns] how to use awk to analyze packet collision probability?
> To: ns-users 
> 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 " 
> Message-ID: 
> 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 
> Subject: [ns] ns-2.34 Wireless MAC Parameters for IEEE802.11b,  802.11g
>and 802.11n
> To: NS2 Users 
> 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.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 
> Subject: [ns] Ad hoc Network RTS/CTS procedure
> To: NS user 
> 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 
> Subject: [ns] how to calculate convergence time
> To: ns-users@isi.edu
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi dear All,
>
> I want to calculate the convergence time of AODV , DSDV and TORA routing
> protoc

Re: [ns] how to use awk to analyze packet collision probability? (lingqiw)

2010-06-08 Thread ashish tiwari

Hi lingqiw,  as I am understanding you want to know percentage  of data
packet loss right, if this is the 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,  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 
> Subject: [ns] how to use awk to analyze packet collision probability?
> To: ns-users 
> 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 " 
> Message-ID: 
> 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 
> Subject: [ns] ns-2.34 Wireless MAC Parameters for IEEE802.11b,  802.11g
>and 802.11n
> To: NS2 Users 
> 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.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 
> Subject: [ns] Ad hoc Network RTS/CTS procedure
> To: NS user 
> 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 
> Subject: [ns] how to calculate convergence time
> To: ns-users@isi.edu
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi dear All,
>
> I want to calculate the convergence time of AODV , DSDV and TORA routing
>