I am currently working on an 802.11p simulator, which makes use of the OMNeT++ and INET simulation frameworks.
I would just like to ask if there's a built-in function to get the "number of collisions" statistics. I found "numCollision" in BasicStatistics.cc (inet/src/inet/linklayer/ieee80211/mac/). However, it seems that it's not yet really implemented, as I could not find where "numCollision" is being incremented in the code and I always get 0 numCollision when running a scenario.
Could you please let me know how to get the "number of collisions" statistics using the INET framework? Thank you in advance for your help!