Bluetooth: btintel: Add support for GalePeak
PATCH 1/1 Bluetooth: btintel: Add support for GalePeak
Hardware variant for GalePeak core (CNVi) is added.
--- drivers/bluetooth/btintel.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/bluetooth/btintel.c +3 -0
@@ -480,6 +480,7 @@ static int btintel_version_info_tlv(struct hci_dev *hdev,case 0x18 :/* Slr */ case 0x19 :/* Slr-F */ case 0x1b :/* Mgr */ +case 0x1c :/* GaP */ break ;default : bt_dev_err(hdev, "Unsupported Intel hardware variant (0x%x)",
@@ -2648,6 +2649,7 @@ static void btintel_set_msft_opcode(struct hci_dev *hdev, u8 hw_variant)case 0x18 :case 0x19 :case 0x1b : +case 0x1c :hci_set_msft_opcode (hdev,0xFC1E );break ;default :
@@ -2862,6 +2864,7 @@ static int btintel_setup_combined(struct hci_dev *hdev)case 0x18 :case 0x19 :case 0x1b : +case 0x1c :/* Display version information of TLV type */ btintel_version_info_tlv (hdev, &ver_tlv);
Signature · 1 line
2.25.1
Dear Kiran,
Thank you for your patch.
Am 28.06.23 um 13:39 schrieb Kiran K:
Quoted 1 line
Hardware variant for GalePeak core (CNVi) is added.
The code names are officially spelled with a space, I believe: Gale Peak.
Maybe also mention 0x1c.
Quoted 10 lines
Signed-off-by Kiran K <[email protected]>--- drivers/bluetooth/btintel.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bluetooth/btintel.c +0
-0
drivers/bluetooth/btintel.c static int btintel_version_info_tlv(struct hci_dev *hdev, · line 483
Quoted 4 lines
drivers/bluetooth/btintel.c +1
-0@@ -480,6 +480,7 @@ static int btintel_version_info_tlv(struct hci_dev *hdev,case 0x18 :/* Slr */ case 0x19 :/* Slr-F */ case 0x1b :/* Mgr */ +case 0x1c :/* GaP */
Why not add the full name in the comment? Maybe: Gale Peak (GaP).
Quoted 12 lines
drivers/bluetooth/btintel.c +1
-0break ;default : bt_dev_err(hdev, "Unsupported Intel hardware variant (0x%x)",@@ -2648,6 +2649,7 @@ static void btintel_set_msft_opcode(struct hci_dev *hdev, u8 hw_variant)case 0x18 :case 0x19 :case 0x1b : +case 0x1c :hci_set_msft_opcode (hdev,0xFC1E );break ;default :
drivers/bluetooth/btintel.c static int btintel_setup_combined(struct hci_dev *hdev) · line 2870
Quoted 7 lines
drivers/bluetooth/btintel.c +1
-0@@ -2862,6 +2864,7 @@ static int btintel_setup_combined(struct hci_dev *hdev)case 0x18 :case 0x19 :case 0x1b : +case 0x1c :/* Display version information of TLV type */ btintel_version_info_tlv (hdev, &ver_tlv);
Kind regards,
Paul
Hi Paul,
Thanks for the comments.
Quoted 4 lines
Dear Kiran,
Quoted 8 lines
Thank you for your patch.
Am 28.06.23 um 13:39 schrieb Kiran K:
Quoted 1 line
Hardware variant for GalePeak core (CNVi) is added.
The code names are officially spelled with a space, I believe: Gale Peak.
Maybe also mention
0x1c.
I will fix it in V2 version of patch.
Quoted 12 lines
drivers/bluetooth/btintel.c static int btintel_version_info_tlv(struct hci_dev
Quoted 11 lines
Signed-off-by Kiran K <[email protected]>--- drivers/bluetooth/btintel.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bluetooth/btintel.c +0
-0@@ -480,6 +480,7 @@ static int btintel_version_info_tlv(struct hci_dev*hdev,
Quoted 6 lines
drivers/bluetooth/btintel.c static int btintel_version_info_tlv(struct hci_dev *hdev, · line 483
Quoted 4 lines
drivers/bluetooth/btintel.c +1
-0case 0x18 :/* Slr */ case 0x19 :/* Slr-F */ case 0x1b :/* Mgr */ +case 0x1c :/* GaP */ Why not add the full name in the comment? Maybe: Gale Peak (GaP).
Ack.
Quoted 10 lines
drivers/bluetooth/btintel.c static int btintel_setup_combined(struct hci_dev *hdev) · line 2869
Quoted 5 lines
drivers/bluetooth/btintel.c +1
-0case 0x1b : +case 0x1c :/* Display version information of TLV type */ btintel_version_info_tlv (hdev, &ver_tlv);Kind regards,
Paul
Regards,
Kiran
Luiz Augusto von Dentz
maintainerHi Kiran,
Quoted 31 lines · Kiran
Hi Paul,
Thanks for the comments.
Quoted 4 lines
Dear Kiran,
Quoted 8 lines
Thank you for your patch.
Am 28.06.23 um 13:39 schrieb Kiran K:
Quoted 1 line
Hardware variant for GalePeak core (CNVi) is added.
The code names are officially spelled with a space, I believe: Gale Peak.
Maybe also mention
0x1c.I will fix it in V2 version of patch.
Quoted 12 lines
drivers/bluetooth/btintel.c static int btintel_version_info_tlv(struct hci_dev
Quoted 11 lines
Signed-off-by Kiran K <[email protected]>--- drivers/bluetooth/btintel.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bluetooth/btintel.c +0
-0@@ -480,6 +480,7 @@ static int btintel_version_info_tlv(struct hci_dev*hdev,
Quoted 7 lines
Quoted 6 lines
drivers/bluetooth/btintel.c static int btintel_version_info_tlv(struct hci_dev *hdev, · line 483
Quoted 4 lines
drivers/bluetooth/btintel.c +1
-0case 0x18 :/* Slr */ case 0x19 :/* Slr-F */ case 0x1b :/* Mgr */ +case 0x1c :/* GaP */ Why not add the full name in the comment? Maybe: Gale Peak (GaP).
Ack.
I think it is about time to introduce proper definitions, or use an enum, for these values. It would be also great to have btmon decoding these values so you can include a HCI trace in the patch description.
Quoted 13 lines
Quoted 10 lines
drivers/bluetooth/btintel.c static int btintel_setup_combined(struct hci_dev *hdev) · line 2869
Quoted 5 lines
drivers/bluetooth/btintel.c +1
-0case 0x1b : +case 0x1c :/* Display version information of TLV type */ btintel_version_info_tlv (hdev, &ver_tlv);Kind regards,
Paul
Regards,
Kiran
Signature · 1 line
Luiz Augusto von Dentz
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=760911
---Test result---
Test Summary:
CheckPatch PASS 0.79 seconds GitLint PASS 0.39 seconds SubjectPrefix PASS 0.14 seconds BuildKernel PASS 39.30 seconds CheckAllWarning PASS 42.86 seconds CheckSparse PASS 48.51 seconds CheckSmatch PASS 132.21 seconds BuildKernel32 PASS 37.94 seconds TestRunnerSetup PASS 539.07 seconds TestRunner_l2cap-tester PASS 20.30 seconds TestRunner_iso-tester PASS 28.33 seconds TestRunner_bnep-tester PASS 7.13 seconds TestRunner_mgmt-tester PASS 149.78 seconds TestRunner_rfcomm-tester PASS 10.86 seconds TestRunner_sco-tester PASS 10.08 seconds TestRunner_ioctl-tester PASS 11.76 seconds TestRunner_mesh-tester PASS 8.97 seconds TestRunner_smp-tester PASS 10.19 seconds TestRunner_userchan-tester PASS 7.29 seconds IncrementalBuild PASS 35.70 seconds
---
Regards,
Linux Bluetooth