Commit Graph

3024 Commits

Author SHA1 Message Date
Denis Kenzior ad8607994f modem: Be consistent when naming callback typedefs 2010-08-12 15:46:46 -05:00
Denis Kenzior 9194a71813 doc: Describe EmergencyNumbers property 2010-08-12 13:22:50 -05:00
Denis Kenzior c7b13ec2fe voicecall: Relax restriction for hangup_active
If hangup_active is present, then a single active call in a 3-way
situation is hung up using hangup_active.
2010-08-12 13:15:52 -05:00
Denis Kenzior fa2c29c84f voicecall: Move some stuff around 2010-08-12 13:13:53 -05:00
Sjur Brændeland f65ab1a9da stedriver: Copy caif_socket.h from 2.6.36 RC
Copied include/linux/caif/caif_socket.h and
added AF_CAIF, PF_CAIF and SOL_CAIF definitions
found in linux/include/socket.h.
2010-08-12 11:32:12 -05:00
Sjur Brændeland 5a935a43fd stedriver: remove unsupported CAIF socket ioctls 2010-08-12 11:32:12 -05:00
Denis Kenzior 2c9a2b8a99 voicecall: Don't hangup waiting calls
During hangup_all operation.  For multiparty hangups, waiting calls are
not part of the mpty call.
2010-08-12 11:32:12 -05:00
Denis Kenzior dcf1c32f4c voicecall: Make logic bit cleaner 2010-08-12 11:32:12 -05:00
Denis Kenzior 516d1545a1 voicecall: Minor style issues 2010-08-12 11:32:12 -05:00
Denis Kenzior 10e9bdf4c1 voicecall: Reflow the logic of voicecall_hangup 2010-08-12 11:32:12 -05:00
Sjur Brændeland 9a24ece0fb voicecall: Add support for function hangup_all
This patch fixes problem for modems that cannot terminate
DIALING/ALERTING calls with CHUP=1X. The main change is that
voicecall driver's hangup function is split into the functions
hangup_all and hangup_active.

Changes:
- In cases where hangup previously was used, hangup_all is used
  if implemented otherwise hangup_active is used.
- Call in state DIALING/ALERTING is released with hangup_active if
  implemented.
- manager_hangup_all will simply call hangup_all if implemented.
- manager_hangup_all will release calls in state
  ALERTING/DIALING/INCOMING using hangup_active otherwise
  release_specific.
2010-08-12 11:32:12 -05:00
Sjur Brændeland dde0a4ccb5 voicecall: Rename hangup to hangup_active 2010-08-12 11:32:12 -05:00
Marcel Holtmann ee31188114 doc: Update connection manager API (GPRS context) 2010-08-11 14:39:47 -04:00
Marcel Holtmann 31adbb5c03 doc: Rename message manager API documentation 2010-08-11 14:33:33 -04:00
Marcel Holtmann 2c22a5a3a8 doc: Update network registration and operator API
Change the network registration API to reflect simplification in the
operator selection and scanning handling for applications.
2010-08-11 14:31:43 -04:00
Marcel Holtmann dc8dd86672 doc: update voice call API documentation
Reflect required changes to simplify the voice call API usage.
2010-08-11 14:26:14 -04:00
Marcel Holtmann 383001b315 Add extra debug statements to MBM STK atom driver 2010-08-11 14:18:44 -04:00
Marcel Holtmann 5dc131c8ea Add a few debug statements to STK core 2010-08-11 14:18:13 -04:00
Marcel Holtmann 4e9fc90e8a Use permissive parser for MBM since otherwise STK causes problems 2010-08-10 21:42:00 -04:00
Marcel Holtmann fea1d430ed Add SimToolkitAgent interface to D-Bus configuration 2010-08-10 21:38:16 -04:00
Marcel Holtmann 30d284a73f Build CAIF plugin only when AT modem support is enabled 2010-08-10 16:34:13 -04:00
Marcel Holtmann bcc3a8de00 Always built and include the modemconf plugin 2010-08-10 16:28:00 -04:00
Marcel Holtmann 945a621a2d Fix context processing test script when no gateway is provided 2010-08-10 16:18:18 -04:00
Marcel Holtmann 3d19a00cd7 Fix GPRS context IP configuration issue with ISI modems 2010-08-10 16:09:38 -04:00
Pekka Pessi 1b1691f235 Fix isimodem call forwarding. 2010-08-09 13:35:25 -05:00
Kalle Valo 1d449943af Add test scripts to to lock and unlock pin 2010-08-09 09:24:15 -05:00
Zhenhua Zhang 6556eda51c gprs: Fix release cid in gprs_deactive_for_remove
Similiar to pri_deactive_callback, we should release the context id in
gprs_deactive_for_remove() as well.
2010-08-09 09:07:30 -05:00
Denis Kenzior 8be90d06ee calypso: Couple of minor style issues 2010-08-06 12:11:22 -05:00
Denis Kenzior 536d8b7e30 calypso: Remove un-needed includes 2010-08-06 12:09:25 -05:00
Andrzej Zaborowski 29510815c5 calypso: Create STK atom and reorder initialisation
See comment in the code.  The Sim Toolkit apps seem to work rather
reliably with this, tested on both PIN-enabled and unprotected cards.
2010-08-06 12:07:12 -05:00
Andrzej Zaborowski 097640d118 atutil: Parse CMS and CME error codes 2010-08-06 12:04:28 -05:00
Andrzej Zaborowski 8f0b5a13c1 calypso: Enable AT extended error codes
The STK driver tries to interpret the codes.
2010-08-06 12:00:40 -05:00
Andrzej Zaborowski a15296cf12 calypso: Add a Calypso STK driver 2010-08-06 11:59:42 -05:00
Andrzej Zaborowski 1ba7fbd3c4 calypso: Check if SIM is present on modem startup
Like in case of MBM modem, the SIM slot is not easily accessible
while the device is running so we assume there's no need to check
for SIM presence after startup.
2010-08-06 11:55:09 -05:00
Andrzej Zaborowski 303394910f phonesim: Don't use VENDOR_PHONESIM for calypso
Also move the STK initialisation to post-sim because it is more logical
there (even if it makes no difference under phonesim).
2010-08-06 11:53:27 -05:00
João Paulo Rechi Vita f01de438bd huawei: Fix SIM state logic
Add support for voice-only SIM cards and enable phonebook atom for
non-voice modems.
2010-08-05 14:19:56 -05:00
Denis Kenzior 1b4a5c47ab doc: Update coding-style.txt for enums 2010-08-05 14:04:24 -05:00
Inaky Perez-Gonzalez 8f570a7969 sms: struct tx_queue_entry: add a destructor
Introduce a destructor function to encapsulate all the release steps
for this data type, as more are to be added later.
2010-08-05 11:59:34 -05:00
Inaky Perez-Gonzalez ed8ef7a1e8 storage: make write_file transaction-safe
write_file(), as written wasn't transaction-safe; a crash bewtween a
file being open and the buffer being written before a safe close would
leave the file with a set of undetermined contents.

Modified to the file is written to a temporary file name; once
completed, it is renamed to the final name. This way, a crash in the
middle doesn't leave half-baked files.
2010-08-05 11:59:22 -05:00
Denis Kenzior c8219725f7 doc: Fixup some long line / space at eol issues 2010-08-05 11:21:25 -05:00
Gustavo F. Padovan c441ca167d bluetooth: define DBUS_TIMEOUT macro 2010-08-05 10:34:38 -05:00
Denis Kenzior 8eb9425f32 sim: Use less space for locked_pins
Use only as required, since we only track PINs in this one, not PUKs
2010-08-05 10:19:04 -05:00
Denis Kenzior 764afde1fe sim: Fix LockedPins in case SIM wants a PUK first
In the case that oFono is started with the SIM asking for a PUK, we
don't report LockedPins properly.
2010-08-05 10:00:57 -05:00
Denis Kenzior f223cccfd0 test: Update simple-agent with new capabilities 2010-08-04 15:14:41 -05:00
Denis Kenzior 5a6151a363 stkagent: No need to split these on two lines 2010-08-04 14:49:42 -05:00
Denis Kenzior 9b284c7c35 stk: Rip out the HELP stuff for now
We're not supporting it in the current API and doing so is actually
very painful.
2010-08-04 14:47:38 -05:00
Denis Kenzior 7241a0e314 stkagent: Introduce CALLBACK_END macro 2010-08-04 14:40:08 -05:00
Andrzej Zaborowski c09dfb8473 stk: Handle the Get Input proactive command 2010-08-04 14:29:24 -05:00
Andrzej Zaborowski e620d7d99e stkagent: Implement RequestInput/RequestDigits 2010-08-04 14:28:21 -05:00
Andrzej Zaborowski ed169aa02f stk: Handle the Get Inkey proactive command 2010-08-04 14:13:16 -05:00