zephyr/subsys/net/l2/ppp
Bjarki Arge Andreasen 52be26a8e3 net: l2: ppp: Patch carrier lost and L2 enable/disable
L2 PPP is not able to handle the carrier being lost gracefully,
nor is it able to gracefully close the PPP connection when
net_if_down() is called.

This patch refactors the L2 PPP module to use the carrier state
to either properly close or simply terminate the PPP connection.

Additionally, it ensures that the PPP session is closed properly
before calling ppp->stop().

Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
2024-01-19 09:47:33 +01:00
..
CMakeLists.txt net: l2: ppp: add initial support for PAP authentication 2020-08-18 20:03:05 +03:00
fsm.c random: Rename random header 2023-10-10 14:23:50 +03:00
ipcp.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
ipv6cp.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
Kconfig net: ppp: Mark the PPP L2 as non-experimental 2023-09-29 10:33:50 +02:00
lcp.c net: l2: ppp: Patch carrier lost and L2 enable/disable 2024-01-19 09:47:33 +01:00
link.c net: l2: ppp: Patch carrier lost and L2 enable/disable 2024-01-19 09:47:33 +01:00
misc.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
network.c net: rename shadow variables 2023-08-10 08:14:43 +00:00
options.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pap.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ppp_internal.h net: l2: ppp: ppp uart usage fixed 2023-08-09 16:07:46 +00:00
ppp_l2.c net: l2: ppp: Patch carrier lost and L2 enable/disable 2024-01-19 09:47:33 +01:00
ppp_mgmt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ppp_stats.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ppp_stats.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00