Re: [PATCH] Bluetooth: Introduce controller setting information for static address

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

 



Hi Marcel,

On Fri, Mar 06, 2015, Marcel Holtmann wrote:
> Currently it is not possible to determine if the static address is used
> by the controller. It is also not possible to determine if using a
> static on a dual-mode controller with disabled BR/EDR is possible or
> not.
> 
> To address this issue, introduce a new setting called static-address. If
> support for this setting is signaled that means that the kernel supports
> using static addresses. And if used on dual-mode controllers with BR/EDR
> disabled it means that a configured static address can be used.
> 
> In addition utilize the same setting for the list of current active
> settings that indicates if a static address is configured and if that
> address will be actually used.
> 
> With this in mind the existing Set Static Address management command
> has been extended to return the current settings. That way the caller
> of that command can easily determine if the programmed address will
> be used or if extra steps are required.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  include/net/bluetooth/mgmt.h |  1 +
>  net/bluetooth/mgmt.c         | 28 ++++++++++++++++++++++++++--
>  2 files changed, 27 insertions(+), 2 deletions(-)

Applied to bluetooth-next. Thanks.

Johan
--
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