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
bf01571622
qcdm: add enums for STATUS rx_state values
2010-02-22 16:45:50 -08:00
Dan Williams
c937d1399b
qcdm: add SW_VERSION command
2010-02-22 16:15:19 -08:00
Dan Williams
b50638dcbe
qcdm: fix up DIAG_CMD_STATUS structure
...
There's some junk in between the fields, apparently.
2010-02-22 15:53:19 -08:00
Dan Williams
bdfddd57e7
qcdm: fix STATUS command SID & NID reporting
2010-02-22 15:53:06 -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
cb59d2e64d
qcdm: fix guint8 result member retrieval
2010-02-22 13:08:19 -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
4c297935ef
qcdm: fix unref-ing result objects
2010-02-22 11:21:48 -08:00
Dan Williams
10e5e6561f
qcdm: handle more command error responses
2010-02-22 11:06:50 -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
c916ea7b4b
qcdm: whitespace fixes
2010-02-16 10:04:26 -08:00
Dan Williams
6239d2e351
qcdm: implement command handling and minimal infrastructure
2010-02-16 09:58:47 -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