Commit Graph

58 Commits

Author SHA1 Message Date
Aleksander Morgado 86328ed1cc nas: support 'Force Network Search' 2016-06-10 23:06:42 -07:00
Aleksander Morgado f54c2cfb9b nas: no exact version for 'Get LTE Cphy CA Info'
We're not sure about it, so just don't specify it.
2016-04-03 13:16:55 +02:00
Aleksander Morgado 6fcc16d2ee nas: untabify 2016-04-03 13:11:36 +02:00
Bjørn Mork 7193de4087 nas: implement 'Get LTE Cphy CA Info'
Carrier aggregation is much more fun when you can watch it being
activated :)

$ qmicli -p -d /dev/cdc-wdm0   --nas-get-lte-cphy-ca-info
[/dev/cdc-wdm0] Successfully got carrier aggregation info
DL Bandwidth: '20'
Secondary Cell Info
        Physical Cell ID: '101'
        TX Channel: '3050'
        DL Bandwidth: '20'
        LTE Band: 'eutran-7'
        State: 'activated'
Primary Cell Info
        Physical Cell ID: '299'
        TX Channel: '1450'
        DL Bandwidth: '20'
        LTE Band: 'eutran-3'
Secondary Cell index: '1'

I have absolutely no clue about the required NAS version, so I just put
the current version I have there...

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-04-03 13:01:20 +02:00
Aleksander Morgado ffc473efef nas: set TLV as mandatory in Get RF Band Information response 2015-12-29 17:17:02 +01:00
Albert Diserholt 2f70d96a02 nas: correct ID for Get RF Band Information result TLV 2015-12-04 14:21:58 -06:00
Aleksander Morgado 770e6a01ea nas: new optional TLV in 'Get Home Network' to know whether MNC is 2 or 3 digits
Also, version bump to 1.13.5 to flag the exact version in which the change was
introduced.
2015-10-25 15:30:45 +01:00
Aleksander Morgado 10f88c69ce nas: implement 'Get Supported Messages' 2015-02-25 15:47:14 +01:00
Aleksander Morgado 83dd5e2974 nas: fix ECIO List TLV array element type (api break)
ECIO List TLV (0x12) in the NAS Get Signal Strength response message is given as an
unsigned byte, representing negative 0.5dB increments.

This is an API break; added to NEWS already not to forget about it.

Also, version bump to 0.13.2 to flag the exact version in which the change
was introduced.

https://bugs.freedesktop.org/show_bug.cgi?id=85052
2015-01-25 19:34:26 +01:00
Aleksander Morgado 9b5957ae4a nas: fix ECIO TLV field type (api break)
ECIO TLV (0x14) in the NAS Event Report Indication message is given as an
unsigned byte, representing negative 0.5dB increments.

This is an API break; added to NEWS already not to forget about it.

Also, version bump to 0.13.1 to flag the exact version in which the change
was introduced.

https://bugs.freedesktop.org/show_bug.cgi?id=85052
2015-01-25 19:19:25 +01:00
Aleksander Morgado d4a02795c7 nas: add 'UMTS Info Neighboring LTE' TLV to 'Cell Location Info' 2014-05-28 12:40:39 +02:00
Aleksander Morgado 846d307071 nas: fix several TLV field types 2014-05-28 12:40:26 +02:00
Aleksander Morgado ee837bd68b nas: consolidate variable names 2014-05-28 12:39:56 +02:00
Aleksander Morgado 804526f678 nas: add missing TLV field 2014-05-28 12:39:44 +02:00
Aleksander Morgado 30550dca33 nas: trivial fixes in indentation and alignment 2014-05-28 12:39:33 +02:00
Bjørn Mork 8598c65dfb nas: add "Get Cell Location Info"
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2014-05-27 19:06:25 +02:00
Aleksander Morgado 72c14ee8b0 nas: implement "Get Tx Rx Info" request/response 2013-06-18 15:26:58 +02:00
Dan Williams 70ef65c843 nas: add Network Time indication 2013-05-31 13:44:52 -05:00
Dan Williams a95ec833dc nas: add Get CDMA Position Info
Not sure what NAS version supports it, but at least NAS 1.3 is required.
2012-10-31 14:12:59 -05:00
Aleksander Morgado fbd231e4ad nas: "Network Scan" may be aborted 2012-10-10 21:14:48 +02:00
Aleksander Morgado 13b53c6a1d libqmi-glib,qmi-codegen: timed out operations will issue an ABORT message
Messages can now be tagged with a special 'abort' keyword, so that whenever the
message times out we issue a new ABORT command to cancel the specific timed out
request.

This support is currently only available for the NAS and WDS services, which are
the ones supporting ABORT for their long-running operations.
2012-10-10 21:14:48 +02:00
Aleksander Morgado 50ea36c699 nas: Ec/Io given always as a signed integer 2012-09-27 14:28:32 +02:00
Aleksander Morgado 7345ca6aaf qmi-codegen: for arrays, use a new 'size-prefix-format' instead of 'array-size'
The 'array-size' property was used to define an implicit variable to be found at
the beginning of every array. This property expected a dictionary with one
single 'format' key.

Instead of this setup, create a new 'size-prefix-format' property which directly
expects the format string of the variable to be used as array-length indicator.

So, instead of:
    "array-size" : { "format" : "guint16" }

We can now just use:
    "size-prefix-format" : "guint16"

Also, remove the explicit size definitions when the format is "guint8", as that
is the default already when none specified and the array is not of fixed size.
2012-09-19 12:06:28 +02:00
Dan Williams d15264faa8 nas: Get/Set Technology Preference part of NAS 1.0, not 1.7
The TP stuff has been around since the beginning, actually.
2012-08-31 10:45:13 -05:00
Aleksander Morgado 5a3fdc736c nas: implement "Get RF Band Information" request/response 2012-08-30 17:35:22 +02:00
Aleksander Morgado f741da1041 nas: fix RF Band info array size indicator type 2012-08-30 17:33:33 +02:00
Aleksander Morgado ba166b4a47 nas: implement "Get Home Network" request/response 2012-08-07 16:30:55 +02:00
Aleksander Morgado c36bc41aa0 nas: consolidate location area code variable names 2012-08-06 18:09:45 +02:00
Aleksander Morgado 1057fe3c97 nas: consolidate variable names
'Signal strength' should not be confused with 'Signal info', the latter was
introduced in NAS 1.8.
2012-08-06 15:40:12 +02:00
Aleksander Morgado 8e6bc8af74 nas: implement "System Info" indication 2012-08-03 13:47:29 +02:00
Aleksander Morgado 8852e3115d nas: use `DTM' instead of `Dual Transfer Mode' 2012-08-03 13:47:29 +02:00
Aleksander Morgado da34918bad nas: implement "Get System Info" request/response 2012-08-03 13:47:29 +02:00
Aleksander Morgado e60ff87024 nas: fix tabs vs spaces 2012-08-03 10:07:07 +02:00
Aleksander Morgado ba480fdf53 nas: implement "Serving System" indication 2012-08-02 17:43:06 +02:00
Aleksander Morgado dab5e3e764 nas: implement "Initiate Network Register" request/response 2012-08-02 17:20:29 +02:00
Aleksander Morgado cc97645578 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-02 12:17:29 +02:00
Aleksander Morgado ebfa80154f nas: consolidate variable names for `QmiNasRadioInterface' types 2012-08-02 12:17:29 +02:00
Aleksander Morgado 97dd92c9b8 nas: let `QmiNasRadioInterface' be a signed value
We'll use (-1) when we don't need to specify a specific value in Set requests.
2012-08-02 12:16:10 +02:00
Aleksander Morgado bd6257f8eb nas: add missing TLV prerequisites 2012-08-01 16:51:56 +02:00
Aleksander Morgado fd65ff12d2 nas: implement "Get Serving System" request/response 2012-08-01 16:51:56 +02:00
Aleksander Morgado b2bc79f28b nas: fix TLV name; it's PCS digit, not PDS 2012-08-01 15:16:47 +02:00
Aleksander Morgado 19f0d52063 nas: implement "Config Signal Info" request/response 2012-08-01 07:38:25 +02:00
Aleksander Morgado 007af2cdfc nas: implement "Signal Info" indication 2012-07-31 18:41:59 +02:00
Aleksander Morgado f5fe4debcb nas: implement "Set Technology Preference" request/response 2012-07-31 15:36:19 +02:00
Aleksander Morgado 46c70e0e56 nas: consolidate preference duration values 2012-07-31 15:36:19 +02:00
Aleksander Morgado 2ea1993e7a nas: implement "Set System Selection Preference" request/response 2012-07-31 09:42:21 +02:00
Bjørn Mork 6e06fa29c2 nas: fix TLV numbering in "Get System Selection Preference" 2012-07-30 15:14:13 +02:00
Bjørn Mork 5fa8cc850a nas: 'Persistent' is not mandatory in "Get Technology Preference" 2012-07-30 15:09:18 +02:00
Aleksander Morgado 79378a0c3c nas: implement "Get Technology Preference" request/response 2012-07-27 13:55:05 +02:00
Aleksander Morgado 5c1da2fcbd nas: implement "Get System Selection Preference" request/response 2012-07-26 14:24:01 +02:00