Does NS3 support CRN(cognitive radio network)?Or is there any CRN-patch for NS3?
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does NS3 support CRN(cognitive radio network)?Or is there any CRN-patch for NS3?
Hello everyone.
My project is about CRN(cognitive radio network).I heared NS3 is better and more powerful for simulation,so I want to use NS3 for the simulation of CRN.However,there seems to be no information about whether NS3 supports CRN(cognitive radio network) or not.
Is there any CRN-patch for NS3?Can anybody gives me the idea on how to expand NS3 to simulate cognitive radio network?
knudfl,
Thank you for your reply.I remembered it's knudfl that help buptmuye many times,and I appreciate it very much.
The reason why I want to use NS3 is that when I use "setdest"and "cbrgen" to get simulation scenarios with 70 nodes or more, I always got segmentation fault.
I tried to use GDB to debug it,finding the accurate place of the segmentation fault.It was at line 76 in "ns-allinone-2.31/ns-2.31/trace/basetrace.h".However,
I guess the source of the segmentation fault may be CRCN code,or may be the simulation scenarios.However,I still can't solve it from each of the possible source.
"The implementation of the Packet data structure of NS2 does not math the realities.
The packet in ns2 simulation keeps all packet headers for any protocols implemented in NS2.
For example, a DSR routing packet may keep DSDV, AODV, or even a PING application header.
For this reason, till today, a packet used in ns2 simulation, would have a header size around 40~64KB.
And NO packet would be deleted to release the memory it holds until the end of the simulation.
So for a typical simulation with 100 nodes in ns2 around 1M packets exchanged (of course,
you may reuse the packets already being freed through Packet::free(Packet*).
To learn the implementation of it, please check file common/packet{.h,.cc} ),
you may hold 10% of it, 100K packets, and you may use a memory at least 100K*64KB -> 6.4GB,
which definitely would crash your computer (even it is a super server)."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.