Commit Graph

6 Commits

Author SHA1 Message Date
Sergey Matyukevich 23ad67e326 gemalto: gprs: support authentication settings
Add support for gprs contexts with username, password,
and specific authentication type.
2020-12-30 10:57:02 -06:00
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
Denis Kenzior 3c8f24769a gemalto: Fix compiler error
Fix compiler error introduced due to a bad merge

Fixes: de0d5a19 ("gemalto: gprs: support different gprs protocols")
2020-12-26 11:36:00 -06:00
Sergey Matyukevich de0d5a19c1 gemalto: gprs: support different gprs protocols
Add support for IPv6 and dual mode gprs contexts.
2020-12-22 10:36:46 -06:00
Sergey Matyukevich 3551cc89ec gemalto: gprs: cgev gprs context deactivation
Gemalto ELS81x modems use 'ME PDN DEACT' message to notify about gprs
context deactivation. Process this 'deactivate' event in CGEV handler.
2020-12-22 10:34:48 -06:00
Sergey Matyukevich da1ef6588b drivers: gemalto: add gprs-context driver
Some gemalto modems provide USB ethernet interfaces for data path.
Implement gprs-context driver for such modems to send data via
USB ethernet rather than fallback to PPP.
2020-08-19 09:50:39 -05:00