kernel-hacking-2024-linux-s.../include/net/bluetooth
Andre Guedes 343f935bfa Bluetooth: Merge INQUIRY and LE_SCAN discovery states
This patch merges DISCOVERY_INQUIRY and DISCOVERY_LE_SCAN states
into a new state called DISCOVERY_FINDING.

From the discovery perspective, we are pretty much worried about
to know just if we are finding devices than what exactly phase of
"finding devices" (inquiry or LE scan) we are currently running.
Besides, to know if the controller is performing inquiry or LE scan
we should check HCI_INQUIRY or HCI_LE_SCAN bits in hdev flags.

Moreover, merging this two states will simplify the discovery state
machine and will keep interleaved discovery implementation simpler.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2012-02-19 12:34:09 +02:00
..
bluetooth.h Bluetooth: Move scope of state_to_string 2012-02-17 13:01:10 +02:00
hci.h Bluetooth: Clean up structures left unused 2012-02-13 17:01:33 +02:00
hci_core.h Bluetooth: Merge INQUIRY and LE_SCAN discovery states 2012-02-19 12:34:09 +02:00
l2cap.h Bluetooth: Use symbolic names for state in debug 2012-02-17 13:01:54 +02:00
mgmt.h Bluetooth: Prepare start_discovery 2012-02-19 12:32:21 +02:00
rfcomm.h Bluetooth: rfcomm: Fix sleep in invalid context in rfcomm_security_cfm 2011-11-07 17:24:49 -02:00
sco.h
smp.h Bluetooth: Rename smp_key_size to enc_key_size 2012-02-13 17:01:30 +02:00