]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce unconfigured controller state
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 2 Jul 2014 17:10:33 +0000 (19:10 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:58 +0000 (17:42 +0200)
commit751126b33740c01bc530505af0ac93789ed3182e
tree7d802b11df2bece536da78a26bad41740e4336d4
parente3331d2b160a9adca2a79ee7fe9f33269d24f48f
Bluetooth: Introduce unconfigured controller state

With the new unconfigured controller state it is possible to provide a
fully functional HCI transport, but disable the higher level operations
that would normally happen. This way userspace can try to configure the
controller before releases the unconfigured state.

The internal state is represented by HCI_UNCONFIGURED. This replaces the
HCI_QUIRK_RAW_DEVICE quirk as internal state representation. This is now
a real state and drivers can use the quirk to actually trigger this
state. In the future this will allow a more fine grained switching from
unconfigured state to configured state for controller inititialization.

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