Commit Graph

354 Commits

Author SHA1 Message Date
Aki Niemi e943360a5a isimodem: Remove unused declaration 2011-01-25 14:48:23 +02:00
Kai Vehmanen 0a5ef0a9c8 isimodem: fix sending DTMF
isi_call_dtmf_send_resp() handles the success case incorrectly, and
thus all send_tones attempts fail with bogus error codes.
2011-01-21 15:19:52 +02:00
Jeevaka Badrappan 2a7fa4de4e isimodem: fix issue with user busy release
when the user rejects the incoming call, hangup_active
will get called on the driver side whereas when the user
rejects the waiting call, set_udub will get called on the
driver side.
2011-01-21 15:18:40 +02:00
Aki Niemi ad5c6e2e4c isimodem: Remove deregister implementation 2011-01-20 09:55:19 -06:00
Pekka Pessi fef6de49af isimodem: fix crash in gprs
There was a crash if gprs was removed while creating context.
2011-01-18 22:29:24 +02:00
Aki Niemi 321bd16eb1 isimodem: Style fix in gprs, M12 2011-01-18 22:29:24 +02:00
Pekka Pessi 37ae4832de Fix crash in isimodem call forwarding. 2011-01-17 18:15:42 +01:00
Pekka Pessi 6d23cd1957 isimodem: fix return from call control requests 2011-01-12 08:09:09 -08:00
Jeevaka Badrappan 9af25bceac isimodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Pekka Pessi e0b6a058a2 isimodem: use simplified client interface 2011-01-07 13:39:18 +02:00
Pekka Pessi 340a6d8725 isimodem/sms: verify SMS and SIM resources 2011-01-07 13:32:27 +02:00
Pekka Pessi e130d21be9 isimodem: fix style issues 2011-01-07 13:32:27 +02:00
Pekka Pessi a3f491a82b isimodem: include complete ISI message in trace 2011-01-07 13:32:27 +02:00
Pekka Pessi b72c01173a isimodem: whitespace fixes 2011-01-07 13:32:27 +02:00
Aki Niemi 998a25eec8 isimodem: Fix nettime parsing 2010-12-31 14:54:19 +02:00
Aki Niemi 9b5ea0189a isimodem: Minor style fixes 2010-12-22 17:47:22 +02:00
Aki Niemi ef22691f71 isimodem: Remove unnecessary check 2010-12-22 17:13:49 +02:00
Aki Niemi 8406a4935e isimodem: Fix ICC, IMSI and SPN reading 2010-12-22 17:13:48 +02:00
Aki Niemi 1bdc6f027c isimodem: Fix SCA query response handling 2010-12-22 17:13:48 +02:00
Aki Niemi c1cc241862 isimodem: Fix sms driver incoming NTF handling 2010-12-22 17:13:48 +02:00
Mika Liljeberg ae27b69769 isimodem: fix GPRS context removal 2010-12-22 17:13:48 +02:00
Aki Niemi a044bc7880 isimodem: Fix sms driver routing resp handling 2010-12-22 17:13:48 +02:00
Aki Niemi 46d52b5a90 isimodem: Add debugging for PN_WRAN id 2010-12-22 17:13:48 +02:00
Aki Niemi 1bffb5c909 isimodem: Rename debug to trace 2010-12-22 17:13:48 +02:00
Aki Niemi 98074fdb60 isimodem: Always compare to NULL explicitly 2010-12-22 17:13:48 +02:00
Aki Niemi b477941171 isimodem: Style fixes, indentation 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1199b3fc54 isimodem: prevent gprs autodetach 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1272da9bb2 isimodem: improve GPRS timeouts 2010-12-22 17:13:48 +02:00
Mika Liljeberg b08f5b9e3b isimodem: revector GPRS driver to new gisi API 2010-12-22 17:13:48 +02:00
Mika Liljeberg 29155d9a8a gisi: add definitions for reading product profile 2010-12-22 17:13:48 +02:00
Aki Niemi 11b65c55af isimodem: Fix call forwarding driver 2010-12-22 17:13:47 +02:00
Aki Niemi b156318105 isimodem: Remove unused variables 2010-12-22 17:13:47 +02:00
Mika Liljeberg ddba09c870 isimodem: convert radio settings to new gisi API 2010-12-22 17:13:47 +02:00
Aki Niemi 3fed5c83ee isimodem: Adapt and refactor sms driver 2010-12-22 17:13:47 +02:00
Aki Niemi d365237a65 isimodem: Adapt and refactor ssn driver 2010-12-22 17:13:47 +02:00
Aki Niemi 3942066eae isimodem: Adapt and refactor ussd driver 2010-12-22 17:13:47 +02:00
Aki Niemi b8b1f6c969 isimodem: Adapt and refactor call meter driver 2010-12-22 17:13:47 +02:00
Aki Niemi 5a8cf6552d isimodem: Remove useless debug 2010-12-22 17:13:47 +02:00
Aki Niemi a1d8fb8c72 isimodem: Clean up sim driver some more 2010-12-22 17:13:47 +02:00
Aki Niemi d9fbf0d427 isimodem: Adapt and refactor cbs driver 2010-12-22 17:13:47 +02:00
Aki Niemi 66d1cfa347 isimodem: Add missing CBS codepoint 2010-12-22 17:13:47 +02:00
Aki Niemi 346ee5b051 isimodem: Adapt and refactor voicecall driver 2010-12-22 17:13:47 +02:00
Aki Niemi 4f9c5b7713 isimodem: Adapt and refactor sim driver 2010-12-22 17:13:46 +02:00
Aki Niemi 332afc9cbc isimodem: Adapt and refactor phonebook driver 2010-12-22 17:13:46 +02:00
Aki Niemi 90f31a1cb9 isimodem: Adapt and refactor netreg driver 2010-12-22 17:13:46 +02:00
Aki Niemi f01d0454a7 isimodem: Add convenience macro for version debug 2010-12-22 17:13:46 +02:00
Aki Niemi 48ea0fd5b7 isimodem: Adapt and refactor infoserver 2010-12-22 17:13:46 +02:00
Aki Niemi 5de8900262 isimodem: Adapt and refactor devinfo driver 2010-12-22 17:13:46 +02:00
Aki Niemi 3c2c1f8daf isimodem: Adapt and refactor debugging 2010-12-22 17:13:46 +02:00
Aki Niemi d1a0775a48 isimodem: Adapt and refactor call forwarding 2010-12-22 17:13:46 +02:00
Aki Niemi 698e97c75c isimodem: Adapt and refactor call barring driver 2010-12-22 17:13:46 +02:00
Aki Niemi ab814c8fc4 isimodem: Adapt and refactor audio settings driver 2010-12-22 17:13:46 +02:00
Pekka Pessi a67c5cf4c5 isi/voicecall: fix handling of waiting calls
Also, do not retrieve calls after isi_release_all_active() because
retrieving is now only an unwanted side-effect .
2010-12-03 14:52:40 +02:00
Pekka Pessi be2778cb99 isi/voicecall: avoid side-effects of release
If a call was held automatically when an another call was dialed or
answered, it gets retrieved when the other call is released unless
auto change features is explicitly disabled.

Drop cause_type parameter because it is never used.

Use cause code for busy when releasing incoming or waiting calls.
2010-12-03 14:52:33 +02:00
Pekka Pessi eb3af79700 isi/voicecall: add call id to queued requests 2010-12-03 14:51:40 +02:00
Pekka Pessi fe28e6cd05 isi/voicecall: fix status reporting
Do not report incoming calls to the oFono core until they can be
answered.

Report MT_RELEASED or MO_RELEASED via ofono_voicecall_notify(),
TERMINATED calls via ofono_voicecall_disconnected().
2010-12-03 14:50:05 +02:00
Denis Kenzior 26b68846a8 isi: Get rid of a pointless check in cf driver 2010-11-29 11:47:47 -06:00
Lucas De Marchi b82a7f8511 drivers: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Denis Kenzior ae2d960ec3 isi: Update radio-settings to use new API 2010-11-29 07:52:35 -06:00
Rémi Denis-Courmont 6a6f7bed3c isi: Remove stray newlines in messages sent to log 2010-11-26 13:48:41 -06:00
Pekka Pessi f3c75c9285 isi/voicecall: release COMING calls with BUSY cause
Very early incoming calls were not released with BUSY cause.
2010-11-22 08:19:38 -06:00
Denis Kenzior 5a1bd2c352 isimodem: Get rid of whitespace corruption 2010-11-11 09:08:09 -06:00
Aki Niemi b2faaa1058 isimodem: Fix style issues in gprs-context.c 2010-11-11 10:11:24 +02:00
Mika Liljeberg a4deaffa58 isimodem: revector GPRS context driver 2010-11-11 09:25:08 +02:00
Pekka Pessi b3495d3a9b isigen: increase offline timeout
The modem deregisters from network before response to MTC_STATE_REQ is
returned.  Deregistering can take up to 6 seconds.
2010-11-04 16:19:53 +01:00
Mika Liljeberg d34bbba722 isimodem: add support for FastDormancy property 2010-10-27 22:26:16 -05:00
Aki Niemi eac5b46c19 isimodem: Remove hack for notifying strength 2010-10-21 21:39:41 +03:00
Pekka Pessi ffa9edfb82 isi: fix SMS
Align read-params with update-params properly.

Align and fill tpdu sub block in submit.
2010-10-20 15:41:10 -05:00
Pekka Pessi ec2e576863 isi: fix SMS
Read absence/presence flags from correct field.

Try to avoid overwriting other SMS parameters but SCA address.

Use g_isi_(v)send().
2010-10-20 12:53:29 -05:00
Pekka Pessi 6861510e5e isi: fix hangup_active and set_udub methods
The concept of "active" call seems to be overloaded.
2010-10-20 12:52:44 -05:00
Aki Niemi ae8deb68e8 isimodem: Fix setting SCA type 2010-10-20 17:31:17 +03:00
Aki Niemi 255782f8c2 isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
2010-10-19 15:06:35 +03:00
Petteri Tikander 44bb863538 isimodem: returns file-status of SIM EF-file 2010-10-15 02:19:43 -05:00
Aki Niemi 297b14ca8b isimodem: Fix copyright and license boilerplate 2010-10-14 15:22:16 +03:00
Aki Niemi 69087a565c isimodem: Fix SMSC address update request 2010-10-14 15:22:16 +03:00
Pekka Pessi a5e13cb049 isimodem/voicecall: fix hangup_active 2010-10-06 12:07:27 +02:00
Aki Niemi 29bbf89c52 isimodem: Properly clean up audio settings driver 2010-10-01 17:11:25 +03:00
Kai Vehmanen 78d4ee9336 isimodem: Add support for audio settings
The audio state is mapped directly to isimodem's call server status
indications. When active, the modem speech path should be opened, and
when closed, the modem speech path may be closed.
2010-10-01 17:11:24 +03:00
Aki Niemi cbf53bc708 isimodem: Report GPRS detach 2010-09-30 11:25:48 +03:00
Aki Niemi 6509152544 isimodem: Fix signal strength reporting
ISI modems send the signal strength indication before registration
status changes, which causes the core to ignore initial signal
strength values.
2010-09-30 11:25:48 +03:00
Pekka Pessi ce2ff83187 isimodem: remove generic modem driver parts
The isimodem driver is now part of isigen (just like atmodem and atgen).
2010-09-30 11:25:47 +03:00
Aki Niemi 3ffd6d248b isimodem: Return success on topic set/clear
The isimodem driver accepts all topics by default.
2010-09-27 16:07:44 +03:00
Aki Niemi 7e5a5e665b isimodem: Fix CBS decoding 2010-09-27 16:07:39 +03:00
Denis Kenzior 315cfd4217 isimodem/ussd: Fix 64-bit compilation issue 2010-09-16 13:53:26 -05:00
Pekka Pessi fe14190935 isimodem/ussd: fix mobile-terminated cases
ACK notifys. Handle mobile-terminated requests gracefully.
2010-09-16 13:47:46 -05:00
Pekka Pessi 5e92604955 isimodem/debug: debug USSD type 2010-09-16 13:47:15 -05:00
Pekka Pessi a111048129 isimodem/ussd: clean const casts 2010-09-16 08:58:54 -05:00
Jeevaka Badrappan eb425a281f ussd: Driver API changes
To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive
Command.
2010-09-14 17:01:49 -05:00
Lucas De Marchi 74125ff5d4 Fix common misspellings in drivers
Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

subsidary(-ies)->subsidiary(-ies)
transfering->transferring
2010-09-14 16:00:16 +09:00
Mika Liljeberg 74e4f9ee51 isimodem: implement Suspended property 2010-09-10 10:52:07 -05:00
Pekka Pessi c5d8bdeeb6 isimodem/ussd: use g_isi_send() 2010-09-02 07:52:11 +03:00
Pekka Pessi 9d4a232313 isimodem/gprs: use g_isi_send() 2010-09-02 07:52:07 +03:00
Aki Niemi 76fce49e49 Remove unnecessary alignment to 32bit boundary 2010-08-30 17:54:36 +03:00
Pekka Pessi 2778092b83 isimodem/gprs: fix attached_status response 2010-08-26 10:38:04 -05:00
Denis Kenzior ad8607994f modem: Be consistent when naming callback typedefs 2010-08-12 15:46:46 -05:00
Sjur Brændeland dde0a4ccb5 voicecall: Rename hangup to hangup_active 2010-08-12 11:32:12 -05: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
Yang Gu c80432bfde Refactor ussd parser 2010-06-21 09:19:01 -05:00
Pekka Pessi 84d5303b06 isimodem: add set_online and post_online 2010-05-27 14:28:16 -05:00
Denis Kenzior a7d02fbf5c isimodem: More cleanup of bad style 2010-05-27 14:15:30 -05:00
Pekka Pessi 48041a0e60 Fixed style issues in isimodem voicecall. 2010-05-27 14:04:32 -05:00
Pekka Pessi 654c0ef73b Eliminated bool, true and false from isimodem. 2010-05-27 13:41:51 -05:00
Pessi Pekka (Nokia-D/Helsinki) 0318e194b3 isimodem: fix confusing log message 2010-05-26 00:07:30 +03:00
Pessi Pekka (Nokia-D/Helsinki) 9ec222fc94 isimodem: fix memory leak 2010-05-26 00:07:05 +03:00
Aki Niemi e1d5f09eb9 Fix minor style issues 2010-05-26 00:06:12 +03:00
Pessi Pekka (Nokia-D/Helsinki) abb642ce08 Add: support for EF_ICCID in isimodem. 2010-05-26 00:00:13 +03:00
Aki Niemi 0d8b86ed79 Add isimodem support for network time 2010-05-19 10:46:33 +03:00
Pekka Pessi d44444562b Make isimodem use linkstate directly 2010-05-17 13:52:13 +03:00
Pekka Pessi 2cda1a32da Use g_pn_netlink_by_modem() in isimodem driver 2010-05-17 13:44:56 +03:00
Aki Niemi 03b8229af9 Remove unused declaration 2010-05-15 10:44:40 +03:00
Aki Niemi 26f365e5bf Fix typo in comment 2010-05-15 10:42:13 +03:00
Aki Niemi aa5d3c1e7c Fix copy-paste typo 2010-05-15 10:35:44 +03:00
Aki Niemi f49c97b073 Add proper debug configuration to isimodem SMS 2010-05-15 10:23:24 +03:00
Aki Niemi 4c586ffc50 Add SCA query and setter to isimodem SMS driver 2010-05-15 10:23:03 +03:00
Aki Niemi e108530712 Add missing SIM codepoints 2010-05-15 10:19:28 +03:00
Aki Niemi 05fad46e38 Refactor isimodem CBS driver 2010-05-14 17:04:54 +03:00
Aki Niemi 6207f5bfce Fix CBS routing request failure reporting 2010-05-14 16:54:11 +03:00
Aki Niemi bca2cdffbc Add isimodem support for MO and MT SMS 2010-05-14 16:51:39 +03:00
Aki Niemi fb3773921f Add missing SMS ISI codepoints 2010-05-14 16:51:34 +03:00
Aki Niemi 41a21ac96b Fix typo in gprs driver 2010-04-27 23:21:48 +03:00
Aki Niemi b0222a79c3 Fix faulty logic in netreg driver
Also add missing tech param.
2010-04-27 23:21:48 +03:00
Aki Niemi c123a9b5ba Fix remove ops in isimodem drivers 2010-04-27 23:21:48 +03:00
Aki Niemi a03d11fec7 Fix style issues in isimodem 2010-04-27 23:21:48 +03:00
Aki Niemi 8b61fde2fb Add user authentication to gprs context driver 2010-04-20 17:47:17 +03:00
Pekka Pessi fa3501b8d2 Refactor isimodem and gisi/netlink
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20 17:47:17 +03:00
Pekka Pessi 2dd6923dfa Add infoserver to isimodem
The info server provides information from the mobile station to the
ISI modem.  Currently it returns the Software Version Number (SVN)
that is used in mobile identification.
2010-04-20 17:47:16 +03:00
Pekka Pessi 2cc99fdaa6 Add SIM server state detection
Register isimodem SIM driver only when SIM server is ready. The best
way to find out that the server is truly ready is to read some data.
2010-04-20 17:47:16 +03:00
Pekka Pessi 540656ebfe Fix: s/bootsrap/bootstrap/ 2010-04-20 17:47:16 +03:00
Aki Niemi 144b30ac6d Add isimodem gprs context driver 2010-04-20 14:16:26 +03:00
Aki Niemi a7989b7cbb Add isimodem gprs driver 2010-04-20 14:16:18 +03:00
Aki Niemi f62f6076c1 Add PN_GPDS code points and debugging 2010-04-20 14:11:07 +03:00
Aki Niemi eefcdc9f44 Add SIM inserted notification
TODO: This is a temporary solution. Trigger the inserted notification
on actual SIM state changes instead.
2010-04-20 14:10:52 +03:00
Aki Niemi 0f1db581da Remove declaration of unused dump_msg() 2010-04-20 14:10:17 +03:00
Pekka Pessi ade674158c Fix: simplify isimodem call-barring driver.
Add support for lock codes AG and AC (MMI codes 333 and 353,
respectively). Use decimal MMI codes in <ss.h>.
2010-03-29 15:38:22 -05:00
Denis Kenzior 92beff2839 Update ISI radio settings driver to the new API 2010-03-25 10:43:17 -05:00
Aki Niemi d12e1a8b9e Add isimodem USSD implementation 2010-02-09 23:15:52 +02:00
Aki Niemi 7001e7b163 Add USSD codepoints and debugging 2010-02-09 22:50:38 +02:00
Aki Niemi dfab0764da Add isimodem radio settings driver 2010-02-04 23:43:18 +02:00
Aki Niemi bf6195f0c2 Add PN_GSS codepoints and debugging 2010-02-04 23:43:18 +02:00
Aki Niemi 0a28c46bf7 Fix debug dump and unknown codepoint handling 2010-02-02 22:39:33 +02:00
Aki Niemi 8fe8220b23 Refactor phonebook driver 2010-01-14 10:33:48 +02:00
Aki Niemi 65ce05d37a Refactor supplementary service drivers 2010-01-14 10:33:48 +02:00
Aki Niemi 5a1a5905d4 Refactor SIM driver 2010-01-14 10:33:47 +02:00
Aki Niemi e1548d2730 Refactor CBS driver 2010-01-14 10:32:57 +02:00
Aki Niemi 85df7a952a Clean up style issues 2010-01-14 10:32:56 +02:00
Aki Niemi 04a3c6cb09 Fix cell ID and LAC values 2010-01-14 10:31:13 +02:00
Denis Kenzior 67e5efe7b3 Style: Extraneous space 2010-01-12 17:54:38 -06:00
Denis Kenzior 1b07274de8 Style: space after function argument comma pair 2010-01-12 17:54:38 -06:00
Denis Kenzior 2cde0841aa Style: Should be a space after if 2010-01-12 17:54:37 -06:00