- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help and Guidance on Cygwin and ns2 ›
- TDMA functioning for Ad hoc Networks
Hi,
I want to modify the TDMA functioning for the Ad hoc networks using NS2.27 by changing the frame length and the number of slots and reserving slots for some flows.
I tried to change the TDMA frame length or the number of slots in mac-tdma.cc and mac-tdma.h
but the modification is not taken into account.
Could you help me please.
Thank you very much in advance.
After doing necessary modifications, you have to recompile ns2 using makefile as follows :
# cd ns-allinone-2.28/ns-2.28
# make
# make install
(the last step may be optional)
This will compile the code and generate new ns binary with your proposed modification.
Still ff you are not seeing any difference, then it may due to your modification which may probably has no impact on its performance.
Thanks for the reply.
But I did these steps after the modifications which should have an impact but I think that I should modify the TDMA functioning in other files or other variables…
I’m not sure that I’m doing the modifications in the right way…