**** BEGIN LOGGING AT Sat Nov 27 02:59:58 2010 Nov 27 06:43:38 denkenz: hi Nov 27 12:55:24 Jeevaka: around? Nov 27 13:57:44 demarchi: yes Nov 27 13:59:17 Jeevaka: pong Nov 27 14:00:35 have you seen my proposal for VoiceUnconditional and Number property as part of EFcfis and EFcphs-cff? Nov 27 14:08:44 denkenz: question is for you? Nov 27 14:14:24 I think I'm fine with it Nov 27 14:14:36 But the question is, how do you handle EFcfis and CACHED? Nov 27 14:15:16 Also, you have EFcfis described in 51.011 Nov 27 14:15:32 So only using it for phase 3G is wrong Nov 27 14:17:17 ok, I based my code on 3GPP 11.11 Nov 27 14:17:38 but as per 51.011, its also there Nov 27 14:17:59 I suspect you will have to read the 3GPP one first, and if absent use CPHS Nov 27 14:18:16 Or lookup EFust / EFsst Nov 27 14:18:57 CPHS only in SIM and not in USIM Nov 27 14:19:19 ok, I'll do that Nov 27 14:19:52 And I'm not sure setting cached flag is good when reading EFcfis Nov 27 14:20:17 Is it ok to have VoiceUnconditional with values "enabled" and "disabled", Number holding the call forwared number Nov 27 14:20:21 That way you only have CFU, not the conditional CF entries Nov 27 14:20:28 ok Nov 27 14:20:56 The question is whether we can trust the SIM Nov 27 14:21:10 If we can, then we can skip CFU query from the network Nov 27 14:21:31 if not, then signaling the property and re-querying the network might be needed Nov 27 14:21:52 its better to rely on network rather than SIM Nov 27 14:22:21 if some phone doesn't update the SIM file, then we will be having issues Nov 27 14:23:47 I agree, so it might be that behavior might need some tweaking Nov 27 14:24:17 ok Nov 27 14:24:23 Is it ok to have VoiceUnconditional with values "enabled" and "disabled", Number holding the call forwared number Nov 27 14:24:56 see I think we shouldn't populate the property with the number from EFcfis at all Nov 27 14:25:03 Since we'll be querying it from the network Nov 27 14:25:24 I think we should write the EFcfis entry when setting it Nov 27 14:25:47 And maybe introduce a ForwardingFlagOnSim or something Nov 27 14:26:47 do you mean updating the SIM file even before network confirms the request? Nov 27 14:27:22 No, the way we do it is to update it from the set query Nov 27 14:27:32 That way we write the latest info Nov 27 14:28:19 so, your idea is to have one property "ForwardingFlagOnSim" which will be updated based on the SIM information Nov 27 14:28:53 Number will be updated based on network query Nov 27 14:30:18 that is what I'm suggesting Nov 27 14:30:35 I think trusting the sim is not good, and setting the cached flag isn't Nov 27 14:31:06 yep, agree Nov 27 14:31:16 The only tweak we can make is to 'temporarily' signal the VoiceUnconditional property based on EFcfis Nov 27 14:31:23 But not set the cached flag Nov 27 14:31:38 ok Nov 27 14:31:45 That way the app might get an early hint of what the number is Nov 27 14:32:52 I would like to have VoiceUnconditional and Number property separately. Whats ur opinion on this? Nov 27 14:33:24 hm, why? Nov 27 14:34:57 currently, in my code I have used property "VoiceUnconditional" and "VoiceUnconditionalStatus" Nov 27 14:35:15 somwhat, confusing Nov 27 14:35:31 In the end it is specifying the same call forwarding rule Nov 27 14:35:50 And the query logic will figure this out Nov 27 14:36:21 So if you read cfis, and you have the number set there, then signaling VoiceUnconditional and setting it to whatever is fine Nov 27 14:36:30 Once GetProperties is called, you re-query from the network Nov 27 14:36:45 if the number is different, you signal VoiceUnconditional again Nov 27 14:37:16 And then write EFcfis back Nov 27 14:37:27 currently, I'm using the VoiceUnconditionalStatus for cphs-cff case Nov 27 14:38:00 cphs-cff case, number is not available Nov 27 14:38:25 So for that case set the ForwardingFlagOnSim and don't signal the VoiceUnconditional Nov 27 14:38:44 Once GetProperties is called, we query it from the network anyway Nov 27 14:39:10 ok Nov 27 14:39:18 The only usefulness of these files is to tell the user they can't receive calls Nov 27 14:39:25 The actual number is pointless Nov 27 14:39:27 yep Nov 27 14:40:22 correct me if I'm wrong, cphs-cff applies only to SIM and not USIM. Nov 27 14:41:06 I don't think this is always true Nov 27 14:41:20 ATT 3G USIMs come with EFcsp files Nov 27 14:42:05 ok, so we need to read both the files in all cases Nov 27 14:42:33 In general I prefer we stick to using 3GPP as preferred Nov 27 14:42:41 I think we do the same for EFmbdn Nov 27 14:43:07 And EFmwis Nov 27 14:43:25 ok Nov 27 14:44:07 I'll update the patch and resend it Nov 27 14:45:07 I'm still not convinced with the call-volume registering after all the property update Nov 27 14:45:43 heh Nov 27 14:46:31 we are querying and updating the core which just updates the core with the values Nov 27 14:47:32 after all this, we trigger the register which is not going to trigger property change Nov 27 14:47:36 denkenz: i've created a patch for changing !ptr into ptr == NULL Nov 27 14:47:55 denkenz: since we are being style-pedantic, i think it's worth applyin Nov 27 14:48:03 what do you think? Nov 27 14:48:04 http://codepad.org/JqyHjY5O Nov 27 14:52:55 if it's worth applying, I can split it and double check Nov 27 14:53:11 it was a patch automatically generated with coccinelle Nov 27 14:59:43 demarchi: Go for it, but split it up according to toplevel directory boundaries Nov 27 15:00:00 denkenz: ok... Nov 27 15:00:13 denkenz: do i add a rule to coding-style.txt? Nov 27 15:00:18 Can you also update the doc/coding-style.txt to mention .... Nov 27 15:00:23 yes ;) Nov 27 15:00:37 another rule that might be good to add is about patches Nov 27 15:00:47 Jeevaka: So call-volume is weird because of hfp Nov 27 15:00:52 that have to be split in a per-directory basis Nov 27 15:00:58 Jeevaka: That's why it uses unconventional set methods Nov 27 15:01:04 demarchi: Yep, good idea Nov 27 15:02:08 Jeevaka: And I also do not necessarily want the properties to be signaled with the defaults actually Nov 27 15:04:55 ok Nov 27 15:11:08 demarchi: if its possible, could you please take care of no new line between an allocation and NULL checking Nov 27 15:18:17 Jeevaka: yes, i can to that Nov 27 15:18:30 Jeevaka: but this is another commit, another coccinelle script Nov 27 15:18:52 Jeevaka: are all the allocations done with g_try_malloc0 ? Nov 27 15:19:07 sorry... g_try_new0 Nov 27 15:19:57 ahn... no, there is g_try_new0 and g_try_malloc Nov 27 15:20:04 are ther any others? Nov 27 15:21:09 for eg:dbus_message_new_method_return **** BEGIN LOGGING AT Sat Nov 27 18:44:20 2010 **** ENDING LOGGING AT Sun Nov 28 02:59:57 2010