]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Store device name in scan response data
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2013 07:16:49 +0000 (00:16 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Oct 2013 07:31:42 +0000 (10:31 +0300)
commite3cb416834dbf72d43fe4ed22030c335d0fe5f98
treed491e1d7541ec44831644a19859def70cd270521
parent8b9c84c0d521c182435dfb99d72dd34ff8508708
Bluetooth: Store device name in scan response data

The scan response data is a better place to store the device name
since it has more space available and is also enforcing privacy.

When the controller is advertising, the connectable setting decides
if ADV_IND or ADV_NONCONN_IND is used. In case of ADV_IND, the
remote side is allowed to request the scan response data. Same as
with BR/EDR where either EIR is used or a remote name request. In
non-connectable mode, the device name is not available since it is
not allowed to request scan response data. Same as in BR/EDR where
the device is non-discoverable and no name requests are answered.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c