diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2011-07-08 21:31:45 (GMT) |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-07-08 21:39:19 (GMT) |
commit | 726b4ffcaa450d9593b9b6ac8605967ce9f3e506 (patch) | |
tree | 5d274067ab8946d081f01c9b160bff495aca857c /firmware/yam | |
parent | 5a0a8b49746771fba79866fb9185ffa051a6a183 (diff) | |
download | linux-726b4ffcaa450d9593b9b6ac8605967ce9f3e506.tar.xz |
Bluetooth: Add support for storing the key size
In some cases it will be useful having the key size used for
encrypting the link. For example, some profiles may restrict
some operations depending on the key length.
The key size is stored in the key that is passed to userspace
using the pin_length field in the key structure.
For now this field is only valid for LE controllers. 3.0+HS
controllers define the Read Encryption Key Size command, this
field is intended for storing the value returned by that
command.
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'firmware/yam')
0 files changed, 0 insertions, 0 deletions