diff options
| author | Tedd Ho-Jeong An <[email protected]> | 2021-08-04 17:32:09 -0700 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2021-08-05 16:03:29 +0200 |
| commit | ca5425e15881522fed47ddae60c22a487edef182 (patch) | |
| tree | 79513909c76deabee232c7a263b89725945addac /tools/perf/scripts/python/bin | |
| parent | 6ec566131de0e330fffd33753b325fb4d6b2d00e (diff) | |
Bluetooth: btintel: Add combined setup and shutdown functions
There are multiple setup and shutdown functions for Intel device and the
setup function to be used is depends on the USB PID/VID, which makes
difficult to maintain the code and increases the code size.
This patch adds combined setup and shutdown functions to provide a
single entry point for all Intel devices and choose the setup functions
based on the information read with HCI_Intel_Read_Version command.
Starting from TyP device, the command and response parameters for
HCI_Intel_Read_Version command are changed even though OCF remains
same. However, the legacy devices still can handle the command without
error even if it has a extra parameter, so to simplify the flow,
the new command format is used to read the version information for
both legacy and new (tlv based) format.
Also, it also adds a routine to setup the hdev callbacks in btintel.
Signed-off-by: Tedd Ho-Jeong An <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions