modemmanager: start a 3gpp network regsistration
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 21 Feb 2024 15:41:32 +0000 (16:41 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 5 Mar 2024 14:20:38 +0000 (15:20 +0100)
commit9d509b743330c3e528e58573e352e0f93302f565
tree042ed49e0c6671fc3c3be46768ac016a33e3ee7a
parentd839e194c50267f3b1fcae51d76ac96b4c36bd76
modemmanager: start a 3gpp network regsistration

If a 'plmn' is set in the configuration, a registration attempt should be
established before the simple-connect command. If the plmn is set during
the simple-connect, a network change may occur during the connection setup.

To prevent this, the registration is started before the simple-connect with
a separate mmcli command. So that we can be sure that the modem is already
registered in the correct network before the simple-connect command.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/modemmanager/Makefile
net/modemmanager/files/lib/netifd/proto/modemmanager.sh