a network with multiple access points

196 views
Skip to first unread message

Foroutan Fami

unread,
Feb 27, 2021, 1:50:55 PM2/27/21
to OMNeT++ Users
I am implementing a network with multiple access points and trying to manually assign stations to the desired access points. However, I noticed that my stations are not receiving any data packets! I have used the following approach for assigning users to access points:

*.sta0.wlan[*].mgmt.accessPointAddress = "01:00:00:00:00:00"
*.sta0.wlan[*].radio.channelNumber = 1
*.sta3.wlan[*].mgmt.accessPointAddress = "02:00:00:00:00:00"
*.sta3.wlan[*].radio.channelNumber = 2 

I have assigned separate radio frequency channels for each access point but it seems like something is wrong! I was wondering if anyone has a comment on that so I could make it work.

khalid.mo...@gmail.com

unread,
Feb 28, 2021, 12:33:13 AM2/28/21
to OMNeT++ Users
I used a few months ago like following, it may help you. 

#Access Point
**.ap1.wlan[*].address = "10:10:10:10:10:01"
**.cliHost1.wlan.mgmt.accessPointAddress = "10:10:10:10:10:01"
**.ap2.wlan[*].address = "10:10:10:10:10:02"
**.cliHost2.wlan.mgmt.accessPointAddress = "10:10:10:10:10:02"

#channel Numbers
**.ap1.wlan[*].radio.channelNumber = 11
**.cliHost1.wlan.radio.channelNumber = 11
**.ap2.wlan[*].radio.channelNumber = 1
**.cliHost2.wlan.radio.channelNumber = 1

khalid.mo...@gmail.com

unread,
Feb 28, 2021, 12:40:15 AM2/28/21
to OMNeT++ Users

if still, stations do not receive data then check some other parameters like the distance between Ap and STA, transmitter power level, and receiver sensitivity levels.

Alfonso Ariza Quintana

unread,
Feb 28, 2021, 5:39:01 AM2/28/21
to omn...@googlegroups.com
You can check in the simulation interface if the node has the correct values, it is possible that the node has not read the values.

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de khalid.mo...@gmail.com <khalid.mo...@gmail.com>
Enviado: domingo, 28 de febrero de 2021 6:40
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Re: a network with multiple access points
 
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/c0815b44-fd0a-451f-996c-865e89ecfd03n%40googlegroups.com.

Foroutan Fami

unread,
Feb 28, 2021, 8:55:32 PM2/28/21
to omn...@googlegroups.com

I have already tried as explained to connect the devices to the access points. I also increased the transmission power by the order of 5 but still, there is no communication in the network! I should have missed something in the middle of it!
I have attached the INI and NED files in case anyone wants to try them.

Mailtrack Sender notified by
Mailtrack 02/28/21, 08:44:55 PM

You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/iwCF0Ym5dFk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/AM6PR0602MB338368F042A0FAED829040948C9B9%40AM6PR0602MB3383.eurprd06.prod.outlook.com.
wifiSimulation.zip

Alfonso Ariza Quintana

unread,
Mar 2, 2021, 7:01:41 PM3/2/21
to omn...@googlegroups.com
The configuration is erroneous, you have simplified AP with normal station, you cannot mix both

Also, at least with Simplified Sta, you need to define the ssid, that is not defined, also, the sources must wait a bit, if the sources begin to send data at the second 0 the AP won't have associated any node and the packet will be discarded.


De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de Foroutan Fami <forout...@gmail.com>
Enviado: lunes, 1 de marzo de 2021 2:55
Para: omn...@googlegroups.com <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Re: a network with multiple access points
 

Foroutan Fami

unread,
Mar 7, 2021, 5:09:19 PM3/7/21
to omn...@googlegroups.com
Hello Alfonso,

I have changed a lot of stuff in my in my NED and INI file. When there is a single access point, everything is working fine. As soon as I add an extra access point after the ProbResponse from the access point I receive an error that I don't understand and don't know where to start to find the solution with that. What am I missing here? I was wondering if you could help me with this.

P.S: I have attached the NED and INI files.

Best regards,

Foroutan




Mailtrack Sender notified by
Mailtrack 03/07/21, 04:45:27 PM

wifiSimulation.rar

Foroutan Fami

unread,
Mar 7, 2021, 9:41:29 PM3/7/21
to OMNeT++ Users
Some updates:
I have added two access points and got the following error. 
Capture.PNG
I tried to understand what is going on and based on the error I got I added the following code to the INI file to separate the access points.
Here is what I used:
*.ap0.wlan[*].mgmt.ssid = "COD0"
*.ap0.wlan[*].radio.channelNumber = 0
*.ap1.wlan[*].mgmt.ssid = "COD1"
*.ap1.wlan[*].radio.channelNumber = 2

 Doing such resolved the issue (error regarding the association and DCF) however, now there is no association between stations and AP which are assigned to use the other channel number. In this case, stations which are supposed to be connected to ap1 on channel two are not functional and they do not associate with the ap1.

Any recommendation on this?

Alfonso Ariza Quintana

unread,
Mar 8, 2021, 7:33:48 AM3/8/21
to omn...@googlegroups.com
Address format is erroneous, you have set the address of the AP like a multicast/broadcast address, when the nodes answer the ACK to the AP, all the nodes that receive the ACK will process the ACK and detect a strange situation.


 wlan[*].address = "01:00:00:00:00:00";
 eth[*].address = "01:10:00:00:00:00";

Are not valid address

Try with
 wlan[*].address = "BA:00:00:00:00:00";
 eth[*].address = "BA:10:00:00:00:00";


A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.


Enviado: domingo, 7 de marzo de 2021 23:09
Reply all
Reply to author
Forward
0 new messages