aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-11-17probe: fix probing on PPC due to missing castDan Williams
gcc will interpret the constant value as a uint32 but the port's set_property() was taking it as a uint64. Thus the top 32 bits were probably garbage, and messed up on big-endian architectures leading to random large probe delays.
2009-10-30gsm: tighter signal strength validationDan Williams
The standard dictates CSQ response strength value to be [0 - 31] inclusive, and 99 means "unknown" or "no service". Make that apparent and don't treat 99 as 99% which it clearly isn't. Also, allow spaces in the CSQ response.
2009-10-30trivial: spacing fixDan Williams
2009-10-30gsm: give a network scan 2 minutes instead of 1Dan Williams
On many modems that support 7 or more bands (quad-band 2G, tri-band or more for 3G) scans take quite a while.
2009-10-30gsm: make "X4 &C1" init arguments optional (lp:455031)Dan Williams
At least don't error out of the fail since they aren't really necessary, just nice to have.
2009-10-26cdma: return registration state, not error, when unregisteredDan Williams
2009-10-26core: use G_DEFINE_TYPE_* instead of rolling our ownDan Williams
Use the macro; save some trees.
2009-10-26gsm: ignore errors from power-on commandDan Williams
Phones especially don't seem to consistently implement this. For now, we'll hack it out, but later, we'll want to have a class method for power-on instead of just a property so that subclasses can decided for themselves (since they know their hardware better) whether failure of the power-on command is fatal or not.
2009-10-15gsm: fix unsolicited registration by calling the statemachine callback info ↵Alexander Sack
- lp:416893
2009-10-14gsm: don't issue CFUN=0 by defaultDan Williams
Let plugins do it when they know it's OK.
2009-10-13cdma: give cards more time to registerDan Williams
5 was left-over from debugging unplug-while-registering issues, was meant to be 15 (ie, 60 seconds) anyway.
2009-10-12cdma: implement registration in Simple.Connect pathDan Williams
Wait a bit for the modem to register before trying to dial.
2009-10-12core: convert MMCallbackInfo modem refs to weak refsDan Williams
Full references prevented destruction of the modem object if it was unplugged or somehow removed. To fix that using full references on the modems would require that all usage of MMCallbackInfo to be aware of the validity of the modem and to ensure the callback was called whenever the modem became invalid. That, needless to say, would suck. Since any in-progress calls can't complete when the modem is invalid anyway, just have the MMCallbackInfo object return a generic error when the modem goes away and the call is still in-progress.
2009-10-12cdma: split 1x and EVDO registration statesDan Williams
Like UMTS vs. GSM, EVDO and 1x are separate networks and technologies and have separate registration state. You can even be roaming on EVDO while in your home 1x network. Handle that.
2009-10-11cdma: fix memory leak parsing serving system resultsDan Williams
2009-10-11cdma: add signal quality update helper for subclassesDan Williams
2009-10-11cdma: use consistent terminology for registrationDan Williams
2009-10-11cdma: add port accessors for subclassesDan Williams
2009-10-11cdma: use secondary port more aggressively where one existsDan Williams
Like on the Huawei EC121 and EC168C (Reliance India).
2009-10-09cdma: implement generic registration state handlingDan Williams
2009-10-08cdma: better CSS response parsingDan Williams
2009-10-06gsm: strip command response bits from mfg/model/revision responsesDan Williams
2009-10-06gsm: add cell access technology reporting to Scan()Dan Williams
2009-10-05Merge commit 'origin/master' into enable-splitDan Williams
2009-10-02bluetooth: handle rfcomm device movesDan Williams
rfcomm devices seem to be created as 'virtual' devices first, without any parents, then moved to the right place in the device tree. So handle moves too; if the modem was already found in the 'add' phase it'll be ignored in the move phase.
2009-10-02bluetooth: physical device is a bit higher up the treeDan Williams
2009-10-02bluetooth: recognize rfcomm devicesDan Williams
Two hacks here: 1) rfcomm ports don't have an easily accessible driver name, so we just match the parent's subsystem to 'bluetooth' and use that 2) libgudev doesn't seem be be able to get the rfcomm device's device file, which would normally be /dev/rfcommX. Oh well, we don't use the device file yet anyway
2009-09-23core: split generic modem enable/disable operationsDan Williams
2009-09-23generic: match CONNECT even if we get PPP spewDan Williams
Found by Eugene Crosser <crosser@average.org>
2009-09-09serial: use connected notifier only when neededDan Williams
It's only relevant when the port is open anyway, and marking the port disconnected in nm_serial_port_close(), which used to be called from the finalize() function, would trigger the notifier when stuff was already cleaned up. So move the nm_serial_port_close() call to dispose() and remove the connected notifier before we clean the port up.
2009-09-08serial: mark port disconnected on closeDan Williams
Otherwise it could still be connected when the port was opened again, and subsequent calls for stuff could fail.
2009-09-08core: don't allow concurrent flashes on the same deviceDan Williams
Previously, a few operations (like disable) could trigger a modem flash in parallel with another flash. That's wrong, don't allow that. At the same time, add in finer-grained error checking on serial port speed operations, and fix a GSM generic bug that would send the POWER_UP string on disable.
2009-09-09udev: handle removal of parent usb devicesNoel J. Bergman
fix device removal event handling to remove modems if the associated parent usb device is removed
2009-08-31cdma: handle older AT+CSS response formatDan Williams
2009-08-26core: fix uninitialized variableBryan Duff
2009-08-20gsm: handle "net" device removal properly in release_portAlexander Sack
2009-08-17gsm: update for D-Bus interface specification changesDan Williams
Specifically, SupportedModes, SupportedBands, and SMS completeness changes.
2009-08-06license: add license header to all files and set copyright based on git logAlexander Sack
2009-08-05gsm: harmonize band/mode enumsDan Williams
Use the same enum for set/get of band and mode, as for exposing the device's capabilities.
2009-07-22cdma: fix serving-system parsing for oddly-placed spacesDan Williams
Sierra 580 returns "+CSS: 0, Z , 0" when not associated. Handle that.
2009-07-17cdma: handle devices that don't prefix CSS result with +CSS:Dan Williams
Like the Sanyo SCP-3800 (Sprint Katana LX). Make up your freakin' mind people, either prefix *all* responses with the command stem, or don't. But just pick one dammit.
2009-07-07cdma: fix 32-bit compile issuesDan Williams
2009-07-06serial: rework 'connected' logicDan Williams
So many modems just don't implement carrier detect that it makes the previous 'connected' logic useless, so base it off connect/disconnect and fix up a few places that didn't check connect status before trying to send commands. Also ensure the serial port is unlocked for PPP to use when connected.
2009-07-02plugins: allow plugins to more easily suggest port typesDan Williams
ZTE modems need to use udev rules to assign port type hints, so generalize that and port all the plugins over to suggested port types in the MMModem interface's grab_port() function.
2009-06-29gsm: fix init for modems for which ATZ does not play well with othersDan Williams
2009-06-29Merge branch 'master' into udevDan Williams
2009-06-29gsm: increase COPS manual registration timeout; it just takes longer sometimesDan Williams
2009-06-29plugin-base: better Huawei detection; don't drop BUSlink responseDan Williams
2009-06-29errors: fix typoDan Williams
2009-06-29plugin-base: don't scribble on memory when looking up cached capabilitiesDan Williams