Re: [Bluez PATCH v2 1/3] Listen and process remote name resolving failure

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

 



Hi Archie,

> When Remote Name Resolve ends with failure, record this occurrence and
> prevent remote name resolving for the same device for some time.
> Increase the time duration for subsequent failures.
> ---
> Hi maintainers,
> 
> This is the patch series for remote name request as was discussed here.
> https://patchwork.kernel.org/project/bluetooth/patch/20211028191805.1.I35b7f3a496f834de6b43a32f94b6160cb1467c94@changeid/
> Please also review the corresponding kernel space change.
> 
> Changes in v2:
> * Stay silent instead of sending MGMT_OP_CONFIRM_NAME with DONT_CARE flag.
> 
> lib/mgmt.h    |  1 +
> src/adapter.c | 15 +++++++++++++--
> src/device.c  | 23 +++++++++++++++++++++++
> src/device.h  |  2 ++
> 4 files changed, 39 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/mgmt.h b/lib/mgmt.h
> index 0d1678f01d..468d31cafb 100644
> --- a/lib/mgmt.h
> +++ b/lib/mgmt.h
> @@ -856,6 +856,7 @@ struct mgmt_ev_auth_failed {
> #define MGMT_DEV_FOUND_CONFIRM_NAME	0x01
> #define MGMT_DEV_FOUND_LEGACY_PAIRING	0x02
> #define MGMT_DEV_FOUND_NOT_CONNECTABLE	0x04
> +#define MGMT_DEV_FOUND_NAME_RESOLVE_FAILED 0x10

NAME_REQUEST_FAILED please.

And you might want to indent the rest of the variables and provide this as an independent patch.

Regards

Marcel




[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