Closed Bug 1126687 Opened 10 years ago Closed 10 years ago

[FFOS2.0][Woodduck][STK]Setup Event Envelope structure is incorrect.

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.0M+, firefox36 wontfix, firefox37 wontfix, firefox38 fixed, b2g-v2.0 wontfix, b2g-v2.0M fixed, b2g-v2.1 fixed, b2g-v2.1S fixed, b2g-v2.2 fixed, b2g-master fixed)

RESOLVED FIXED
2.2 S5 (6feb)
blocking-b2g 2.0M+
Tracking Status
firefox36 --- wontfix
firefox37 --- wontfix
firefox38 --- fixed
b2g-v2.0 --- wontfix
b2g-v2.0M --- fixed
b2g-v2.1 --- fixed
b2g-v2.1S --- fixed
b2g-v2.2 --- fixed
b2g-master --- fixed

People

(Reporter: pengfei.huang.hz, Assigned: bevis)

References

Details

Attachments

(3 files, 1 obsolete file)

Attached file envelop_wrong_structure.zip (deleted) —
DEFECT DESCRIPTION:[GCF][STK]27.22.7.8.1/1 EVENT DOWNLOAD - LANGUAGE SELECTION fail in TMC REPRODUCING PROCEDURES: 1. Load a simcard to the phone which can send "event list"; 2. Execute"27.22.7.8.1/1 EVENT DOWNLOAD - LANGUAGE SELECTION" ,envelop error. EXPECTED BEHAVIOUR: 2. Execute"27.22.7.8.1/1 EVENT DOWNLOAD - LANGUAGE SELECTION" ,envelop should be ok. please refer to the attachment. reporter's phone number: 0752-2639695 ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE: For FT PR, Please list reference mobile's behavior:
Dear Mozilla, The envelope structure of Language selection command is incorrect. We can see at the log. use-Rlog/RLOG-AT: AT> AT+STKENV="D6 0B 82 02 82 81 99 01 07 2D02656E" D6 ---->Event Download tag 0B ---->length 82 02 82 81 ---->Device identities 99 01 07 2D02 656E ---->language correct envelope structure protocol: D6 0B 19 01 07 82 02 82 81 ---->Device identities 2D02 6465 ---->language and the value 91 and 19 are the same meaning. we can ignore it.
Hi Sean, Could you please help to check the problem? Thanks!
Flags: needinfo?(selee)
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Hi Pengfei, I see there are two differences in your comment 1: 1. The sequence of [19 01 07] and [82 02 82 81 ---->Device identities] is incorrect. 2. Language code difference -> [656E]"en" and [6465]"de" Should we focus on the first one only? Thank you!
Flags: needinfo?(selee) → needinfo?(pengfei.huang.hz)
Hi Sean, Sorry to remind you the language code is different due to different language we choose. They are correct behavior. We can ignore the situation below, 2. Language code difference -> [656E]"en" and [6465]"de" Thanks.
Flags: needinfo?(pengfei.huang.hz)
Hi Bevis, The sequence of [19 01 07] and [82 02 82 81 ---->Device identities] is incorrect. Could you help to take a look this issue? Thank you!
Flags: needinfo?(btseng)
Blocks: b2g-stk
blocking-b2g: --- → 2.0M?
We didn't expect that the order of the TLVs in the Envelope matters due to the nature of TLV structure. This patch is to ensure that the order of the TLVs in the STK Envelope is the same to the one specified in 3GPP standard. Hi Pengfei, Would you please give this patch a trial to see if the problem is resolved? Thanks!
Assignee: nobody → btseng
Status: NEW → ASSIGNED
Flags: needinfo?(btseng)
Attachment #8556289 - Flags: feedback?(pengfei.huang.hz)
blocking-b2g: 2.0M? → 2.0M+
Hi Bevis, Your patch correct the order of TLVs in the envelope. Resolve the problem. Many thanks.
Comment on attachment 8556289 [details] [diff] [review] Patch: Ensure the order of TLVs in STK Envelope Command is the same to the order defined in TS 11.14/TS 102 223. Per comment 7, the test case was passed after applying this patch. Hi Edgar, May I have your review for this quick fix? Thanks!
Attachment #8556289 - Flags: feedback?(pengfei.huang.hz)
Comment on attachment 8556289 [details] [diff] [review] Patch: Ensure the order of TLVs in STK Envelope Command is the same to the order defined in TS 11.14/TS 102 223. Per comment 7, the test case was passed after applying this patch. Hi Edgar, May I have your review for this quick fix? Thanks!
Attachment #8556289 - Flags: review?(echen)
Component: General → RIL
Comment on attachment 8556289 [details] [diff] [review] Patch: Ensure the order of TLVs in STK Envelope Command is the same to the order defined in TS 11.14/TS 102 223. Review of attachment 8556289 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, but I guess test_ril_worker_stk.js [1] needs a revise, too. Thank you. [1] https://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/tests/test_ril_worker_stk.js#1632-1688
Attachment #8556289 - Flags: review?(echen)
(In reply to Edgar Chen [:edgar][:echen] from comment #10) > Comment on attachment 8556289 [details] [diff] [review] > Patch: Ensure the order of TLVs in STK Envelope Command is the same to the > order defined in TS 11.14/TS 102 223. > > Review of attachment 8556289 [details] [diff] [review]: > ----------------------------------------------------------------- > > Looks good, but I guess test_ril_worker_stk.js [1] needs a revise, too. > Thank you. > > [1] > https://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/tests/ > test_ril_worker_stk.js#1632-1688 Thanks for reminding! I wasn't aware that this is also in the test coverage. :( I review the related test cases as well and update accordingly.
update test cases accordingly.
Attachment #8556900 - Flags: review?(echen)
Comment on attachment 8556899 [details] [diff] [review] Part 1: Ensure the order of TLVs in STK Envelope Command is the same to the order defined in TS 11.14/TS 102 223. r=echen Review of attachment 8556899 [details] [diff] [review]: ----------------------------------------------------------------- Thank you.
Attachment #8556899 - Flags: review?(echen) → review+
Attachment #8556900 - Flags: review?(echen) → review+
Comment on attachment 8556899 [details] [diff] [review] Part 1: Ensure the order of TLVs in STK Envelope Command is the same to the order defined in TS 11.14/TS 102 223. r=echen [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 #8556899 - Flags: approval-mozilla-b2g37?
Attachment #8556899 - Flags: approval-mozilla-b2g34?
Comment on attachment 8556900 [details] [diff] [review] Part 2: Modify Test Cases Accordingly. r=echen [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 #8556900 - Flags: approval-mozilla-b2g37?
Attachment #8556900 - Flags: approval-mozilla-b2g34?
Won't fix in v2.0 because commercial-ril is applied.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S5 (6feb)
Attachment #8556899 - Flags: approval-mozilla-b2g37?
Attachment #8556899 - Flags: approval-mozilla-b2g37+
Attachment #8556899 - Flags: approval-mozilla-b2g34?
Attachment #8556899 - Flags: approval-mozilla-b2g34+
Attachment #8556900 - Flags: approval-mozilla-b2g37?
Attachment #8556900 - Flags: approval-mozilla-b2g37+
Attachment #8556900 - Flags: approval-mozilla-b2g34?
Attachment #8556900 - Flags: approval-mozilla-b2g34+
Ryan: Can you help to uplift this changes to v2.1s? Thank you.
Flags: needinfo?(ryanvm)
"The v2.1 repos (b2g34 / v2.1) are regularly merged by the device team to the v2.1S branches. Patches with v2.1 approval should not be double-landed on 2.1 and 2.1S branches." [1] [1] https://wiki.mozilla.org/Release_Management/B2G_Landing#v2.1S
Flags: needinfo?(ryanvm) → needinfo?(jocheng)
Vincent is handling the 2.1s branch.
Hi Vincent, Could you help to check whether this patch on 2.1 also merged to 2.1S? Thanks!
Flags: needinfo?(jocheng) → needinfo?(vliu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: