]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add configuration support for ERTM and Streaming mode
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Sat, 4 Jul 2009 18:06:24 +0000 (15:06 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:50:07 +0000 (14:50 -0700)
commit932519d360d6b4081809a10200db7cfd943c5a83
tree5bc6061e3b684ae545b24e2919ab43b711e04c4d
parent261d70e99192182174b29b1007690543c5a2042b
Bluetooth: Add configuration support for ERTM and Streaming mode

Add support to config_req and config_rsp to configure ERTM and Streaming
mode. If the remote device specifies ERTM or Streaming mode, then the
same mode is proposed. Otherwise ERTM or Basic mode is used. And in case
of a state 2 device, the remote device should propose the same mode. If
not, then the channel gets disconnected.

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c