Tony Espy
f2f279b28d
src: make bearer/operator enums public
...
Move enums for operator_status and packet_bearer to common.h to avoid
duplication in drivers.
2015-10-13 16:00:17 -05:00
Denis Kenzior
dbb3ec13e5
gprs: Try re-attaching when we switch cells
2015-07-20 13:51:29 -05:00
Alfonso Sanchez-Beato
e70afdd9dc
gprs: Add comment to gprs_reset_contexts
2015-05-18 12:13:04 -05:00
Alfonso Sanchez-Beato
946b568f43
gprs: Refactor to remove forward declaration
2015-05-18 09:08:33 -05:00
Alfonso Sanchez-Beato
444611c086
gprs: Add DBus method to reset contexts
...
Add DBus method that removes the current contexts and re-provisions
using the APN database.
2015-05-18 09:08:13 -05:00
Philip Paeps
c144fadca6
gprs: provision the authentication method
2014-06-24 12:46:18 -05:00
Denis Kenzior
3e13676766
gprs: Make the code a bit easier to read
2014-06-21 12:02:05 -05:00
Philip Paeps
73831c3d76
gprs: make PPP authentication method configurable
...
Add a new "AuthenticationMethod" property to select between "pap"
and "chap" PPP authentication, defaulting to "chap" (i.e.: previous
behaviour).
2014-06-21 11:58:03 -05:00
Christopher Vogl
df05259e90
gprs: fix bearer dbus signal interface
...
According to the documentation the data bearer property should be
located on interface org.ofono.ConnectionManager.
2012-08-13 09:48:50 -05:00
Guillaume Zajac
05b8fe4794
gprs: Call detach_shutdown when network is lost
2012-07-15 20:05:23 -05:00
Marcel Holtmann
0d4e80c002
gprs: Avoid shadowing error variable
2012-07-15 20:26:12 -03:00
Marcel Holtmann
543db63f19
gprs: Use ofono_bool_t instead of gboolean
2012-06-17 22:23:23 -07:00
Lucas De Marchi
e0d6f9f0ce
Do not set signature and reply in GDBus tables
...
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi
b3489f2ee8
Convert GDBus methods to use macro helpers
...
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida
924ee02ff7
Constify GDBus signal tables
...
Constify signal tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Henrique Dante de Almeida
63bbdebdf2
Constify GDBus method tables
...
Constify method tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Denis Kenzior
878573b831
gprs: Use __ofono_atom_find
2012-01-18 12:36:37 -06:00
Denis Kenzior
b5d6d835fa
gprs: Trivial code reflow
2012-01-18 10:33:56 -06:00
Oleg Zhurakivskyy
9ebdfe29db
gprs: Use sim SPN watch API
2012-01-18 10:26:03 -06:00
Oleg Zhurakivskyy
60976f1357
gprs: Minor whitespace and style fixes
2011-12-28 16:07:48 -06:00
Marcel Holtmann
7e6afe37bf
core: Update copyright information
2011-10-10 13:39:42 -07:00
Denis Kenzior
51d0ac1ce4
gprs: Allow NULL context names while provisioning
2011-09-08 23:50:19 -05:00
Denis Kenzior
ddbacc2dda
gprs: Experimental fix for twitchy Huawei firmware
2011-08-18 14:23:04 -05:00
Denis Kenzior
ea07cbfa1b
gprs: Unify logic inside registration_status_cb
...
And delay reseting the ATTACHING flag until we had a chance to query the
CGREG status.
2011-06-02 15:56:18 -05:00
Gustavo F. Padovan
fe4b81d69a
gprs: remove set but not used var
2011-05-20 15:04:59 -05:00
Denis Kenzior
543b54a34e
gprs: Make sure to clean up interfaces
...
When going down, it is sometimes possible for us not to ifconfig down
the interface or reset the MMS context IPv4 address propertly
2011-05-11 13:29:33 -05:00
Denis Kenzior
4714d8199a
gprs: Mark context inactive on removal
2011-05-11 12:11:23 -05:00
Denis Kenzior
623183d996
gprs: Fix valgrind error
...
This fixes an invalid access condition for the case where the
gprs atom is destroyed before context atoms are.
2011-05-11 12:11:23 -05:00
Denis Kenzior
de0b882acf
gprs: emit Active changed for contexts being removed
2011-05-11 12:11:23 -05:00
Denis Kenzior
5646ecaf35
gprs: Add additional debug statements
2011-05-11 12:11:23 -05:00
Mika Liljeberg
0eedf42921
core: remove redundant code
2011-03-30 12:33:54 -05:00
Mika Liljeberg
b52c06210c
gprs: fix memory leak
2011-03-24 13:22:46 -05:00
Denis Kenzior
88402f02b2
gprs: Core changes for IPv6 support
2011-03-15 17:14:23 -05:00
Denis Kenzior
3d71a15c74
gprs: Move settings structure
...
Move the settings structure from pri_context to ofono_gprs_context in
preparation for new IPv6 support APIs.
2011-03-15 17:11:58 -05:00
Denis Kenzior
91a9425f21
gprs: Add support for dual stack contexts
2011-03-15 17:11:58 -05:00
Denis Kenzior
ae096831e5
gprs: Also reset active in release_context
2011-03-15 17:11:58 -05:00
Mika Liljeberg
35e1f55c9a
gprs: factor out common code
2011-03-15 17:11:58 -05:00
Denis Kenzior
566c60a402
gprs: Fixup error path
...
When we try to register the GPRS D-Bus interface and fail for some
reason, calling gprs_unregister is not really kosher since much of the
initialization has not yet been done. Call an intermediate function
instead.
2011-02-08 21:55:42 -06:00
Jukka Saunamaki
7243af46fa
gprs,gprs-provision: add SPN to provisioning API
2011-02-08 21:48:54 -06:00
Denis Kenzior
e0d777a655
core: free GError objects returned by glib
2011-02-08 16:48:52 -06:00
Denis Kenzior
40926f1951
gprs: Be a bit more paranoid when loading settings
2011-02-06 23:47:16 -06:00
Denis Kenzior
dc3019031d
gprs: Refactor gprs provisioning
2011-01-26 14:55:59 -06:00
Denis Kenzior
a02387d0b5
gprs: Put back the id if context creation fails
2011-01-26 14:55:59 -06:00
Denis Kenzior
04ce2bd8cc
gprs: write out MessageCenter and MessageProxy
...
These values were not written out to settings
2011-01-26 14:55:59 -06:00
Jukka Saunamaki
7a5f06dd6a
gprs: add gprs context provisioning
2011-01-26 14:55:58 -06:00
Pekka Pessi
a847f2ac0f
gprs: Make gprs atom offline-safe
...
Allow use of GPRS atom both in online and offline (post_sim) states.
The GPRS now considers the removal of the netreg atom as implicit detach
and registration change to NOT_REGISTERED.
2011-01-20 09:58:52 -06:00
Denis Kenzior
f8b2ea9ebe
gprs: Move packet bearer stuff into gprs.c
2011-01-20 09:49:36 -06:00
Tomasz Gregorek
33aaeb9dff
gprs: mark context driver as not used when removing active context
2011-01-20 13:31:29 +01:00
Rémi Denis-Courmont
8ccbc9e515
gprs: Core support for packet switched bearer reporting
2011-01-20 12:09:18 +01:00
Rémi Denis-Courmont
6082339040
gprs: avoid useless loop iteration
2011-01-10 16:31:32 -08:00