I am working on VANET and using NS-2.34. I am unable to perform beaconing. Should I have to patch WAVE/DSRC protocols in NS-2, if yes then where can I find the patch and example TCL files?
You could also start using Veins (http://veins.car2x.org/) which basically couples OMNeT++ and SUMO. It comes already with a simple WAVE/DSRC protocol which is easy to extend.