Bluetooth: Configure appropriate timeouts for AMP controllers
authorMat Martineau <mathewm@codeaurora.org>
Tue, 23 Oct 2012 22:24:20 +0000 (15:24 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 02:25:42 +0000 (00:25 -0200)
commit36c86c8566cec67924ae6f372d9066cc9e92ad0e
tree7a5414c85edd8ceb8c78fa13ef660171e0db2c67
parentb99e13ade709274104f5c2b8a26dc7d2953fc58e
Bluetooth: Configure appropriate timeouts for AMP controllers

The L2CAP spec recommends specific retransmit and monitor timeouts for
ERTM channels that are on AMP controllers.  These timeouts are
calculated from the AMP controller's best effort flush timeout.

BR/EDR controllers use the default retransmit and monitor timeouts.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c