Bluetooth: controller: Use common mem_link_rx for node_rx_iq_report

Change use of dedicated memory pool for linked list nodes for
node_rx_iq_report to common mem_link_rx. Former solution had
a drawback. Released link nodes may be enqueued to wrong memory
pool. E.g. link related with nopde_rx_iq_report went to common
link memory pool, whereas link nodes from common pool were enqueued
to dedicated list.
The solution was working because links have the same memory layout,
just different memory pools they originated from.
The problem may occur if one of those link memory pools is reset.
Then the same link may be used by node_rx and node_rx_iq_report
at the same time, causing controller failure.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
Piotr Pryga 2021-05-05 21:30:40 +02:00 committed by Carles Cufí
commit 7cdbeb541a
6 changed files with 62 additions and 77 deletions

View file

@ -49,7 +49,8 @@
#include "ll_sw/ull_conn_types.h"
#include "ll_sw/ull_conn_internal.h"
#include "ll_sw/ull_conn_iso_types.h"
#include "ll_sw/ull_df.h"
#include "ll_sw/ull_df_types.h"
#include "ll_sw/ull_df_internal.h"
#include "ll.h"
#include "ll_feat.h"