In my project, I need to instrument MadWifi to get the following four
1. The transmitter is backing off at the start of a new transmission
because of carrier sense
2. The transmitter is backing off after previously having backed off
because the medium is again sensed idle.
3. The receiver is losing packets because of CRC errors in the packet
4. The receiver detects energy on the channel, but it is too low, so it
does not bother decoding the packet
I need a way to know exactly when each of these events occur. Can
someone please guide me to the relevant pieces of code?