Re: [PATCH 4/4] Bluetooth: Sort to-be-resolved devices by RSSI during discovery

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

 



Hi Johan,

> This patch makes sure that devices with stronger signal (RSSI closer to
> 0) are sorted first in the resolve list and will therefore get their
> names resolved first during device discovery. Since it's more likely
> that the device the user is trying to discover has a strong signal due
> to its proximity this ensures that the user gets the "device found"
> event for it more quickly.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
>  include/net/bluetooth/hci_core.h |    2 ++
>  net/bluetooth/hci_core.c         |   28 +++++++++++++++++++++++++++-
>  net/bluetooth/mgmt.c             |    2 +-
>  3 files changed, 30 insertions(+), 2 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