Reputation: 99
By the Omnet++ 6 and then Inet 4.4 framework:
I want to simulate a WiFi network that includes some nodes, each node has several radio interfaces for example two radio interfaces,
Can I get the RSSI value when a packet is received in the MAC layer? If the answer is yes, how to get the RSSI value? Should the amount of the RSSI be calculated by each radio interface that received the packet?
How about in the network layer?
Please include the necessary code in addition to the explanation.
Thanks in advance
Upvotes: 0
Views: 180
Reputation: 7002
Ad. 1. In MAC layer it is possible to get the power of the received signal - take a look at OMNET++: How to obtain wireless signal power?. The RSSI is proportional to the power of the signal, however the IEEE 802.11 standard does not specify how the RSSI is related to that power. It is vendor specific.
Ad. 2. The power of received signal as well as the radio interface ID are available for developers in the network layer - in the same way as presented in the mentioned answer.
Upvotes: 0