OSDN Git Service

Bluetooth: btintel: Add infrastructure to read controller information
authorKiran K <kiraank@gmail.com>
Mon, 14 Sep 2020 13:25:05 +0000 (18:55 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Sep 2020 18:30:36 +0000 (20:30 +0200)
commit57375beef71af9f245e88357fa71d9600650cb7d
tree28218c16b846411a872a83fb011173c3b9f73308
parent53274477acf23a7995428e981924e56379778874
Bluetooth: btintel: Add infrastructure to read controller information

New generation Intel controllers returns version information in TLV
format. This patch adds,

1) Enums, structures for TLV

2) function to read controller information, parse TLV data and populate
   intel_version_tlv structure

3) function to print version information

Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Amit K Bag <amit.k.bag@intel.com>
Signed-off-by: Raghuram Hegde <raghuram.hegde@intel.com>
Reviewed-by: Chethan T N <chethan.tumkur.narayan@intel.com>
Reviewed-by: Srivatsa Ravishankar <ravishankar.srivatsa@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btintel.c
drivers/bluetooth/btintel.h