Dan Williams
2e99aa2557
qcdm: decode some more log items
2012-02-17 13:06:11 -06:00
Dan Williams
4fd6264848
build: more libwmc and libqcdm standalone fixes
...
Make it pass distcheck.
2012-01-27 15:14:30 -06:00
Dan Williams
38498e3c5d
qcdm: fix some build errors when building standalone
2012-01-24 11:32:20 -06:00
Dan Williams
0737a24f43
qcdm: clarify IMxI conversions a bit; fix up WCDMA L1 states
2012-01-21 11:23:17 -06:00
Dan Williams
c9a42d98c2
qcdm: add some mode prefs
2012-01-19 09:52:06 -06:00
Dan Williams
04e87e70ff
qcdm: some devices do implement SW_VERSION
...
Like the MF627 for some reason. Also, the format appears to be
more like the DM_CMD_VERSION_INFO response where at least the
comp_date and comp_time fields are the same size as
VERSION_INFO, just with some padding between.
2012-01-18 17:10:23 -06:00
Dan Williams
43e6039cee
qcdm: GSM MCC, MNC, LAC and CI don't seem to valid in WCDMA mode
...
So don't bother trying to parse them.
2012-01-18 13:44:20 -06:00
Dan Williams
e08e46fb1a
qcdm: let WCDMA/GSM devices pass CDMA-only tests
...
Obviously they don't implement the CDMA-only commands.
2012-01-18 13:25:00 -06:00
Dan Williams
178f30bdd3
qcdm: fill in some GSM and WCDMA stuff
2012-01-17 18:49:18 -06:00
Dan Williams
a6548ebe40
qcdm: start filling out log messages and items
...
Log messages are enabled by LOG_CONFIG and are then reported
as unsolicited responses with code DM_CMD_LOG. Each log type
appears to have its own message format which are now being
added to log-items.h.
2012-01-12 13:00:52 -06:00
Dan Williams
474d9136ba
qcdm: fix warning when no log codes are enabled
2012-01-11 17:55:10 -06:00
Dan Williams
bf31764bab
qcdm: enhance LOG_CONFIG testcase
2012-01-11 16:10:37 -06:00
Dan Williams
b14044bc9a
qcdm: only warn on unknown mode pref NV item values
2012-01-11 16:10:02 -06:00
Dan Williams
29a1385e6c
qcdm: LOG_CONFIG fixups
...
Fix some buffer overruns. Log codes are also 16-bit not 32.
2012-01-11 15:30:45 -06:00
Dan Williams
f3208bf3a6
qcdm: add support for Log Config command
...
This appears to be a newer version of EXT_LOGMASK that also
works with GSM/UMTS and other subsystems.
2012-01-11 14:25:23 -06:00
Dan Williams
b22b2d99db
qcdm: add u16 arrays to results
2012-01-11 14:24:43 -06:00
Dan Williams
1804ae2fe5
qcdm: fix stringification of qcdm_xxx_if_fail() macros
...
Actually reading about preprocessor concatenation and stringification helps.
2012-01-11 12:53:06 -06:00
Dan Williams
2e2c8ad7ef
qcdm: add some more commands
...
Found in CodeAurora diagchar_core.c driver.
2012-01-10 19:54:40 -06:00
Dan Williams
e98f2ebf40
qcdm: clarify some subsystems
2012-01-10 19:01:40 -06:00
Dan Williams
d085e6c467
qcdm: fix up testcases for more expected error codes
...
I'm bored and playing around with a Novatel E725...
2012-01-10 18:15:11 -06:00
Dan Williams
ff838972cf
qcdm: don't segfault getting number of log items
...
Not sure how this worked before at all.
2012-01-10 18:14:40 -06:00
Dan Williams
11fbcc9010
qcdm: fill out some operating modes
2012-01-05 12:31:13 -06:00
Dan Williams
62d26479ff
qcdm: better handle NV item read/write status codes
2012-01-05 12:29:03 -06:00
Dan Williams
6e961ddd83
qcdm: fix up live testcase for recent changes
...
And interpret all the recent mode preferences.
2012-01-05 11:05:32 -06:00
Dan Williams
7b14063f46
qcdm: remove usage of glib
...
People have asked for this at various times.
2012-01-03 00:21:05 -06:00
Dan Williams
a7637ddf87
qcdm: add more mode prefs
...
It seems that various firmwares just pass values from eg AT^SYSCFG
straight through to the firmware so it's pretty easy to map them
to the actual response here. Note that the NV mode pref item uses
a different mapping than CM state info response. Yay.
2011-10-04 11:16:39 -05:00
Dan Williams
b3f0ca9233
qcdm: add some more CDMA band classes
2011-05-16 18:44:11 -05:00
Dan Williams
d639155161
qcdm: add standalone autogen and configure
...
For building libqcdm separately from ModemManager.
2011-03-24 11:00:22 -05:00
Dan Williams
ef8d226301
qcdm: add some missing system modes
2011-01-23 18:14:55 -06:00
Dan Williams
f69d888bae
qcdm: add call manager subsystem mode define for LTE
...
Seen on the Pantech UML290 and another Qualcomm-based LTE device.
2011-01-21 00:31:11 -06:00
Dan Williams
7a2031613a
qcdm: add HDR revision preference
...
Not sure if that's exactly what the NV item is, but the UML290 uses
it for Rev0, RevA, and eHRPD preference.
2011-01-06 22:01:45 -06:00
Dan Williams
d19e55bb8f
qcdm: add NV mode pref values for 1X/HDR Only, LTE Only, and 1X/HDR/LTE Only
...
Based on responses from Pantech UML290.
2011-01-06 00:50:08 -06:00
Dan Williams
79ae78a740
qcdm: add testcase to ensure that parsing Sierra CnS fails
...
Because CnS uses HDLC framing, but doesn't use CRC16, and thus
the decapsulation should fail because the CRC check fails.
2010-10-14 00:00:44 -05:00
Dan Williams
618dc06310
qcdm: remove shared-library-specific bits that aren't applicable
...
Since at this time libqcdm is statically linked into ModemManager.
2010-09-22 16:07:58 -05:00
Dan Williams
f3024b46b4
qcdm: add event reporting on/off command
...
Doesn't parse any events yet since we don't know what any events
are. We also need to fix up ModemManager to handle unsolicited
responses in the QcdmSerialPort class.
2010-09-01 10:51:22 -05:00
Dan Williams
ee53c3c3c4
qcdm: add bits for getting/setting the log mask
...
No code to actually start logging yet, just sets the mask.
2010-08-25 19:57:58 -05:00
Dan Williams
48b8826cbd
qcdm: add Status Snapshot enum
2010-08-16 12:20:49 -05:00
Vincent Untz
be28089dc4
build: fix build with glib >= 2.25.12 (bgo #626421 )
...
Work around an API break in glib.
2010-08-09 10:31:45 -05:00
Dan Williams
a96e53368d
tests: handle random failures of some tests more gracefully
...
Not all devices support everything; a Huawei EC168C fails to
read the mode preference, and a Pantech PX-500 fails to read
the roam preference NV item.
2010-08-06 01:16:11 -05:00
Dan Williams
dbbac27f1e
qcdm: add generic status snapshot command support
2010-08-05 22:51:29 -05:00
Dan Williams
52f9c721d3
core: add SPC lock error
2010-08-05 22:51:28 -05:00
Dan Williams
0f6f381e87
qcdm: generic functions for band_class/prev conversion
2010-05-07 11:16:57 -07:00
Dan Williams
fb965695ec
qcdm: add Novatel Modem Snapshot command support
2010-05-07 04:58:22 -07:00
Dan Williams
14442c1a5b
qcdm: add comment
2010-05-07 02:06:48 -07:00
Dan Williams
f39afdd5f7
qcdm: fix endian issues for BE platforms
...
And add a testcase for packet encapsulation to ensure we don't
have further endian issues in the future.
2010-03-31 20:24:12 -07:00
Dan Williams
a7e7854171
qcdm: don't fail testcase on unknown mode pref values
...
EC168C has a value of 0x16 for mode pref, which is unknown. But
that shouldn't fail the testcases.
2010-03-30 00:57:15 -07:00
Dan Williams
41c2e0a946
qcdm: add CM subsystem digital only mode preference
...
Found on the Huawei EC121.
2010-03-30 00:48:55 -07:00
Dan Williams
fc33616ae2
qcdm: fix testcases for various devices
...
Huawei EC121 doesn't implement the MDN NV item, and we're also missing
some values for the CM subsystem mode pref enum.
2010-03-30 00:38:14 -07:00
Dan Williams
0ae176c63c
qcdm: add Pilot Set retrieval for signal strength calculations
...
Determined from various sources including RTManager and
"Technical Introduction to CDMA" (Course RF100 Chapter 7).
2010-03-30 00:32:27 -07:00
Dan Williams
cff40ac472
qcdm: allow result objects to hold boxed types
2010-03-30 00:29:31 -07:00