[ns] AOMDV for ns-2.29 Available

2007-05-08 Thread Ahmad Khayyat
versions of the protocol by modifying the Makefile.in and then running ./configure and make. The relevant line in the Makefile.in file reads: -DAOMDV -DAOMDV_NODE_DISJOINT_PATHS # By: Ahmad Khayyat - AOMDV This will produce the node-disjoint-paths version of AOMDV. Replaing _NODE_ with _LINK_

Re: [ns] AOMDV for ns-2.29 Available

2007-05-08 Thread Ahmad Khayyat
*p, LL *ll) { // Disable ARP hdr_cmn *ch = HDR_CMN(p); mac_-hdr_dst((char*) HDR_MAC(p), ch-next_hop()); return 0; ARPEntry *llinfo ; ... Enjoy, - Ahmad Khayyat Ahmad Khayyat wrote: Hi everyone, I believe I managed to port the old AOMDV code to ns-2.29. It is my first

Re: [ns] Problem setting BO,SO pair in 802.15.4

2007-03-22 Thread Ahmad Khayyat
This reminds me about a bug in the original wpan implementation. Not sure if it is fixed in Iyappan patch as I am using ns-2.29. In the method: bool CsmaCA802_15_4::canProceed(double wtime, bool afterCCA) The following declaration exists: UINT_16 t_bPeriods,t_CAP; For large BO/SO values,

Re: [ns] implementation AOMDV

2007-03-15 Thread Ahmad Khayyat
AOMDV implementation for older versions of ns-2 is available at: http://www.icis.ntu.edu.sg/wagio/simtools.htm Looking at the included files, it seems fairly easy to port to current ns-2. I started porting it to 2.29 but got interrupted by other work. Though I do need it for 2.29 and will

Re: [ns] segmentation fault

2007-03-12 Thread Ahmad Khayyat
This is a generic message caused most probably by misbehaving pointers. Your best shot is to use a debugger, e.g. gdb. It will pinpoint the source code line causing the error for you. On Mon, 12 Mar 2007 12:13:08 +0100 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, during a wireless

Re: [ns] Awk script for Jitter in NS2

2007-03-11 Thread Ahmad Khayyat
Regarding your second question, my understanding is that -Hs is the node at which the event is observed, and not necessarily the source. In receive events, -Hs is the node receiving the packet and hence Hs = Hd (the receiver is the observer of the event) and other subsequent fields will report

Re: [ns] Disable ARP

2007-02-28 Thread Ahmad Khayyat
Never mind. The two lines work perfectly. They just happened to trigger another problem, which is taken care of now :) On Tue, 27 Feb 2007 18:27:37 -0500 Ahmad Khayyat [EMAIL PROTECTED] wrote: What is the easiest way to disable the use of the ARP protocol? I guess the IP address corresponds

[ns] Disable ARP

2007-02-27 Thread Ahmad Khayyat
What is the easiest way to disable the use of the ARP protocol? I guess the IP address corresponds to the MAC address in ns-2, doesn't it? So how do I make the LL/ARP modules use it immediately without using ARP? I tried adding the following two lines at the top of ARPTable::arpresolve(nsaddr_t

[ns] Why am I getting each email in the list twice?

2006-10-05 Thread Ahmad Khayyat
Hi, Recently I have been receiving every single email in the list twice. This also happens with ns-developers list. I don't recall changing any setting on my side. Is this experienced by other subscribers?

Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?

2006-05-31 Thread Ahmad Khayyat
Just a tiny hint.. When you trace the code, don't forget that ns-2 is a mixture of C++ and oTcl. Much of the object passing is done through oTcl. Faisal Siddiqui wrote: Hi Paul, Thanks for the link. I totally agree with you. I have spent so much time trying to understand as to how does

Re: [ns] Newbie questions on wpan demo

2006-04-03 Thread Ahmad Khayyat
Hi Bruce, Read chapeter 13 in ns-manual.. I think you are looking for Error Model instead of Loss Model. The commands you are using are for wired networks only, if I am not mistaken. Bruce Who wrote: hi, Ahmad: === 2006-04-03 02:05:24 Ahmad Khayyat wrote: === Hi Bruce, If you

Re: [ns] Newbie questions on wpan demo

2006-04-02 Thread Ahmad Khayyat
size in the receive event is the size that the MAC layer reports to higher layers. Bruce Who wrote: hi, Ahmad: === 2006-03-31 23:40:43 Ahmad Khayyat wrote: === 2) assoPermit means whether the node should permit other nodes to associate with it so that it becomes their coordinator

Re: [ns] Newbie questions on wpan demo

2006-03-31 Thread Ahmad Khayyat
2) assoPermit means whether the node should permit other nodes to associate with it so that it becomes their coordinator. Look at the 802.15.4-2003 standard for details. 5) This is not how LossModel is used. Consult ns-manual for the correct usage. It still applies for wpan. Bruce Who wrote:

Re: [ns] ns2 installation steps required, please help

2006-03-27 Thread Ahmad Khayyat
If you search google for the terms debian ns2 you will get the following link as the first match! http://wiki.splitbrain.org/ns2 Twum Frimpong wrote: I am new to ns2. I am a student and part of my final year project require that I use ns2 for simulating an mpls network module. I have

Re: [ns] IEEE 805.15.4 doesn't support DSR?

2006-03-25 Thread Ahmad Khayyat
Try using smaller data packets. The maximum application packet size in 802.15.4 is 100 bytes. DSR adds larger overhead than AODV and hence makes the overall packet size larger than AODV does. You can see in size = 159 that the packet is larger than 128, which is the size limit of the

[ns] IEEE 802.15.4 GTS

2006-03-17 Thread Ahmad Khayyat
, - Ahmad Khayyat

[ns] Protocol Extension

2006-03-17 Thread Ahmad Khayyat
and the structures and add the new folder to the Makefile.. do I need to do anything else? Is there a reference I should consult to find out what exactly I need to do? Thanks, - Ahmad Khayyat

Re: [ns] Protocol Extension

2006-03-17 Thread Ahmad Khayyat
advising to do this, everybody just suggests copying the existing module's folder and working on it after changing the names of the classes/variables...etc. Is there a valid reason for choosing this approach? Ahmad Khayyat wrote: Hi all, I would like to extend an existing protocol in ns-2

Re: [ns] Protocol Extension

2006-03-17 Thread Ahmad Khayyat
. Ethan Giordano wrote: Say you modify TCP...you very well might want to have both TCP and your TCP+ protocols running at the same time. ~Ethan Ahmad Khayyat wrote: Clarification: By the first option (extending its classes), I meant subclassing the classes of the existing model

[ns] IEEE 802.15.4 GTS implementation

2006-03-15 Thread Ahmad Khayyat
of duplicating the work. Thanks, - Ahmad Khayyat

[ns] ns-2 IRC Channel

2006-03-14 Thread Ahmad Khayyat
there, but there aren't many of us! You can make this situation better by joining us as frequently as you can. Regards, - Ahmad Khayyat

Re: [ns] ns-2 IRC Channel

2006-03-11 Thread Ahmad Khayyat
You don't need a username or a password. You will just be asked for a nick by which you will be known to others in the channel. You have the option of registering your nick, in which case you will have to create a password and use it (optionally) whenever you log in again. For details, see the

[ns] Clock Synchronization

2006-03-09 Thread Ahmad Khayyat
need to implement a local time variable? Can one implement a skewed clock for some nodes (a clock that keeps drifting)? Thanks, - Ahmad Khayyat