fibocom: toggle modem power after attach APN

When the attach APN settings are changed, the device will go through a
radio on -> radio off -> radio on cycle so that the new changes are
taken into consideration.

This change is done in a Fibocom-specific MBIM modem implementation
because it's working around a firmware bug that would prevent for the
attach settings to be considered automatically.
This commit is contained in:
Jack Song
2022-02-16 13:04:45 +00:00
committed by Aleksander Morgado
parent 45102fcd60
commit d902ddfee5
6 changed files with 262 additions and 1 deletions
+6
View File
@@ -697,6 +697,12 @@ libmm_plugin_fibocom_la_SOURCES = \
fibocom/mm-plugin-fibocom.c \
fibocom/mm-plugin-fibocom.h \
$(NULL)
if WITH_MBIM
libmm_plugin_fibocom_la_SOURCES += \
fibocom/mm-broadband-modem-mbim-xmm-fibocom.c \
fibocom/mm-broadband-modem-mbim-xmm-fibocom.h \
$(NULL)
endif
libmm_plugin_fibocom_la_CPPFLAGS = \
$(PLUGIN_COMMON_COMPILER_FLAGS) \
$(XMM_COMMON_COMPILER_FLAGS) \