Commit Graph

589 Commits

Author SHA1 Message Date
Dan Williams
a9ef8cb175 policy: split Device into Info and Control
It's useful to let distros and admins set policy differently for device
information (for support, inventory, etc) than for actually controlling
the device like PIN/PUK unlocks.
2010-03-01 09:15:01 -08:00
Dan Williams
f6c514897e Merge remote branch 'origin/master' into qcdm 2010-03-01 09:07:05 -08:00
Dan Williams
9d7cb0ddcf gsm: fix direct registration info requests 2010-02-28 22:11:47 -08:00
Dan Williams
27ede83bd3 trivial: rearrange some code 2010-02-28 21:15:22 -08:00
Dan Williams
28d065c1f1 core: implement optional PolicyKit-based authentication 2010-02-27 12:51:13 -08:00
Dan Williams
aed5f3765d core: add missing MMAuthRequest class 2010-02-27 12:51:03 -08:00
Dan Williams
588bb65ea6 trivial: add policy file to gitignore 2010-02-27 12:49:07 -08:00
Dan Williams
3b6a58145f core: simply authentication request objects 2010-02-27 10:29:34 -08:00
Dan Williams
20796148ce build: fix build after bffb332481 2010-02-27 07:49:57 -08:00
Dan Williams
27ffa6b272 core: authenticate SMS operations 2010-02-27 07:19:37 -08:00
Dan Williams
bffb332481 core: install correct dbus permissions for with-polkit/without-polkit 2010-02-27 06:25:45 -08:00
Dan Williams
438a047935 core: add authorization providers and optional PolicyKit support
When the support is complete, use --with-polkit to enable
PolicyKit support.  It's not there yet, but this commit adds an
authorization provider framework which will be extended to allow
hooking into PolicyKit.
2010-02-26 18:01:55 -08:00
Dan Williams
7a0373afee qcdm: add serial port subclass skeleton 2010-02-23 11:41:40 -08: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
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
f5d1a9b400 serial: allow file descriptor configuration to be handled by subclasses 2010-02-21 11:22:16 -08:00
Dan Williams
2cdefeb6da Merge remote branch 'origin/master' into qcdm 2010-02-20 14:58:04 -08:00
Dan Williams
b9958e6ec5 policy: add missing Makefile.am and icon 2010-02-20 14:56:37 -08:00
Dan Williams
a8c7bba19e serial: refactor MMSerialPort into a base class and an AT-capable serial port
For QCDM devices we want most of what MMSerialPort does, but not
the AT command handling stuff since the commands and responses
aren't AT commands nor are they even strings.  So convert everything
that MMSerialPort does into a GByteArray, and let MMAtSerialPort
handle the conversion to strings when necessary.
2010-02-20 14:55:10 -08:00
Dan Williams
a431455059 core: fix memory leak on startup 2010-02-20 14:53:43 -08:00
Dan Williams
9d8e892ffe Merge remote branch 'origin/master' into qcdm 2010-02-20 12:49:22 -08:00
Dan Williams
9185ce987d po: add translatable 2010-02-19 18:23:19 -08:00
Dan Williams
16b2f40f1c policy: add basic PolicyKit authorizations 2010-02-19 18:21:07 -08:00
Dan Williams
dcedb5273c mbm: add new C3607w device ID 2010-02-19 11:34:47 -08:00
Dan Williams
9c958c99bc build: add intltool support for PolicyKit policy translations 2010-02-16 11:03:16 -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
1a7be4a379 huawei: ignore CSS on EVDO-capable modems (rh #553199)
Since CSS doesn't reliably determine EVDO-only registration state.
2010-02-11 08:12:41 -08:00
Dan Williams
d8ea5ea003 gsm: fix initial PIN checking for devices that echo by default
If the modem echoed commands by	default (since we may not have
initialized the modem yet), the echoed command would confuse
the PIN check reply parser.
2010-02-09 23:44:23 -08:00
Dan Williams
95dd4b5be1 gsm: try initial PIN check a few times in case SIM is busy 2010-02-09 22:58:44 -08:00
Dan Williams
953095466d sierra: ignore +PACSP0 on GSM devices 2010-02-09 22:14:06 -08:00
Dan Williams
33c63a6681 zte: quite ZUSIMR messages for PIN-enabled devices too
Normally this would get done by the prober, but if the device
has a PIN enabled it'll reject almost all commands so the +CPMS?
in the prober will fail.  Thus we have to do it after we've unlocked
the device.
2010-02-08 12:37:06 -08:00
Dan Williams
7fdacfc89b test: add SE K600i COPS response testcase 2010-02-08 11:45:50 -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
Dan Williams
9eb376d782 longcheer: add more port tags 2010-02-03 18:37:24 -08:00