Research Article

AMCCR: Adaptive Multi-QoS Cross-Layer Cooperative Routing in Ad Hoc Networks

Algorithm 1

Adaptive cooperative MAC data transmission.
if RE frame not received within timeout then
Transmission mode = direct transmission
end if
if RE frame received then
Check the Priority field in RE frame
if 1 Priority 3 then
Transmission mode = sender-relay-receiver transmission
if 4 Priority 6 then
Transmission mode = DF cooperative transmission
else if Priority 6 then
Transmission mode = AF cooperative transmission
end if
end if
end if