public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/4] Add 6lowpan-tester
@ 2025-10-05 22:17 Pauli Virtanen
  2025-10-05 22:17 ` [PATCH BlueZ 1/4] bthost: handle L2CAP_DISCONN_RSP and remove l2cap_conns Pauli Virtanen
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Pauli Virtanen @ 2025-10-05 22:17 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Make a basic tester for the net/bluetooth/6lowpan.c implementation.

This module doesn't look like it's much used and locking around
l2cap_chan / hci_conn there looks suspicious, so probably some tests are
useful.

Here just simple connection / disconnection and packet RX tests are
added.  Some issues appear to be there:

Client Recv Raw - Success
    -> kernel panic (kernel BUG at net/core/skbuff.c:212!)

Client Connect - Disable
    -> lockdep splats

Pauli Virtanen (4):
  bthost: handle L2CAP_DISCONN_RSP and remove l2cap_conns
  bthost: handle L2CAP_FLOW_CONTROL_CREDIT_IND
  tools: add 6lowpan-tester
  doc: enable 6lowpan in tester.config and explain in test-runner.rst

 Makefile.tools         |  12 +-
 doc/test-runner.rst    |  10 +
 doc/tester.config      |   5 +
 emulator/bthost.c      |  93 +++++-
 emulator/bthost.h      |   6 +-
 tools/6lowpan-tester.c | 657 +++++++++++++++++++++++++++++++++++++++++
 tools/l2cap-tester.c   |   3 +-
 7 files changed, 782 insertions(+), 4 deletions(-)
 create mode 100644 tools/6lowpan-tester.c

-- 
2.51.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-10-13 19:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-05 22:17 [PATCH BlueZ 0/4] Add 6lowpan-tester Pauli Virtanen
2025-10-05 22:17 ` [PATCH BlueZ 1/4] bthost: handle L2CAP_DISCONN_RSP and remove l2cap_conns Pauli Virtanen
2025-10-05 23:42   ` Add 6lowpan-tester bluez.test.bot
2025-10-05 22:17 ` [PATCH BlueZ 2/4] bthost: handle L2CAP_FLOW_CONTROL_CREDIT_IND Pauli Virtanen
2025-10-05 22:17 ` [PATCH BlueZ 3/4] tools: add 6lowpan-tester Pauli Virtanen
2025-10-13 17:20   ` Luiz Augusto von Dentz
2025-10-05 22:17 ` [PATCH BlueZ 4/4] doc: enable 6lowpan in tester.config and explain in test-runner.rst Pauli Virtanen
2025-10-13 17:40 ` [PATCH BlueZ 0/4] Add 6lowpan-tester patchwork-bot+bluetooth
2025-10-13 19:00 ` patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox