Bluetooth: Controller: util: Add generic double buffer implementation

There are multiple places where double buffer is used in controlers
code. This commit adds generic implementation of the double buffer.
It can be used in future in all places where the data structure is
in use.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
Piotr Pryga 2021-10-30 23:40:52 +02:00 committed by Christopher Friedt
commit f23fa86449
30 changed files with 219 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include "util/util.h"
#include "util/memq.h"
#include "util/dbuf.h"
#include "hal/ccm.h"