Collision Detection



I am doing my UG project on tactical packet radio. I am almost done with
physical layer in gnuradio and now gonna strart work on MAC. I am
willing to
impliment CSMA (p-persistant) but before diving into it i want to know
if it is possible to do collision detection in gnuradio and how?