In VANETs we read a lot about classifying the packets arriving at vehicles as being either arrived from "vehicles at the front" or from "vehicles at the back". However, I am interested to know about the theory behind the detection of a signal's direction of arrival in VANETs. What equipment is used in that? Do positioning devices such as GPS or GNSS modules play a major role, and what is the theory behind it?