Closed Bug 946165 Opened 12 years ago Closed 12 years ago

[B2G] [DSDS] [Fugu] Miss STK menu proactive on fugu

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.3 Sprint 6 - 12/6

People

(Reporter: edgar, Assigned: edgar)

References

Details

Attachments

(2 files, 4 obsolete files)

Attached file fugu_stk_ril.txt —
+++ This bug was initially created as a clone of Bug #942096 +++ In bug 942096, we add iccId into 'icc-stkcommand' to support DSDS, and there is a timing between reading iccId and receiving stk menu proactive command from sim card, so we ignore the command if iccId is not ready yet [1]. It works well in unagi device, because unagi will keep generating stk menu proactive command if did not receive response. However, in Fugu the modem will not generate new command, but wait for response if did not receive it. It seem if iccId is not ready yet, we should cache proactive commands and send then after iccId becomes ready. [1] Please see bug 942096 comment #2. [2] Please see bug 935802 comment #1.
Attached patch Patch, v1 (obsolete) — — Splinter Review
1). Cache stk command if iccId is not ready. 2). When iccId becomes ready, send pending stk command if any. I have tested this patch in unagi and fugu, both of them are worked well. ie, I can see STK entry in setting and also can browse the menu.
Attachment #8343500 - Flags: review?(htsai)
Comment on attachment 8343500 [details] [diff] [review] Patch, v1 Review of attachment 8343500 [details] [diff] [review]: ----------------------------------------------------------------- Can we do it in ril_worker? And modify the timing to call reportStkServiceIsRunning?
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #2) > Comment on attachment 8343500 [details] [diff] [review] > Patch, v1 > > Review of attachment 8343500 [details] [diff] [review]: > ----------------------------------------------------------------- > > Can we do it in ril_worker? > > And modify the timing to call reportStkServiceIsRunning? Hmm, sounds better. I will try this, thanks your suggestion.
Comment on attachment 8343500 [details] [diff] [review] Patch, v1 Per comment #3, cancel review first.
Attachment #8343500 - Flags: review?(htsai)
(In reply to Edgar Chen [:edgar][:echen] from comment #3) > (In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #2) > > Comment on attachment 8343500 [details] [diff] [review] > > Patch, v1 > > > > Review of attachment 8343500 [details] [diff] [review]: > > ----------------------------------------------------------------- > > > > Can we do it in ril_worker? > > > > And modify the timing to call reportStkServiceIsRunning? > > Hmm, sounds better. > I will try this, thanks your suggestion. If we try to fix this by modifying the timing to call reportStkServiceIsRunning(), we need to consider below two cases, 1). cardState is ready, but iccId is not ready. 2). iccId is ready, but cardState is not ready. (ie, pin locked enabled case)
Another possible fix which is suggested in comment #2. I have tested this patch, it works well in {unagi|fugu} {with|without} sim pin lock enabled.
Attachment #8343595 - Flags: feedback?(allstars.chh)
Attached patch Patch, v3 (obsolete) — — Splinter Review
After discussing with Yoshi, we don't need to wait cardState becomes to 'ready'. And I have tested unagi and fugu, both of them works well.
Attachment #8343500 - Attachment is obsolete: true
Attachment #8343595 - Attachment is obsolete: true
Attachment #8343595 - Flags: feedback?(allstars.chh)
Attachment #8343640 - Flags: review?(allstars.chh)
Comment on attachment 8343640 [details] [diff] [review] Patch, v3 Oops, upload wrong patch.
Attachment #8343640 - Attachment is obsolete: true
Attachment #8343640 - Flags: review?(allstars.chh)
Attached patch Patch, v3 (obsolete) — — Splinter Review
Upload correct patch. Please see comment #7 for details.
Attachment #8343642 - Flags: review?(allstars.chh)
Attachment #8343642 - Flags: review?(allstars.chh) → review+
Rebase only.
Attachment #8343642 - Attachment is obsolete: true
Attachment #8343651 - Flags: review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 Sprint 6 - 12/6
Blocks: 934404
Blocks: b2g-stk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: