[ns] multiple interface multiple channel in WSN
Dear Everyone, I am looking for implementation of multiple interface, multiple channel in Wireless/mobile network. Your guidance is highly appreciated. Thanks and Regards.
[ns] Packet Reception Rate?
Hi All I want to calculate number of packets received per second at a node. Kindly guide me. Regards, Asif
[ns] WiMAX simulation in NS2
hi all, if anyone has worked on simulating WiMAX on NS2... please give me some suggestion on how to start.. it would be really helpful. thanks manoj
Re: [ns] Modificating Mac802_11::recv
Thanks, Lionel! I'll try It now! But (still) if anyone had an example e could send me, I'm very gratefull! Larissa On Thu, Mar 4, 2010 at 04:29, Lionel Bertaux lbert...@laas.fr wrote: Hi, If you take a look at thé recv method, you CAN see that packets are sent up or down depending on their characteristics. You just have to change the conditions needed to send your packet up (like thé packet type in the common header). Enjoy. Lionel Bertaux. Le 3 mars 2010 à 22:15, Larissa Lucena larissaluc...@gmail.com a écrit : On Wed, Mar 3, 2010 at 18:11, Larissa Lucena larissaluc...@gmail.com wrote: Hi, there! I would like to know how to modificate Mac802_11::recv to send up my application protocol packets. Has anyone an example? Thanks in advance. Larissa -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente.
Re: [ns] Modificating Mac802_11::recv
What I do? Test the kind of packet, and if it might be sent up, call the recv of the mac superclass? I'm seeming kind desperate, no? But I think I really am! LOL Larissa On Thu, Mar 4, 2010 at 09:24, Larissa Lucena larissaluc...@gmail.comwrote: Thanks, Lionel! I'll try It now! But (still) if anyone had an example e could send me, I'm very gratefull! Larissa On Thu, Mar 4, 2010 at 04:29, Lionel Bertaux lbert...@laas.fr wrote: Hi, If you take a look at thé recv method, you CAN see that packets are sent up or down depending on their characteristics. You just have to change the conditions needed to send your packet up (like thé packet type in the common header). Enjoy. Lionel Bertaux. Le 3 mars 2010 à 22:15, Larissa Lucena larissaluc...@gmail.com a écrit : On Wed, Mar 3, 2010 at 18:11, Larissa Lucena larissaluc...@gmail.com wrote: Hi, there! I would like to know how to modificate Mac802_11::recv to send up my application protocol packets. Has anyone an example? Thanks in advance. Larissa -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente.
[ns] AWK Scripts for New Trace Format
Hello, I have uploaded AWK Script for throughput that supports new trace format on the following link: http://mohittahiliani.blogspot.com/2010/03/awk-script-for-ns2-supporting-new-trace.html AWK Scripts for average end-to-end delay, packet delivery fraction, etc that support new trace format will be uploaded soon. Hope it helps. Regards,Mohit P. Tahiliani
[ns] help for cbrp
hello can anyone please help me with implementation of cbrp in ns 2.33 thanks in advance arun _ Fight for the top Test spot http://sports.in.msn.com/cricket/
Re: [ns] Modificating Mac802_11::recv
Or should I call the Mac::sendUp(Packet* p)? And where I should call it? - before if(tx_active_ hdr-error() == 0) ? - before if(rx_state_ == MAC_IDLE)? - or at the end of the method? The method Mac802_11::recv is copied below. Thanks again! Larissa void Mac802_11::recv(Packet *p, Handler *h) { struct hdr_cmn *hdr = HDR_CMN(p); /* * Sanity Check */ assert(initialized()); /* * Handle outgoing packets. */ if(hdr-direction() == hdr_cmn::DOWN) { send(p, h); return; } /* * Handle incoming packets. * * We just received the 1st bit of a packet on the network * interface. * */ /* * If the interface is currently in transmit mode, then * it probably won't even see this packet. However, the * air around me is BUSY so I need to let the packet * proceed. Just set the error flag in the common header * to that the packet gets thrown away. */ if(tx_active_ hdr-error() == 0) { hdr-error() = 1; } if(rx_state_ == MAC_IDLE) { setRxState(MAC_RECV); pktRx_ = p; /* * Schedule the reception of this packet, in * txtime seconds. */ if (mhProbe_.busy() OnMinChannelTime) { Recv_Busy_ = 1; // Receiver busy indication for Probe Timer } mhRecv_.start(txtime(p)); } else { /* * If the power of the incoming packet is smaller than the * power of the packet currently being received by at least * the capture threshold, then we ignore the new packet. */ if(pktRx_-txinfo_.RxPr / p-txinfo_.RxPr = p-txinfo_.CPThresh) { capture(p); } else { collision(p); } } } On Thu, Mar 4, 2010 at 09:49, Larissa Lucena larissaluc...@gmail.comwrote: What I do? Test the kind of packet, and if it might be sent up, call the recv of the mac superclass? I'm seeming kind desperate, no? But I think I really am! LOL Larissa On Thu, Mar 4, 2010 at 09:24, Larissa Lucena larissaluc...@gmail.comwrote: Thanks, Lionel! I'll try It now! But (still) if anyone had an example e could send me, I'm very gratefull! Larissa On Thu, Mar 4, 2010 at 04:29, Lionel Bertaux lbert...@laas.fr wrote: Hi, If you take a look at thé recv method, you CAN see that packets are sent up or down depending on their characteristics. You just have to change the conditions needed to send your packet up (like thé packet type in the common header). Enjoy. Lionel Bertaux. Le 3 mars 2010 à 22:15, Larissa Lucena larissaluc...@gmail.com a écrit : On Wed, Mar 3, 2010 at 18:11, Larissa Lucena larissaluc...@gmail.com wrote: Hi, there! I would like to know how to modificate Mac802_11::recv to send up my application protocol packets. Has anyone an example? Thanks in advance. Larissa -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente.
Re: [ns] Modificating Mac802_11::recv
I've already put this following code if (hdr-direction() == hdr_cmn::UP hdr-ptype() == PT_SRRP){ sendUp(p); } before if(tx_active_ hdr-error() == 0) and at the end of the method, followed the debbuger, nothing is wrong, but my agent don't receive the packets. Any help else? Thanks! Larissa On Thu, Mar 4, 2010 at 11:04, Larissa Lucena larissaluc...@gmail.comwrote: Or should I call the Mac::sendUp(Packet* p)? And where I should call it? - before if(tx_active_ hdr-error() == 0) ? - before if(rx_state_ == MAC_IDLE)? - or at the end of the method? The method Mac802_11::recv is copied below. Thanks again! Larissa void Mac802_11::recv(Packet *p, Handler *h) { struct hdr_cmn *hdr = HDR_CMN(p); /* * Sanity Check */ assert(initialized()); /* * Handle outgoing packets. */ if(hdr-direction() == hdr_cmn::DOWN) { send(p, h); return; } /* * Handle incoming packets. * * We just received the 1st bit of a packet on the network * interface. * */ /* * If the interface is currently in transmit mode, then * it probably won't even see this packet. However, the * air around me is BUSY so I need to let the packet * proceed. Just set the error flag in the common header * to that the packet gets thrown away. */ if(tx_active_ hdr-error() == 0) { hdr-error() = 1; } if(rx_state_ == MAC_IDLE) { setRxState(MAC_RECV); pktRx_ = p; /* * Schedule the reception of this packet, in * txtime seconds. */ if (mhProbe_.busy() OnMinChannelTime) { Recv_Busy_ = 1; // Receiver busy indication for Probe Timer } mhRecv_.start(txtime(p)); } else { /* * If the power of the incoming packet is smaller than the * power of the packet currently being received by at least * the capture threshold, then we ignore the new packet. */ if(pktRx_-txinfo_.RxPr / p-txinfo_.RxPr = p-txinfo_.CPThresh) { capture(p); } else { collision(p); } } } On Thu, Mar 4, 2010 at 09:49, Larissa Lucena larissaluc...@gmail.comwrote: What I do? Test the kind of packet, and if it might be sent up, call the recv of the mac superclass? I'm seeming kind desperate, no? But I think I really am! LOL Larissa On Thu, Mar 4, 2010 at 09:24, Larissa Lucena larissaluc...@gmail.comwrote: Thanks, Lionel! I'll try It now! But (still) if anyone had an example e could send me, I'm very gratefull! Larissa On Thu, Mar 4, 2010 at 04:29, Lionel Bertaux lbert...@laas.fr wrote: Hi, If you take a look at thé recv method, you CAN see that packets are sent up or down depending on their characteristics. You just have to change the conditions needed to send your packet up (like thé packet type in the common header). Enjoy. Lionel Bertaux. Le 3 mars 2010 à 22:15, Larissa Lucena larissaluc...@gmail.com a écrit : On Wed, Mar 3, 2010 at 18:11, Larissa Lucena larissaluc...@gmail.com wrote: Hi, there! I would like to know how to modificate Mac802_11::recv to send up my application protocol packets. Has anyone an example? Thanks in advance. Larissa -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente.
[ns] Fwd: multimedia packet in wsn
-- Forwarded message -- From: Shyam Sundar handsomesun...@gmail.com Date: Fri, Mar 5, 2010 at 11:21 AM Subject: multimedia packet in wsn To: ns-users@isi.edu Hi, I need to send multimedia packets (like audio,video traces) through wireless sensor network.If anyone have any sample ns2 program for multimedia streaming thro' any network more preferrable wsn. please help me -- With Regards S.Shyam Sundar -- With Regards S.Shyam Sundar
[ns] DSRC [Dedicated Short-Range Communications] in NS2
Dear NS2 Users السلام عليكم/پہ خیرراغلے/Hello/안녕하세요. Has anybody implemented DSRS (Dedicated Short-Range Communications) in NS2? If anyone has, Please give me a reply (i will be waiting for a reply from concerned), i will be much thankful. Thank You in advance -- Rasheed Hussain (후세인 라쉬드) Hanyang University.
[ns] Installation on OSX 10.6
Hello, I am trying to install the all in one NS2 package on Mac OSX 10.6 and the otcl-1.13 will not install. I can get it to compile by adding the following configuration line to the install script: ./configure --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include However, the linker fails, returning the error message at the following link: http://pastebin.com/wC2p8unE Has anyone gotten NS2 to work on this platform? I haven't seen any success stories online. Thanks, Jacob