aboutsummaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2018-01-01helpers: move generic load_unlock_retries from Telit pluginColin Helliwell
As a precursor to a generic load_unlock_retries method, move the CSIM Response parser from the Telit plugin into the core code.
2017-12-18mm-iface-modem: add check_for_sim_swap method and enable stepsEric Caruso
When in low-power mode, some modems will not dispatch unsolicited notifications, such as for SIM hot swapping. There is code in MMBroadbandModemTelit to handle this by checking the SIM identifier during modem power up against the identifier cached in the SIM D-Bus object. If they're different, the SIM has likely been swapped while we were powered down. We can move this code out to MMBroadbandModem because it doesn't actually rely on any Telit-specific details, and invoke it from MMIfaceModem via a new method.
2017-12-05kerneldevice: allow getting interface class/subclass/protocolAleksander Morgado
2017-12-05mbm: port dial_3gpp() and disconnect_3gpp() to GTaskAleksander Morgado
The two connection and disconnection methods are ported to GTask, and are also updated so that the reception of the unsolicited message reporting either connect/disconnection is able to right away complete the pending connection/disconnection attempts, as done in other plugins like the Icera or HSO ones.
2017-12-05icera: port dial_3gpp() to GTaskAleksander Morgado
2017-12-05hso: make report_connection_status() a separate logical blockAleksander Morgado
This block is a subclassed method from MMBaseBearer, which we just happen to also use as part of the 3GPP dial logic in the connection attempt. So make it a separate logical block, and call the processing of the connection attempt if one is found. This change makes it similar to the same logic in the Icera plugin.
2017-12-05hso: use a 60s timeout to wait for connection unsolicited messagesAleksander Morgado
Same amount of time as in the Icera plugin.
2017-12-05hso: port dial_3gpp() to GTaskAleksander Morgado
2017-12-05quectel: new pluginAleksander Morgado
For now just creating generic QMI/AT capable modems.
2017-11-23sierra: enable QMI connection status polling in Netgear AC341UAleksander Morgado
The Netgear AC341U seems to delay reporting packet service status indications or actually not even send them. This leaves us with modems in connected state in ModemManager but actually disconnected. We can detect this situation by actively polling ourselves the connection status. See e.g. this case where the indication is received 2.5 mins after the first OutOfCall error detected when loading statistics. Aug 30 22:52:50 ModemManager[574]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> connected) Aug 30 22:52:50 ModemManager[574]: <info> Simple connect state (8/8): All done Aug 30 22:52:50 ModemManager[574]: <warn> Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall' Aug 30 22:53:20 ModemManager[574]: <warn> Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall' Aug 30 22:53:50 ModemManager[574]: <warn> Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall' Aug 30 22:54:20 ModemManager[574]: <warn> Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall' Aug 30 22:56:21 ModemManager[574]: <info> bearer call end reason (2): 'generic-client-end' Aug 30 22:56:21 ModemManager[574]: <info> bearer verbose call end reason (3,2000): [cm] client-end Aug 30 22:56:21 ModemManager[574]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connected -> registered)
2017-11-11build: minor build rules reordering for the udev rules testerAleksander Morgado
Move it after all plugin build rules.
2017-10-22novatel: port load_supported_modes to use GTaskBen Chan
2017-10-20via: port modem_cdma_{setup,cleanup}_unsolicited_events to use GTaskBen Chan
2017-10-20anydata: port get_detailed_registration_state to use GTaskBen Chan
2017-10-07cinterion: port modem_create_bearer to GTaskAleksander Morgado
2017-10-07cinterion: port after_sim_unlock to GTaskAleksander Morgado
2017-10-07cinterion: port load_unlock_retries_context to GTaskAleksander Morgado
2017-10-07cinterion: port setup_flow_control to GTaskAleksander Morgado
2017-10-07cinterion: port set_current_bands to GTaskAleksander Morgado
2017-10-07cinterion: port load_current_bands to GTaskAleksander Morgado
2017-10-07cinterion: port load_supported_bands to GTaskAleksander Morgado
2017-10-07cinterion: port register_in_network to GTaskAleksander Morgado
2017-10-07cinterion: port modem_power_off to GTaskAleksander Morgado
2017-10-07cinterion: port modem_power_down to GTaskAleksander Morgado
2017-10-07cinterion: port messaging_check_support to GTaskAleksander Morgado
2017-10-07cinterion: port messaging_enable_unsolicited_events to GTaskAleksander Morgado
2017-10-07cinterion: port plugin custom_init to GTaskAleksander Morgado
2017-10-07nokia: port load_access_technologies to use GTaskBen Chan
2017-10-07nokia: port enabling_modem_init to use GTaskBen Chan
2017-10-07iridium: simplify a bit the saved_error logic in connectAleksander Morgado
Note that saved_error will be freed along with the context, unless it's set to NULL.
2017-10-07iridium: port connect to use GTaskBen Chan
2017-10-07iridium: port load_operator_{code,name} to use GTaskBen Chan
2017-10-07iridium: port setup_flow_control to use GTaskBen Chan
2017-10-07iridium: port load_supported_modes to use GTaskBen Chan
2017-10-07iridium: port create_bearer to use GTaskBen Chan
2017-10-07pantech: port modem_after_sim_unlock to use GTaskBen Chan
2017-10-07anydata: remove unused 'port' field in DetailedRegistrationStateContextBen Chan
The 'port' field in DetailedRegistrationStateContext is initialized to NULL but never updated or used. When detailed_registration_state_context_complete_and_free() calls g_object_unref() on the NULL 'port' field, an assertion is raised.
2017-10-07simtech: fix memory leakBen Chan
2017-10-07wavecom: fix memory leakBen Chan
2017-10-06linktop: port set_current_modes to use GTaskBen Chan
2017-10-06linktop: port load_supported_modes to use GTaskBen Chan
2017-10-06novatel-lte: implement load_unlock_retriesBen Chan
This patch implements load_unlock_retries() for the Novatel LTE modem by using the AT$NWPINR? command to query the number of retries left for entering PIN1 or PIN2. Ported from the original patch by Arman Uguray <armansito@chromium.org>: https://chromium-review.googlesource.com/c/58118
2017-10-06simtech: port 3gpp_{setup|cleanup}_unsolicited_messages to GTaskAleksander Morgado
2017-10-06simtech: port 3gpp_enable_unsolicited_events to GTaskAleksander Morgado
2017-10-06simtech: port 3gpp_disable_unsolicited_events to GTaskAleksander Morgado
2017-10-06simtech: port load_access_technologies to GTaskAleksander Morgado
2017-10-06simtech: port load_supported_modes to GTaskAleksander Morgado
2017-10-06simtech: port load_current_modes to GTaskAleksander Morgado
2017-10-06simtech: port set_current_modes to GTaskAleksander Morgado
2017-10-06thuraya: port load_supported_modes to GTaskAleksander Morgado