Closed Bug 868346 Opened 11 years ago Closed 11 years ago

[Buri][Shira-48919] Only show single brand (postpaid or prepaid) APN in list to match SIM provider

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:tef+, b2g18+)

RESOLVED WONTFIX
1.0.1 Cert2 (21may)
blocking-b2g tef+
Tracking Status
b2g18 + ---

People

(Reporter: sync-1, Assigned: gerard-majax, NeedInfo)

Details

(Whiteboard: c= Poland, IOT, Buri, u=fx-os-user c=scravag-sprint-may-20-31 p=1 [status: suggest this to be fixed on partner build only. seeking partner opinion])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #448907 +++
 
 Description: 
 On APN's list there are visible APN's for Postpaid and prepaid service (T-Mobile.pl and heyahinternet). Second APN is other brand and should not be visible for customer (if inserted card is T-Mobile card and conversely).
 
 
 Customer Impact Statement: 
 
 
 
 Expected Behaviour: 
 On APN's list should be visible only APN complies with card inserted
 
 DT Must-Fix = Launch blocker!
 
  DEFECT DESCRIPTION:
 
  REPRODUCING PROCEDURES:
 
  EXPECTED BEHAVIOUR:
 
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:
 
  For FT PR, Please list reference mobile's behavior:
 
 
 AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.080
 Firefox os  v1.0.1
 Mozilla build ID:20130418070206
 
 ++++++++++ end of initial bug #448907 description ++++++++++
 
 
 
 CONTACT INFO (Name,Phone number):
 
  DEFECT DESCRIPTION:
 
  REPRODUCING PROCEDURES:
 
  EXPECTED BEHAVIOUR:
 
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:
 
  For FT PR, Please list reference mobile's behavior:
blocking-b2g: --- → tef?
Don't understand the description of the bug, we need clear info about what is expected and what is happening. Please renominate with that information. 

I am also seeing that the build is quite old: 04.18. Can you report with a more recent build (I know you have a more recent one)
Flags: needinfo?(sync-1)
Whiteboard: [tef-triage]
We're currently listing all the available APNs on a network. Questions:

1. Does this allow a user to go into a 'roaming' state even if they could have been on their provider's network?

2. Is there a reason (from product perspective) to show all APN settings available?
Flags: needinfo?(ffos-product)
Summary: [Buri][Shira-48919] APN's list issue for TM-PL → [Buri][Shira-48919] Only show single brand (postpaid or prepaid) APN in list to match SIM provider
(In reply to lsblakk@mozilla.com from comment #2)
> 1. Does this allow a user to go into a 'roaming' state even if they could
> have been on their provider's network?

Who can answer this?  Vicamo?

> 2. Is there a reason (from product perspective) to show all APN settings
> available?

Not from my perspective.
Flags: needinfo?(ffos-product) → needinfo?(vyang)
(In reply to Peter Dolanjski [:pdol] from comment #3)
> (In reply to lsblakk@mozilla.com from comment #2)
> > 1. Does this allow a user to go into a 'roaming' state even if they could
> > have been on their provider's network?
> Who can answer this?  Vicamo?

APN list are maintained in Gaia `shared/resources/apn.json` and its elements should have the same mcc/mnc with ICC. Both T-Mobile.pl and heyahinternet have mcc/mnc 260/20. So is there any method we can have to distinguish them from each other and expose necessary information for Gaia?
Flags: needinfo?(vyang)
Based on the new description I think this a new feature. Indeed we highlighted this same problem a while ago as a similar problem is occurring for TEF with virtual operators and the decision was not supporting this in 1.0.1. I'd suggest we TEF- it
Agreed, new feature - will put this in scrum backlog.
blocking-b2g: tef? → -
tracking-b2g18: --- → +
Flags: needinfo?(sync-1)
Whiteboard: [tef-triage] → c=
(In reply to lsblakk@mozilla.com from comment #6)
> Agreed, new feature - will put this in scrum backlog.

Andreas,

would you confirm not fix is acceptable or not?

thanks
Flags: needinfo?(andreas.utrap)
Feedback from customer:

Branding is very important for us and PL marketing wants
this to be clear to customer that they are with Tmobile. Please fix this till
launch.

So I change it to tef? again.
blocking-b2g: - → tef?
anything that can be used to distinguish between prepaid and postpaid SIMs? other than MCC/MNC? thanks
Flags: needinfo?(mei.kong)
anything on the SIM i mean
To solve this you need to use some condition, for example:
If the SPN is filled, contains the name of the network HEYAH (68 65 79 61 68 )
terminal should display only APN's for HEYAH brand
If SPN is empty, terminal should only display APN's for T-Mobile.pl
Note, that this is only sugestion
Flags: needinfo?(mei.kong)
Whiteboard: c= → c= Poland, IOT, Buri
tef+ per shira carrier comment
to vicamo for now, do you think this can be fixed given comment 11? thanks
Assignee: nobody → vyang
blocking-b2g: tef? → tef+
Flags: needinfo?(vyang)
Target Milestone: --- → 1.0.1 Cert2 (28may)
(In reply to Amelie Kong from comment #11)
> To solve this you need to use some condition, for example:
> If the SPN is filled, contains the name of the network HEYAH (68 65 79 61 68)
> terminal should display only APN's for HEYAH brand
> If SPN is empty, terminal should only display APN's for T-Mobile.pl
> Note, that this is only sugestion

Could you confirm SPN names are different on SIM cards of these two brands? If it is, Gecko has already export SPN info to content through |navigator.mozMobileConnection.iccInfo.spn|, so I guess the implementation will be done in Gaia. Could you provide the SPN names displayed with these SIM cards?
Flags: needinfo?(vyang) → needinfo?(mei.kong)
Created an attachment (id=409240)
 screenshot
Attached image screenshot
Created an attachment (id=409240)
 screenshot
With simulated sim card, PLMN=26002
 
 1.SPN is empty, APN list as below:
 Diablo PB9+FP :  Internet, MMS
 Bettle Lite FF: T-mobile.pl, heyahinternet
 
 2.SPN is filled with T-Mobile, APN list as below:
 Diablo PB9+FP :  Internet, MMS
 Bettle Lite FF: T-mobile.pl, heyahinternet
 
 No matter the SPN is filled or not, on Diablo PB9+FP, Bettle Lite FF, the APN
 keeps no difference.
Please refer to comment 11.
suggest solution is:

for PLMN = 26002, we have two APN available now:  T-mobile.pl, heyahinternet .
But, we don't want them to be shown together. So please check SPN when PLMN = 26002,
(1)if SPN = HEYAH (68 65 79 61 68 ), only show "heyahinternet"
(2)If no SPN  , only show "T-mobile.pl"
Flags: needinfo?(mei.kong)
this requires a gaia fix, unassign from vicamo
Assignee: vyang → nobody
Whiteboard: c= Poland, IOT, Buri → c= Poland, IOT, Buri, u=fx-os-user c=may-20-31 p=1
Whiteboard: c= Poland, IOT, Buri, u=fx-os-user c=may-20-31 p=1 → c= Poland, IOT, Buri, u=fx-os-user c=scravag-sprint-may-20-31 p=1
(In reply to Amelie Kong from comment #17)

SPN information is not considered for showing the APN settings for the SIM inserted. We could use that info for filtering better and showing only the APN settings whose `carrier` property value matches the carrier name in the SPN ICC card field but I'm afraid the `carrier` property value from the `apn.json` database could mismatch and we would run into a problem and no APN settings will be showed. 

> Please refer to comment 11.
> suggest solution is:
> 
> for PLMN = 26002, we have two APN available now:  T-mobile.pl, heyahinternet
> .
> But, we don't want them to be shown together. So please check SPN when PLMN
> = 26002,
> (1)if SPN = HEYAH (68 65 79 61 68 ), only show "heyahinternet"
> (2)If no SPN  , only show "T-mobile.pl"

IMHO we should provide general solutions to problems in upstream code, and the solution you provide is quite specific for this case. For example, AOSP does the same I mean it shows all the APN setting matching MCC/MNC codes in the APN database.

IHMO I would resolve this bug as WONTFIX because this behavior don't seen wrong to me in the reference implementation. It seems this bug fits better for branding stuff.
Assignee: nobody → lissyx+mozillians
On Android, it displays the full list, in a similar manner as what is reported as a bug here.
Daniel, what should we do, since Android does the same ?
Flags: needinfo?(dcoloma)
As jaoo commented in comment 19 we don't believe this is a bug but a customisation request. The current solution is the expected solution for a generic Operating System. If the MCC/MNC pair can be used with multiple combinations, it is logical to expose all of them to the user so he can select the right one. I think anything beyond that should be part of vendor/partner customisation, but not part of the mainstream. 

Triagers (lsblakk and myself) already marked this as tef-. It was Joe Cheng who marked it as tef+ despite our recommendation, so I think he should be the one deciding how to move forward on this thing. My recommendation is to make this Part of Vendor Build so that vendors can do it based on their partner requests.

Maybe Kaze can also shed some light here.
Flags: needinfo?(dcoloma) → needinfo?(kaze)
Last time we met, jaoo and I had a talk about the case where one MCC/MNC pair matches several APN items. We concluded that the best we could do was to check the SIM card SPN info and do a fuzzy match to *pre-select* the APN item (from the apn.json list) that is the most likely to be the one in the SIM card.

This method should cover /most/ cases, but it certainly won’t work in /all/ cases (as jaoo wrote in comment #19); that’s one of the reasons why we need to show the list of matching APN items.

(In reply to Amelie Kong from comment #11)
> To solve this you need to use some condition, for example:
> If the SPN is filled, contains the name of the network HEYAH (68 65 79 61 68)
> terminal should display only APN's for HEYAH brand
> If SPN is empty, terminal should only display APN's for T-Mobile.pl
> Note, that this is only sugestion

I agree with Daniel that it’s not a suitable approach for a generic OS, that’s why we propose to just pre-select the proper APN. I think this method would address the concerns for this specific case: the match should be fine, which means that the device will be connected as soon as it boots on this SIM card without any pre-configuration — and I doubt any user will look further in the APN settings to change something that works.
Flags: needinfo?(kaze)
Amelie, are you able to make the change as a customization on your build? thanks
Flags: needinfo?(mei.kong)
Whiteboard: c= Poland, IOT, Buri, u=fx-os-user c=scravag-sprint-may-20-31 p=1 → c= Poland, IOT, Buri, u=fx-os-user c=scravag-sprint-may-20-31 p=1 [status: suggest this to be fixed on partner build only. seeking partner opinion]
OK, we can take it.
Flags: needinfo?(mei.kong)
(In reply to Amelie Kong from comment #25)
> OK, we can take it.

So I unassign myself from this bug?
(In reply to Alexandre LISSY :gerard-majax from comment #26)
> (In reply to Amelie Kong from comment #25)
> > OK, we can take it.
> 
> So I unassign myself from this bug?

I think so and even to resolve this bug as WONTFIX. Am I right?
David told me he will look into retriage this.
No need to retriage. WONTFIX as per comment 24 and 25
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: