Reputation: 165
There are several frequency bands within the radio spectrum that are used for the Wi-Fi and within these, there are many channels that have been designated with numbers so they can be identified. The table given below provides the frequencies for the total of fourteen 802.11 Wi-Fi channels that are available around the globe.
How to allocate different channels for example 1, 3, 8 to three-radio interfaces of a wireless node as drawn in Figure 2 for node 1? The Showcases > Wireless > Multiple Wireless Interfaces example is not my answer. (without access point and set channel number to the interface not based on SSID for tuning channel for periods of simulation time is intended. See the second figure)
Upvotes: 0
Views: 193
Reputation: 7002
You can set in omnetpp.ini
:
*.host[*].wlan[*].radio.bandwidth = 20MHz
*.host[0].wlan[0].radio.centerFrequency = 2.412GHz # channel no 1
*.host[0].wlan[1].radio.centerFrequency = 2.422GHz # channel no 3
*.host[0].wlan[2].radio.centerFrequency = 2.447GHz # channel no 8
# and so on ...
Reference: Ieee80211Radio.
Upvotes: 0