Explanation needed for wifi-adhoc.cc

284 views
Skip to first unread message

Shashikiran Dayalan

unread,
Feb 27, 2010, 2:21:26 PM2/27/10
to ns-3-...@googlegroups.com
hi guys,
was looking for some explanation for the wifi-adhoc.cc program in ns3
(like the one given for udp server/client in tutorial)
There is nothing about it in the comments.
can somebody take me through the program briefly...what the program
does,etc....or any suggestions.
--
Shashikiran D
MTech(TSE), IIT Kharagpur,

Mathieu Lacage

unread,
Mar 1, 2010, 7:03:08 AM3/1/10
to ns-3-...@googlegroups.com
On Sat, Feb 27, 2010 at 8:21 PM, Shashikiran Dayalan <sas...@gmail.com> wrote:
> hi guys,
> was looking for some explanation for the wifi-adhoc.cc program in ns3
> (like the one given for udp server/client in tutorial)
> There is nothing about it in the comments.
> can somebody take me through the program briefly...what the program
> does,etc....or  any suggestions.

If you run it, and pipe its output to gnuplot, it will generate two graphs:
1) goodput vs distance curves for each tx mode
2) goodput vs distance curves for each rate control algorithm.

Mathieu
--
Mathieu Lacage <mathieu...@gmail.com>

neha singh

unread,
Mar 29, 2014, 2:34:21 PM3/29/14
to ns-3-...@googlegroups.com
hi,

I have started working on this project  on ns-3 a week ago. What I need to do is  to compare the performance of the various standards of 802.11 in a similar network. I have already implemented the standards in adhoc mode by modifying wifi-adhoc.cc and have got those two gnu plots for each standard.
Next i need to compare their performance in infrastructure mode. I have seen wifi-infra.cc and what i found was that only one packet is sent. How can i use the pcap files generated to compare the standards and plot graphs?
Also i need some help in writing code for implementing instructure mode for the standards so that i can compare their throughput, goodput, delay, distance to which the files are tranferred and other similar attributes.
what changes am i supposed to do and in which of the examples.
If i get help for one of the standards, I can write the code for others easily..

Tommaso Pecorella

unread,
Mar 29, 2014, 2:54:02 PM3/29/14
to ns-3-...@googlegroups.com
Duplicate message.

I'm sorry if I replied to the other one. My actual policy is to delay any answer to a duplicate post by at least 1 day. And to increase exponentially for each duplicate post.
E.g., 2 posts -> 1 day delay.
3 posts -> 2 days
4 posts -> 4 days
5 posts -> 16 days

Moreover, there's a bonus for replying to an extremely old thread (more than 1 year ago): 2 days.

Too bad I replied to the other one, because I had to ignore your request for at least 3 days under my new policy.

T.

neha singh

unread,
Mar 29, 2014, 3:16:04 PM3/29/14
to ns-3-...@googlegroups.com
So 3 days it is now!
I should have known this earlier!

Maybe i can come up with an accurate code for you to help me with after 3 days.
Thank you!
Reply all
Reply to author
Forward
0 new messages