zephyr/tests/bluetooth
Krzysztof Kopyściński 79a3a0f40b bttester: add key-size and authorization based l2cap conn reject
In tests that expect returning error in response for l2cap
connection request we use predefined PSMs. This commit adds
check for required keysize (which will always return error,
as connection is not secure and key size will always be 0)
instead of setting security level 4 (which would return
insufficient authentication, not insufficient key size).
It also adds suport for PSM used in insufficient authorization
tests - choosing this PSM will set flag that triggers error
on channel accept.

This affects tests L2CAP/LE/CFC/BV-[10-15]-C

Signed-off-by: Krzysztof Kopyściński <krzysztof.kopyscinski@codecoup.pl>
2021-05-19 12:18:08 +03:00
..
adv tests: Bluetooth: Update AD Data as fast as possible 2020-08-31 13:49:13 +02:00
at sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
bluetooth sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
bsim_bt Bluetooth: Mesh: Make bsim friendship test timing more robust 2021-05-18 12:29:04 -05:00
ctrl_sw_privacy sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
ctrl_sw_privacy_unit sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
ctrl_user_ext tests: Bluetooth: User defined CPR intervals 2021-01-18 19:07:06 +01:00
df tests: Bluetooth: df: Add connectionless IQ sampling enable unit tests 2021-05-06 16:27:16 +02:00
gatt Bluetooth: GATT: Rework bt_gatt_attr_func_t 2020-09-05 11:06:21 +02:00
hci_codecs_info tests: Bluetooth: Add tests for reading codec and controller delay info 2020-11-26 15:46:17 +01:00
hci_prop_evt Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
init Bluetooth: Add option to log btsnoops over RTT 2021-05-05 16:03:38 +02:00
l2cap sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
ll_settings tests: Check return value of settings_runtime_set in ll_settings test 2021-01-05 16:51:19 +02:00
mesh Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
mesh_shell Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
shell Bluetooth: Audio: Volume Control Service and client 2021-05-07 15:02:41 +02:00
tester bttester: add key-size and authorization based l2cap conn reject 2021-05-19 12:18:08 +03:00
uuid sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00