lpac: add uqmi backend
authorDavid Bauer <redacted>
Sun, 25 Aug 2024 01:07:09 +0000 (03:07 +0200)
committerDavid Bauer <redacted>
Wed, 28 Aug 2024 21:59:45 +0000 (23:59 +0200)
commite21bb35d6b23f0abaeb7d7219284607002ea8047
tree966bd2da912ddcb8c18acc39f0854367f13d7004
parent688c4d3d544aa655d675fc5f0c2c146bd4c6cc79
lpac: add uqmi backend

This adds an additional OpenWrt specific backend to use lpac with the
uqmi tooling used by OpenWrt to manage QMI based modems.

This allows lpac to manage eUICC chips without the need for other,
potentially bigger, software using the installed modem.

Also set this backend as the new default, as users probably expect being
able to download profiles using their cellular modem.

Profile-Switching
-----------------
With some eUICC modem combinations you might require to powercycle the
UIM slot using uqmi after changing the active profile. To do this,
simply execute

$ uqmi -d /dev/cdc-wdm0 --uim-power-off --uim-slot=1
$ uqmi -d /dev/cdc-wdm0 --uim-power-on --uim-slot=1

Note
----
SM-DP+ might use encryption parameters which are incompatible with
mbedtls which cURL is by default compiled for.

This was observed when attempting to download a profile from
Vodafone DE.

If you encounter issues in that regard, try to install a version of
libcurl which is compiled with OpenSSL support.

Signed-off-by: David Bauer <redacted>
utils/lpac/Config.in
utils/lpac/Makefile
utils/lpac/files/lpac.sh
utils/lpac/files/lpac.uci
utils/lpac/patches/0001-driver-add-uqmi-backend.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT