aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-28altair-lte: prevent connect while processing sim refreshThieu Le
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 Chan
2014-05-21sms: remove unnecessary MM_BASE_MODEM() castsBen Chan
2014-05-21broadband-bearer: remove unnecessary MM_BASE_MODEM() castsBen Chan
2014-05-21tests: consistently use spaces for indentationBen Chan
2014-05-20core: minor coding style fixesBen Chan
2014-05-20cli: consistently use spaces for indentationBen Chan
2014-05-20libmbim-glib: consistently use spaces for indentationBen Chan
2014-05-20mbm: minor coding style fixesBen Chan
2014-05-20option,hso: minor coding style fixesBen Chan
2014-05-20icera: minor coding style fixesBen Chan
2014-05-19huawei: minor coding style fixesBen Chan
2014-05-19broadband-modem-mbim: refine access technology updatesBen Chan
This patch refines the access technology updates on a MBIM modem by observing the MBIM_CID_PACKET_SERVICE notifications in addition to the MBIM_CID_REGISTER_STATE notifications. If a MBIM_CID_PACKET_SERVICE notification indicates the highest available data class, the current access technology is updated to reflect that. Otherwise, the access technology is updated according to the available data classes indicated by a MBIM_CID_REGISTER_STATE notification.
2014-05-07api,errors: define new EPS-related errorsDan Williams
We can use these to return better error messages if an operator does not support the default subscription APN functionality, and the user does not give us an APN.
2014-05-07broadband-bearer-qmi: don't set APN if it isn't givenDan Williams
If the APN was empty (implying that the modem/network should choose the default APN) this caused an assertion in libqmi. Just don't set an APN if we aren't given one.
2014-05-05libmm-glib: Initialize result arrayMartin Pitt
In mm_modem_messaging_get_supported_storages(), initialize array to avoid a potential crash with an uninitialized value, and a build failure due to mm-modem-messaging.c:168:24: error: 'array' may be used uninitialized in this function [-Werror=maybe-uninitialized] *n_storages = array->len; https://bugzilla.gnome.org/show_bug.cgi?id=729267
2014-05-05sierra: PCSTATE=0 needs to be treated as low-power modeAleksander Morgado
OFF only applies to a real shutdown, where the modem no longer replies.
2014-05-01huawei: treat CFUN 0 as low power stateBen Chan
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-11examples: add modem watcher example in JSAleksander Morgado
2014-04-11examples: add modem watcher example in pythonAleksander Morgado
2014-04-03port-probe: remove the 3s wait before opening a MBIM portBen Chan
The 3s wait before opening a MBIM port is not necessary for handling a delayed response to the MBIM OPEN messages. mbim_device_open() already retries the MBIM OPEN message when the MBIM device does not respond.
2014-04-02blacklist: All devices from Pololu Corporation except some possible future ↵David (Pololu)
products. We make many USB virtual COM port devices, none of which are modems. ModemManager's automatic attempts to access those devices can cause problems. That might change in the future, so we have left two potential future product IDs off of the blacklist.
2014-04-01novatel: read HDR signal qualityAleksander Morgado
(ttyUSB0): --> 'AT$NWRSSI<CR>' (ttyUSB0): <-- '<CR><LF><CR><CR><LF> HDR RSSI= 93<CR><LF><CR><LF><CR><LF>OK<CR><LF>
2014-03-25docs,libmm-glib: add methods to manage the MTU in the MMBearerIpConfigAleksander Morgado
2014-03-25bearer-mbim: update MTU in bearer IP config propertiesBen Chan
This patch modifies MMBearerMbim to update the MTU value in the bearer IPv4 and IPv6 config property when such information is available in the MBIM_CID_IP_CONFIGURATION response.
2014-03-25cli: print MTU in bearer IP config propertiesBen Chan
2014-03-25api: add MTU to bearer IP config propertiesBen Chan
This patch adds a 'mtu' value to the Ip4Config and Ip6Config property of a Bearer object, which indicates the value of the maximum transmission unit for the established connection when such information is available (e.g. via QMI_WDS_GET_RUNTIME_SETTINGS on a QMI modem or MBIM_CID_IP_CONFIGURATION on a MBIM modem).
2014-03-25bearer-mbim: fix a misleading commentBen Chan
2014-03-25introspection: fix typosBen Chan
2014-03-24blacklist: ignore empiriKit science lab controller deviceAleksander Morgado
2014-03-18port-serial: fix command context completion when clearing command queueBen Chan
This patch removes an extra invocation of g_simple_async_result_complete on the result associated with each command context in the command queue when mm_port_serial_close clears the queue. It also changes the code to complete the results in idle, which avoids a nested invocation of mm_port_serial_close. That could happen if the completion of the result calls mm_port_serial_close again (e.g. via at_command_context_free, at_sequence_context_free in mm-base-modem-at.c). The nested invocation of mm_port_serial_close could create undesirable effects (e.g. the assertion on open_count > 0 fails in case of a forced close).
2014-03-14broadband-modem,modem-helpers: improve +CGDCONT? error handlingBen Chan
This patch fixes the following crash, which happens when MMBroadbandBearer tries to parse the NULL response of a failed +CGDCONT? query. It also fixes a leak in parse_pdp_list where it fails to free the GError object return by mm_3gpp_parse_cgdcont_read_response. Thread 0 *CRASHED* ( SIGSEGV @ 0x00000000 ) 0x7feb15564c11 [ModemManager] - mm-modem-helpers.c:850 mm_3gpp_parse_cgdcont_read_response 0x7feb15518e51 [ModemManager] - mm-broadband-bearer.c:927 parse_pdp_list 0x7feb1551ada2 [ModemManager] - mm-base-modem-at.c:189 at_sequence_parse_response 0x7feb151d4b86 [libgio-2.0.so.0.3400.3] - gsimpleasyncresult.c:775 g_simple_async_result_complete 0x7feb1556e223 [ModemManager] - mm-port-serial-at.c:355 serial_command_ready 0x7feb151d4b86 [libgio-2.0.so.0.3400.3] - gsimpleasyncresult.c:775 g_simple_async_result_complete 0x7feb1556a834 [ModemManager] - mm-port-serial.c:141 command_context_complete_and_free 0x7feb1556bc26 [ModemManager] - mm-port-serial.c:734 port_serial_got_response 0x7feb1556c51a [ModemManager] - mm-port-serial.c:758 port_serial_timed_out 0x7feb1508cc33 [libglib-2.0.so.0.3400.3] - gmain.c:4026 g_timeout_dispatch 0x7feb1508c087 [libglib-2.0.so.0.3400.3] - gmain.c:2715 g_main_context_dispatch 0x7feb1508c437 [libglib-2.0.so.0.3400.3] - gmain.c:3290 g_main_context_iterate 0x7feb1508c891 [libglib-2.0.so.0.3400.3] - gmain.c:3484 g_main_loop_run 0x7feb1550ad16 [ModemManager] - main.c:154 main 0x7feb14a9e9c6 [libc-2.15.so] - libc-start.c:234 __libc_start_main 0x7feb1550a808 [ModemManager + 0x00023808
2014-03-09data: add iconAleksander Morgado
2014-03-07wavecom: avoid +COPS=0 if already in automatic registration modeAleksander Morgado
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-06broadband-modem-mbim: handle subscriber info updatesBen Chan
Subscriber information like MSISDNs / MDNs may not be readily available when MMIfaceModem queries for it during modem initialization. This patch modifies MMBroadbandModemMbim to subscribe to the MBIM_CID_SUBSCRIBER_READY_STATUS notification and update the 'OwnNumbers' property of the Modem interface when the information becomes available.
2014-03-06broadband-modem-mbim: update to use mbim_message_device_service_subscribe_listBen Chan
libmbim renames 'MBIM_CID_DEVICE_SERVICE_SUBSCRIBER_LIST' to 'MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST' to be consistent with the MBIM specification. This patch updates MMBroadbandModemMbim accordingly.
2014-03-06build: require libmbim 1.8Aleksander Morgado
We're going to add support for some features only available in that version.
2014-03-06broadband-modem: fix hdr_subsys_state_info_readyBen Chan
hdr_subsys_state_info_ready() did not implement the GAsyncReadyCallback function signature, which led to a crash. This patch fixes hdr_subsys_state_info_ready() to properly extract the QCDM response from the GAsyncResult object.
2014-03-05license: add LGPLv2+ license in addition to the GPLv2+ oneAleksander Morgado
This is not a license change; the daemon and command line tool are still GPLv2+, and the libmm-glib library LGPLv2+. For reference, see libqmi bug: https://bugs.freedesktop.org/show_bug.cgi?id=74220
2014-03-04port-mbim: increase timeout of device open operationBen Chan
A MBIM device typically delays its response to an 'Open' command when it has not completed the initialization process. This patch increases the timeout of the MBIM device open operation from 10s to 30s to handle situations where the device takes much longer to initialize.
2014-03-03cinterion: implement unlock retries loadingAleksander Morgado
2014-03-03cinterion: after SIM unlock, query SIM status until readyAleksander Morgado
2014-03-03iface-modem: allow setting power state to OFF when modem is in FAILED stateBen Chan
2014-02-28cinterion: request to force refresh access tech after current bands updateAleksander Morgado
2014-02-28cinterion: force band preference update to be applied immediatelyAleksander Morgado
2014-02-28cinterion: consolidate setting current bands in 2G and 3G devicesAleksander Morgado
2014-02-28cinterion: consolidate current bands loading for 2G and 3G devicesAleksander Morgado
2014-02-28cinterion: consolidate supported bands loading for 2G and 3G devicesAleksander Morgado
2014-02-28broadband-modem: allow querying current charsetAleksander Morgado
So that plugins can use it.
2014-02-28cinterion: add helper to build Cinterion band maskAleksander Morgado