tcp: Fix TcpRateOps to update m_ackElapsed like Linux
Co-authored-by: Chetan Agarwal chetanag35@gmail.com
This patch aligns the delivery rate estimation in ns-3 with Linux. The time gap between two consecutive rate estimates was calculated differently in ns-3; it is now aligned with Linux.
This was noticed in the process of aligning ns-3 BBR model (which is out of tree as of now) with Linux BBR model.