Aleksander Morgado
03e1c9348e
broadband-modem-qmi: implement operator name/code loading with QMI
...
Just report the values cached during the 3GPP registration checks
2012-08-29 17:26:44 +02:00
Aleksander Morgado
b708976bd6
broadband-modem-qmi: implement 3GPP unsolicited registration events for NAS < 1.8
2012-08-29 17:26:43 +02:00
Aleksander Morgado
0b52840d15
broadband-modem-qmi: implement 3GPP registration checks for NAS < 1.8
2012-08-29 17:26:43 +02:00
Aleksander Morgado
c97aaba47f
broadband-modem-qmi: use version from the client to know supported commands
...
Instead of always trying to use the newest commands and falling back to the
deprecated one when found that it is not supported, use the service version
given by the client to determine which is the best command to use.
Still, sometimes we need to handle ourselves the fallback to the deprecated
command, when we don't exactly know in which service version the new behaviour
was added (e.g. the 'Mode Preference' TLV in 'Get/Set System Selection
Preference' was last updated in NAS 1.16, but we don't exactly know when it
was added).
2012-08-29 17:26:43 +02:00
Aleksander Morgado
ad37b494c4
broadband-modem-qmi: fix radio interface variable name
...
Sync with libqmi:
commit ebfa80154fad012bb6ea3e964dcea6f5b6cf3f91
Author: Aleksander Morgado <aleksander@lanedo.com >
Date: Thu Aug 2 12:06:09 2012 +0200
nas: consolidate variable names for `QmiNasRadioInterface' types
2012-08-29 17:26:43 +02:00
Aleksander Morgado
e2c6c66d0c
broadband-modem-qmi: fix method name
...
Sync with libqmi:
commit cc97645578d937417bb2d72d22714776a98c549e
Author: Aleksander Morgado <aleksander@lanedo.com >
Date: Thu Aug 2 12:15:05 2012 +0200
nas: don't mistake 'change duration' with 'preference duration'
They actually have POWER_CYCLE and PERMANENT values swapped.
Kudos to the one who decided that.
2012-08-29 17:26:43 +02:00
Aleksander Morgado
651d306c28
broadband-modem-qmi: fix missing GSimpleAsyncResult unrefs
2012-08-29 17:26:43 +02:00
Aleksander Morgado
3a29d1b2bc
broadband-modem-qmi: setup/cleanup signal quality related unsolicited events
...
We setup signal handlers for every possible indication, even if they are not
supported.
2012-08-29 17:26:43 +02:00
Aleksander Morgado
0bd9b46b09
broadband-modem-qmi: enable/disable signal quality related unsolicited events
...
The logic here involves knowing if we have support for 'Signal Info'
indications. All the 'Signal Info' stuff was included in NAS 1.8, so we're
just using a single flag to indicate support for that.
If we do have 'Signal Info', enabling the signal quality indications involves
two steps: configuring thresholds with "Config Signal Info" and then enabling
them with "Register Indications".
If we don't have 'Signal Info' we fallback to the good old "Set Event Report"
for enabling/disabling the indications.
2012-08-29 17:26:43 +02:00
Aleksander Morgado
88053b7342
broadband-modem-qmi: implement allowed mode setting
2012-08-29 17:26:43 +02:00
Aleksander Morgado
da106845ca
broadband-modem-qmi: fix flags of supported commands for allowed modes
2012-08-29 17:26:43 +02:00
Aleksander Morgado
979ae98feb
TODO: handle devices with multiple QMI ports
2012-08-29 17:26:43 +02:00
Aleksander Morgado
e94f197898
broadband-modem-qmi: use 'low-power' mode when disabling
...
Reported by: Bjørn Mork <bjorn@mork.no >
2012-08-29 17:26:43 +02:00
Aleksander Morgado
bef4fd64d4
broadband-modem-qmi: implement initial allowed mode loading using QMI
2012-08-29 17:26:43 +02:00
Aleksander Morgado
68c32dcf7b
broadband-modem-qmi: fix band enum names
2012-08-29 17:26:43 +02:00
Aleksander Morgado
1c9ec829be
broadband-modem-qmi: load ESN from the cached info
2012-08-29 17:26:42 +02:00
Aleksander Morgado
bb54ff4fec
broadband-modem-qmi: load MEID from the cached info
2012-08-29 17:26:42 +02:00
Aleksander Morgado
b12abb6b97
broadband-modem-qmi: implement the CDMA interface
2012-08-29 17:26:42 +02:00
Aleksander Morgado
9f6250e7a5
broadband-modem-qmi: load IMEI from the cached info
2012-08-29 17:26:42 +02:00
Aleksander Morgado
38c9ccd0b9
TODO: add task to see how to avoid QMI clients exhausted problem in Gobi2k
2012-08-29 17:26:42 +02:00
Aleksander Morgado
2fb4080a7e
broadband-modem-qmi: cache IMEI, ESN and MEID values when loaded
2012-08-29 17:26:42 +02:00
Aleksander Morgado
37da8fabda
broadband-modem-qmi: ignore charsets setup
2012-08-29 17:26:42 +02:00
Aleksander Morgado
e03edd56af
broadband-modem-qmi: ignore flow control setup
...
Not needed for QMI commands.
2012-08-29 17:26:42 +02:00
Aleksander Morgado
d19fd3bcb1
broadband-modem-qmi: ignore modem after-power-up
...
The generic implementation doesn't have a method for after power up, we're
just ensuring that that is the case always.
2012-08-29 17:26:42 +02:00
Aleksander Morgado
eaa9451819
broadband-modem-qmi: ignore modem initialization sequence
2012-08-29 17:26:42 +02:00
Aleksander Morgado
f1781f7589
broadband-modem-qmi: run modem power up/down using QMI
2012-08-29 17:26:42 +02:00
Aleksander Morgado
56721d687f
broadband-modem-qmi: log gathered signal strength/rssi values
2012-08-29 17:26:42 +02:00
Aleksander Morgado
40f96158af
broadband-modem-qmi: implement signal quality loading using QMI
2012-08-29 17:26:42 +02:00
Aleksander Morgado
629f452d07
broadband-modem-qmi: treat as fatal internal protocol errors when checking PIN status
2012-08-29 17:26:42 +02:00
Aleksander Morgado
b5534d123b
broadband-modem-qmi: implement network scan
...
The "NAS Network Scan" command replies with several optional TLVs. One of the
TLVs gives the status of the network, using MCC/MNC as index; another one gives
the radio access technology, also using MCC/MNC as index. But, several entries
may have the same MCC/MNC, so there is no clear way to mix the results of both
TLVs in the same element. We'll try to do a best guess, trying not to use the
same RAT result twice, but this is really a best guess.
2012-08-29 17:26:42 +02:00
Aleksander Morgado
6686f8d4db
port-probe: minor indentation fixes
2012-08-29 17:26:41 +02:00
Aleksander Morgado
90c32a7a6d
broadband-modem-qmi: load supported bands using QMI
...
Seems to me that "Get Band Capabilities" just returns the bands 'currently'
allowed to use. E.g. my Pantech UML290 gives me:
'cdma-bc0-cellular-800, cdma-bc1-pcs-1900'
(even if I know the modem can also do LTE and 3GPP)
2012-08-29 17:26:41 +02:00
Aleksander Morgado
7c3849ca53
broadband-modem-qmi: load facility locks state using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
8634403fd9
broadband-modem-qmi: implement the 3GPP interface
2012-08-29 17:26:41 +02:00
Aleksander Morgado
65b8d4794e
broadband-modem-qmi: run factory reset using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
a17bc801a5
sim-qmi: enable/disable PIN using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
1e6d8ba779
sim-qmi: change PIN using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
36aca91abb
sim-qmi: skip loading operator identifier/name
...
Not yet implemented in libqmi-glib.
2012-08-29 17:26:41 +02:00
Aleksander Morgado
30bdc8d592
sim-qmi: send PUK using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
d1d5322f51
sim-qmi: send PIN using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
6dc6f7bf0d
sim-qmi: update IMSI using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
742527aa60
sim-qmi: update SIM ID (ICCID) using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
086a25da98
broadband-modem-qmi: create a `MMSimQmi' by default
2012-08-29 17:26:41 +02:00
Aleksander Morgado
e64bb09731
sim-qmi: new `MMSimQmi' object
2012-08-29 17:26:41 +02:00
Aleksander Morgado
f9ebfb8ee6
broadband-modem-qmi: load unlock retries using QMI
2012-08-29 17:26:41 +02:00
Aleksander Morgado
6fe32b58cb
broadband-modem-qmi: load unlock required using QMI
2012-08-29 17:26:40 +02:00
Aleksander Morgado
5436a62f9c
broadband-modem-qmi: load own numbers using QMI
2012-08-29 17:26:40 +02:00
Aleksander Morgado
b4dedcf944
broadband-modem-qmi: load device ID using QMI
2012-08-29 17:26:40 +02:00
Aleksander Morgado
12fb2312bb
broadband-modem: let subclasses create their own device IDs
2012-08-29 17:26:40 +02:00
Aleksander Morgado
81fe9f84ec
broadband-modem-qmi: load equipment ID using QMI
2012-08-29 17:26:40 +02:00