Bluetooth: btintel: Add Device Configuration support
authorLoic Poulain <loic.poulain@intel.com>
Fri, 4 Sep 2015 15:54:34 +0000 (17:54 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:05 +0000 (13:20 +0200)
commit145f2368c5fd7962e37315ccc092670743019d08
tree8da5f5be3f49f6a2a68cebfb67df221c4b11f958
parenta9cb0fe4895cae95b49934af6fdcc54aa04e723d
Bluetooth: btintel: Add Device Configuration support

btintel_load_ddc_config retrieves the ddc file and sends its content
via DDC commands (opcode 0xfc8b).

The ddc file should contain one or more DDC structures.
A DDC structure is composed of the folowing fields:
field: | DDC LEN |    DDC ID    |   DDC VALUE   |
size:  | 1 byte  |    2 bytes   |  DDC LEN - 2  |

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btintel.c
drivers/bluetooth/btintel.h