Closed
Bug 984245
Opened 11 years ago
Closed 11 years ago
[Sora][Browser] the defualt value of the "Network type" is "GSM preferred"
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect, P2)
Firefox OS Graveyard
Gaia::Settings
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 975265
People
(Reporter: sync-1, Unassigned)
Details
(Whiteboard: [perf-reviewed])
DEFECT DESCRIPTION:
the defualt value of the "Network type" is "GSM perferred"
REPRODUCING PROCEDURES:
1."settings"->"Cellular & Data"->"Network operator"->"Network type"->
2.the defualt value is "GSM perferrd"---->KO
note: phenomenon of Beetle lite FF and soul3.5 FF is not the same,the value is "automatic" in Beetle lite FF
EXPECTED BEHAVIOUR:
the defualt value is "WCDMA perferrd"
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
telephone:021-51790200-7528
Mail:chunmei.zhang.com
Microsoft Lync:chunmei.zhang.com
REPRODUCING RATE:
100%
For FT PR, Please list reference mobile's behavior:
Comment 1•11 years ago
|
||
Dear developer,
When gaia got 'wcdma/gsm-auto' from lower layer, it displays "gsm prefer" to user. Is that alright? Can you explain it to me? Thanks!
More detail:
The value we get from QCT RIL is:
PREF_NET_TYPE_GSM_WCDMA_AUTO = 3, /* GSM/WCDMA (auto mode, according to PRL) */
However, in Gaia, we map this value to the string: GSM preferred. So our partner is wondering why GSM/WCDMA auto mode can map to GSM preferred?
Component: Gaia::Settings → RIL
Comment 3•11 years ago
|
||
(In reply to Vance Chen [:vchen][vchen@mozilla.com] from comment #2)
> More detail:
>
> The value we get from QCT RIL is:
>
> PREF_NET_TYPE_GSM_WCDMA_AUTO = 3, /* GSM/WCDMA (auto mode,
> according to PRL) */
>
> However, in Gaia, we map this value to the string: GSM preferred. So our
> partner is wondering why GSM/WCDMA auto mode can map to GSM preferred?
Edgar - Do you know?
Flags: needinfo?(echen)
Comment 4•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #3)
> (In reply to Vance Chen [:vchen][vchen@mozilla.com] from comment #2)
> > More detail:
> >
> > The value we get from QCT RIL is:
> >
> > PREF_NET_TYPE_GSM_WCDMA_AUTO = 3, /* GSM/WCDMA (auto mode,
> > according to PRL) */
> >
> > However, in Gaia, we map this value to the string: GSM preferred. So our
> > partner is wondering why GSM/WCDMA auto mode can map to GSM preferred?
>
> Edgar - Do you know?
Hi Arthur, the wording seems not correct, could you help to check the Gaia side? Thank you.
Flags: needinfo?(echen) → needinfo?(arthur.chen)
Comment 5•11 years ago
|
||
On GSM devices, '2G preferred' is used for the type 'wcdma/gsm-auto`. On GSM & CDMA dual mode devices, 'GSM preferred' is used for the type. The string simply follows the same rule.
I was wondering does PREF_NET_TYPE_GSM_WCDMA_AUTO map to wcdma/gsm-auto?
Flags: needinfo?(arthur.chen)
Updated•11 years ago
|
Component: RIL → Gaia::Settings
Comment 6•11 years ago
|
||
Dear Mozilla,
I got this comment from qualcomm:
//start-------------------
Dear customer:
It is not GSM prefer, it is auto, device will acqure network according RPLMNN ACQ ORDER and HPLMN ACQ ORDER in sim card.
Thanks
Created By: xiaokang chen (3/16/2014 8:19 PM)
PREF_NET_TYPE_GSM_WCDMA_AUTO = 3, /* GSM/WCDMA (auto mode, according to PRL) */
What is PRL, gaia display this type as "gsm prefer", did that alright? What we shall display to user about this type?
Thanks a lot!
//-------------------end
what do you think?
(In reply to Arthur Chen [:arthurcc] from comment #5)
> On GSM devices, '2G preferred' is used for the type 'wcdma/gsm-auto`. On GSM
The wording here is strange too since a GSM device cannot camp on WCDMA, so why use '2G preferred'? why not just "2G Only"
> & CDMA dual mode devices, 'GSM preferred' is used for the type. The string
> simply follows the same rule.
>
> I was wondering does PREF_NET_TYPE_GSM_WCDMA_AUTO map to wcdma/gsm-auto?
Comment 8•11 years ago
|
||
Sorry, I meant GSM/WCDMA devices. If the device only supports the type 'gsm', it displays only the '2G only' option.
Comment 9•11 years ago
|
||
Now gecko maps PREF_NET_TYPE_GSM_WCDMA=0 to "wcdma/gsm" and PREF_NET_TYPE_GSM_WCDMA_AUTO=3 to 'wcdma/gsm-auto' [1].
And according to the comments in ril.h [2],
----
PREF_NET_TYPE_GSM_WCDMA = 0, /* GSM/WCDMA (WCDMA preferred) */
..
PREF_NET_TYPE_GSM_WCDMA_AUTO = 3, /* GSM/WCDMA (auto mode, according to PRL) */
----
Use wording "WCDMA Preferred" for "wcdma/gsm" and "Automatically" for "wcdma/gsm-auto" seems more correctly.
Thank you.
[1] http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_consts.js?from=ril_consts.js&case=true#406-431
[2] https://github.com/mozilla-b2g/platform_hardware_ril/blob/master/include/telephony/ril.h#L111-L114
Comment 10•11 years ago
|
||
As we already have another patch dealing the string issue (bug 975265), I'll modify the strings as comment 9 suggested there.
Updated•11 years ago
|
Summary: [Sora][Browser] the defualt value of the "Network type" is "GSM perferred" → [Sora][Browser] the defualt value of the "Network type" is "GSM preferred"
Whiteboard: [perf-reviewed]
Comment 11•11 years ago
|
||
Fixed in bug 975265.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•