Commit Graph
47 Commits
Author SHA1 Message Date
Dan Williams b3f0ca9233 qcdm: add some more CDMA band classes 2011-05-16 18:44:11 -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 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
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 41c2e0a946 qcdm: add CM subsystem digital only mode preference
Found on the Huawei EC121.
2010-03-30 00:48:55 -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
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 2f099e2964 qcdm: complete Version Info command fields
Found in RTManager
2010-03-29 00:23:07 -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 98e8108ac2 qcdm: update CM subsys system modes 2010-03-28 23:39:19 -07:00
Dan Williams c36aacee0a qcdm: use tcsetattr/tcgetattr for better compatibility
With Alpha, mainly.
2010-03-22 22:28:36 -07:00
Dan Williams 6ab36bacf3 qcdm: add ZTE signal strength request 2010-03-22 13:03:53 -07:00
Dan Williams 88c1423838 qcdm: clarify note about CM state vs. roam/mode pref values 2010-03-20 03:53:44 -07:00
Dan Williams 4006ca4dec qcdm: better checking of NV read/write command results 2010-03-20 02:28:01 -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 0815597d8d qcdm: fix command buffer initialization
Use the right buffer size to initialize.
2010-03-17 00:40:13 -07: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 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