|
Algorithm 5 rDWS Algorithm (The Queue Update Module) |
-
1:
Initialize as counters with value zero
-
2:
if SQ is empty then
-
3:
Do nothing
-
4:
else
-
5:
Call Coding Module (rDWS), get linear combination l and transmit it
-
6:
end if
-
7:
NACK generation at receivers
-
8:
for to n
do
-
9:
if NACK is received from receiver j
then
-
10:
Do nothing
-
11:
else
-
12:
-
13:
end if
-
14:
end for
-
15:
Find
-
16:
Drop the packet with index from SQ if it was not dropped at a previous slot
|