Commit Graph
5354 Commits
Author SHA1 Message Date
Ben Chan 795ecad0e6 hso: port disconnect_3gpp to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan ee80e1f660 hso: port get_ip_config_3gpp to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan 8bae1a785a hso: port {enable,disable}_location_gathering to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan 227eae3f31 hso: port location_load_capabilities to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan 616cfa9959 hso: port modem_3gpp_{setup,cleanup}_unsolicited_events to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan 0131f9b006 hso: port modem_create_bearer to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan d23dd2343a hso: port load_unlock_retries to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan a62d34c35a hso: port hso_custom_init to use GTask 2017-09-20 09:30:27 -07:00
Ben Chan 4cb6f0e5aa broadband-modem-mbim: fix preservation logic for PIN1 unlock retries
This patches fixes commit 334273979 "broadband-modem-mbim: preserve
unlock retries for PIN1 when appropriate", which doesn't correctly
propagate the unlock retries information for PIN1 observed from
responses to MBIM_CID_PIN set operations (see commit eb9ec1b61
"sim-mbim: update unlock retries information after PIN operations").
2017-09-20 09:28:16 -07:00
Ben Chan 4f8e9e2e1c iface-modem: add mm_iface_modem_get_unlock_retries helper
This patch adds a mm_iface_modem_get_unlock_retries helper for getting
the current MMUnlockRetries value of a MMIfaceModem object, which later
allows us to partially update (e.g. a specific MMModemLock) the
MMUnlockRetries value of a MMIfaceModem object.
2017-09-20 09:28:12 -07:00
Aleksander Morgado bb5cd9b4e2 option: remove unneeded explicit casts 2017-09-18 21:23:05 -07:00
Aleksander Morgado f710278b3d sierra: remove unneeded explicit casts 2017-09-18 21:21:59 -07:00
Aleksander Morgado fd508d7057 sierra: skip setting GError if not used
The return status of mm_base_modem_at_command_finish() already
specifies whether an error has happened or not, so skip creating the
GError if we don't care about the actual error details.
2017-09-18 20:50:45 -07:00
Ben Chan 4fbd88395d sierra: port get_detailed_registration_state to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 7ca5e8875a sierra: port modem_time_check_support to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 509ba7475a sierra: port setup_registration_checks to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 26be99b8a7 sierra: port modem_power_down to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 841d175961 sierra: port modem_create_bearer to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 7446e411c7 sierra: port modem_load_own_numbers to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 85915853e5 sierra: port modem_after_sim_unlock to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 228bd14a11 sierra: port set_current_modes to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 5dbf7f77e2 sierra: port load_current_modes to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan abff4adf62 sierra: port load_supported_modes to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 8f129d64ed sierra: port load_access_technologies to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan f663022aca sierra: port modem_create_bearer to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan d0dc8b97a7 sierra: port disconnect_3gpp to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 4c2ebaba16 sierra: port dial_3gpp to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 043645ea57 sierra: port mm_common_sierra_load_power_state to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 1eb51d96f7 sierra: port mm_common_sierra_modem_power_up to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan c401646db8 sierra: port mm_common_sierra_custom_init to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 8fb6f30f49 sierra: port load_sim_identifier to use GTask 2017-09-18 20:39:03 -07:00
Ben Chan 5ffc3b7a92 option: port modem_3gpp_disable_unsolicited_events to use GTask 2017-09-18 20:25:28 -07:00
Ben Chan cb23ba7cba option: port modem_3gpp_enable_unsolicited_events to use GTask 2017-09-18 20:25:28 -07:00
Ben Chan 3fdfe5e3ab option: port modem_3gpp_{setup,cleanup}_unsolicited_events to use GTask 2017-09-18 20:25:28 -07:00
Ben Chan 7546b95122 option: port modem_after_power_up to use GTask 2017-09-18 20:25:28 -07:00
Ben Chan 6ad9ccbfa2 option: port set_current_modes to use GTask 2017-09-18 20:25:28 -07:00
Ben Chan 78432e7910 option: port load_access_technologies to use GTask 2017-09-18 20:25:28 -07:00
Ben Chan 0c726981ca option: port load_supported_modes to use GTask 2017-09-18 20:25:28 -07:00
Aleksander Morgado 2ed9706148 bearer-qmi: cleanup indication handlers on network-initiated disconnects
Otherwise, they'll end up queueing up and each time we get a new
indication the signal will get called multiple times:

    [/dev/cdc-wdm0] received message...
    <<<<<< RAW:
    <<<<<<   length = 20
    <<<<<<   data   = 01:13:00:80:01:09:04:00:00:01:00:07:00:20:04:00:05:00:00:00
    [/dev/cdc-wdm0] received generic indication (translated)...
    <<<<<< QMUX:
    <<<<<<   length  = 19
    <<<<<<   flags   = 0x80
    <<<<<<   service = "wds"
    <<<<<<   client  = 9
    <<<<<< QMI:
    <<<<<<   flags       = "indication"
    <<<<<<   transaction = 0
    <<<<<<   tlv_length  = 7
    <<<<<<   message     = "Event Report" (0x0001)
    <<<<<< TLV:
    <<<<<<   type       = "Preferred Data System" (0x20)
    <<<<<<   length     = 4
    <<<<<<   value      = 05:00:00:00
    <<<<<<   translated = lte
    <debug> [1504578559.592891] Got QMI WDS event report
    <debug> [1504578559.598212] Got QMI WDS event report
    <debug> [1504578559.601694] Got QMI WDS event report
2017-09-16 12:24:07 -07:00
Aleksander Morgado 2e792db2f2 po: add Slovak translation
From: Dušan Kazik <prescott66@gmail.com>

https://bugs.freedesktop.org/show_bug.cgi?id=102802
2017-09-16 10:34:54 -07:00
Aleksander Morgado 3bfbb59beb ublox: check which auth methods are supported
Don't assume the 'auto' auth method is supported for APN
authentication, query the modem first:

    checking supported authentication methods...
    (ttyACM2): --> 'AT+UAUTHREQ=?<CR>'
    (ttyACM2): <-- '<CR><LF>+UAUTHREQ: (1-4),(0-2),,<CR><LF>'
    (ttyACM2): <-- '<CR><LF>OK<CR><LF>'

    Using automatic authentication method

    setting up authentication preferences in PDP context #2...
    (ttyACM2): --> 'AT+UAUTHREQ=2,1,"vodafone","vodafone"<CR>'
    (ttyACM2): <-- '<CR><LF>OK<CR><LF>'
2017-09-15 10:31:21 -07:00
Aleksander Morgado b774e58dd0 ublox: new +UAUTHREQ=? tester 2017-09-15 10:31:21 -07:00
Aleksander Morgado acda0d69f1 ublox: if authentication not required, ignore +UAUTHREQ=0 errors
Just go on with the connection attempt.
2017-09-15 10:31:21 -07:00
Aleksander Morgado 0239e8769b ublox: try to use AT+UACT=X to set current bands 2017-09-15 10:31:21 -07:00
Aleksander Morgado 91f4ea5689 ublox: try to use AT+UACT? to query current bands 2017-09-15 10:31:21 -07:00
Aleksander Morgado 2d0b7b4ae0 ublox: try to use AT+UACT=? to query supported bands 2017-09-15 10:31:21 -07:00
Aleksander Morgado a0768a13f6 ublox: new AT+UACT=X command builder 2017-09-15 10:31:21 -07:00
Aleksander Morgado 826c5ad74a ublox: new AT+UACT=? test parser 2017-09-15 10:31:21 -07:00
Aleksander Morgado dbb8f7235d ublox: new AT+UACT? response parser 2017-09-15 10:31:21 -07:00
Aleksander Morgado 56e7112712 ublox,tests: define common method to compare bands 2017-09-15 10:31:21 -07:00