]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Provide function to create and set connection parameters
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jun 2014 10:34:39 +0000 (12:34 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:51 +0000 (17:42 +0200)
commitfb4d5ba88819495c35ce6ade4190f777964b9b88
treed51b8f325a1b0b0043ea309cd748bd9f546f2377
parente48e4a527f34d0f5fb2772f83a5e3eb2297b3c08
Bluetooth: Provide function to create and set connection parameters

In some cases it is useful to not overwrite connection parametes and
instead just create default ones if they don't exist. This function
does exactly that. hci_conn_params_add will allow to create new
default connection parameters. hci_conn_params_set will set the
values and also create new parameters if they don't exist.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c