]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add SMP function for generating RPAs
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 23 Feb 2014 17:42:19 +0000 (19:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Feb 2014 20:24:25 +0000 (12:24 -0800)
commite891afa8db16264d66f74b8a02e9760181172a90
treedd0072842b21d35e57c044d02dacb51ce40f11ed
parent3eedb5b2891ca7a1fb203a444cb7c7aeeff7d362
Bluetooth: Add SMP function for generating RPAs

We need a function in smp.c to generate Resolvable Random Addresses in
order to support privacy. The local RPA will need to be generated before
advertising, scanning or connecting and regenerated at periodic
intervals. This patch adds the necessary function for RPA generation.

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