zephyr/subsys/bluetooth/controller
Piotr Pryga c167122ce8 Bluetooth: Controller: llcp: Set remote LLCP rx_opcode to type unused
Some of control procedures has set ctx->rx_opcode in rp_comm_tx
function to values that state there is an expected PDU.
This is not always true. In case of procedures that do not expect
any response from remote device, the ctx->rx_opcode should be set
to PDU_DATA_LLCTRL_TYPE_UNUSED.

In the worst cases scenario, when the same control procedure
is executed locally and remotely, correct response PDU may
cause an assertion in  ull_cp_rx. It could happen because
of wrong ctx->rx_opcode value. A packet with opcode that is
set in remote and local control procedure context rx_opcode
will be treated as expected value for both. That is a situation
that cannot happen.

The commit changes the assignments of rx_opcode to fix the problem.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2022-05-13 10:23:34 -05:00
..
crypto
hal Bluetooth: Controller: df: make radio_df_vendor_hal.h compile in always 2022-03-21 10:15:39 +01:00
hci subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
include Bluetooth: controller: ISO TX data path including ISOAL 2022-05-06 11:32:30 +02:00
ll_sw Bluetooth: Controller: llcp: Set remote LLCP rx_opcode to type unused 2022-05-13 10:23:34 -05:00
ticker Bluetooth: Controller: Yield stopped ticker time reservations 2022-03-23 12:53:38 +01:00
util subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
CMakeLists.txt Bluetooth: Controller: Schedule BIG event after Periodic Adv event 2022-03-01 11:51:46 +01:00
Kconfig Bluetooth: Controller: Add Kconfig to limit advertising interval max 2022-05-06 11:31:44 +02:00
Kconfig.df Bluetooth: Controller: DF configs should not depend on BT_LL_SW_SPLIT 2022-05-05 14:39:04 -05: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: Force MD feature not supported in LOW LAT ULL 2022-04-04 10:24:19 +02:00