- Jan 12, 2010
-
-
Dan Williams authored
-
- Jan 06, 2010
-
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
- Jan 05, 2010
-
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
- Jan 02, 2010
-
-
Dan Williams authored
MM would appear to hang sometimes when writing to serial devices but in reality was just retrying the write too many times. Make the retry limit time-based so MM doesn't hang but times the attempt out instead.
-
- Dec 23, 2009
-
-
Dan Williams authored
-
Dan Williams authored
At the moment only the Enabled property is exported.
-
- Dec 21, 2009
-
-
Dan Williams authored
-
Dan Williams authored
If they're not there, just ignore them and don't build the PPP-enabled bits of the test tool.
-
Dan Williams authored
-
Dan Williams authored
-
- Dec 20, 2009
-
-
Dan Williams authored
-
Dan Williams authored
-
- Dec 19, 2009
-
-
Dan Williams authored
It turns out that "Modem is [NOT] registered" is not a good indicator of whether the card has service or not; instead some of the AT!STATUS response is needed to really determine registration state or not.
-
- Dec 16, 2009
-
-
Dan Williams authored
This implements the same fixes that NetworkManager's 0.7 branch implemented in commits f38ad328acfdc6ce29dd1380602c546b064161ae and 1235f71b20c92cded4abd976ccc5010649aae1a0. Many ZTE devices will spam the port with messages about waiting voicemail/SMS which buffer up and cause the device to eventually crash if not suppressed.
-
Dan Williams authored
Which some Huawei modems (EC168C) don't do.
-
Dan Williams authored
at!pcstate is what Sierra CDMA modems use instead of AT+CFUN for powering the radio on and off. It doesn't turn the modem off completely like AT+CFUN=0 does for many GSM devices though, so it's quite a lot nicer.
-
- Dec 12, 2009
-
-
Dan Williams authored
This is the MM equivalent of NM commit 9d7f5b3d084eee2ccfff721c4beca3e3f34bdc50; Genuine Option NV devices are always supposed to use USB interface 0 as the modem/data port, per mail with Option engineers. Only this port will emit responses to dialing commands.
-
- Dec 11, 2009
-
-
Dan Williams authored
If the modem wasn't connected when disable is called, the generic GSM code doesn't need to shut anything down and thus closes the serial port immediately. That means the mbm plugin's CREG=0 and CMER=0 won't get sent because the port is closed. mbm needs to ensure that it's commands actually get sent to the modem by really sending them and waiting for the response before chaining up to the parent's disable.
-
Dan Williams authored
-
Dan Williams authored
Some modems want one, some modems want the other. Try both.
-
Dan Williams authored
Most AT command references allow modems to report SID 0, even though SID 0 is not a valid SID and is not assigned to any CDMA network. Some Sierra 5725 cards have been seen to report valid class and band from the +CSS response but a SID 0. Accept SID 0 when at least one other element of the +CSS response indicates that the modem has service. Otherwise, report "no service" as before.
-
- Dec 08, 2009
-
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
Some modems delay the +COPS response until registration is complete, others return right away. Make sure that both behaviors work correctly.
-
Dan Williams authored
-
- Dec 02, 2009
-
-
Dan Williams authored
-
Dan Williams authored
And consolidate generic port enable code in one place since pretty much every modem needs that.
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
We only want to ignore connected/connecting/disconnecting states and update the state based on registration for unsolicited registration changes. Basically, when disconnecting, the modem will be in DISCONNECTING state, but after the disconnect has finished we want to update the modem's state based on the current registration status. But the previous check for >= DISCONNECTING would prevent that from happening, so we need a slightly more specific check in update_enabled_state().
-
Dan Williams authored
Oops.
-
- Dec 01, 2009
-
-
Dan Williams authored
Have to fall back to the previous state if the enable/disable operation fails since we cannot assume anything about the new modem state when a failure occurs.
-