zephyr/subsys/bluetooth/controller
Piotr Pryga 1d89b271fb Bluetooth: Controller: llcp: Fix assert if reject while loc and rem pend
In case there are pending two control procedures: local and remote,
and remote device sends LL_REJECT_IND PDU then assertion happened.
ull_cp_rx function triggers assertion because LL_REJECT_IND is
considered as expected packet for all local and remote control
procedures.

That is not correct. It does not allow local procedure to handle
a response and stops a device on assert.

A remote device should not send LL_REJECT_IND PDU for locally initiated
control procedures, hence local device should not expect to receive
LL_REJECT_IND PDU to be expected one for pending remote control
procedure.

Remote device is allowed to send LL_REJECT_EXT_IND PDU for a locally
initiated control procedures. The LL_REJECT_EXT_IND PDU has a Reject-
Opcode that identifies rejected control procedure, hence is may be
expected by local device.

The commit provides changes that prevent the Controller assertion
in described case.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2022-05-25 11:09:38 +02:00
..
crypto
hal Bluetooth: Controller: df: make radio_df_vendor_hal.h compile in always 2022-03-21 10:15:39 +01:00
hci Bluetooth: Controller: llcp: add missing handling LL_UNKNOWN in CTE llcp 2022-05-19 13:21:58 +02:00
include Bluetooth: controller: ISO TX data path including ISOAL 2022-05-06 11:32:30 +02:00
ll_sw Bluetooth: Controller: llcp: Fix assert if reject while loc and rem pend 2022-05-25 11:09:38 +02:00
ticker Bluetooth: Controller: Collision resolution to use ticks_slot_window 2022-05-23 10:18:29 +02:00
util subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
CMakeLists.txt Bluetooth: Controller: Remove experimental from Ext and Periodic Adv 2022-05-16 18:25:14 +02:00
Kconfig Bluetooth: Controller: Remove experimental from Ext and Periodic Adv 2022-05-16 18:25:14 +02:00
Kconfig.df Bluetooth: Controller: df: Fix wrong ant after switch pattern exhausted 2022-05-16 10:08:48 +02:00
Kconfig.dtm bluetooth: controller: Add support for all DTM commands 2022-03-18 12:00:03 +01:00
Kconfig.ll_sw_split Bluetooth: Controller: Fix instant based procedure complete event 2022-05-20 19:22:59 -07:00