aboutsummaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2011-04-26plugins: allow multiple custom init commands in sequenceDan Williams
Huawei will need this.
2011-04-26plugins: simplify custom init commandsDan Williams
Instead of having two places that custom init stuff got processed (a hook in the MMPluginBase class itself and a callback too) just use a callback, and simplify it somewhat so that the plugin tracks how many tries it cares about and what to do based on the response or error.
2011-04-21mbm: add MBM device IDs for Lenovo F5521gw moduleMarius B. Kotsbak
2011-04-19zte: only dispose Icera data onceDan Williams
2011-04-18samsung: use common Icera codeDan Williams
Port the differences over to the common Icera code (there were only two) and remove the duplicate code from the Samsung plugin. The Icera NWSTATE regex had to be adjusted to capture "-1" in the first element which wasn't handled before but which I've seen on the Samsung Y3300 before the card has registered.
2011-04-18icera: fix abuse of GInterfaceDan Williams
The GInterface structure for MMModemIcera isn't instance data, thus we shouldn't be storing an instance pointer in it. Instead, make implemtors store the intstance data in their private structure, and have them implement an accessor for the Icera-private data. This makes everone (especially GObject) happy. It's a bit of additional indirection, but we still get to use the MM_MODEM_ICERA_GET_PRIVATE() and we still get to cast the passed-in GInterface MMModemIcera into the various GSM MMModem subclasses, which is all we ever wanted anyway.
2011-04-11wavecom: set and get bandsAleksander Morgado
Use AT+WMBS for devices in 2G mode, and AT+WUBS for devices in 3G mode.
2011-04-11wavecom: ensure full functionality statusAleksander Morgado
Check the current functionality status with AT+CFUN? and make sure its '1', otherwise, RF may be switched off.
2011-04-11wavecom: set and get allowed modeAleksander Morgado
For 3G devices in Class A, AT+WWSM can be used to get or set the allowed mode: * +WWSM: 0 (2G only) * +WWSM: 1 (3G only) * +WWSM: 2,0 (Any) * +WWSM: 2,1 (2G preferred) * +WWSM: 2,2 (3G preferred) For 2G devices, there is no such command, so we will default to Any and allow 2G-only and 2G-preferred setups.
2011-04-11wavecom: ensure the modem uses the highest possible mobile classAleksander Morgado
These modems can be configured to use different mobile classes. For each kind of modem, the best mobile class is the highest one in the following order: - Class A (3G only mode) - Class B (PS or CS, GPRS/EDGE or GSM) - Class CG (PS only, GPRS/EDGE) - Class CC (CS only, GSM)
2011-04-11wavecom: query network technology capabilitiesAleksander Morgado
2011-04-11wavecom: enable RTS/CTS flow control instead of XOFF/XONAleksander Morgado
2011-04-11wavecom: disable default power up commandAleksander Morgado
2011-04-11wavecom: handle READY without OK in CPIN? replyAleksander Morgado
2011-04-11wavecom: add initial dummy pluginAleksander Morgado
2011-04-08hso: use zero send_delay since Option firmware is generally excellentDan Williams
2011-04-08serial: allow plugins to specify probe-time send_delayDan Williams
Let modems we know don't suck use a zero send-delay at probe time, which greatly reduces time required to probe AT-compatible ports.
2011-04-08serial: send entire command in one write if send_delay is 0 (chromium:13506)Dan Williams
Avoids additional USB latency and groups the whole command into one USB packet. BUG=chromium-os:13506
2011-04-08samsung: add Reset and UnlockRetries.Elly Jones
BUG=chromeos-partner:2999, chromeos-partner:3215 TEST=network_LockedSIM Change-Id: I17c25c52fa5cf4cffa94e73bd827eaae9e687df0 Signed-off-by: Elly Jones <ellyjones@chromium.org> Signed-off-by: Jason Glasgow <jglasgow@chromium.org> Signed-off-by: Jun Woo Lee <jw86.lee@samsung.com>
2011-03-27samsung: fix style of samsung_call_control() nameDan Williams
2011-03-27samsung: fix up disconnectDan Williams
Two issues here, first we dont' need to chain up to the parent because it's not doing anything we need (it's mainly for PPP-based devices) and second we need to wait a bit for the disconnect command to complete by specifying a callback, otherwise the command may get discarded when the port is shut down afterward.
2011-03-27samsung: streamline enable/init processDan Williams
Don't need init retries since the modem seems pretty sane, and we also don't need to call AT+CFUN=1 twice. Just once should be fine. We also don't need any "flashing" since the modem doesn't really do PPP and thus shouldn't need any of the serial port carrier stuff to get its attention, since we'll never be using PPP on any of its ports.
2011-03-27samsung: remove debug codeDan Williams
2011-03-27samsung: fix access technology detectionDan Williams
Need to send the MM allowed mode back to the caller, not the Icera mode. Simple typo in original plugin patch I think.
2011-03-27samsung: make a few local functions privateDan Williams
No need for them to be public as they aren't used anywhere else.
2011-03-27samsung: clean up modem detectionDan Williams
Use standard vendor/device id detection mechanisms and handle the net port like other net ports are handled, by just claiming it. Also reject CDMA modems for now.
2011-03-27samsung: drop PORT_TYPE_ECMDan Williams
Isn't really needed since it's just the same as any other net device port type.
2011-03-27samsung: spacing, style, and build fixesDan Williams
Clean up the spacing and use more consistent styling.
2011-03-27samsung: fix compilationAleksander Morgado
2011-03-24zte: fix build dependency race with Icera utils bits (chromium-os:13398)Elly Jones
2011-03-11modemmanager: Add support for Samsung Y3300 modemJun Woo Lee
BUG=chrome-os-partner:2394 TEST=gmerge modemmanager, watch logs, see detected as Samsung modem, connect to AT&T network Review URL: http://codereview.chromium.org/6614026 Patch from Jun Woo Lee <jw86.lee@samsung.com>. Change-Id: I913628ff4a1cd16c8180e3c808644b0134e69e31
2011-03-11core: allow plugins to handle custom init responsesThomas Bechtold
2011-02-17simtech: add port tags for SCT U300 (Element Mobile)Dan Williams
2011-02-01zte: fix handling of Icera simple connect processDan Williams
Yay for GInterface.
2011-02-01icera: fix username and password ordering for authenticationDan Williams
2011-01-23core: rework loggingDan Williams
Make it more flexible, add logging to a file, and absolute and relative timestamps.
2011-01-23build: fix distcheckDan Williams
2011-01-14core: add modem reset/power-cycle commandDan Williams
Based on a patch by Elly Jones from Google.
2011-01-12zte: add more ZTE port tags (LW272, others)Dan Williams
2011-01-03huawei: quiet annoying log messageDan Williams
2011-01-01icera: add complete support for generic Icera devicesDan Williams
Implement connect, disconnect, and IP4 config stuff. Also fix handling of Icera private data. After creation we need to use MM_MODEM_ICERA_GET_INTERFACE(m)->priv to get the private data instead of just dereferencing the MMModemIcera, for reasons that I don't know. If this isn't done, data gets silently corrupted because writes to the private data are going into a random location in the object. This a side-effect of the slightly hack-ish way that MMModemIcera is a GInterface with private data.
2011-01-01icera: convert to GInterfaceDan Williams
We'll need to store some private data later for authentication, and this makes it easier and clearer to access that private data.
2011-01-01zte: Icera devices use static IP configurationDan Williams
2011-01-01icera: consolidate Icera check code into utility libDan Williams
2011-01-01icera: move Icera utils into standalone utility libraryDan Williams
2011-01-01gsm: add access technology support for HSPA+Dan Williams
2010-12-31zte: partially support Icera-based devices like T-Mobile Rocket 2Dan Williams
2010-12-30zte: really shut the device upDan Williams
The MF691 appears to ignore E0 on the same line as some other stuff, so really shut it up by sending E0 by itself.
2010-12-30zte: add support for pseudo-ethernet data portsDan Williams
2010-12-20Install xml files so they can be used by cromo (chromeos modem manager)Elly Jones
Amended: Install the files under their proper DBus names. Review URL: http://codereview.chromium.org/1618004 (cherry picked from commit 89f7f05f1294485fa8b44cfdd3c9b0d924d45ac1) Conflicts: Makefile.am Change-Id: I65b2b0c1b5e579bb5b1d5d5b390c3be2ae49543c