modemmanager: add possibilty for setting initial EPS bearer 22631/head
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 8 Nov 2023 12:18:35 +0000 (13:18 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 4 Dec 2023 11:14:56 +0000 (12:14 +0100)
commitaf12147f8c54ac3a44d32c5c1bd95099bc9a6c74
treeb6f780b8619f09193e481553e72f18dfc2cb9dc7
parent7b4d82c58fdb2757a0559a7cff4ad1296d0cde1f
modemmanager: add possibilty for setting initial EPS bearer

If no GSM but only 4G is available and a special APN must be used, it
is necessary to set an inital EPS bearer beforehand. If this is not set,
then modem cannot log in and register in the mobile network.

The new option 'init_epsbearer' could be set to the following options.
* none: No init EPS bearer is used and the old one is deleted (default)
* default: Use init EPS bearer with the following config options
  'iptype', 'allowedauth', 'password', 'user' and 'apn' as for the
  connection bearer.
* custom: Other parameters are used that do not match those of the
  default connection bearer. These have an 'init_' prefix and are named
  in the same way as the default connection bearer config options.

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