Re: updating unacked_frames counter during retransmission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Suraj,

* Suraj Sumangala <suraj@xxxxxxxxxxx> [2011-03-03 12:00:35 +0530]:

> Hi Gustavo,
> 
> I have a question regarding the ERTM implementation.
> 
> Should we be incrementing the "l2cap_pinfo.unacked_frames" variable if 
> we are retransmitting a frame?

No, if we are retransmitting a frame that means L2CAP didn't received an ack
for it and we are already accounting it in unacked_frames and there is no need
to increment unacked_frames in this case.

> 
> Won't this cause the same frame to be accounted twice?
> 
> If there are too many retransmissions, will there be a chance that 
> "unacked_frames" could cross 0xFF and over flow.

No, unacked_frames number is limited by the remote transmission window size.

-- 
Gustavo F. Padovan
http://profusion.mobi
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux