Closed
Bug 909741
Opened 13 years ago
Closed 13 years ago
[B2G][Helix][Gecko & RIL][Baoqing Wu]The command named SET_PREFERRED_NETWORK_TYPE in gecko is error
Categories
(Firefox OS Graveyard :: General, defect, P1)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: lecky.wanglei, Unassigned)
Details
(Whiteboard: [com_ril])
Attachments
(1 file, 1 obsolete file)
|
66.04 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130814063812
Steps to reproduce:
1.settings----Cellular & Data-----Network operator----Network type change it to 2G only.
2. restart the phone and capture the log.
Actual results:
2. From the log,you will see:
I/Gecko ( 159): -*- QCContentHelper_QC_B2G: Read ril.radio.disabled, setRadioEnabled(true)
I/Gecko ( 159): -*- QCContentHelper_QC_B2G: 'ril.radio.preferredNetworkType' is now wcdma
D/RIL_QC_B2G( 159): [0001]> SET_PREFERRED_NETWORK_TYPE (2)
D/RIL_QC_B2G( 159): [0002]> SCREEN_STATE 1
D/RIL_QC_B2G( 159): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED {1}
D/RIL_QC_B2G( 159): [0000]< SCREEN_STATE fails by RadioNotAvailable(1)
D/RIL_QC_B2G( 159): [0001]< SET_PREFERRED_NETWORK_TYPE fails by RadioNotAvailable(1)
I think that the command(SET_PREFERRED_NETWORK_TYPE) is send early, and it should be send after the RIL is ready.
Expected results:
2. the SET_PREFERRED_NETWORK_TYPE is right.
Attachment #796016 -
Attachment is obsolete: true
Comment 3•13 years ago
|
||
Hi:
As we can see, this SET_PREFERRED_NETWORK_TYPE is the first command issued after RIL socket connected.
As lecky said, SET_PREFERRED_NETWORK_TYPE is requested too early. some modem can *not* handle it when LPM.
The suggestion is to trigger SET_PREFERRED_NETWORK_TYPE when radio is ready, (and only trigger once to avoid impact network camping)
D/RIL_QC_B2G( 159): [UNSL]< UNSOL_RIL_CONNECTED {6}
D/RIL_QC_B2G( 159): [0001]> SET_PREFERRED_NETWORK_TYPE (2)
D/RIL_QC_B2G( 159): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED {1}
D/RIL_QC_B2G( 159): [0001]< SET_PREFERRED_NETWORK_TYPE fails by RadioNotAvailable(1)
D/PHONE_QC_B2G( 159): Radio state is (null)
D/PHONE_QC_B2G( 159): Radio state is off
D/PHONE_QC_B2G( 159): Radio state is ready
Thanks!!
sku
Updated•13 years ago
|
Whiteboard: [com_ril]
Hi I have fixed it.
I modify that the SET_PREFERRED_NETWORK_TYPE command would be send after the state of radio is RADIO_STATE_ON.
Thansk.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•