l2cap-tester: Add tests for connection timeout
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Sep 2023 20:57:07 +0000 (13:57 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:04 +0000 (19:04 +0530)
commit3c1ebd221d30fb12cdcd4b89aaa867cce455dace
tree9c4082954468629704ec6f61b4072abc870356c4
parent9c1e835cee5c8937f2d4ff1f6bbdbeba118db014
l2cap-tester: Add tests for connection timeout

This adds the following tests which attempts to use SO_SNDTIMEO so the
socket times out before the connection completes:

L2CAP BR/EDR Client - Timeout
L2CAP LE Client - Timeout
L2CAP Ext-Flowctl Client - Timeout
tools/l2cap-tester.c