Closed Bug 911652 Opened 11 years ago Closed 6 years ago

[wasabi] It took more than 1 minute to switch EVDO mode to CDMA mode

Categories

(Firefox OS Graveyard :: Vendcom, defect)

Other
Other
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
1.2 C3(Oct25)
blocking-b2g -

People

(Reporter: angelc04, Unassigned)

References

Details

(Whiteboard: [FT:RIL, POVB, ETA:10/22])

Attachments

(4 files)

Attached file adb_logat.log
Tested build: 20130830172300

Reproduce steps:
1. Start wasabi device
2. Go to settings to enable Data connection
3. Set Network Operator => Network type to "evdo" or "cdma/evdo"
   The signal bar will show 'EV'
4. Set Network Operator => Network type to "cdma"
   [issue] It will take over 1 minute for the signal bar to show '1X'
blocking-b2g: --- → koi?
This bug is tested under China Telecom.
Build info:
Gaia:     15bdabeddd1b9356ff296a6550691c1427bf2589
  B-D     2013-08-30 16:14:54
Gecko:   c3e6d00ad8f63ed64ad334b55954da36b49d16d4
BuildID   20130830172300
Version   26.0a1
Before device establishes 1x data call, the icon will still be "Ev" even it's in cdma only mode already.
Whiteboard: [FT:RIL]
Please provide the log with time stamp.(adb logcat -v time)
Flags: needinfo?(pcheng)
Flags: needinfo?
Attached file 911652.log
The start time stamp is 09-25 17:23:59.777

Thanks!
Flags: needinfo?(pcheng)
Flags: needinfo?
blocking-b2g: koi? → koi+
Whiteboard: [FT:RIL] → [FT:RIL, ETA:10/22]
Target Milestone: --- → 1.3 Sprint 3 - 10/25
Assignee: nobody → kchang
blocking-b2g: koi+ → koi?
Whiteboard: [FT:RIL, ETA:10/22] → [FT:RIL]
Target Milestone: 1.3 Sprint 3 - 10/25 → ---
blocking-b2g: koi? → koi+
Whiteboard: [FT:RIL] → [FT:RIL, ETA:10/22]
Target Milestone: --- → 1.3 Sprint 3 - 10/25
Aligning with 1.3 Sprint 3. Hence moved to 1.3?
blocking-b2g: koi+ → 1.3?
(In reply to Preeti Raghunath(:Preeti) from comment #6)
> Aligning with 1.3 Sprint 3. Hence moved to 1.3?

I don't think that argues for this being moved to 1.3? - 1.3 sprints include fixing 1.2 blockers. That's at least what both functional teams I'm working with are doing from what I can tell.
blocking-b2g: 1.3? → koi?
Hi Preeti,

Kevin use the target milestone just to represent the due date for this bug to be solved or clarified. So this is still a koi+ issue.

Thanks.
According to log.
//RIL receives a command selecting CDMA network.
09-25 17:24:35.765 I/Gecko   (  201): -*- RadioInterface[0]: 'ril.radio.preferredNetworkType' is now cdma
...
//About 991ms later, finding a CDMA network.
09-25 17:24:36.756 I/Gecko   (  201): RIL Worker[0]: signal strength: {"gsmSignalStrength":99,"gsmBitErrorRate":0,"cdmaDBM":64,"cdmaECIO":70,"evdoDBM":125,"
...
//About 308ms later, updating the network type and signal.
09-25 17:24:37.064 I/Gecko   (  201): -*- RILContentHelper: Received message 'RIL:VoiceInfoChanged': {"clientId":0,"data":{"connected":true,"emergencyCallsOnly":false,"roaming":false,"network":{"longName":"China Telecom","shortName":"China Telecom","mcc":"460","mnc":"03"},"cell":{"gsmLocationAreaCode":-1,"gsmCellId":-1,"cdmaBaseStationId":0,"cdmaBaseStationLatitude":0,"cdmaBaseStationLongitude":0,"cdmaSystemId":13824,"cdmaNetworkId":3},"type":"1xrtt","signalStrength":-64,"relSignalStrength":100,"state":"registered"}}
RIL only takes 1.299s to finish this action. 

Arthur, can you please provide comments for this bugs?
Flags: needinfo?(arthur.chen)
The system app listens to 'datachange' event of mozMobileConnection for updating the icon, is expected? Or we should listen to other events?
Flags: needinfo?(arthur.chen) → needinfo?(kchang)
(In reply to Arthur Chen [:arthurcc] from comment #10)
> The system app listens to 'datachange' event of mozMobileConnection for
> updating the icon, is expected? Or we should listen to other events?
It is fine. 
Since 10ms later, the datachange was coming.
09-25 17:24:37.074 I/Gecko   (  690): -*- RILContentHelper: Received message 'RIL:DataInfoChanged': {"clientId":0,"data":{"connected":true,"emergencyCallsOnly":false,"roaming":false,"network":{"longName":"China Telecom","shortName":"China Telecom","mcc":"460","mnc":"03"},"cell"
Flags: needinfo?(kchang)
changed milestone tag, this is originally planned for v1.2, it needs to be fixed within v1.2 scope. according to triage result, change to koi+
blocking-b2g: koi? → koi+
Target Milestone: 1.3 Sprint 3 - 10/25 → 1.2 C3(Oct25)
(In reply to Ken Chang from comment #11)
However, modem change the network type after 1 minute and 24 seconds later.
It needs partner' help to check why the status change of data network is so long. 

09-25 17:26:59.536 I/Gecko   (  201): -*- RILContentHelper: Received message 'RIL:DataInfoChanged': {"clientId":0,"data":{"connected":true,"emergencyCallsOnly":false,"roaming":false,"network":{"longName":"China Telecom","shortName":"China Telecom","mcc":"460","mnc":"03"},"cell":{"gsmLocationAreaCode":-1,"gsmCellId":-1},"type":"1xrtt","signalStrength":null,"relSignalStrength":null,"state":"registered","apn":"ctnet"}}

Francis, could you please talk to partner?
Assignee: kchang → frlee
Whiteboard: [FT:RIL, ETA:10/22] → [FT:RIL, ETA:10/22, POVB]
Hi Ken,

After Peipei’s great help running some tests, we found some crucial evidences that 932721 and 911652 may not be modem bug. I will update follow information on both bugs and remove POVB first. And please let us know any log you still need for further debugging.

1.	Bug 932721, 911652 Test step doesn’t include triggering data call after mode switch. But Android version has no such issue.
2.	Peipei run speed test after type changing and found that speed is correct but icon is wrong. (ex: after EVDO > CDMA, speed test is near 100k yet icon is EV)
3.	Both issues can be recovered by lock and unlock screen 10s after type switching. Doesn’t sound like still modem bug.
Flags: needinfo?(kchang)
Whiteboard: [FT:RIL, ETA:10/22, POVB] → [FT:RIL, ETA:10/22]
(In reply to Enpei from comment #14)
> Hi Ken,
> 
> After Peipei’s great help running some tests, we found some crucial
> evidences that 932721 and 911652 may not be modem bug. I will update follow
> information on both bugs and remove POVB first. And please let us know any
> log you still need for further debugging.
> 
> 1.	Bug 932721, 911652 Test step doesn’t include triggering data call after
> mode switch. But Android version has no such issue.
> 2.	Peipei run speed test after type changing and found that speed is correct
> but icon is wrong. (ex: after EVDO > CDMA, speed test is near 100k yet icon
> is EV)
> 3.	Both issues can be recovered by lock and unlock screen 10s after type
> switching. Doesn’t sound like still modem bug.
Interesting, can you provide a log?
Flags: needinfo?(kchang)
(In reply to Ken Chang from comment #15)
Here are the reasons that I need log.
> > 1.	Bug 932721, 911652 Test step doesn’t include triggering data call after
> > mode switch. But Android version has no such issue.
Maybe, partner does a special mechanism for the network type recovery.
> > 2.	Peipei run speed test after type changing and found that speed is correct
> > but icon is wrong. (ex: after EVDO > CDMA, speed test is near 100k yet icon
> > is EV)
If modem is in EVDO network but it doesn't notify RIL, RIL won't know the network status updated.
> > 3.	Both issues can be recovered by lock and unlock screen 10s after type
> > switching. Doesn’t sound like still modem bug.
This kind of scenario will trigger RIL to issue a request to get current network status. I think RIL can get a real network type via this request.

So I need a log to make sure proceeding assumptions are true...:)
Attached file adb logcat - 20131031
Steps:
1. Change mode from Automatic to CDMA
   Timestamp 10-31 16:20:10.732
   1x appears after about 1 minute
2. Change mode from CDMA to Automatic
   Time stamp 10-31 16:22:52.335
3. EV appears after about 50s. Change type from Automatic to CDMA again
   Time stamp: 10-31 16:23:49.928 
4. Wait for a while 1X does not appear. Lock screen
   Time stamp 10-31 16:24:55.368
5. unlock homescreen
   Time stamp 10-31 16:24:59.082 
   1x appears.
(In reply to pcheng from comment #17)
Thanks for your log. It's helpful. However, I am still sure this is the modem problem.
The following is detail comment.
https://bugzilla.mozilla.org/show_bug.cgi?id=932721#c10
based on https://bugzilla.mozilla.org/show_bug.cgi?id=932721#c12 , add POVB in whiteboard.
Whiteboard: [FT:RIL, ETA:10/22] → [FT:RIL, POVB, ETA:10/22]
We do not block on POVB issues. Hence moving to koi?
blocking-b2g: koi+ → koi?
Component: Gaia → Vendcom
Moving to minus for POVB
blocking-b2g: koi? → -
Attached file qcril_adblogcat.log
Using QCRIL build, it also take a while to switch network type from EVDO to CDMA.

Test timestamp is: 11-21 18:46:30.675
Switch network mode from EVDO to CDMA
Edgar, we may need to query network type automatically to avoid this modem problem.
Assignee: frlee → echen
As comment #22, commercial RIL also takes a while to switch preferred network from EVDO to CDMA, it seems there is nothing we can do in MOZ RIL.
Assignee: echen → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: