[ns] Directional MAC implementation
Dears, I am working in master degree and my subject about "enhancement for dsr in ad hoc network using directional antenna". I succeed with install directional antenna. However I try to install directional MAC. Any one help me get this library for ns2. Thank you in advance -- Johnny Shahin Computer and Telecommunication Engineer
[ns] Help request in compilation a source code
Dears, I try compile the source code for Directional MAC, but I encountered a problem says: "/home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h: In function 'EnergyModel* em()': /home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h:143:34: error: 'node' was not declared in this scope EnergyModel* em() { return node()->energy_model(); } ^ /home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h: At global scope: /home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h:145:2: error: 'friend' used outside of class friend class Sleep_Timer; ^ /home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h:147:1: error: expected declaration before '}' token }; ^ make[2]: *** [libdirectional_mac_la-directional_mac.lo] Error 1 make[2]: Leaving directory `/home/johnnysh/Downloads/directionalMac/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/johnnysh/Downloads/directionalMac/src' make: *** [all-recursive] Error 1" Please help as soon as possible Thank you -- Johnny Shahin Computer and Telecommunication Engineer
[ns] Directed Vector Carrier Sensing MAC protocol installation help
Dears, I download all the required files for DVCS mac protocol from the following website: https://code.google.com/p/wisnes/source/browse/trunk/mac-802.11-DVCS after that I do the following step: 1- ./autogen.sh 2- ./configure --with-ns-allinone="The path for ns2.35" 3- sudo make however, the following error occurs: In file included from mac-802_11-DVCS.cc:14:0: mac-802_11-DVCS.h:13:33: fatal error: directional_antenna.h: No such file or directory #include ^ compilation terminated. Please, anyone help me in these problem. how can I let make command know where the directional_antenna.h? for your kindly information, the directional antenna library have a different path from ns-2.35. Thank you in advanced. -- Johnny Shahin Computer and Telecommunication Engineer
[ns] How can I add multi interface to node NS-2.35?
Dears, I need to add more than one interface to node in order to put multiple antenna. So please anybody help to add multiple interface. Thank you -- Johnny Shahin Computer and Telecommunication Engineer