diff mbox series

[v1] monitor/intel: Add decoding of firmware SHA1 in read version event

Message ID 20240228092504.3716904-1-kiran.k@intel.com (mailing list archive)
State New, archived
Headers show
Series [v1] monitor/intel: Add decoding of firmware SHA1 in read version event | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/BuildEll success Build ELL PASS
tedd_an/BluezMake success Bluez Make PASS
tedd_an/MakeCheck success Bluez Make Check PASS
tedd_an/MakeDistcheck success Make Distcheck PASS
tedd_an/CheckValgrind success Check Valgrind PASS
tedd_an/CheckSmatch success CheckSparse PASS
tedd_an/bluezmakeextell success Make External ELL PASS
tedd_an/IncrementalBuild success Incremental Build PASS
tedd_an/ScanBuild success Scan Build PASS

Commit Message

K, Kiran Feb. 28, 2024, 9:25 a.m. UTC
< HCI Command: Intel Read Version (0x3f|0x0005) plen 1
        Requested Type:
          All Supported Types(0xff)
> HCI Event: Command Complete (0x0e) plen 107
      Intel Read Version (0x3f|0x0005) ncmd 1
        Status: Success (0x00)
        CNVi TOP(16): 0x00400410
        CNVr TOP(17): 0x00400410
        CNVi BT(18): 0x00173700
        CNVr BT(19): 0x00123720
        CNVr OTP(21): 0x0413
        Device Rev ID(22): 0x0000
        USB VID(23): 0x8087
        USB PID(24): 0x0032
        Image Type(28): Firmware(0x03)
        Time Stamp(29): 23-42
        Build Type(30): 0x01
        Build Num(31): 0x00011d97
        FW Build Product(32): 0x06
        FW Build HW(33): 0x06
        FW Build Step(34): 0xa0
        BT Spec(35): 0x00
        Manufacturer(36): Intel Corp. (2)
        HCI Revision(37): 0x3597
        LMP SubVersion(38): 0x3597
        OTP Lock(42): Disabled(0)
        API Lock(43): Disabled(0)
        Firmware SHA1(50): 0x2e575f2a
        Unknown Type(51):
        00
        Unknown Type(52):
        Unknown Type(53):
        00 00 00 00
---
 monitor/intel.c | 1 +
 1 file changed, 1 insertion(+)

Comments

bluez.test.bot@gmail.com Feb. 28, 2024, 10:32 a.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=830620

---Test result---

Test Summary:
CheckPatch                    PASS      0.31 seconds
GitLint                       PASS      0.22 seconds
BuildEll                      PASS      24.07 seconds
BluezMake                     PASS      715.60 seconds
MakeCheck                     PASS      11.37 seconds
MakeDistcheck                 PASS      165.02 seconds
CheckValgrind                 PASS      228.11 seconds
CheckSmatch                   PASS      335.99 seconds
bluezmakeextell               PASS      109.15 seconds
IncrementalBuild              PASS      660.28 seconds
ScanBuild                     PASS      965.89 seconds



---
Regards,
Linux Bluetooth
K, Kiran March 12, 2024, 5:12 a.m. UTC | #2
Hi Luiz,

Friendly reminder.

> -----Original Message-----
> From: K, Kiran <kiran.k@intel.com>
> Sent: Wednesday, February 28, 2024 2:55 PM
> To: linux-bluetooth@vger.kernel.org
> Cc: Srivatsa, Ravishankar <ravishankar.srivatsa@intel.com>; Tumkur Narayan,
> Chethan <chethan.tumkur.narayan@intel.com>; K, Kiran <kiran.k@intel.com>
> Subject: [PATCH v1] monitor/intel: Add decoding of firmware SHA1 in read
> version event
> 
> < HCI Command: Intel Read Version (0x3f|0x0005) plen 1
>         Requested Type:
>           All Supported Types(0xff)
> > HCI Event: Command Complete (0x0e) plen 107
>       Intel Read Version (0x3f|0x0005) ncmd 1
>         Status: Success (0x00)
>         CNVi TOP(16): 0x00400410
>         CNVr TOP(17): 0x00400410
>         CNVi BT(18): 0x00173700
>         CNVr BT(19): 0x00123720
>         CNVr OTP(21): 0x0413
>         Device Rev ID(22): 0x0000
>         USB VID(23): 0x8087
>         USB PID(24): 0x0032
>         Image Type(28): Firmware(0x03)
>         Time Stamp(29): 23-42
>         Build Type(30): 0x01
>         Build Num(31): 0x00011d97
>         FW Build Product(32): 0x06
>         FW Build HW(33): 0x06
>         FW Build Step(34): 0xa0
>         BT Spec(35): 0x00
>         Manufacturer(36): Intel Corp. (2)
>         HCI Revision(37): 0x3597
>         LMP SubVersion(38): 0x3597
>         OTP Lock(42): Disabled(0)
>         API Lock(43): Disabled(0)
>         Firmware SHA1(50): 0x2e575f2a
>         Unknown Type(51):
>         00
>         Unknown Type(52):
>         Unknown Type(53):
>         00 00 00 00
> ---
>  monitor/intel.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/monitor/intel.c b/monitor/intel.c index
> 0de864d8a41e..aa05a803bf8e 100644
> --- a/monitor/intel.c
> +++ b/monitor/intel.c
> @@ -291,6 +291,7 @@ static const struct intel_version_tlv_desc {
>  	{ 47, "SBE Type", print_version_tlv_u8 },
>  	{ 48, "OTP BDADDR", print_version_tlv_otp_bdaddr },
>  	{ 49, "Unlocked State", print_version_tlv_enabled },
> +	{ 50, "Firmware SHA1", print_version_tlv_u32 },
>  	{ 0, NULL, NULL },
>  };
> 
> --
> 2.34.1

Thanks,
Kiran
diff mbox series

Patch

diff --git a/monitor/intel.c b/monitor/intel.c
index 0de864d8a41e..aa05a803bf8e 100644
--- a/monitor/intel.c
+++ b/monitor/intel.c
@@ -291,6 +291,7 @@  static const struct intel_version_tlv_desc {
 	{ 47, "SBE Type", print_version_tlv_u8 },
 	{ 48, "OTP BDADDR", print_version_tlv_otp_bdaddr },
 	{ 49, "Unlocked State", print_version_tlv_enabled },
+	{ 50, "Firmware SHA1", print_version_tlv_u32 },
 	{ 0, NULL, NULL },
 };