Skip to contentSkip to conversation

Bluetooth: ISO: Set CIS bit only for devices with CIS support

PATCH Applied Vlad Pruteanu 3 participants 4 messages Sep 12, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v4 cover Bluetooth: ISO: Set CIS bit only for devices with CIS support

Currently the CIS bit that can be set by the host is set for any device that has CIS or BIS support. In reality, devices that support BIS may not allow that bit to be set and so, the HCI bring up fails for them.

This commit fixes this by only setting the bit for CIS capable devices.

Vlad Pruteanu (1):
Bluetooth: ISO: Set CIS bit only for devices with CIS support

 net/bluetooth/hci_sync.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH v4 1/1 Bluetooth: ISO: Set CIS bit only for devices with CIS support

Currently the CIS bit that can be set by the host is set for any device that has CIS or BIS support. In reality, devices that support BIS may not allow that bit to be set and so, the HCI bring up fails for them.

This commit fixes this by only setting the bit for CIS capable devices.

---
 net/bluetooth/hci_sync.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/bluetooth/hci_sync.c +2 -2
index ec4dfc4c5749..1be5763c261c 100644
@@ -4264,12 +4264,12 @@ static int hci_le_set_host_feature_sync(struct hci_dev *hdev)
 {
 	struct hci_cp_le_set_host_feature cp;
 
-	if (!iso_capable(hdev))
+	if (!cis_capable(hdev))
 		return 0;
 
 	memset(&cp, 0, sizeof(cp));
 
-	/* Isochronous Channels (Host Support) */
+	/* Connected Isochronous Channels (Host Support) */
 	cp.bit_number = 32;
 	cp.bit_value = 1;
 
Signature · 1 line
2.34.1
#2 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=783273

---Test result---

Test Summary:

CheckPatch                    PASS      0.60 seconds
GitLint                       PASS      0.62 seconds
SubjectPrefix                 PASS      0.29 seconds
BuildKernel                   PASS      33.18 seconds
CheckAllWarning               PASS      36.60 seconds
CheckSparse                   PASS      41.50 seconds
CheckSmatch                   PASS      113.13 seconds
BuildKernel32                 PASS      31.92 seconds
TestRunnerSetup               PASS      489.78 seconds
TestRunner_l2cap-tester       PASS      28.39 seconds
TestRunner_iso-tester         PASS      50.72 seconds
TestRunner_bnep-tester        PASS      11.17 seconds
TestRunner_mgmt-tester        PASS      226.93 seconds
TestRunner_rfcomm-tester      PASS      16.69 seconds
TestRunner_sco-tester         PASS      20.01 seconds
TestRunner_ioctl-tester       PASS      18.94 seconds
TestRunner_mesh-tester        PASS      14.00 seconds
TestRunner_smp-tester         PASS      14.85 seconds
TestRunner_userchan-tester    PASS      11.68 seconds
IncrementalBuild              PASS      30.04 seconds

---
Regards,
Linux Bluetooth

#3 lore raw
In reply to Vlad Pruteanu
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 10 lines · On Tue, 12 Sep 2023 09:33:28 +0300 you wrote:

Currently the CIS bit that can be set by the host is set for any device that has CIS or BIS support. In reality, devices that support BIS may not allow that bit to be set and so, the HCI bring up fails for them.

This commit fixes this by only setting the bit for CIS capable devices.

Vlad Pruteanu (1):
Bluetooth: ISO: Set CIS bit only for devices with CIS support

[...]

Here is the summary with links:
- [v4,1/1] Bluetooth: ISO: Set CIS bit only for devices with CIS support

    https://git.kernel.org/bluetooth/bluetooth-next/c/58093c0b14a3

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html