diff options
author | Daniel Winkler <danielwinkler@google.com> | 2020-12-03 12:12:51 -0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2020-12-07 17:01:38 +0200 |
commit | 7c395ea521e6c8d77f643be61bf2f0f3a1f5b3e8 (patch) | |
tree | 5e3d791afeb45da4d0b44830849253eb1ad2219a /include/rdma/rdma_netlink.h | |
parent | 9bf9f4b6301ffbd51674e1168f8eeed214d2cf99 (diff) |
Bluetooth: Query LE tx power on startup
Queries tx power via HCI_LE_Read_Transmit_Power command when the hci
device is initialized, and stores resulting min/max LE power in hdev
struct. If command isn't available (< BT5 support), min/max values
both default to HCI_TX_POWER_INVALID.
This patch is manually verified by ensuring BT5 devices correctly query
and receive controller tx power range.
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>
Diffstat (limited to 'include/rdma/rdma_netlink.h')
0 files changed, 0 insertions, 0 deletions