2024-05-29 06:30:11

by Chris Lu

[permalink] [raw]
Subject: [PATCH v2 1/3] Bluetooth: net: add hci_iso_hdr function for iso data

Add function hci_iso_hdr to get skb->data when packet type is ISO
which is similar to other packet type.

Signed-off-by: Chris Lu <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
---
include/net/bluetooth/hci.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index e372a88e8c3f..b9f8f91f6c7f 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -2898,6 +2898,11 @@ static inline struct hci_sco_hdr *hci_sco_hdr(const struct sk_buff *skb)
return (struct hci_sco_hdr *) skb->data;
}

+static inline struct hci_iso_hdr *hci_iso_hdr(const struct sk_buff *skb)
+{
+ return (struct hci_iso_hdr *) skb->data;
+}
+
/* Command opcode pack/unpack */
#define hci_opcode_pack(ogf, ocf) ((__u16) ((ocf & 0x03ff)|(ogf << 10)))
#define hci_opcode_ogf(op) (op >> 10)
--
2.18.0



2024-05-29 07:00:28

by bluez.test.bot

[permalink] [raw]
Subject: RE: Bluetooth: btusb: MediaTek ISO data transmission support

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

---Test result---

Test Summary:
CheckPatch PASS 3.24 seconds
GitLint PASS 0.93 seconds
SubjectPrefix PASS 0.35 seconds
BuildKernel PASS 31.63 seconds
CheckAllWarning PASS 33.70 seconds
CheckSparse PASS 39.37 seconds
CheckSmatch FAIL 35.82 seconds
BuildKernel32 PASS 29.92 seconds
TestRunnerSetup PASS 540.99 seconds
TestRunner_l2cap-tester PASS 19.01 seconds
TestRunner_iso-tester PASS 34.07 seconds
TestRunner_bnep-tester PASS 5.24 seconds
TestRunner_mgmt-tester FAIL 113.73 seconds
TestRunner_rfcomm-tester PASS 7.74 seconds
TestRunner_sco-tester PASS 15.45 seconds
TestRunner_ioctl-tester PASS 8.25 seconds
TestRunner_mesh-tester PASS 7.00 seconds
TestRunner_smp-tester PASS 7.33 seconds
TestRunner_userchan-tester PASS 5.39 seconds
IncrementalBuild PASS 43.27 seconds

Details
##############################
Test: CheckSmatch - FAIL
Desc: Run smatch tool with source
Output:

Segmentation fault (core dumped)
make[4]: *** [scripts/Makefile.build:244: net/bluetooth/hci_core.o] Error 139
make[4]: *** Deleting file 'net/bluetooth/hci_core.o'
make[3]: *** [scripts/Makefile.build:485: net/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:485: net] Error 2
make[2]: *** Waiting for unfinished jobs....
Segmentation fault (core dumped)
make[4]: *** [scripts/Makefile.build:244: drivers/bluetooth/bcm203x.o] Error 139
make[4]: *** Deleting file 'drivers/bluetooth/bcm203x.o'
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:485: drivers/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:485: drivers] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:1919: .] Error 2
make: *** [Makefile:240: __sub-make] Error 2
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 492, Passed: 487 (99.0%), Failed: 3, Not Run: 2

Failed Test Cases
LL Privacy - Add Device 4 (2 Devices to AL) Failed 0.170 seconds
LL Privacy - Add Device 5 (2 Devices to RL) Failed 0.173 seconds
LL Privacy - Add Device 7 (AL is full) Failed 0.202 seconds


---
Regards,
Linux Bluetooth