zephyr/subsys
Bjarki Arge Andreasen 40b9f51ee5 modem: pipe: Reinvoke receive ready on attach
This PR makes the modem_pipe instances track if they have
data ready to receive, and invoke the RECEIVE_READY event
every time they are attached if the backend implementing
the pipe has notified that receive is ready.

This mechanism ensures that modules attaching to a pipe
get the async RECEIVE_READY event immediately after
attaching to a pipe if there is data ready, instead of
having to poll the pipe, or worse, wait until newer data
becomes available.

The addition revealed a timing issue in the cmux test
suite. Specifically the CMUX instance now immediately
receives the response to a command which the CMUX
instance has not sent yet, causing it to drop the
response.

The CMUX test suite now uses the transaction
mechanism of the mock_pipe to wait for the command
before sending the response.

Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
2023-09-14 16:44:04 -05:00
..
bluetooth Bluetooth: Host: Amend existing L2CAP accept callbacks 2023-09-14 14:36:34 +02:00
canbus canbus: isotp: add CAN-FD support 2023-09-14 08:34:09 +02:00
console
debug debug: Set thread_info.c variables to const 2023-09-11 19:56:18 +02:00
demand_paging kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
dfu
disk
dsp
emul
fb fb: cfb: Remove unused value 2023-08-14 18:08:59 +00:00
fs nvs: replace CRC with better hash function for lookup cache 2023-09-04 18:21:20 +02:00
input drivers,subsys: fix few missing k_work_delayable_from_work 2023-08-28 10:12:21 +02:00
ipc ipc: icmsg: Dedicated workqueue for ICMSG backend 2023-09-12 10:17:27 +02:00
jwt
logging logging: swo: add Kconfig option for SWO reference frequency 2023-09-13 16:29:56 +02:00
lorawan lorawan: services: add missing init.h 2023-08-30 11:37:53 +02:00
mgmt kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
modbus modbus: use macro for function code for input register 2023-08-16 14:58:47 +02:00
modem modem: pipe: Reinvoke receive ready on attach 2023-09-14 16:44:04 -05:00
net Bluetooth: Host: Amend existing L2CAP accept callbacks 2023-09-14 14:36:34 +02:00
pm kernel: move timeout_q.h to kernel/include 2023-09-12 12:55:36 -04:00
portability kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
random
retention retention: Drop prefix/checksum code if not used 2023-08-24 20:44:02 +02:00
rtio include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
sd drivers: sdhc: allow bandwidth selection 2023-09-13 16:20:59 +02:00
sensing sensing: sensor_mgmt: s/device.h/init.h 2023-08-29 12:17:24 +01:00
settings settings: rename shadow variables 2023-08-22 11:39:58 +02:00
shell shell: Fix scrolling long commands in history 2023-09-13 16:26:02 +02:00
sip_svc
stats
storage storage: rename shadow variables 2023-08-22 11:39:58 +02:00
task_wdt
testsuite drivers: interrupt-controller: Add VIM Interrupt Controller support 2023-09-04 10:53:09 +02:00
timing
tracing modules: Add DFM and move Tracerecorder into percepio module 2023-09-12 10:19:37 -04:00
usb usb: device: hid: remove CONFIG_USB_HID_PROTOCOL_CODE 2023-09-05 16:16:56 +02:00
zbus zbus: improve the way of storing observers 2023-08-29 10:18:55 +02:00
CMakeLists.txt subsys/modem: Add modem modules 2023-08-30 13:48:51 +02:00
Kconfig subsys/modem: Add modem modules 2023-08-30 13:48:51 +02:00