diff options
author | Tedd Ho-Jeong An <tedd.an@intel.com> | 2015-06-12 16:20:05 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-17 15:06:42 +0200 |
commit | 52cc916818c86abc0a123bf1e55fd71c32aa042b (patch) | |
tree | 956b466922714371ec9ef23ef0c4655d30b57466 /init | |
parent | 3713416763dc03e9011a3146c42411189531446f (diff) | |
download | op-kernel-dev-52cc916818c86abc0a123bf1e55fd71c32aa042b.zip op-kernel-dev-52cc916818c86abc0a123bf1e55fd71c32aa042b.tar.gz |
Bluetooth: btusb: Add routine for applying Intel DDC parameters
This patch adds the routine to apply the DDC parameter from device
specific ddc file.
Once the device is rest to operational mode, optionally, it can
download the device specific configration (DDC) parameters before
the BlueZ starts the stack initialization.
It opens the DDC file based on HW_VARIANT and DEV_REVISION and
send ID/Value with HCI_Intel_Write_DDC command.
Format of DDC file
DDC file contains one or more number of DDC structure.
DDC Structure
It has 'Length' field of one octet, DDC 'ID' field of
two octets followed by the array of DDC 'Value' that gives
the value of parameters itself.
'Length' contains the length of DDC 'ID' and DDC 'Value'.
+------------+----------+
| Size(byte) | Name |
+------------+----------+
| 1 | Length |
+------------+----------+
| 2 | ID |
+------------+----------+
| Length - 2 | Value |
+------------+----------+
Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions