ofono/drivers
Sergey Matyukevich 3303268d02 gemalto: gprs: support automatic context activation
Implement read_settings function to get configuration for automatic
contexts. AT^SWWAN command activates PDP context unless it has been
already activated automatically, and then starts DHCP server in the
ME. So AT^SWWAN command should be run for automatic context as well
in order to obtain IP settings from the ME.

This commit also fixes the issue uncovered by the added support for
automatic contexts: as per modem specs, AT+CGACT context should not
be reused for AT^SWWAN. Though that worked for some reason when
automatic context was reactivated without proper deactivation.

Note that in both cases success code is reported to the core before
AT^SWWAN response. This is because the ME waits until DHCP negotiation
has finished before sending the "OK" or "ERROR" result code.
2020-12-30 10:54:50 -06:00
..
atmodem droid 4: special handling for SMSes 2020-09-15 10:21:44 -05:00
calypsomodem treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
cdmamodem treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
dunmodem drivers: constify vtables 2018-10-17 09:56:27 -05:00
gemaltomodem gemalto: gprs: support automatic context activation 2020-12-30 10:54:50 -06:00
hfpmodem treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
hsomodem hsomodem: Remove unneeded if statement 2019-04-29 14:06:19 -05:00
huaweimodem huawei: Fix implicit enum conversion 2020-12-22 09:43:36 -06:00
iceramodem icera: Remove unneeded if statement 2019-04-29 14:06:27 -05:00
ifxmodem xmm7modem: Fix to set gateway in pdp context 2019-09-20 09:54:50 -05:00
infineonmodem infineon: Definitions for infineon modem 2015-10-13 21:35:07 -05:00
isimodem isimodem: Fix size calculation for address array 2019-08-12 19:36:42 +02:00
mbimmodem mbim: Don't copy too much 2019-11-13 17:01:15 -06:00
mbmmodem mbmmodem: Remove unneeded if 2019-04-29 14:11:22 -05:00
nwmodem treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
qmimodem qmimodem: Fix format warning 2020-09-08 11:19:54 -05:00
rilmodem rilmodem: support cell type LTE for netmon 2020-07-31 10:21:00 -05:00
speedupmodem drivers: Update to the new util api 2018-12-27 18:18:51 -06:00
stemodem stemodem: Quiet warning about strncpy use 2019-05-16 15:10:09 -05:00
swmodem swmodem: Remove unneeded if statement 2019-04-29 14:01:41 -05:00
telitmodem drivers: Silence strncpy use warnings 2019-04-30 11:35:14 -05:00
ubloxmodem ublox: network-registration: Handle UREG unsolicited during poll 2020-02-14 11:24:14 -06:00
xmm7modem xmm7modem: adding netmon changes for reporting neighbouring cell 2019-06-07 11:41:37 -05:00
ztemodem treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00