commit | 0a0aba42b8daba55e4d2bdfc3c8ca7d7d827b723 | [log] [tgz] |
---|---|---|
author | Mat Martineau <mathewm@codeaurora.org> | Thu May 17 20:53:39 2012 -0700 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Tue Jun 05 06:34:03 2012 +0300 |
tree | 21f27405894f84c00fba0f42199802ba5acc1025 | |
parent | f5dbb0772df3feb2bb5eda8a9f0e0acdeb25653f [diff] |
Bluetooth: Refactor l2cap_send_ack The function now encapsulates more of the logic to either immediately send an ack if the transmit window is over 75% full, or wait for the ack timer to expire if the transmit window is not full enough. It is also able to push out waiting iframes that can carry an acknowledgement. Signed-off-by: Mat Martineau <mathewm@codeaurora.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>