]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Introduce connection parameters list
authorAndre Guedes <andre.guedes@openbossa.org>
Mon, 3 Feb 2014 16:56:18 +0000 (13:56 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:44 +0000 (09:51 +0200)
commit15819a7065ac46eb804498bb7ccbba60d8f7d4d5
tree61c6935eb81741cee0c115afe8ab62cef096358a
parent424ef94311512ef48a5464d173ef83862e4653cb
Bluetooth: Introduce connection parameters list

This patch adds to hdev the connection parameters list (hdev->le_
conn_params). The elements from this list (struct hci_conn_params)
contains the connection parameters (for now, minimum and maximum
connection interval) that should be used during the connection
establishment.

Moreover, this patch adds helper functions to manipulate hdev->le_
conn_params list. Some of these functions are also declared in
hci_core.h since they will be used outside hci_core.c in upcoming
patches.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c