Closed
      
        Bug 1015821
      
      
        Opened 11 years ago
          Closed 11 years ago
      
        
    
  
[Tarako] Incorrect roaming status. 
    Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(blocking-b2g:1.3T+, b2g-v1.3T fixed, b2g-v1.4 wontfix, b2g-v2.0 wontfix)
        RESOLVED
        FIXED
        
    
  
| blocking-b2g | 1.3T+ | 
People
(Reporter: sku, Assigned: sku)
Details
(Whiteboard: [sprd313108])
Attachments
(1 file, 4 obsolete files)
| 
        
        
         6.46 KB,
          patch         
       | 
      
           sku
 :
              
              review+
           | 
      Details | Diff | Splinter Review | 
SIM IMSI: 404971038529451
Device camp on 404-10
There is no 404-10 in EF_SPDI. And EF_SPN is with alphatag : airtel, display condition 0.
RadioInterface will revert roaming status after function checkRoamingBetweenOperators (see [1]) which is claim as wrong behavior from partner.
[1] - http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/RadioInterfaceLayer.js?from=RadioInterfaceLayer.js&case=true#2373
01-23 06:52:09.470    85   323 I Gecko   : RIL Worker: [0] SPDI: SPDI service is not available
01-23 06:52:10.900    85   323 I Gecko   : RIL Worker: [0] SPN: spn = airtel, spnDisplayCondition = 0
...
05-15 11:07:55.532    96   346 D RILC    : [0088]< VOICE_REGISTRATION_STATE {5,eb,8bd0,2,(null),(null),(null),0,(null),(null),(null),(null),(null),(null),(null)}
05-15 11:07:55.672    96   346 D RILC    : [0097]< OPERATOR {AirTel,AirTel,40410}
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: longName =airtel
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: shortName =airtel
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: equalsLongName =true
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: equalsShortName =true
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: equalsMcc =true
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: registration.roaming =false
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: longName =airtel
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: shortName =airtel
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: equalsLongName =true
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: equalsShortName =true
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: equalsMcc =true
05-15 11:07:55.792    85    85 I Gecko   : -*- RadioInterface[0]: checkRoamingBetweenOperators: registration.roaming =false
| Assignee | ||
          Comment 1•11 years ago
           
         | 
      ||
| Assignee | ||
          Comment 2•11 years ago
           
         | 
      ||
AOSP (4.2) did similar check, but no any case conversion for long/short name.
That's why reference phone did not have such symptom.
https://code.google.com/p/android-source-browsing/source/browse/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java?repo=platform--frameworks--base&name=ics-plus-aosp&r=429dad687bcb5f00587e8b91b3a614502907aaa1#1205
| Assignee | ||
          Comment 3•11 years ago
           
         | 
      ||
Hi Alexandre:
 Could you please help recall the memory of [1]?
1. Check if we still hit issue on newer device w/o checkRoamingBetweenOperators?
2. AOSP did the same check, but w/o any case conversion, can I know why we need "operator.longName.toLowerCase();" and "operator.shortName.toLowerCase()" in the function? 
[1] - http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/RadioInterfaceLayer.js?from=RadioInterfaceLayer.js&case=true#2367
Flags: needinfo?(lissyx+mozillians)
          Comment 4•11 years ago
           
         | 
      ||
(In reply to shawn ku [:sku] from comment #3)
> Hi Alexandre:
>  Could you please help recall the memory of [1]?
> 
> 1. Check if we still hit issue on newer device w/o
> checkRoamingBetweenOperators?
> 2. AOSP did the same check, but w/o any case conversion, can I know why we
> need "operator.longName.toLowerCase();" and
> "operator.shortName.toLowerCase()" in the function? 
> 
> 
> [1] -
> http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/
> RadioInterfaceLayer.js?from=RadioInterfaceLayer.js&case=true#2367
My original patch did not include any case handling. This change has been done in http://hg.mozilla.org/mozilla-central/diff/1602ef5c86e2/dom/system/gonk/RadioInterfaceLayer.js for bug 797972.
Flags: needinfo?(lissyx+mozillians)
| Assignee | ||
          Comment 5•11 years ago
           
         | 
      ||
(In reply to Alexandre LISSY :gerard-majax from comment #4)
> (In reply to shawn ku [:sku] from comment #3)
> > Hi Alexandre:
> >  Could you please help recall the memory of [1]?
> > 
> > 1. Check if we still hit issue on newer device w/o
> > checkRoamingBetweenOperators?
> > 2. AOSP did the same check, but w/o any case conversion, can I know why we
> > need "operator.longName.toLowerCase();" and
> > "operator.shortName.toLowerCase()" in the function? 
> > 
> > 
> > [1] -
> > http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/
> > RadioInterfaceLayer.js?from=RadioInterfaceLayer.js&case=true#2367
> 
> My original patch did not include any case handling. This change has been
> done in
> http://hg.mozilla.org/mozilla-central/diff/1602ef5c86e2/dom/system/gonk/
> RadioInterfaceLayer.js for bug 797972.
Thanks!! Alexandre.
Hi shawn,
so the issue could be fixed if we don't use toLowerCase ?
          Updated•11 years ago
           
         | 
      
Whiteboard: [sprd313108]
          Updated•11 years ago
           
         | 
      
| Assignee | ||
          Comment 7•11 years ago
           
         | 
      ||
Flags: needinfo?(sku)
| Assignee | ||
          Comment 8•11 years ago
           
         | 
      ||
Hi Sam:
 Could you please apply the patch to tarako, and request a trial in India?
(Moz will work on m-c/1.4 patch)
Thanks!!
Shawn Ku
Flags: needinfo?(sam.hua)
          Updated•11 years ago
           
         | 
      
blocking-b2g: 1.3T? → 1.3T+
          Comment 9•11 years ago
           
         | 
      ||
hi Shawn, since you are working on this do you mind taking? thanks
Flags: needinfo?(sku)
          Comment 10•11 years ago
           
         | 
      ||
ni? James Zhang
it seems like this bug is closed on your bug system. can you please confirm? is this still needed for tarako? thanks
Flags: needinfo?(james.zhang)
          Updated•11 years ago
           
         | 
      
blocking-b2g: 1.3T+ → 1.3T?
| Assignee | ||
          Comment 11•11 years ago
           
         | 
      ||
Hi Joe:
 I can surely take this bug, however, two test cases will be impacted on m-c trunk.
gecko/dom/mobileconnection/tests/marionette/test_mobile_operator_names_roaming.js
gecko/dom/mobileconnection/tests/marionette/test_mobile_data_state.js
if partner needs patch urgently, they can pick from "[unofficial WIP] Patch".
Thanks!!
Shawn
Flags: needinfo?(sku)
          Comment 12•11 years ago
           
         | 
      ||
(In reply to shawn ku [:sku] from comment #11)
> 
> if partner needs patch urgently, they can pick from "[unofficial WIP] Patch".
Let's see what is James' response. If this is the conclusion, let's use this bug to land this short term solution. I will file another bug for long term solution. Thanks.
          Comment 13•11 years ago
           
         | 
      ||
(In reply to Joe Cheng [:jcheng] from comment #10)
> ni? James Zhang
> it seems like this bug is closed on your bug system. can you please confirm?
> is this still needed for tarako? thanks
We land WIP patch on our side to close bug.
But I think you'd better land it on v1.3t.
Flags: needinfo?(james.zhang)
          Comment 14•11 years ago
           
         | 
      ||
yes, it passed the test in India,
please merge it into v1.3t and V1.4.
Thanks!
Flags: needinfo?(sam.hua) → needinfo?(sku)
          Comment 15•11 years ago
           
         | 
      ||
1.3T+, hi Shawn, let's land this on 1.3T. thanks
Assignee: nobody → sku
blocking-b2g: 1.3T? → 1.3T+
          Comment 16•11 years ago
           
         | 
      ||
we need it fixed in v1.4 too.
          Comment 17•11 years ago
           
         | 
      ||
(In reply to Joe Cheng [:jcheng] from comment #15)
> 1.3T+, hi Shawn, let's land this on 1.3T. thanks
Does SPRD friends own a full control for 1.3T? 
Because this is a short term solution, we don't want to spend a lot of time in this. We will try to find a long term solution for this. But the long term solution won't be provided in few weeks.
          Comment 18•11 years ago
           
         | 
      ||
yes, do you mean our partner can just land the short term solution provided and close this bug?
can we still do a review of the patch? Thanks
          Comment 19•11 years ago
           
         | 
      ||
(In reply to Joe Cheng [:jcheng] from comment #18)
> can we still do a review of the patch? Thanks
Sure.
Shawn, would you please upload an official patch for this bug? Edgar can help to review it.
| Assignee | ||
          Comment 20•11 years ago
           
         | 
      ||
I will provide 1.3t patch by 6/5.
For 1.4/m-c, we still need more discuss due to comment 11.
Flags: needinfo?(sku)
| Assignee | ||
          Comment 21•11 years ago
           
         | 
      ||
        Attachment #8429040 -
        Attachment is obsolete: true
| Assignee | ||
          Updated•11 years ago
           
         | 
      
        Attachment #8434727 -
        Flags: review?(echen)
          Comment 22•11 years ago
           
         | 
      ||
Comment on attachment 8434727 [details] [diff] [review]
[1.3t] Bug 1015821 - [Tarako] Incorrect roaming status.
Review of attachment 8434727 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me, thank you.
        Attachment #8434727 -
        Flags: review?(echen) → review+
| Assignee | ||
          Comment 23•11 years ago
           
         | 
      ||
try is green - https://tbpl.mozilla.org/?tree=Try&rev=14bc5c75c237
          Comment 25•11 years ago
           
         | 
      ||
but v1.4 also need it
| Assignee | ||
          Comment 26•11 years ago
           
         | 
      ||
        Attachment #8428488 -
        Attachment is obsolete: true
        Attachment #8428489 -
        Attachment is obsolete: true
        Attachment #8434727 -
        Attachment is obsolete: true
        Attachment #8434748 -
        Flags: review+
| Assignee | ||
          Updated•11 years ago
           
         | 
      
Keywords: checkin-needed
| Assignee | ||
          Comment 27•11 years ago
           
         | 
      ||
(In reply to sam.hua from comment #25)
> but v1.4 also need it
Sam, 1.4 and m-c will be tracked on Bug 1020824.
          Updated•11 years ago
           
         | 
      
          status-b2g-v1.4:
          --- → wontfix
          status-b2g-v2.0:
          --- → wontfix
          Comment 28•11 years ago
           
         | 
      ||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
          Updated•11 years ago
           
         | 
      
Keywords: checkin-needed
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•