diff options
| author | Daniel Winkler <[email protected]> | 2020-12-03 20:12:51 +0000 |
|---|---|---|
| committer | Johan Hedberg <[email protected]> | 2020-12-07 15:01:38 +0000 |
| commit | 7c395ea521e6c8d77f643be61bf2f0f3a1f5b3e8 (patch) | |
| tree | 5e3d791afeb45da4d0b44830849253eb1ad2219a /net/bluetooth/hci_request.c | |
| parent | Bluetooth: Use intervals and tx power from mgmt cmds (diff) | |
| download | kernel-7c395ea521e6c8d77f643be61bf2f0f3a1f5b3e8.tar.gz kernel-7c395ea521e6c8d77f643be61bf2f0f3a1f5b3e8.zip | |
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 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions
