]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Change MGMT security info CMD to be more generic
authorDaniel Winkler <danielwinkler@google.com>
Thu, 3 Dec 2020 20:12:52 +0000 (12:12 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Dec 2020 15:01:42 +0000 (17:01 +0200)
commit509d96b5a98e9eb651d1ea5868fb1189b854b740
treefeca8b0643645bb67ea56db7799b71552bff511a
parent704b9a3b2787ecc6bf66b8c8ea2026e1ff56d3ec
Bluetooth: Change MGMT security info CMD to be more generic

For advertising, we wish to know the LE tx power capabilities of the
controller in userspace, so this patch edits the Security Info MGMT
command to be more generic, such that other various controller
capabilities can be included in the EIR data. This change also includes
the LE min and max tx power into this newly-named command.

The change was tested by manually verifying that the MGMT command
returns the tx power range as expected in userspace.

Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Signed-off-by: Daniel Winkler <danielwinkler@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c