Commit Graph

1757 Commits

Author SHA1 Message Date
Andrzej Zaborowski f2c73f0a52 simfs: Return from sim_fs_op_check_cached on error 2011-01-29 18:39:37 +01:00
Andrzej Zaborowski 882c0c2761 simfs: Reset op_source in simfs_read_block
If the block is not in cache or if this is the last block of a last
op in the queue, then fs->op_source might be left with the wrong
value.
2011-01-29 18:39:37 +01:00
Lucas De Marchi f5b1c95490 smsutil: do not allow larger file names
If file name had anything in the name after addr-msgid, it would be
parsed as well. This is not what we want, since there could be temporary
files lying around.
2011-01-28 20:32:09 -06:00
Denis Kenzior 971bdfbe48 smsutil: Don't bother renaming to the same name
In sms_tx_queue_load, if the resulting file is the same (which is quite
often the case) then don't bother trying to rename it.
2011-01-28 20:27:58 -06:00
Denis Kenzior 31a4c0025d smsutil: Fix corner case during tx queue loading
If there are extraneous files in the directory when it is being loaded,
then the index used to rename the old file into the new file can get out
of sync with what the core expects.
2011-01-28 20:20:56 -06:00
Denis Kenzior b1acc3c2db smsutil: simplify tx backup loading
glib functions as a rule do not use g_try* variations.  They use
g_malloc instead, so there's no need to check for out of memory
conditions.
2011-01-28 19:51:32 -06:00
Lucas De Marchi bc0386cb23 sms: restore pending tx messages from backup
Based on patch from: Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:55:31 -06:00
Lucas De Marchi f55447a39e sms: delete sent sms messages from backup
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:14:41 -06:00
Lucas De Marchi 8305ddf321 sms: store pending tx pdus on disk
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:14:12 -06:00
Pekka Pessi 579a1ebef3 message-waiting: check for NULL argument 2011-01-26 16:47:15 -06:00
Jeevaka Badrappan 12c3cf6969 voicecall: remove ofono_cug_option 2011-01-26 16:38:15 -06:00
Jeevaka Badrappan 0be9e23a90 stk: Fix issue in stk_alpha_id_set
Fixes the crash seen with the null alpha identifier.
Also removed the icon check since the decision of whether to inform the
user of the action is dependent entirely on whether the alpha identifier
is provided by the UICC.
2011-01-26 15:24:50 -06:00
Denis Kenzior dc3019031d gprs: Refactor gprs provisioning 2011-01-26 14:55:59 -06:00
Denis Kenzior a02387d0b5 gprs: Put back the id if context creation fails 2011-01-26 14:55:59 -06:00
Denis Kenzior 04ce2bd8cc gprs: write out MessageCenter and MessageProxy
These values were not written out to settings
2011-01-26 14:55:59 -06:00
Denis Kenzior 71e5278ce6 gprs-provision: Refactor provisioning 2011-01-26 14:55:58 -06:00
Jukka Saunamaki 7a5f06dd6a gprs: add gprs context provisioning 2011-01-26 14:55:58 -06:00
Jukka Saunamaki e225f56ed0 gprs-provision: add driver API sources 2011-01-26 14:55:58 -06:00
Jukka Saunamaki feee571bba ofono.h: add gprs-provision 2011-01-26 14:55:58 -06:00
Aki Niemi ba3276a8ff simutil: Add EFcsp file and service group IDs 2011-01-26 10:38:56 +01:00
Marcel Holtmann ed99980cd3 modem: Simplify the modem lockdown modification 2011-01-26 09:51:41 +01:00
Marcel Holtmann 8637e31d1d modem: Be a bit more paranoid with lock_owner reset 2011-01-26 09:48:48 +01:00
Rémi Denis-Courmont 8c88ccaad9 modem: do not allow more than one client to lock down 2011-01-26 09:46:42 +01:00
Lucas De Marchi 3ef33522e7 call-settings: use enum values
Use the enum values defined for CLIP, CNAP, CLIR, COLP and COLR.
2011-01-25 23:33:20 -06:00
Rafael Ignacio Zurita 4eda451c03 common: add function to validate long numbers
Also, adapt voicecall to use the new function for outgoing calls.
2011-01-25 14:12:24 -06:00
Jessica Nilsson f3e3937502 simutil: EF Fileid additions USIM and SIM Phonebook
Also, adding some general fileids for building paths
2011-01-25 14:24:29 +01:00
Jeevaka Badrappan f49f0ad0cd stk: change timeout from 10 to 3mintues 2011-01-24 16:22:33 -06:00
Marcel Holtmann 2999252d15 modem: Add feature entry for supplementary services 2011-01-23 10:17:31 +01:00
Marcel Holtmann d1ebb6f379 ussd: Use global definition of supplementary services interface 2011-01-23 10:17:05 +01:00
Marcel Holtmann bd1e6a2a3a sim: Remove double empty lines 2011-01-22 11:06:34 +01:00
Marcel Holtmann 35aa581a0d voicecall: Fix some minor style issues for voicecall properties 2011-01-21 11:25:50 +01:00
Faiyaz Baxamusa 76081700a9 sms: Break out message objects into message.[ch]
These can be used as is by the CDMA SMS manager atom
2011-01-20 14:58:31 -06:00
Andrzej Zaborowski 84d0a57f8a sim-auth: Add skeleton for the sim-auth atom 2011-01-20 11:16:06 -06:00
Andrzej Zaborowski 20face53bd ofono.h: Remove unneeded initialisers
They have no effect, enum already ensures the values are unique.
2011-01-20 11:16:05 -06:00
Denis Kenzior 8b9e4c1e18 simutil: Fix a memory leak 2011-01-20 11:16:04 -06:00
Andrzej Zaborowski 1542bf0c59 simutil: SIM applications directory decoding utils 2011-01-20 11:15:34 -06:00
Jukka Saunamaki 0ef557e766 sim: getters for mcc and mnc implementation 2011-01-20 11:04:00 -06:00
Jukka Saunamaki da535d1288 sim: store mcc and mnc separate from imsi 2011-01-20 11:03:43 -06:00
Jeevaka Badrappan c81c88e311 stk: Handle Launch Browser proactive command 2011-01-20 10:01:24 -06:00
Jeevaka Badrappan 67d1ddc22a stkutil: add check for qualifier and browser id
Checks the valid qualifier and browser id values
applicable for launch browser proactive command
2011-01-20 10:00:15 -06:00
Pekka Pessi a847f2ac0f gprs: Make gprs atom offline-safe
Allow use of GPRS atom both in online and offline (post_sim) states.

The GPRS now considers the removal of the netreg atom as implicit detach
and registration change to NOT_REGISTERED.
2011-01-20 09:58:52 -06:00
Aki Niemi 8c15a690df netreg: Deprecate the deregister method 2011-01-20 09:54:55 -06:00
Denis Kenzior f8b2ea9ebe gprs: Move packet bearer stuff into gprs.c 2011-01-20 09:49:36 -06:00
Tomasz Gregorek 33aaeb9dff gprs: mark context driver as not used when removing active context 2011-01-20 13:31:29 +01:00
Aki Niemi 9adc84ea88 core: Always return success to a no-op
A SetProperty that doesn't actually change the Online property's state
when no change to that state is pending, should not fail. It should
always succeed regardless of the current modem state.
2011-01-20 12:23:25 +01:00
Rémi Denis-Courmont 8ccbc9e515 gprs: Core support for packet switched bearer reporting 2011-01-20 12:09:18 +01:00
Rémi Denis-Courmont ec34d75bc7 common: Define packet switched bearers 2011-01-20 12:07:31 +01:00
Denis Kenzior fa222d810a voicecall: Handle empty EFecc properly
When EFecc is empty we should still set the calling codes to the
default_en_list, not keep the default_en_list + default_en_list_no_sim
2011-01-19 15:22:23 -06:00
Pekka Pessi 2c7b1348aa sms: make sms atom offline-safe
Allow use of SMS atom both in online and offline (post_sim) states.

SMS atom now watches network registration atom and state.  Thmessages
are queued but not sent if not registered to a network.  Errors
occurring when a short message is being sent while transition from
online to offline or when network coverage is dropped are now handled
gracefully.
2011-01-18 22:09:07 -06:00
Denis Kenzior f4ea5142ac voicecall: Update to the new API 2011-01-18 16:09:28 -06:00