aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-06iface-modem-3gpp: when disabled, cleanup interface propertiesAleksander Morgado
2012-08-06iface-modem-3gpp: refactor registration sequencesAleksander Morgado
Once upon a time it was a good idea to have separate steps for CS and PS related actions, so that plugins could override specific steps with a great detail. That idea turned out to be not very useful, as the only case which requires custom CS/PS registration actions is the QMI-enabled modem, and that one has commands to act on both registration actions at the same time. So, we now consolidate all steps, so that the implementation of the interface needs to provide all the logic to setup/enable/disable/cleanup/check registrations in each mode. Also, we consolidate how the unsolicited registration messages are handled, so that it's equivalent to other unsolicited messages: * 'Setup' will configure ports to process the unsolicited messages. * 'Enable' will tell the modem to send unsolicited messages. * 'Disable' will tell the modem not to send unsolicited messages. * 'Cleanup will configure ports to ignore the unsolicited messages.
2012-08-06iface-modem-cdma: new steps to enable/disable unsolicited eventsAleksander Morgado
2012-08-06iface-modem-cdma: skip checks to see if unsolicited events are supportedAleksander Morgado
2012-08-06iface-modem-3gpp: removed the 'setup indicators' stepAleksander Morgado
The previous logic would first request to check if indicators were supported, and only then allow to setup/enable/cleanup/disable unsolicited events. This behaviour is very specific to the generic 3GPP case, and therefore it shouldn't be handled in the even more generic 3GPP interface. The logic is still kept, but handled within the MMBroadbandModem object.
2012-08-06zte: use +CFUN=4 for powering downAleksander Morgado
Icera-based ZTE already has the same functionality coming from the parent `MMBroadbandModemIcera' modem object.
2012-08-06device: keep all unsupported ports in a separate listAleksander Morgado
Ports being marked as unsupported should not be passed to the plugin specific create_modem() or grab_port() methods.
2012-08-06plugin-manager: relaunch probing when suggestion comes to deferred tasksAleksander Morgado
If a port support task was deferred until suggested, do not assume that the suggested plugin actually supports the port, instead re-launch support check. This covers the cases where a net port appears in a modem which only supports AT ports (e.g. Nokia case).
2012-08-06zte: plugin fully portedAleksander Morgado
2012-08-06TODO: the ZTE MF637 doesn't like default setup fo messaging unsolicited messagesAleksander Morgado
2012-08-06zte: setup/cleanup unsolicited messages in Icera based modemsAleksander Morgado
2012-08-06zte: use common unsolicited messages handler setup in Icera based modemsAleksander Morgado
2012-08-06zte: use common unsolicited messages handler setupAleksander Morgado
2012-08-06zte: new common code to setup unsolicited event handlersAleksander Morgado
2012-08-06zte: try +CPMS? calls after SIM unlock until SIM gets readyAleksander Morgado
2012-08-06zte: carrier-detect disabled in serial portsAleksander Morgado
2012-08-06zte: support Icera-based modemsAleksander Morgado
We request Icera support check during port probing, and we then decide which modem object to create based on the check results.
2012-08-06zte: implement access technology loadingAleksander Morgado
2012-08-06zte: implement allowed mode loading/settingAleksander Morgado
2012-08-06zte: setup ports and unsolicited message handlingAleksander Morgado
2012-08-06zte: new `MMBroadbandModemZte'Aleksander Morgado
2012-08-06zte: start porting the ZTE pluginAleksander Morgado
2012-08-06nokia: no need specific port grabbingAleksander Morgado
The udev tags for port grabbing hints are for Icera-based Nokia modems only.
2012-08-06nokia-icera: new plugin to handle Icera-based Nokia modemsAleksander Morgado
We have a whole new plugin because the whole probing process is different between the Icera and non-Icera based Nokia modems.
2012-08-06nokia: don't support Icera-based modemsAleksander Morgado
Nokia CS Internet sticks are based on Icera chipsets; the default Nokia plugin shouldn't handle them.
2012-08-06plugin: check if the current probe is the one with AT support before ↵Aleksander Morgado
assuming it's not
2012-08-06plugin: let plugins request Icera support checks and Icera based filtersAleksander Morgado
2012-08-06port-probe: include Icera support check in the probing sequenceAleksander Morgado
2012-08-06samsung: use generic power down of the Icera modemAleksander Morgado
2012-08-06icera: use +CFUN=4 for power down in all Icera modemsAleksander Morgado
2012-08-06icera: remove `MMIfaceIcera'Aleksander Morgado
2012-08-06samsung: make the modem object inherit from the `MMBroadbandModemIcera'Aleksander Morgado
2012-08-06icera: create a generic broadband bearer when no net ports availableAleksander Morgado
2012-08-06icera: allow specifying at modem/bearer level whether we want DHCP or STATICAleksander Morgado
2012-08-06icera: new `MMBroadbandModemIcera'Aleksander Morgado
We'll get rid of the `MMIfaceIcera'.
2012-08-06icera: implement dynamic band support checkingDan Williams
Turns out we can check supported bands by asking the modem what the enabled state is for the bands it says it supports, and then setting the enabled state to what it currently is. For bands the modem actually doesn't support, it'll return an error. Use that to build up the modem's actual supported band list.
2012-08-06samsung: use generic Icera band handling functionsDan Williams
2012-08-06icera: add generic band handling functionsDan Williams
2012-08-06samsung: use generic Icera unlock retries checking functionsDan Williams
2012-08-06icera: add generic unlock retries checkingDan Williams
2012-08-06samsung: add Samsung Electronics, Inc. as copyright ownersAleksander Morgado
They actually wrote the original Samsung plugin in ModemManager 0.5.
2012-08-06samsung: new `MMBroadbandBearerSamsung'Aleksander Morgado
Based on the Icera bearer, but using DHCP in the net port.
2012-08-06TODO: add task to update drivers info in the Modem ifaceAleksander Morgado
2012-08-06TODO: we should retry Icera authentication commandAleksander Morgado
2012-08-06TODO: add task to check if HSO disconnection needs to get updatedAleksander Morgado
2012-08-06icera: avoid highly unlikely use of already unref-ed bearerAleksander Morgado
In the connection and disconnection sequences, we make sure that the Bearer object is valid by keeping a reference in the Dial3gppContext and Disconnect3gppContext (actually, another one kept by the GSimpleAsyncResult as well). But we are considering here the case where the context is completed and freed by an unsolicited message handler before we get the reply to the AT command, so to properly ensure that the bearer object is still valid when we try to check if the context is in the priv struct, we need to keep an extra ref around.
2012-08-06hso: avoid highly unlikely use of already unref-ed bearerAleksander Morgado
In the connection sequence, we make sure that the Bearer object is valid by keeping a reference in the Dial3gppContext (actually, another one kept by the GSimpleAsyncResult as well). But we are considering here the case where the connection context is completed and freed by an unsolicited message handler before we get the reply to the AT command, so to properly ensure that the bearer object is still valid when we try to check if the context is in the priv struct, we need to keep an extra ref around.
2012-08-06hso: avoid trying to use an already freed contextAleksander Morgado
In the connection sequence, we keep the context in the private info of the Bearer object, so that we can complete and free it when we receive OWANCALL unsolicited messages. Now, the reply of the OWANCALL itself may get processed as an unsolicited message, so effectively we're processing and finishing the connection/disconnection context *before* we process the reply of the AT command. This patch ensures that we do not try to re-use the connection context after it has been processed by the unsolicited messages handler.
2012-08-06icera: avoid trying to use an already freed contextAleksander Morgado
In both the connection and disconnection sequences, we keep the context in the private info of the Bearer object, so that we can complete and free it when we receive %IPDPACT unsolicited messages. Now, the reply of the %IPDPACT itself may get processed as an unsolicited message, so effectively we're processing and finishing the connection/disconnection context *before* we process the reply of the AT command. This patch ensures that we do not try to re-use the connection/disconnection context after it has been processed by the unsolicited messages handler.
2012-08-06samsung: fix crash due to uninitialized GError variablesBen Chan
BUG=chromium-os:32475 TEST=emerge modemmanager-next Change-Id: I8dad924dae9a249c3b9235786226b7dd40bd8819