zephyr/include
Johan Hedberg 64b117a9b1 Bluetooth: Add support for HCI data buffers
In order to manage incoming and outgoing HCI data (events, commands &
ACL data packets) we need to have some way of storing this into
buffers. This patch implements a 'pool' of buffers with the help of
the nano_fifo API. The pool is initially populated with all available
buffers. After this code can on demand request buffers from the pool
with the help of bt_buf_get() and return buffers back into the pool
with bt_buf_put().

Since we don't always know the execution context from where the API is
operated on, this patch also adds convenience fifo_get/fifo_put
wrappers that look up the exact context before calling the correct
nano_fifo API.

Change-Id: Ie7f6d450de865273171e21a000d5a14274d27d32
Co-authored-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:13:44 -05:00
..
bluetooth Bluetooth: Add support for HCI data buffers 2016-02-05 20:13:44 -05:00
drivers Rename driver header files according to naming standard 2016-02-05 20:13:40 -05:00
microkernel Rename K_TimerFree to _k_timer_free 2016-02-05 20:13:43 -05:00
misc Add byteorder.h header for handling byte conversions 2016-02-05 20:13:39 -05:00
nanokernel Update irq locking/unlocking comments 2016-02-05 20:13:41 -05:00
toolchain Fix checkpatch issue - ERROR:POINTER_LOCATION 2016-02-05 20:13:39 -05:00
absSym.h First commit 2015-04-10 16:44:37 -07:00
clock_vars.h Rename nanoTimerList to _nano_timer_list 2016-02-05 20:13:43 -05:00
cputype.h First commit 2015-04-10 16:44:37 -07:00
kernel_version.h First commit 2015-04-10 16:44:37 -07:00
linker-defs.h Remove VIRT_ADDR_xxx macros 2016-02-05 20:13:39 -05:00
linker-tool-gcc.h First commit 2015-04-10 16:44:37 -07:00
linker-tool.h First commit 2015-04-10 16:44:37 -07:00
microkernel.h Rename K_StackSize to _k_server_stack_size 2016-02-05 20:13:44 -05:00
nanokernel.h nanokernel: Add scheduling context-independent API for starting fibers 2016-02-05 20:13:40 -05:00
section_tags.h First commit 2015-04-10 16:44:37 -07:00
sections.h First commit 2015-04-10 16:44:37 -07:00
string_s.h First commit 2015-04-10 16:44:37 -07:00
sw_isr_table.h First commit 2015-04-10 16:44:37 -07:00
toolchain.h First commit 2015-04-10 16:44:37 -07:00