linux/include/net/bluetooth
Florian Grandel fffd38bca5 Bluetooth: mgmt/hci_core: multi-adv for add_advertising*()
The add_advertising() and add_advertising_complete() functions reference
the now obsolete hdev->adv_instance struct. Both methods are being
refactored to access the dynamic advertising instance list instead.

This patch also introduces all logic necessary to actually deal with
multiple instance advertising. Notably the mgmt_adv_inst_expired() and
schedule_adv_inst() method are being referenced to schedule instances in
a round robin fashion.

This patch also introduces a "pending" flag into the adv_info struct.
This is necessary to identify and remove recently added advertising
instances when the HCI commands return with an error status code.
Otherwise new advertising instances could be leaked without properly
informing userspace about their existence.

Signed-off-by: Florian Grandel <fgrandel@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-06-18 18:11:52 +02:00
..
bluetooth.h Bluetooth: Move SCO support under BT_BREDR config option 2015-06-09 13:41:36 +02:00
hci_core.h Bluetooth: mgmt/hci_core: multi-adv for add_advertising*() 2015-06-18 18:11:52 +02:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci_sock.h Bluetooth: Move HCI socket definitions into its own header file 2014-07-11 13:53:04 +03:00
hci.h Bluetooth: Read encryption key size for BR/EDR connections 2015-06-12 11:38:45 +02:00
l2cap.h Bluetooth: 6lowpan: Add IPSP PSM value 2014-12-19 11:12:05 +01:00
mgmt.h Bluetooth: Add macros for advertising instance flags 2015-03-26 03:30:28 +01:00
rfcomm.h Bluetooth: Remove duplicate constant for RFCOMM PSM 2014-12-20 19:55:04 +02:00
sco.h Bluetooth: Move SCO timeout constants into net/bluetooth/sco.c 2014-07-11 13:58:58 +03:00