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
71c6fa79f7
qcdm: fix CRC checking on some packets
...
Should be pointing to the CRC location in the *unescaped* packet
buffer since the CRC is subject to escaping/unescaping. Previous
code pointed to the wrong location in the escaped packet buffer,
which was often pointing to the write place if there weren't many
escaped bytes in the input buffer, but was still wrong.
2010-03-29 16:42:53 -07:00
Dan Williams
a98fa8a4b3
qcdm: fix up CDMA Status command fields and values
...
Found in two sources:
a) Руководство пользования тестером CDMA-450
b) RTManager
2010-03-29 00:08:46 -07:00
Dan Williams
6ab36bacf3
qcdm: add ZTE signal strength request
2010-03-22 13:03:53 -07:00
Dan Williams
c03556f820
qcdm: fix up testcase output
2010-03-20 03:53:31 -07:00
Dan Williams
c4a1a78c43
qcdm: complete mode preference implementation
2010-03-20 00:09:38 -07:00
Dan Williams
26c1402aae
qcdm: add initial roaming and mode preference bits
2010-03-19 19:18:02 -07:00
Dan Williams
bc3ac7bae5
qcdm: testcase output cleanup
2010-02-22 21:43:42 -08:00
Dan Williams
d694cebdfe
qcdm: add more HDR subsystem protocol enums
...
Found in TIA-856-A section 9. Assuming that the modem firmware just
passes the protocol states right through.
2010-02-22 19:00:31 -08:00
Dan Williams
06415201cb
qcdm: add HDR State Info command
2010-02-22 18:34:12 -08:00
Dan Williams
928f8a9ff2
qcdm: add Call Manager subsystem STATE_INFO command
2010-02-22 17:35:28 -08:00
Dan Williams
c937d1399b
qcdm: add SW_VERSION command
2010-02-22 16:15:19 -08:00
Dan Williams
98ec1bdfea
qcdm: add testcases for QCDMResult objects
2010-02-22 15:23:34 -08:00
Dan Williams
c0e227a16b
qcdm: add status command and rework testcases a bit
...
Status command not completely working yet.
2010-02-22 13:27:25 -08:00
Dan Williams
3d617b7bf6
qcdm: add command to get MDN (ie, phone number)
2010-02-22 12:17:27 -08:00
Dan Williams
7d151e6ae0
qcdm: add DIAG_CMD_ESN
2010-02-22 11:33:44 -08:00
Dan Williams
0f9d4d2a1a
qcdm: fix QCDM packet decapsulation
...
Rename and document the encapsulate/decapsulate functions, CRC-check
the incoming packet, and make callers aware of the difference in how
big the decapsulated packet is versus how many bytes they should
discard from the buffer (since the decapsulated packet is at least
3 bytes shorter than the incoming packet due to the CRC + framing).
2010-02-22 10:52:59 -08:00
Dan Williams
6239d2e351
qcdm: implement command handling and minimal infrastructure
2010-02-16 09:58:47 -08:00
Dan Williams
626f2953bf
qcdm: fix licensing of testcases
2010-02-08 09:25:58 -08:00
Dan Williams
704d6e90b6
qcdm: add DM protocol utilities and testcases
...
Bits for CRC calculation and frame escaping/unescaping.
2010-02-08 09:13:17 -08:00