[ns] define a base sation
hi any body can tell how i can define a base station. I'm using IEEE 802.11Ext (ieee 802.11p) thanks for your help
[ns] an orror when I recompile the ns2 2.27
today,I add a new routing protocol to ns2 2.27 and there are five files which I put them in a fold,there are :protoname.h ,protoname.cc,protoname_pky.h,protoname_rtable.h,and protoname_rtable.cc Then I do some modifications in packet.h, ns-packet.tcl,ns-lib.tcl and makefile,I am sure I strictly follow the direction that how to add a new protocol in ns2 ,however,the compiles display that autoconf.f:85:error:namespace 'CPP_NAMESPACE' undeclared,and the more information I put them in the error.doc . I do not revised any since I install the ns2 2.27,how this error happened ? Could any one tell me ? Thanks a lot Varrick
[ns] add new routing protocol to ns2 encounter an error
HI today,I add a new routing protocol to ns2 2.27 and there are five files which I put them in a fold,there are :protoname.h ,protoname.cc,protoname_pky.h,protoname_rtable.h,and protoname_rtable.cc Then I do some modifications in packet.h, ns-packet.tcl,ns-lib.tcl and makefile,I am sure I strictly follow the direction that how to add a new protocol in ns2 ,however,the compiles display that autoconf.f:85:error:namespace 'CPP_NAMESPACE' undeclared,and the more information I put them in the error.doc . and there are the code in autoconf.h /* stl */ 81 #ifdef __cplusplus 82 #define HAVE_STL 1 83 #define CPP_REQUIRES_NAMESPACE 1 84 #ifdef CPP_REQUIRES_NAMESPACE 85using namespace CPP_NAMESPACE; 86 #endif /* CPP_NAMESPACE */ 87#endif /* __cplusplus */ I do not revised any since I install the ns2 2.27,how this error happened ? Could any one tell me ? Thanks a lot Varrick
[ns] add a protocol to ns2
HI when I add a new routing protocol to ns2,the compiles display that autoconf.f:85:error:namespace 'CPP_NAMESPACE' undeclared and there are the code in autoconf.h /* stl */ 81 #ifdef __cplusplus 82 #define HAVE_STL 1 83 #define CPP_REQUIRES_NAMESPACE 1 84 #ifdef CPP_REQUIRES_NAMESPACE 85using namespace CPP_NAMESPACE; 86 #endif /* CPP_NAMESPACE */ 87#endif /* __cplusplus */ I do not revised any since I install the ns2 2.27,how this error happened ? Could any one tell me ? Thanks a lot Varrick
Re: [ns] mac handoff between 2 base stations
Use the nist mobility package. It will do what you are asking for On 2011-04-19, at 3:03 AM, chadi jabroun chad...@hotmail.com wrote: hi all I want to create a scenario where a mobile node will do a mac handoff between 2 base stations using 802.11. yet, the conection will be lost when the mobile node move out from the range of the first base station. It can not connect to the second base station. I take a look of the implementation of 802.11 and i found that it doesn't support a mac handoff. am i right? and how i can find a solution for my problem? please I need help, it is urgent thank you very much. best regards,
[ns] which files need to be edited when intergrating a new module in ns2.34
hello NS-users: I create another identical SMAC file in Ns-2.34 but I would like it to be renamed as moses and renamed all SMAC files (.cc .h) to moses files (.cc .h). Then I clone the code and I have changed all the words where the SMAC word appears by the moses word (C++ classes, packet headers, variables, TCL bindings,...). Therefore when I recompile my NS2.34 with make command I'm getting these errors Mac/moses mac/moses.cc mac/moses.cc In member function 'void MOSES::handleRecvTimer()': mac/moses.cc:563: error: 'HDR_MOSES' undeclared (first use this function) mac/moses.cc In member function 'int MOSES::checkToSend()': mac/moses.cc:603: error: 'HDR_MOSES' undeclared (first use this function) mac/moses.cc :563: error: (Each undeclared identifier is reported only once for each function it appears) mac/moses.cc In member function 'void MOSES::handleRecvTimer()': mac/moses.cc:563: error: 'HDR_MOSES' undeclared (first use this function . . . . . . . . . . . . . . . . mac/moses.cc: In member function 'void MOSES::sentDATA(Packet*)': mac/moses.cc:563: error: 'HDR_MOSES' undeclared (first use this function) make: ***[mac/moses.o]Error 1 These functions are the same that SMAC functions but this functions are of my component. Therefore I want to know if I'm missing any other files that need to be edited Help me, thank you very much.
[ns] Need help with WiMAX extension by NIST
Hi, all. I'm working on WiMAX simulation using the 802.16 extension by NIST. What I need to do is to send some message from one mobile node to another known node (knowing its ID), via cellular communication (just like in 802.11, but via some base stations rather than routing on air). But after reading the documents and sample tcl scripts, I still don't have a clue how to do this. Does anyone have any suggestions? Any help will be appreciated. Thanks so much, Qing