zephyr/samples
Carles Cufi 17f7a3cf74 Bluetooth: hci-uart: Match controller buffers in UART RX
Since net_buf_get() for the avail_acl_tx FIFO is called in
interrupt context (ISR) it cannot wait, and it will fail
immediately returning NULL if it fails to acquire a buffer.
During LE Secure Connections pairing, when there is a fair
amount of packets coming from the host, the FIFO was running
out of buffers causing the packet to be dropped instead of
forwarding it to the controller.
The number allocated now matches the amount of TX buffers
in the controller, so that normal HCI flow control (from
the Host to the Controller) will kick-in preventing any
buffers from being dropped.

Change-Id: Ifad4fbac84ae938eb0e68b73a80a02ba79b6ff6e
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2016-10-28 20:42:37 +02:00
..
basic samples: move basic samples to samples/basic 2016-10-27 22:14:31 +00:00
bluetooth Bluetooth: hci-uart: Match controller buffers in UART RX 2016-10-28 20:42:37 +02:00
cpp_synchronization unified/test: Adapt C++ sample application 2016-10-25 00:10:36 +00:00
drivers samples: move grove lcd to samples/grove 2016-10-27 22:14:31 +00:00
environmental_sensing boards: rename Quark SE Devboard to Quark SE C1000 2016-09-16 03:10:31 +00:00
grove samples: add light sensor sample using the grove kit 2016-10-27 22:14:33 +00:00
hello_world samples: hello world: unify sample and use unified kernel 2016-10-27 21:19:36 +00:00
ipm samples/ipm: fix markup 2016-10-17 17:24:09 +00:00
kernel_event_logger samples: kernel_event_logger: filter platforms by SRAM size 2016-10-26 20:56:42 -04:00
net samples/zoap_server: Add preliminary support for validation 2016-10-17 02:12:12 +00:00
nfc/nfc_hello x86: remove dynamic interrupts and exceptions 2016-09-06 18:35:24 +00:00
philosophers samples: fix kernel_event_logger to work with unified kernel 2016-10-26 23:38:03 +00:00
power samples: power_mgmt: Create unified kernel version of power mgr app 2016-10-27 21:18:44 +00:00
sensor optimize testcase runs for sensors 2016-10-26 23:47:39 +00:00
shell samples/shell: don't run on QEMU, input not supported 2016-10-19 17:57:15 +00:00
static_lib
synchronization unified: Add sample project using K_THREAD_DEFINE() 2016-10-27 08:36:14 -05:00
task_profiler tests: fix testcases for cortex-m0+ platforms 2016-10-22 16:54:19 -04:00
testing ztest: Add documentation 2016-09-30 21:17:40 +00:00
usb boards: rename Quark SE Devboard to Quark SE C1000 2016-09-16 03:10:31 +00:00