Closed
Bug 1117658
Opened 10 years ago
Closed 10 years ago
[FFOS7715 v2.1][STK]USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY,No Duration field in the TR.
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(blocking-b2g:2.1S+, firefox36 wontfix, firefox37 wontfix, firefox38 fixed, b2g-v1.4 wontfix, b2g-v2.0 wontfix, b2g-v2.0M affected, b2g-v2.1 fixed, b2g-v2.1S fixed, b2g-v2.2 fixed, b2g-master fixed)
People
(Reporter: Jinghua.Xing, Assigned: bevis)
References
Details
(Whiteboard: [sprd390509])
Attachments
(2 files, 1 obsolete file)
|
2.69 KB,
patch
|
edgar
:
review+
bajaj
:
approval-mozilla-b2g34+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
|
3.59 KB,
patch
|
edgar
:
review+
bajaj
:
approval-mozilla-b2g34+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
[Testing Steps ]:USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY, variable time out of 10 seconds
[Expected Result ]:case pass
[Test Result ]:TERMINAL RESPONSE: No Duration field in the GET INKEY TR(04 02 01 XX)
| Reporter | ||
Updated•10 years ago
|
Summary: [FFOS7715_v2.1]USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY,No Duration field in the TR. → [FFOS7715 v2.1][STK]USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY,No Duration field in the TR.
Whiteboard: [sprd390509]
| Reporter | ||
Updated•10 years ago
|
Summary: [FFOS7715 v2.1][STK]USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY,No Duration field in the TR. → [FFOS7715_v2.1]USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY,No Duration field in the TR.
Whiteboard: [sprd390509]
| Reporter | ||
Updated•10 years ago
|
Summary: [FFOS7715_v2.1]USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY,No Duration field in the TR. → [FFOS7715 v2.1][STK]USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY,No Duration field in the TR.
Whiteboard: [sprd390509]
| Reporter | ||
Comment 1•10 years ago
|
||
The duration field has not been write into the parcel which will be sended to the sim in sendStkTerminalResponse() in ril_worker.js.
Flags: needinfo?(vchen)
Flags: needinfo?(sku)
Dear Shawn,
I have made a patch for duration section processing in Stk terminal response in attachment, please help review and check if it is the fine way to fix the issue.
Thanks!
Comment 4•10 years ago
|
||
Hi Xianmao:
After checking the 3GPP TS 11.14, 6.8 Structure of TERMINAL RESPONSE,
Duration (only required in response to a POLL INTERVAL proactive command).
Why duration is needed for GET INKEY TR?
Flags: needinfo?(sku)
(In reply to shawn ku [:sku] (OOO 01/06 ~ 01/09) from comment #4)
> Hi Xianmao:
> After checking the 3GPP TS 11.14, 6.8 Structure of TERMINAL RESPONSE,
> Duration (only required in response to a POLL INTERVAL proactive command).
>
> Why duration is needed for GET INKEY TR?
Dear shawn,
In the ETSI TS 102 384 V7.1.0 (2010-04),27.22.4.2.8.4.2, it requires the Duration section,
the required terminal response is:
81 03 01 22 00 82 02 82 81 83 01 12 04 02 01 Cond001
but our gecko RIL sends:
81 03 01 22 00 02 02 82 81 83 01 12
lack of Duration section.
In the 3GPP TS 11.14, 6.8 Structure of TERMINAL RESPONSE,it seems the duration is optional for other commends (I am not sure), please help check.
Thanks!
Flags: needinfo?(sku)
Comment 6•10 years ago
|
||
Hi xianmao:
Yes, for test case part (102 384), duration is part of test case, however, if we go to 11.14 6.8, it tells duration is only mandatory for POLL interval.
Besides, I don't think there is a way for user to assign "10 sec" TR to SIM card (unless hard code),
And is this test case mandatory?
please correct me if anything is wrong.
Flags: needinfo?(sku) → needinfo?(xianmao.meng)
(In reply to shawn ku [:sku] from comment #6)
> Hi xianmao:
> Yes, for test case part (102 384), duration is part of test case, however,
> if we go to 11.14 6.8, it tells duration is only mandatory for POLL interval.
>
> Besides, I don't think there is a way for user to assign "10 sec" TR to SIM
> card (unless hard code),
> And is this test case mandatory?
>
> please correct me if anything is wrong.
Hi shawn,
Yes,the duration is mandatory for this test, it will fail for case test in the instrument IT3 if lacking of it.
This test case does not require user to assign any value, the duration section {"timeUnit":1,"timeInterval":10} is from SIM.
The duration is mandatory for POLL interval and it seems the duration is optional for other commends, but our gecko TR does not send duration section,if it is possible to add the duration in TR,
or if it is possible for us to add the duration for this case ,and it does not affect other TR.
Please help check which is the fine way to fix this issue.
Thanks!
Flags: needinfo?(xianmao.meng) → needinfo?(sku)
Comment 8•10 years ago
|
||
Hi Bevis:
Per offline talk, this should involve Gaia/WebIDL/Gecko fix.
Please help check if we can support this on 2.1.
Thanks!!
Shawn
Flags: needinfo?(sku) → needinfo?(btseng)
| Assignee | ||
Comment 9•10 years ago
|
||
I'll take this bug first.
Please help to set the proper blocking-b2g flag if needed. :)
Assignee: nobody → btseng
Component: Gaia::Settings → RIL
Flags: needinfo?(btseng)
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
| Assignee | ||
Comment 10•10 years ago
|
||
According to 6.4.2 GET INKEY in 3GPP TS102 223,
"
if the UICC requests a variable timeout, the terminal shall wait until either the user enters a single character or
the timeout expires. The timer starts when the text is displayed on the screen and stops when the TERMINAL
RESPONSE is sent. The terminal shall pass the total display text duration (command execution duration) to
the UICC using the TERMINAL RESPONSE. The time unit of the response is identical to the time unit of the
requested variable timeout. The timeout may be used with other options of this command.
"
In addition,
1. In current implementation, gaia will adopt the duration provided in proactive command as input timer for GET INKEY command if provided, and the |resultCode| with |NO_RESPONSE_FROM_USER| will be replied when timeout.
2. In sendStkTerminalResponse() in ril_worker.js, the |response| also contains the original proactive command for reference.
To simply support this test case without further change in Gaia, we could put the |duration| TLV in the proactive command back to the TR if |duration| in proactive command is available and the |resultCode| is equal to |NO_RESPONSE_FROM_USER|.
The minor impact for this change is in DISPLAY_TEXT because Gaia also replies NO_RESPONSE_FROM_USER when DISPLAY requires |userClear|, because |duration| TLV in TR is optional and is not provided in the proactive command of the test case 27.22.4.1.2 (DISPLAY TEXT, no response from user) in TS 102 384.
I'll provide a patch to address this fix later.
Flags: needinfo?(vchen)
| Assignee | ||
Updated•10 years ago
|
status-b2g-v2.0M:
--- → affected
status-b2g-v2.1:
--- → affected
status-b2g-v2.1S:
--- → affected
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
| Assignee | ||
Comment 11•10 years ago
|
||
This is to comply the test criteria of USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY.
That's is to send the TR with |Duration| TLV when duration is requested in the proactive command & there is no response from the user.
Hi Edgar,
May I have your review for this change?
Thanks!
Attachment #8551712 -
Flags: review?(echen)
| Assignee | ||
Comment 12•10 years ago
|
||
Put "USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY" into our test coverage. :)
Attachment #8551713 -
Flags: review?(echen)
| Assignee | ||
Updated•10 years ago
|
Attachment #8551713 -
Flags: review?(echen)
| Assignee | ||
Updated•10 years ago
|
Attachment #8551713 -
Attachment is obsolete: true
| Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8551713 [details] [diff] [review]
Part 2: Add Corresponding Test Case to Improve Test Coverage.
Put "USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY" into our test coverage.
Attachment #8551713 -
Attachment is obsolete: false
Attachment #8551713 -
Flags: review?(echen)
| Assignee | ||
Updated•10 years ago
|
Attachment #8544959 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
status-b2g-v1.4:
--- → wontfix
status-b2g-v2.0:
--- → wontfix
Comment 14•10 years ago
|
||
Comment on attachment 8551712 [details] [diff] [review]
Part 1 v1: Provide Duration TLV in TR for "USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY".
Review of attachment 8551712 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me. Thank you, Bevis.
::: dom/system/gonk/ril_worker.js
@@ +2953,5 @@
> // Command Details
> GsmPDUHelper.writeHexOctet(COMPREHENSIONTLV_TAG_COMMAND_DETAILS |
> COMPREHENSIONTLV_FLAG_CR);
> GsmPDUHelper.writeHexOctet(3);
> + if (command) {
Nice catch!!
Attachment #8551712 -
Flags: review?(echen) → review+
Updated•10 years ago
|
Attachment #8551713 -
Flags: review?(echen) → review+
| Assignee | ||
Comment 15•10 years ago
|
||
[Blocking Requested - why for this release]:
Block partner's certificate for GCF/PTCRB.
blocking-b2g: --- → 2.1?
Flags: needinfo?(sku)
Comment 16•10 years ago
|
||
Hi Steven:
Please nominate this bug as 2.1s+.
Thanks!!
Shawn
Flags: needinfo?(sku) → needinfo?(styang)
Updated•10 years ago
|
blocking-b2g: 2.1? → 2.1S+
Flags: needinfo?(styang)
Comment 17•10 years ago
|
||
Update status:
This bug is waiting on 1123204 even got r+ already.
We need this patch to be in m-c anyhow.
| Assignee | ||
Comment 18•10 years ago
|
||
Comment on attachment 8551712 [details] [diff] [review]
Part 1 v1: Provide Duration TLV in TR for "USAT case 27.22.4.2.8 GET INKEY SEQ 8.1 GET INKEY".
[Approval Request Comment]
Bug caused by (feature/regressing bug #): NA
User impact if declined: Block partner's certificate for GCF/PTCRB test cases.
Testing completed: Yes. Test case is also included.
Risk to taking this patch (and alternatives if risky): No.
String or UUID changes made by this patch:NA
Attachment #8551712 -
Flags: approval-mozilla-b2g37?
Attachment #8551712 -
Flags: approval-mozilla-b2g34?
| Assignee | ||
Comment 19•10 years ago
|
||
Comment on attachment 8551713 [details] [diff] [review]
Part 2: Add Corresponding Test Case to Improve Test Coverage.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): NA
User impact if declined: Block partner's certificate for GCF/PTCRB test cases.
Testing completed: Yes. Test case is also included.
Risk to taking this patch (and alternatives if risky): No.
String or UUID changes made by this patch:NA
Attachment #8551713 -
Flags: approval-mozilla-b2g37?
Attachment #8551713 -
Flags: approval-mozilla-b2g34?
| Assignee | ||
Comment 20•10 years ago
|
||
update try server result:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c7430c3bd2de
Keywords: checkin-needed
Comment 21•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/4ab5bff0fbdc
https://hg.mozilla.org/integration/b2g-inbound/rev/3fb08bdf5767
Flags: in-testsuite+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/4ab5bff0fbdc
https://hg.mozilla.org/mozilla-central/rev/3fb08bdf5767
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S4 (23jan)
Updated•10 years ago
|
Attachment #8551712 -
Flags: approval-mozilla-b2g37?
Attachment #8551712 -
Flags: approval-mozilla-b2g37+
Attachment #8551712 -
Flags: approval-mozilla-b2g34?
Attachment #8551712 -
Flags: approval-mozilla-b2g34+
Updated•10 years ago
|
Attachment #8551713 -
Flags: approval-mozilla-b2g37?
Attachment #8551713 -
Flags: approval-mozilla-b2g37+
Attachment #8551713 -
Flags: approval-mozilla-b2g34?
Attachment #8551713 -
Flags: approval-mozilla-b2g34+
Comment 23•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/4b8c63467dec
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/3de1176fd6e4
https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/fece3eefc5ab
https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/1aa570f8519f
Comment 24•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•