Commit Graph

5790 Commits

Author SHA1 Message Date
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
Aleksander Morgado
ce203a1f74 ublox: define port type hints for the TOBY-L4
The TOBY-L4 exposes multiple TTY ports, but each of them has different
purposes:

The TTY at interface #2 is a fully capable AT port but shouldn't be
used to start connections, so we flag it as secondary.

The TTY at interface #4 is a non-AT debug port, so we explicitly
ignore it to make probing faster.

The TTY at interface #6 is the fully capable AT port that must be used
as primary port.

The TTY at interface #8 is an AT-capable port but dedicated to FOTA
update operations.
2017-09-15 10:31:21 -07:00
Aleksander Morgado
9a1c4f626d ublox: fallback to router mode if networking mode unknown
The TOBY-L4 doesn't support querying the current networking mode in
use via the AT+UBMCONF command, so we will just fallback to
MM_UBLOX_NETWORKING_MODE_ROUTER if that happens, as this is the mode
which requires less configuration commands from our side.
2017-09-15 10:31:21 -07:00
Aleksander Morgado
3dc3b52e77 ublox: allow creating u-blox bearers if MM_UBLOX_USB_PROFILE_UNKNOWN
The TOBY-L4 doesn't support querying the current USB profile in use
via the AT+UUSBCONF command, so the loaded profile will always be set
as MM_UBLOX_USB_PROFILE_UNKNOWN.

In this case, we will anyway allow creating a u-blox specific bearer,
as long as a network interface has also been found in the modem.
2017-09-15 10:31:21 -07:00
Daniele Palmas
3f9417be43 blacklist: ignore Intel coredump downloader device 2017-09-14 22:03:06 -07:00
Aleksander Morgado
bfff4f53e6 build: generate ChangeLog from git during dist 2017-09-13 19:38:11 +02:00
Aleksander Morgado
5ee58513c7 simtech: fix error reporting in 3gpp unsolicited events enabling 2017-09-13 16:37:00 +02:00
Ben Chan
0d2a167238 novatel-lte: port disconnect_3gpp to use GTask 2017-09-13 16:36:49 +02:00
Ben Chan
71bc8c7506 novatel-lte: port connect_3gpp to use GTask 2017-09-13 16:36:49 +02:00
Ben Chan
c13746dad7 novatel-lte: port scan_networks to use GTask 2017-09-13 16:36:49 +02:00
Ben Chan
43c4a49bc7 novatel-lte: port load_access_technologies to use GTask 2017-09-13 16:36:49 +02:00
Ben Chan
d8be23b606 novatel-lte: port load_current_bands to use GTask 2017-09-13 16:36:49 +02:00
Ben Chan
eb59cf8617 novatel-lte: port load_supported_bands to use GTask 2017-09-13 16:36:49 +02:00
Ben Chan
b56ea69589 novatel-lte: port modem_after_sim_unlock to use GTask 2017-09-13 16:36:49 +02:00
Ben Chan
ced9264a1c novatel-lte: port modem_create_bearer to use GTask 2017-09-13 16:36:49 +02:00