diff options
author | Daniel Winkler <[email protected]> | 2020-12-03 12:12:51 -0800 |
---|---|---|
committer | Johan Hedberg <[email protected]> | 2020-12-07 17:01:38 +0200 |
commit | 7c395ea521e6c8d77f643be61bf2f0f3a1f5b3e8 (patch) | |
tree | 5e3d791afeb45da4d0b44830849253eb1ad2219a /tools/perf/scripts/python/sctop.py | |
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 <[email protected]>
Signed-off-by: Daniel Winkler <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Signed-off-by: Johan Hedberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions