summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2014-07-06sim: rename 'MMSim' to 'MMBaseSim'Aleksander Morgado22-171/+172
Just so that we don't have same header names in src/ and /libmm-glib.
2014-07-06bearer: rename 'MMBearer' to 'MMBaseBearer'Aleksander Morgado25-208/+206
Just so that we don't have same header names in src/ and /libmm-glib.
2014-07-04huawei: enable GPS_UNMANAGED for Huawei modemsDavid McCullough1-59/+78
Signed-off-by: David McCullough <david.mccullough@accelecon.com>
2014-07-04option,hso: add missing GPS unamanged capabilityAleksander Morgado1-1/+3
2014-07-04huawei: close GPS port once GPS has been disabledAleksander Morgado1-0/+6
2014-07-03huawei: GPS support for MU609/MU909David McCullough3-2/+337
Implement GPS support on the MU609 and MU090 Huawei modules. Its highly likely the commands are the same for other Huawei modems and it just needs to be activated via udev rules that flag the GPS port with ID_MM_HUAWEI_GPS_PORT=1. There are a lot of options that can be tweaked on the Huawei GPS setup, this code just chooses a simple default for unassisted, standalone GPS operation. Signed-off-by: David McCullough <david.mccullough@accelecon.com>
2014-07-02cinterion: allow 'unmanaged' GPS setupAleksander Morgado1-23/+44
2014-07-02option,hso: print port type before parsingAleksander Morgado1-0/+1
2014-07-02option,hso: allow 'unmanaged' GPS setupAleksander Morgado1-62/+83
2014-07-01cinterion: enable GPS location reporting for the PHS8 in QMI-modeAleksander Morgado7-335/+666
The PHS8 in QMI-mode doesn't support GPS location retrieval via QMI, so we will fallback to use the AT-based setup and the TTY for reading NMEA traces.
2014-07-01huawei: avoid AT^GETPORTMODE in Huawei MU609David McCullough2-1/+6
The MU609 modems from Huawei have a bug (confirmed by Huawei) that causes the modem to reset if AT^GETPORTMODE is issued. I have provided and example udev rule I use to disable this command as a patch, feel free to drop that if its not acceptable. Since I cannot tell the modem type from within the udev rules this is less specific than my previous code based patch, but much simpler ;-) I have two modems that share the same USB ID, however, neither supports the ^GETPORTMODE command (and one of them crashes when it is issued). Perhaps someone with a Huawei that supports ^GETPORTMODE can check their USB ID's and see if they clash. Here is a comment from the Huawei devs: > We confirmed this is a issue. This is Qualcomm baseband command at Data > Card. We didn’t delete and block it. We will fix this issue in next FW. > Thank you very much. Sign-off-by: David McCullough <david.mccullough@accelecon.com>
2014-06-27cinterion: enable GPS location reporting for the PHS8 in AT-modeAleksander Morgado4-3/+376
This enables support for GPS location reporting when the PHS8 is NOT used in QMI mode.
2014-06-25cinterion: update default setting for new SMS indicationsAleksander Morgado1-9/+215
The setup in Cinterion modems goes as follows: AT+CNMI=<mode>[, <mt>[, <bm>[, <ds>[, <bfr>]]]] For each field, several setups are available, so we could use a default value, as we were doing until now (+CNMI=2,1,2,2,1). BUT, not every Cinterion modem allows the same set of settings. For example, the new PHS8 only allows '0' for the <ds> value: AT+CNMI=? +CNMI: (0,1,2),(0,1),(0,2),(0),(1) So, instead of hardcoding the setup, try to find the best suitable one for each modem. We'll parse the +CNMI=? test response to know which values are supported during the messaging support check, which is run once during initialization.
2014-06-25cinterion: new 'AT+CNMI=?' parser helperAleksander Morgado3-0/+278
2014-06-23huawei: quicker find matching cdc-wdm AT portAleksander Morgado1-68/+15
Without using a new GUdevClient. Based on a patch from Dan Williams <dcbw@redhat.com>
2014-06-23port: store parent sysfs path in each MMPortAleksander Morgado13-4/+16
2014-06-23huawei: flag /dev/cdc-wdm as primary if no primary found alreadyAleksander Morgado1-2/+21
2014-06-23huawei: setup unsolicited message handlers also in the AT cdc-wdm portsAleksander Morgado1-52/+79
2014-06-23huawei: use the cdc-wdm port dialing if availableAleksander Morgado3-27/+177
With the new 'huawei-cdc-ncm' driver in the kernel, we now may get a /dev/cdc-wdm AT-capable port exposed by the Huawei device. If so, we must use this port for NDISDUP dialling in order to get the network interface connected.
2014-06-18icera: fix 'sometimes-uninitialized' variable issuesBen Chan2-3/+3
2014-06-13broadband-bearer-mbm: support IPv6 DNS and use static IPv4 configurationDan Williams5-0/+532
2014-06-13broadband-bearer-sierra: use Icera authentication for Icera devicesDan Williams4-6/+89
Devices with Icera chipsets (USB305) don't support the Qualcomm proprietary $QCPDPP command, and we must use the Icera command instead. Otherwise authenticated bearer creation will fail.
2014-06-13broadband-bearer-icera: add IPv6 supportDan Williams5-129/+571
Split out the %IPDPADDR parsing into a helper and add testcases for it, and add support for IPv6 handling. If the returned IPv6 is link-local, the address should be assigned to the interface and SLAAC performed to retrieve the actual IPv6 prefix and RDNSS/DNSSD information.
2014-06-13broadband-bearer: pass the IP family to subclasses when getting IP configDan Williams2-0/+2
Subclasses may need to know which IP families were used for the setup so they can return the correct IP configuration. We can't just use the MMBearer default_ip_family becuase that isn't the family that was actually used during the connection.
2014-06-13broadband-bearer-sierra: use correct modem type when creating bearerDan Williams4-4/+4
MMBroadbandModemSierraIcera is not a subclass of MMBroadbandModemSierra, so we cannot cast it to that type when passing it to bearer creation. Luckily the bearer doesn't care, so just downgrade the type to MMBroadbandModem.
2014-06-09altair-lte: update PCO to handle latest VZW deploymentThieu Le4-66/+47
Update PCO handling code such that it conforms to the latest VZW network behavior. This includes updating the way we mark a SIM as provisioned. In the old network, only provisioned SIMs can attach to the network. Now, unprovisioned SIMs can attach and connect to the network. Change-Id: Ie454f6fb6d8764161f167e93a4235bb93fbde59a
2014-06-03altair-lte: handle optional quotes around sim refreshThieu Le1-1/+1
Some firmware version sends quotes around SIMREFRESH, this patch adds support for those versions.
2014-06-03cinterion: fix memory leaks in testsBen Chan1-0/+2
2014-05-31altair-lte: fix memory leak in PCO parsing codeThieu Le1-2/+14
This patch fixes memory leaks in PCO parsing code detected by LeakSanitizer.
2014-05-29altair-lte: ignore invalid bands in %BANDCAP / %GETCFG="BAND" responsesBen Chan4-33/+73
Due to a firmware issue, the modem may reply an invalid band value, such as 0, for the %BANDCAP or %GETCFG="BAND" command. This patch moves parse_bands_response() to mm-modem-helpers-altair-lte.c, modifies the function to ignore any invalid band outside the range of E-UTRAN operating bands, and add unit tests for the function.
2014-05-28altair-lte: prevent connect while processing sim refreshThieu Le3-1/+34
This patch modifies the Altair LTE plugin to fail connect requests while the modem has detached from the network when processing sim refresh.
2014-05-21plugins: remove unnecessary MM_BASE_MODEM() castsBen Chan6-12/+12
2014-05-21tests: consistently use spaces for indentationBen Chan1-1/+1
2014-05-20mbm: minor coding style fixesBen Chan2-3/+3
2014-05-20option,hso: minor coding style fixesBen Chan3-10/+10
2014-05-20icera: minor coding style fixesBen Chan2-3/+3
2014-05-19huawei: minor coding style fixesBen Chan3-19/+19
2014-05-05sierra: PCSTATE=0 needs to be treated as low-power modeAleksander Morgado1-1/+1
OFF only applies to a real shutdown, where the modem no longer replies.
2014-05-01huawei: treat CFUN 0 as low power stateBen Chan1-1/+10
The Huawei plugin uses +CFUN=0 to put the modem in low power mode as +CFUN=4 isn't supported by all Huawei modems. This patch modifies the plugin to treat CFUN 0 as the 'LOW' power state, which is necessary as otherwise ModemManager would prevent the modem from transitioning to the 'ON' power state.
2014-04-01novatel: read HDR signal qualityAleksander Morgado1-0/+2
(ttyUSB0): --> 'AT$NWRSSI<CR>' (ttyUSB0): <-- '<CR><LF><CR><CR><LF> HDR RSSI= 93<CR><LF><CR><LF><CR><LF>OK<CR><LF>
2014-03-07wavecom: avoid +COPS=0 if already in automatic registration modeAleksander Morgado1-4/+170
AT+COPS=0 in a FXT009 may end up making the device stuck in a weird state in which it only replies "+CME ERROR: 515" to every AT command. So try to avoid this command whenever possible.
2014-03-03cinterion: implement unlock retries loadingAleksander Morgado1-0/+120
2014-03-03cinterion: after SIM unlock, query SIM status until readyAleksander Morgado4-4/+213
2014-02-28cinterion: request to force refresh access tech after current bands updateAleksander Morgado1-1/+4
2014-02-28cinterion: force band preference update to be applied immediatelyAleksander Morgado1-1/+4
2014-02-28cinterion: consolidate setting current bands in 2G and 3G devicesAleksander Morgado3-69/+46
2014-02-28cinterion: consolidate current bands loading for 2G and 3G devicesAleksander Morgado4-117/+92
2014-02-28cinterion: consolidate supported bands loading for 2G and 3G devicesAleksander Morgado4-45/+45
2014-02-28cinterion: add helper to build Cinterion band maskAleksander Morgado3-72/+78
2014-02-28cinterion: add helper to parse AT^SCFG="Radio/Band" response in 3G devicesAleksander Morgado4-60/+146