Reputation: 435
When creating WaveShortMessage or (wsm) in Veins, there is a priority field that needs to be specified for each packet. The priority levels that can be used are 0-3. Also based on this paper WAVE uses EDCA as MAC layer protocol. EDCA has four different Access Categories (AC) or queues. These queues are used to prioritize outgoing packets. My questions are:
Upvotes: 1
Views: 271
Reputation: 6943
In Veins 4a2, assignment of packets from upper layers to EDCA queues is done in the MAC's handleUpperMsg function, which calls mapPriority. This function performs the following straightforward assignment:
case 0: return AC_BK;
case 1: return AC_BE;
case 2: return AC_VI;
case 3: return AC_VO;
Upvotes: 4