Re: [ns] help with gcc/cygwin

2006-04-16 Thread Qasim Javed
Hi Usman, Please mention the gcc and ns-2 versions you are using. You can find the gcc version by doing gcc -v. Qasim Muhammad Usman [EMAIL PROTECTED] wrote: Hi, I need to install an implementation of HCCA mode of 802.11e for ns2. After spending a week of trying to install Qiang Ni's and

[ns] assert() function not workin

2006-04-16 Thread Vinod
hi, can any one tell me why the assert() function is not working in ns-2 implementation of AODV. Should we need to enable it somehow? I mean assert(a = b) is not giving any error even though a !=b . I checked this by keeping an if stmt. after that. also is there any command line param for

Re: [ns] How to use both otcl and C++?????

2006-04-16 Thread guzinu
Hi Asma, You must write your own command function in your c++ code.For Example, your class name is MyAgent and then it must contain a member function called by command . Via this function, you can call functions that are defined in your class (MyAgent). This function provides you

Re: [ns] assert() function not workin

2006-04-16 Thread Dhammika Pathirana
Hi Vinod, This is because NDEBUG is defined in the makefile. Replace is with DEBUG to enable asserts. Dhammika On 4/16/06, Vinod [EMAIL PROTECTED] wrote: hi, can any one tell me why the assert() function is not working in ns-2 implementation of AODV. Should we need to enable it somehow?

[ns] max packet size in mac-802.11.cc file

2006-04-16 Thread MenaNet Communications S.A.E.
Hi; i need to make some changes in ieee802.11 implementation, so i need to know the max packet size wile i'm working in mac-802.11.cc file. i know that the value is defined in ns-defaults.tcl, but i need it while working mac-802.11.cc regardless the type of the running application or

[ns] How to set queue length for routing protocol packets

2006-04-16 Thread Xesc Arbona
Hi everybody, I'm trying to repeat the experiment done by J Broch, DA Maltz, DB Johnson, YC Hu, J Jetcheva in A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols. They set the queue length for data packets to 50. And they also set a separate queue for routing packets

[ns] Help needed for ns2HCCA patch

2006-04-16 Thread Ritwik Mitra
Hello I am working on a project on 802.11E schedulers. I am trying to implement ARROW and SETT-EDD schedulers with some minor modifications, using the ns2HCCA patch for NS-2.27. However, I am facing the following problems: 1. Where (in the code) does a CAP start mechanism take

[ns] help to find OBJ_CC !!

2006-04-16 Thread Mohammed Abu-Khadra
hi all, where can i find OBJ_CC list in ns-2.29 ? does it exist ? if yes in which folder plz !! i need to modify it for a multimedia traffic thanx in advance

[ns] Setting energy model for physical layer

2006-04-16 Thread Sasan Sahraei
Hi All, A little bit confusion: to have control over the energy model, what is the difference between setting them in ns-config as below: -energyModel $val(energymodel) \ -idlePower $val(idlepower) \ -rxPower $val(receivepower) \

Re: [ns] mac differentiation of flows

2006-04-16 Thread narayanan k
Dear users, I am working on implementing Qos differentiation in wlan. I have a basic question, how can i have mac entity distinguish based on say flow id? is there a one-to-one mapping between a mobile node and the mac-802_11 entity? Can you distinguish based on ETHER_ADDR()? the link between

[ns] range of packet broadcast

2006-04-16 Thread Sita S. Krishnakumar
Hello, In a wireless network simulation, the trace file shows the sender and the receiver(s). Since every packet is a broadcast, it could be heard by more nodes than the actual receiver(s). Based on the next hop, the packets are picked up only by appropriate nodes. Where in the ns-2, would I be

[ns] help with cygwin/gcc

2006-04-16 Thread Muhammad Usman
Hi all, I have been trying to install the 802.11e HCCA mode implementation by the University of Pisa for Ns2. I tried unsuccessfully for cygwin on windows and the same on linux redhat 9. I am using gcc versions 3.3.4 on cygwin since it comes pre-installed with the cygwin package.

[ns] problem occuring when adding a new TCP agent

2006-04-16 Thread �
I wrote a sub-agent of TCP, that means I put new files TCP-xxx.h, TCP-xxx.cc in the folder of TCP, and modified tcp.h, tcp-sink.h and tcp-sink.cc. Then add TCP_xxx.o to OBJ_CC in makefile.in, and then do make i try to use the agent with New Agent/TCP/xxx, but it seems un-recognizable. what's

[ns] WANT TO EARN MONEY..

2006-04-16 Thread kulveer singh
Hi, Got a link and the person who send me this, says it really works……so y nt give it a shot….lets chk put whether it works or not http://www.surfjunky.com/?r=kulveersingh KULVEER SINGH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ritwik

Re: [ns] Implementing queue management

2006-04-16 Thread Tom Henderson
Eduardo J. Ortega wrote: how do you add new queue management algorithms to NS? say, if i want to implement a variant of RED, where should i add what code? Is there any documentation about this? Thanks. Eduardo, The documentation on queues is found in Chapter 7 of the ns manual: