zephyr/drivers/modem
Rene Bredlau 876ea8d215 modem: hl7800: use correct timeouts on KTCPSND to avoid internal deadlock
The response of a KTCPSND has two phases. According to documentation by
wireless the timeout is 60 seconds. The fix respects the timeout on the
second phase, too (waiting for OK or errors from modem). Previously only
the first phase used 60 seconds and the second phase used 5 seconds.

Without this fix the hl7800 will lock the tcp stack for the current
socket indefinitely if another socket operation is performed before the
response from the modem is received.

Additionally all timeouts are adjusted to be at least one second longer
as the documented timeout from wireless. This avoids races between the
hl7800 and the driver.

Signed-off-by: Rene Bredlau <git@unrelated.de>
2022-03-07 09:24:25 -06:00
..
CMakeLists.txt drivers: modem: Added simcom sim7080 modem driver. 2021-12-20 17:48:47 +01:00
gsm_ppp.c drivers: modem: gsm: define retry delay in macro 2022-02-28 11:05:06 +01:00
hl7800.c modem: hl7800: use correct timeouts on KTCPSND to avoid internal deadlock 2022-03-07 09:24:25 -06:00
Kconfig drivers: modem: Added simcom sim7080 modem driver. 2021-12-20 17:48:47 +01:00
Kconfig.gsm drivers: modem: gsm: Kconfig: Add MODEM_GSM_TYPE to choice 2022-02-24 08:45:16 -06:00
Kconfig.hl7800 modem: hl7800: CTS to monitor sleep 2022-02-25 10:10:22 -08:00
Kconfig.quectel-bg9x drivers: gpio: remove unused GPIO selection 2021-09-28 12:13:23 +02:00
Kconfig.simcom-sim7080 drivers: modem: Added simcom sim7080 modem driver. 2021-12-20 17:48:47 +01:00
Kconfig.ublox-sara-r4 drivers: gpio: remove unused GPIO selection 2021-09-28 12:13:23 +02:00
Kconfig.wncm14a2a kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
modem_cmd_handler.c drivers: modem: Fix loop variables type 2022-02-04 11:19:28 +01:00
modem_cmd_handler.h drivers: modem: modem_cmd_handler: Fix missing documentations 2022-02-28 11:05:06 +01:00
modem_context.c drivers: modem: Fix reference to stack in modem_context_sprint_ip_addr 2021-10-01 11:06:32 -04:00
modem_context.h drivers: modem: improve modem context RSSI member 2021-11-07 15:02:43 +02:00
modem_iface_uart.c driver: modem: Fix mux device name comparison 2021-11-06 10:20:42 -04:00
modem_iface_uart.h drivers: modem: operate on device pointers instead of names 2021-07-15 11:48:00 -04:00
modem_pin.c drivers: modem: Fix loop variables type 2022-02-04 11:19:28 +01:00
modem_receiver.c device: remove inclusion of pm/device.h 2021-11-29 11:08:38 +01:00
modem_receiver.h drivers: modem: improve modem context RSSI member 2021-11-07 15:02:43 +02:00
modem_shell.c drivers: modem: improve modem context RSSI member 2021-11-07 15:02:43 +02:00
modem_socket.c modem: Update modem sockets poll to allow eventfd 2021-11-11 19:12:46 -05:00
modem_socket.h modem: Update modem sockets poll to allow eventfd 2021-11-11 19:12:46 -05:00
quectel-bg9x.c modem: Update modem sockets poll to allow eventfd 2021-11-11 19:12:46 -05:00
quectel-bg9x.h drivers: modem: improve modem context RSSI member 2021-11-07 15:02:43 +02:00
simcom-sim7080.c drivers: modem: Added simcom sim7080 modem driver. 2021-12-20 17:48:47 +01:00
simcom-sim7080.h drivers: modem: Added simcom sim7080 modem driver. 2021-12-20 17:48:47 +01:00
ublox-sara-r4.c modem: Update modem sockets poll to allow eventfd 2021-11-11 19:12:46 -05:00
wncm14a2a.c drivers: modem: improve modem context RSSI member 2021-11-07 15:02:43 +02:00