We are trying to implement the ACK filtering module of CAKE in ns-3 (Network Simulator).
We had a question on the working of ack filtering.
If an incoming ack which can replace an eligible ack in the queue is about to be enqueued, do we replace the ack in the queue with the incoming ack
or do we enqueue the ack to the tail of the queue and remove the eligible ack from the queue?