Re: [RFC 1/4] Bluetooth: Prepare start_discovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andre,

> This patch does some code refactoring in start_discovery function
> in order to prepare it for interleaved discovery support.
> 
> The discovery type macros were defined according to mgmt-api.txt
> specification:
> 
> Possible values for the Type parameter are a bit-wise or of the
> following bits:
> 
> 	1	BR/EDR
> 	2	LE Public
> 	3	LE Random
> 
> By combining these e.g. the following values are possible:
> 
> 	1	BR/EDR
> 	6	LE (public & random)
> 	7	BR/EDR/LE (interleaved discovery)
> 
> Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx>
> ---
>  include/net/bluetooth/hci_core.h |    4 ++++
>  net/bluetooth/mgmt.c             |   15 ++++++++++-----
>  2 files changed, 14 insertions(+), 5 deletions(-)

Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux