aboutsummaryrefslogtreecommitdiff
path: root/src/mm-broadband-bearer.h
AgeCommit message (Collapse)Author
2022-03-08broadband-bearer: remove unused cid_selection_3gpp() methodAleksander Morgado
It was replaced by the profile management operations instead in the 1.18 release.
2021-04-29broadband-bearer: rely on profile management for the cid selectionAleksander Morgado
There is no longer need to perform all the CID selection logic in the broadband bearer connection procedure, we can rely on the new profile management operations to do the same thing. We can do this because we're sure that all the MMBroadbandModem objects implement the MMModem3gppProfileManager interface. Additionally, given that we now provide the profile ID value as part of the MMBearerConnectResult, we no longer need a custom mm_broadband_bearer_get_3gpp_cid() as we can use the generic mm_base_bearer_get_profile_id() for the same purpose.
2020-09-19core: add autoptr cleanup methods to all internal typesAleksander Morgado
2017-04-18broadband-bearer: once connected, set flow control settingsAleksander Morgado
During modem initialization we detected the flow control settings supported by the modem, and selected the best one to use from them, notifying it to the device via AT+IFC. The device was therefore instructed to use that flow control setting for data transmission in the TTY (i.e. not during AT control commands). The missing thing was to also configure ourselves our end of the serial port with the same flow control settings when getting into data mode. By doing it ourselves, we avoid requiring any explicit setting in pppd for flow control; pppd can assume the flow control settings are already the expected ones. Worth noting that all this setup is completely ignored for TTYs exposed directly via USB. https://bugs.freedesktop.org/show_bug.cgi?id=100394
2016-10-12broadband-bearer: allow subclassing the CID selection step in the 3GPP sequenceAleksander Morgado
Instead of relying always on CGDCONT to look for a matching PDP context or creating a new one, we allow plugins to apply their own logic.
2014-07-06bearer: rename 'MMBearer' to 'MMBaseBearer'Aleksander Morgado
Just so that we don't have same header names in src/ and /libmm-glib.
2014-06-13broadband-bearer: pass the IP family to subclasses when getting IP configDan Williams
Subclasses may need to know which IP families were used for the setup so they can return the correct IP configuration. We can't just use the MMBearer default_ip_family becuase that isn't the family that was actually used during the connection.
2014-02-13ports: rename 'MMAtSerialPort' to 'MMPortSerialAt'Aleksander Morgado
2013-02-18bearer,3gpp: dial operation specifies which data port to useAleksander Morgado
Instead of deciding in advance which data port to use, we let the dialling operation gather it. For the generic dialling logic, ATD-based, always an 'AT' port will be used as data port, even if we grabbed a 'net' port. Those plugins that can work with 'net' ports will grab the specific 'net' port themselves.
2013-02-18bearer: new helper 'MMBearerConnectResult' typeAleksander Morgado
Instead of returning 3 variables in connect_finish(), return a single reference counted struct. This simplifies how the result is built and passed within a GSimpleAsyncResult to each _finish() method. This also simplifies the dialling step in the 3GPP connection sequence, as we can use the same new type.
2012-10-04libmm-glib: remove the `libmm-common.h' headerAleksander Morgado
Both the ModemManager daemon and the mmcli will now include `libmm-glib.h' only. We also handle two new special `_LIBMM_INSIDE_MM' and `LIBMM_INSIDE_MMCLI' symbols, which if included before the `libmm-glib.h' library allow us to: * Don't include the libmm-glib high level API in the ModemManager daemon, as the object names would clash with those in the core. * Define some of the methods of helper objects to be included only if compiling ModemManager daemon or the mmcli.
2012-08-29broadband-bearer: remove obsolete property namesAleksander Morgado
2012-08-23broadband-bearer: pass down the data port to the 3GPP dialling stepAleksander Morgado
Plugins may require specific dialling commands depending on the port type.
2012-08-23broadband-bearer: allow implementations to override the port used for connectionAleksander Morgado
2012-05-06bearer: simplify handling of the bearer configurationAleksander Morgado
The base MMBearer object will receive the MMBearerProperties configuration, which contains every generic and plugin-specific set up. Not every configuration parameter will be used by every implementation (e.g. not every bearer needs user/password). The Bearer object will expose every configuration parameter received in its `Properties' property in the interface, even if it's not really used.
2012-03-16broadband-bearer: pass down CID to the 3GPP-specific disconnection logicAleksander Morgado
2012-03-16broadband-bearer: let subclasses handle their own IP config retrieval mechanismAleksander Morgado
Mainly given for bearers requiring static IP addresses in net ports.
2012-03-16broadband-bearer: let subclasses know the CID being usedAleksander Morgado
2012-03-16libmm-common: `MMBearerProperties' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonBearerProperties' to `MMBearerProperties', and removed the `MMBearerProperties' provided in libmm-glib. We'll just use the original one from libmm-common always.
2012-03-16libmm-common: `MMBearerIpConfig' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonBearerIpConfig' to `MMBearerIpConfig', and removed the `MMBearerIpConfig' provided in libmm-glib. We'll just use the original one from libmm-common always.
2012-03-16broadband-bearer: split out "dial" as a separate phase of the 3gpp connectionNathan Williams
So that we can override it in modems that use a different sequence to get a net connection instead of a PPP connection. Change-Id: I9c5635a7635b66eb7bca9ec9552d2d7794bc8827
2012-03-15broadband-bearer: reimplement CDMA and 3GPP disconnection logicAleksander Morgado
2012-03-15broadband-bearer: reimplement CDMA and 3GPP connection logicAleksander Morgado
2012-03-15broadband-bearer: new generic 3GPP+CDMA bearerAleksander Morgado