Multiple APs and STAs in the same channel

529 views
Skip to first unread message

Con con

unread,
Apr 21, 2018, 2:16:00 AM4/21/18
to ns-3-users
Hello All, 
I would like to ask if there is a way to setup a WiFi topology as shown in the diagram I have attached. Assuming that sta1,sta2,sta3 are associated with AP1 only and sta4,sta5,sta6 are associated with AP2, I would like to measure throughput datarate and other options which currently I am able to measure using one Access Point and Multiple Stations. Is it possible to define such topology ?
By the way I managed to inject RSSI values, and DELAY which were extracted by different simulator. If anybody is interested I can share. 

Thanks.!
MulitpleAPs_topology.pdf
Message has been deleted

Crem sarrin

unread,
Apr 21, 2018, 6:03:46 AM4/21/18
to ns-3-users
Hi!
I think it is feasible . There will be some problem with routing if you use ns3 routing helpers , since the APs belong to the same channel. :)
Best
38469152-72c8b56c-3b50-11e8-870a-623f308b05c4.pdf

Con con

unread,
Apr 21, 2018, 1:11:21 PM4/21/18
to ns-3-users
Hello Crem,
The graph you have sent looks great. ! Is is possible to post sample source code.. ?
Thanks in advanced

Crem sarrin

unread,
Apr 21, 2018, 1:31:59 PM4/21/18
to ns-3-...@googlegroups.com
Hi con ,
The idea is very simple actually with this one . I found this is the least troublesome way to do it . What I did was just building Ap and Sta nodes like normal and then you can connect a sta to an ap with each other by a p2pconnection . It can be seen in my case as a phone connect to a modem after writing in password . There are also other way which are more troublesome to do like manually routing , or routing with static routing , but this idea just work as well . I think in your case you just need something like tracedvalue or tracecallback to synchronize up the datarate of p2p and the wifi connection between sta and ap plus this idea . Unfortunately I can't send you my code since it has something to do with my works , I hope you dont mind :) .
Static routing:  https://www.nsnam.org/doxygen/static-routing-slash32_8cc_source.html //This example show how to static route between two node . well if you have 100 nodes then this will be a big pain to manually route all of them .
Routing in ns3 : https://www.nsnam.org/docs/models/html/routing-overview.html
https://github.com/nalvin/ns3-multiple-ap // this guy builded his program with multiple ap with the same channel , but it tooks me to long and it seems that he wrote this one in an old version of ns3 so not sure if it works anymore.
https://www.researchgate.net/publication/271419947_A_Wi-Fi_Simulation_Model_Which_Supports_Channel_Scanning_across_Multiple_Non-overlapping_Channels_in_NS3   //Proposal about how to do multiple aps in the same channel in ns3 , but as mentioned it is way to troublesome to achieve the same result in my own experiment so I just go with the Idea I describe above .




--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Crem sarrin

unread,
Apr 21, 2018, 1:45:20 PM4/21/18
to ns-3-users
I forgot to add that if you use Ipv4GlobalRoutingHelper like my case then you need to comment out NS_ASSERT_MSG (m_ecmpRootExits.size () <= 1, "Assumed there is at most one exit from the root to this vertex"); in the function SPFVertex::GetRootExitDirection () in the headerfile of ns3 global-route-manager-impl.cc  .
Good luck :) !

Con con

unread,
Apr 21, 2018, 2:32:55 PM4/21/18
to ns-3-users
Hello Crem,
Thanks for your response. I found an example that looks like for what i wanted to build but a little bit different. Please take a look on the following : 
The only difference is that I want each access point to be independent from the other. Is that something similar that you have shown ???
Thanks. 

Crem sarrin

unread,
Apr 21, 2018, 2:48:35 PM4/21/18
to ns-3-...@googlegroups.com
In my case I did not need to use a bridge ,but I think it would also work :).

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.

Con con

unread,
Apr 21, 2018, 4:30:34 PM4/21/18
to ns-3-users
Great!!. I will test and let you know!
thanks.!

kergun

unread,
Apr 28, 2018, 5:20:49 AM4/28/18
to ns-3-users
Hi,

I'm trying to measure throughput and delay for one AP , multiple STA case. Can you share your script for that ?

Thanks

Con con

unread,
Jul 21, 2018, 4:03:15 PM7/21/18
to ns-3-users
Hello kergun, sorry for the delay. I will share the code soon. Currently I am not at my developing pc. Sorry for the delay.

fordev user

unread,
Aug 14, 2019, 5:37:57 AM8/14/19
to ns-3-users
Hello Con Con,

I'm interested on your code can you share it please?

thank you an advance.

Reply all
Reply to author
Forward
0 new messages