aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-03-15core: new boxed type for NULL-terminated array of gpointersAleksander Morgado
2012-03-15plugin-base: use MM_TYPE_UINT16_ARRAY for vendor/product ID propertiesAleksander Morgado
2012-03-15core: new boxed type for 0-terminated array of guint16 valuesAleksander Morgado
2012-03-15plugin-base: use GStrv boxed types for string array propertiesAleksander Morgado
2012-03-15bearer-cdma: use #777 as default number to dial when none given explicitlyAleksander Morgado
2012-03-15broadband-modem: redefine generic supported mode loading implementationAleksander Morgado
* assume CDMA1x is 2G * consider CS/PS/CDMA1x/EVDO network support flags specified by the plugins
2012-03-15broadband-modem: we can expect non-LTE 3GPP+CDMA modemsAleksander Morgado
2012-03-15core,plugins: handle missing `last_command' flagsAleksander Morgado
These didn't get compilation errors when `MMBaseModemAtResponseProcessor' was changed, as we're doing an explicit casting.
2012-03-15iface-modem-cdma: bind CDMA-specific properties for the simple statusAleksander Morgado
2012-03-15iface-modem-simple: new connection logic when more than one bearer aroundAleksander Morgado
For mixed 3GPP+CDMA modems, we first try to connect the 3GPP bearers, and then the CDMA ones.
2012-03-15broadband-modem: on mixed CDMA+LTE modems, guess which kind of bearer to createAleksander Morgado
2012-03-15iface-modem-simple: build 3GPP+CDMA registration check logicAleksander Morgado
For mixed 3GPP+CDMA modems, we check registrations in both 3GPP and CDMA networks, and we stop checks when we find ourselves registered in either one or the other.
2012-03-15iface-modem-cdma: let caller decide the maximum registration timeoutAleksander Morgado
2012-03-15iface-modem-3gpp: let caller decide the maximum registration timeoutAleksander Morgado
2012-03-15broadband-modem: implement CDMA registration methodAleksander Morgado
Will wait up to 60s to be registered in the CDMA network.
2012-03-15iface-modem-cdma: provide a method to register in the CDMA networkAleksander Morgado
This will really not be like the 3GPP method. In 3GPP we can request to do auto-registration, or request to lock to a specific Operator. Once that done, we wait for unsolicited registration messages and also perform peridic registration checks. In the case of the CDMA network, the registration seems to be always automatic. Therefore, this method to register in the CDMA network will just make sure that we got registered, by waiting up to N seconds while doing periodic registration checks.
2012-03-15broadband-modem: refactor the code a bitAleksander Morgado
* Include interface-specific prefixes in methods implemented (e.g. 'modem_3gpp_' for all 3GPP interface method implementations. * Pack together in the private struct variables required in the implementation of a given interface.
2012-03-15broadband-modem: set auto registration with AT+COPS=0Aleksander Morgado
This is, remove the use of "AT+COPS=0,,". The extra commas break its use in a Nokia C7, and the proper/clean way to do it anyway is to avoid using the commas.
2012-03-15manager: make sure modems get exported when all their ports are finishedDan Williams
My LG Rumor2 phone (ttyACM0 - AT, ttyUSB0 - QCDM) was never getting exported after the QCDM port finished probing. Not entirely sure why, but we should check whether we need to export a modem or not any time a port gets grabbed.
2012-03-15broadband-modem: fix check for QCDM capabilityDan Williams
has_qcdm_port was never set to TRUE anywhere...
2012-03-15broadband-modem: ignore early AT error responses for modem infoDan Williams
Where we have multiple commands that are all supposed to return the same thing (ie, GMM/CGMM, CSQ/CSQ?) but some modems support one and not the other, don't exit the sequence early if the modem doesn't support one of them. Gobi modems with CDMA firmware don't support the Cxxx variants so the returned ERROR (CME error 100) made the generic parser break out of the AT sequence without trying the additional commands that are supported.
2012-03-15base-modem-at: indicate sequence status to response parsersDan Williams
Let parsers know if this command is the last in a sequence since they may want to handle errors differently if that's the case.
2012-03-15bearer-cdma: implement bearer connection and disconnectionAleksander Morgado
2012-03-15bearer-cdma: new property for the number to dialAleksander Morgado
2012-03-15bearer-cdma: when specific RM protocol given to be used, ensure it is supportedAleksander Morgado
If the requested RM protocol is not supported, the CDMA Bearer creation will fail.
2012-03-15bearer-cdma: make it async-initableAleksander Morgado
We'll run some checks before having the object fully created.
2012-03-15bearer-cdma: avoid the need of the modem object during new_finish()Aleksander Morgado
2012-03-15bearer-cdma: allow subclasses to use the same unique path generatorAleksander Morgado
2012-03-15bearer-3gpp: avoid the need of the modem object during new_finish()Aleksander Morgado
2012-03-15bearer-3gpp: allow subclasses to use the same unique path generatorAleksander Morgado
2012-03-15bearer: export the object whenever both path and connection are setAleksander Morgado
2012-03-15sim: minor code simplificationAleksander Morgado
2012-03-15sim: handle initialization failures properlyAleksander Morgado
We should't use MM_SIM() on possibly NULL values.
2012-03-15bearer: make bearer creation an asynchronous operationAleksander Morgado
We may want to do some checks while creating a new bearer.
2012-03-15broadband-modem: setup 3GPP and CDMA bearer creation logicAleksander Morgado
On mixed CDMA+LTE modems, just default to create a 3GPP bearer.
2012-03-15iface-modem-cdma: setup creation of CDMA bearersAleksander Morgado
2012-03-15bearer-cdma: new bearer to handle connections in CDMA networksAleksander Morgado
2012-03-15bearer: set allow-roaming as property at generic bearer object levelAleksander Morgado
2012-03-15build: remove glib-mkenums generated files during make cleanAleksander Morgado
2012-03-15plugin-manager: fix loop of deferred tasks when no best plugin foundAleksander Morgado
If deferring tasks until result suggested, and we never got a suggestion, the tasks may have been left deferred in loop forever. We now remove the defer timeout in the case of waiting for suggestion, and ensure that we cancel tasks if the last valid probing ended without best plugin found.
2012-03-15iface-modem-cdma: load NID if available in the CDMA status QCDM responseAleksander Morgado
2012-03-15core: use g_list_free_full() when possibleAleksander Morgado
2012-03-15iface-modem-cdma: setup periodic registration checksAleksander Morgado
2012-03-15iface-modem-cdma: report state changes with subsystem IDAleksander Morgado
Different subsystem IDs used for CDMA1x and EVDO
2012-03-15iface-modem-3gpp: report state changes with subsystem IDAleksander Morgado
2012-03-15iface-modem: get consolidated state from all subsystemsAleksander Morgado
We don't want, e.g., REGISTERED->ENABLED transitions when 3GPP gets unregistered but we're still registered in CDMA.
2012-03-15broadband-modem: implement default detailed CDMA registration getterAleksander Morgado
Fully based on Sprint commands
2012-03-15broadband-modem: skip CDMA registration check steps on default implementationAleksander Morgado
If we know that there is no QCDM port, skip QCDM-based checks. If we know there are Sprint commands, skip CDMA1x Serving System check. If we know there are no Sprint commands, skip detailed registration getter.
2012-03-15broadband-modem: set NO_NETWORK error if we couldn't get SID from CDMA1x SS ↵Aleksander Morgado
checks
2012-03-15iface-modem-cdma: allow to configure which registration steps to runAleksander Morgado
Implementations of the CDMA interface are allowed to specify which steps in the registration checks can be skipped. For example, if no QCDM ports are available, there won't be any need to try QCDM-based checks; or if Sprint commands are available, there won't be any need to run CDMA1x Serving System checks.