Skip to contentSkip to conversation

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

PATCH In review Kiran K 2 participants 3 messages Nov 28, 2023 – Dec 21, 2023 Bluetooth drivers

lore
Share & tools
lore

Kiran K

author
#0 lore raw

PATCH 1/1 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)
Quoted 1 line

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(+)
monitor/intel.c +1 -0
index 0191987d45fb..4aea4d5fbb99 100644
@@ -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 },
 };
 
Signature · 1 line
2.34.1
#1 lore raw

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=804725

---Test result---

Test Summary:

CheckPatch                    PASS      0.43 seconds
GitLint                       PASS      0.53 seconds
BuildEll                      PASS      24.25 seconds
BluezMake                     PASS      547.27 seconds
MakeCheck                     PASS      11.13 seconds
MakeDistcheck                 PASS      151.07 seconds
CheckValgrind                 PASS      213.09 seconds
CheckSmatch                   PASS      319.63 seconds
bluezmakeextell               PASS      97.62 seconds
IncrementalBuild              PASS      511.68 seconds
ScanBuild                     PASS      937.32 seconds

---
Regards,
Linux Bluetooth

author
#2 lore raw
In reply to Kiran K

Hi Luiz,

Quoted 59 lines

-----Original Message-----
From: K, Kiran <[email protected]>
Sent: Tuesday, November 28, 2023 9:59 AM
To: [email protected]
Cc: Srivatsa, Ravishankar <[email protected]>; K, Kiran <[email protected]>
Subject: [PATCH] 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)
Quoted 1 line

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(+)
monitor/intel.c index renamed from monitor/intel.c +0 -0

0191987d45fb..4aea4d5fbb99 100644

monitor/intel.c +1 -1
@@ -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 },
 };
 
--
Quoted 1 line

2.34.1

Thanks,
Kiran