Closed Bug 1013153 Opened 10 years ago Closed 10 years ago

[OPEN C_1.3] APN and mvno type/data

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S5 (4july)

People

(Reporter: zhao.yongliang1, Assigned: jessica)

Details

(Whiteboard: [p=1])

Attachments

(2 files)

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; Zune 4.7; TCO_20140520101033)

Steps to reproduce:

there are two APNs configured as following,
"204": {
  "12": [
    {"carrier":"AH Mobile Internet","apn":"multimedia.ah.nl","mmsc":"http://mms","mmsproxy":"193.113.200.195","mmsport":"8080","type":["default","supl","mms"],"mvno_match_data":"AH Mobiel","mvno_type":"spn"},
    {"carrier":"Telfort Mobiel Internet","apn":"internet","mmsc":"http://mms","mmsproxy":"193.113.200.195","mmsport":"8080","type":["default","supl","mms"],"mvno_match_data":"NL Telfort","mvno_type":"spn"}
  ],




Actual results:

When SIM card with SPN "AH Mobiel" is used, the APN corresponding to this card is not selected by default. There is two APNs shown at setting and user must select it manually.


Expected results:

The right APN is selected by default.
We only support imsi matching for now, we shall support spn matching in the near future.
I'll work on this these days.
Assignee: nobody → jjong
Component: General → RIL
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Hi Hsinyi, we are adding support for mvno type 'spn' in matchMvno() function. May I have your review? Thanks.
Attachment #8448591 - Flags: review?(htsai)
Comment on attachment 8448591 [details] [diff] [review]
Part 1: support mvno type 'spn' in matchMvno() function, v1.

Review of attachment 8448591 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #8448591 - Flags: review?(htsai) → review+
Comment on attachment 8448592 [details] [diff] [review]
Part 2: test cases for mvno type 'spn', v1.

Review of attachment 8448592 [details] [diff] [review]:
-----------------------------------------------------------------

Nice, thank you!
Attachment #8448592 - Flags: review?(htsai) → review+
Target Milestone: --- → 2.0 S5 (4july)
https://hg.mozilla.org/mozilla-central/rev/e71a17dfed28
https://hg.mozilla.org/mozilla-central/rev/92e92c0cd987
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [p=1]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: