Assigning 5 GHz channels to stations in INET

188 views
Skip to first unread message

Foroutan Fami

unread,
Feb 22, 2021, 10:29:37 PM2/22/21
to OMNeT++ Users
I am trying to implement a Wi-Fi network with multiple access points in Omnet++ and I want to assign different channels to each set of stations for each access point. Based on the documentation and the examples it can be done in 2.4GHz like a charm but when I tried to use the same thing in 5GHZ I faced the following error: 

Capture.PNG

Here is the line I used in the INI file:
*.sta0.wlan[*].radio.channelNumber = 40

I would appreciate it if someone can give me a comment on how to deal with it.

Alfonso Ariza Quintana

unread,
Feb 23, 2021, 11:16:22 AM2/23/21
to omn...@googlegroups.com
Have you checked that the channel exists?
the number of channels is a function of the bandwidth
for 20MHz bandwidth the number of channels is 25, 40Mhz 12, 80MHz 8 and 160MHz 2.

If you have set 20MHz that is the default, 40 doesn't exist



De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de Foroutan Fami <forout...@gmail.com>
Enviado: martes, 23 de febrero de 2021 4:29
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Assigning 5 GHz channels to stations in INET
 
--
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/f611e60b-981c-4cd8-b172-8ee594f1d624n%40googlegroups.com.

Foroutan Fami

unread,
Feb 23, 2021, 11:49:02 AM2/23/21
to OMNeT++ Users

Hi Alfonso,
Regarding what you mentioned I used a different numbering scheme for the channels and it seems like it is working so I assume if I use channel 0 it would correspond to channel number 36 in the UNII-1 5GHZ band. 
Capture.PNG

I was wondering where can I find documentation on this type of information in Omnet++. 

Alfonso Ariza Quintana

unread,
Feb 23, 2021, 11:53:16 AM2/23/21
to omn...@googlegroups.com
Yes, the numeration is 0,1,2,3,4,


Enviado: martes, 23 de febrero de 2021 17:49
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Assigning 5 GHz channels to stations in INET
 

Foroutan Fami

unread,
Feb 23, 2021, 12:04:46 PM2/23/21
to OMNeT++ Users
Thanks for the help.

Still, I am looking for a document that I could find such information in it. I am doing a project with Omnet and I might come up with many questions such as this one. Can you suggest any references? Can I find such information in "https://docs.omnetpp.org/"?

Alfonso Ariza Quintana

unread,
Feb 23, 2021, 2:36:39 PM2/23/21
to omn...@googlegroups.com

 

De: Foroutan Fami
Enviado: martes, 23 de febrero de 2021 18:04
Para: OMNeT++ Users
Asunto: Re: [Omnetpp-l] Assigning 5 GHz channels to stations in INET

 

Thanks for the help.


Still, I am looking for a document that I could find such information in it. I am doing a project with Omnet and I might come up with many questions such as this one. Can you suggest any references? Can I find such information in "https://docs.omnetpp.org/"?

 

 

On Tuesday, February 23, 2021 at 11:53:16 AM UTC-5 Alfonso Ariza Quintana wrote:

Yes, the numeration is 0,1,2,3,4,

 

Enviado: martes, 23 de febrero de 2021 17:49
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Assigning 5 GHz channels to stations in INET

 


Hi Alfonso,

Regarding what you mentioned I used a different numbering scheme for the channels and it seems like it is working so I assume if I use channel 0 it would correspond to channel number 36 in the UNII-1 5GHZ band. 

 

I was wondering where can I find documentation on this type of information in Omnet++. 

On Tuesday, February 23, 2021 at 11:16:22 AM UTC-5 Alfonso Ariza Quintana wrote:

Have you checked that the channel exists?

the number of channels is a function of the bandwidth

for 20MHz bandwidth the number of channels is 25, 40Mhz 12, 80MHz 8 and 160MHz 2.

 

If you have set 20MHz that is the default, 40 doesn't exist

 

 

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de Foroutan Fami <forout...@gmail.com>
Enviado: martes, 23 de febrero de 2021 4:29
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Assigning 5 GHz channels to stations in INET

 

I am trying to implement a Wi-Fi network with multiple access points in Omnet++ and I want to assign different channels to each set of stations for each access point. Based on the documentation and the examples it can be done in 2.4GHz like a charm but when I tried to use the same thing in 5GHZ I faced the following error: 


 

Here is the line I used in the INI file:

*.sta0.wlan[*].radio.channelNumber = 40

 

I would appreciate it if someone can give me a comment on how to deal with it.

--
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/f611e60b-981c-4cd8-b172-8ee594f1d624n%40googlegroups.com.

--
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.

--
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.

Reply all
Reply to author
Forward
0 new messages