]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Channel move request handling
authorMat Martineau <mathewm@codeaurora.org>
Tue, 23 Oct 2012 22:24:10 +0000 (15:24 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 02:09:15 +0000 (00:09 -0200)
commit3dd83adc276cf23dfc761df1a72333631ce18ca4
treeae848f370d64143399cfe56add8c58c4c2577aca
parent70183d231b86d9c9766832677f2ba1a5e6187603
Bluetooth: Channel move request handling

On receipt of a channel move request, the request must be validated
based on the L2CAP mode, connection state, and controller
capabilities.  ERTM channels must have their state machines cleared
and transmission paused while the channel move takes place.

If the channel is being moved to an AMP controller then
an AMP physical link must be prepared.  Moving the channel back to
BR/EDR proceeds immediately.

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