Closed
Bug 1160123
Opened 10 years ago
Closed 10 years ago
Improve network selection choices
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
2.2 S12 (15may)
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
Details
(Whiteboard: [systemsfe])
Attachments
(1 file, 3 obsolete files)
4.93 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
I would like to make my device only select LTE and H+ networks, but this is not exposed in Settings app.
As far as I understand, this is coming from gecko, from the RIL_PREFERRED_NETWORK_TYPE_TO_GECKO: https://hg.mozilla.org/mozilla-central/annotate/4b9b12c248dc/dom/system/gonk/ril_consts.js#l405
However, in ril.h, I do see other entries in the RIL_PreferredNetworkType enum, like LTE_WCDMA: https://www.codeaurora.org/cgit/quic/la/platform/hardware/ril/tree/include/telephony/ril.h?h=b2g_kk_3.5#n138
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8599848 -
Flags: feedback?(htsai)
Attachment #8599848 -
Flags: feedback?(arthur.chen)
Assignee | ||
Updated•10 years ago
|
Attachment #8599847 -
Flags: feedback?(htsai)
Attachment #8599847 -
Flags: feedback?(echen)
Assignee | ||
Comment 3•10 years ago
|
||
It seems to be doing the job on my Z3 Compact build
Assignee | ||
Comment 4•10 years ago
|
||
Works as expected: LTE and H+ are working, and no EDGE gets connected :)
Comment 5•10 years ago
|
||
Comment on attachment 8599847 [details] [diff] [review]
auto-lte-wcdma.gecko.patch
Review of attachment 8599847 [details] [diff] [review]:
-----------------------------------------------------------------
"PREF_NET_TYPE_LTE_WCDMA" is also included in AOSP 5.0.0 standard [1] (RIL version 10).
Thank you, Alexandre!!
[1] https://github.com/android/platform_hardware_ril/commit/0e09487471b09e45b5fc1b1588a600f35157079a
Attachment #8599847 -
Flags: feedback?(htsai)
Attachment #8599847 -
Flags: feedback?(echen)
Attachment #8599847 -
Flags: feedback+
Comment 6•10 years ago
|
||
Comment on attachment 8599848 [details] [diff] [review]
auto-lte-wcdma.gaia.patch
Review of attachment 8599848 [details] [diff] [review]:
-----------------------------------------------------------------
The patch is looking good to me, thanks. However, there is a new string regarding certificate added and I believe it should not be included in this patch.
::: apps/settings/locales/settings.en-US.properties
@@ +124,4 @@
> enterCertificateNickname=Enter certificate nick name
> nickname=Nick name
> enter-certificate-name-msg=You can change the nick name or keep the default name.
> +enterCertificatePassowrd=Enter certificate password
Is this intentional?
Attachment #8599848 -
Flags: feedback?(arthur.chen) → feedback+
Comment 7•10 years ago
|
||
Comment on attachment 8599848 [details] [diff] [review]
auto-lte-wcdma.gaia.patch
I believe Arthur's feedback is enough.
Attachment #8599848 -
Flags: feedback?(htsai)
Assignee | ||
Comment 8•10 years ago
|
||
No Arthur, you're right, it's a leak from another patch I was trying :)
Assignee | ||
Comment 9•10 years ago
|
||
Edgar, Hsin-Yi, where should I add test case for the Gecko part of this ?
Flags: needinfo?(htsai)
Flags: needinfo?(echen)
Assignee | ||
Comment 10•10 years ago
|
||
Arthur, which tests should I add for the Gaia part of this?
Flags: needinfo?(arthur.chen)
Comment 11•10 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #9)
> Edgar, Hsin-Yi, where should I add test case for the Gecko part of this ?
Hi Alexandre, this is the test case you'd like to enhance.
https://dxr.mozilla.org/mozilla-central/source/dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type.js?from=test_mobile_preferred_network_type.js&case=true#26
Thank you!
Flags: needinfo?(htsai)
Assignee | ||
Comment 13•10 years ago
|
||
FYI I cannot trigger any try request for now because of bug 1163609. This has
been running fine on both my Z3 Compact devices for several days now.
Attachment #8599847 -
Attachment is obsolete: true
Attachment #8604115 -
Flags: review?(htsai)
Comment 14•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8604123 -
Flags: review?(arthur.chen)
Assignee | ||
Updated•10 years ago
|
Attachment #8599848 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(arthur.chen)
Assignee | ||
Comment 15•10 years ago
|
||
Comment 16•10 years ago
|
||
Comment on attachment 8604123 [details] [review]
[gaia] lissyx:bug1160123 > mozilla-b2g:master
r=me with the comment addressed, thanks!
Attachment #8604123 -
Flags: review?(arthur.chen) → review+
Comment 17•10 years ago
|
||
Comment on attachment 8604115 [details] [diff] [review]
Add support for LTE/WCDMA only network selection
Review of attachment 8604115 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you.
Attachment #8604115 -
Flags: review?(htsai) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 18•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Comment 19•10 years ago
|
||
Moving to the settings component to get this landed. Might need to add checkin-needed afer this lands for the gecko part as well.
Component: RIL → Gaia::Settings
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 20•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/17406612b349d3ba877dbf20bc3ec42bf77a8b2b
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 21•10 years ago
|
||
Now checkin-needed for Gecko part
Assignee: nobody → lissyx+mozillians
Status: RESOLVED → REOPENED
Component: Gaia::Settings → RIL
Keywords: checkin-needed
Resolution: FIXED → ---
Updated•10 years ago
|
Keywords: checkin-needed
Comment 22•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Comment 23•10 years ago
|
||
Comment on attachment 8604123 [details] [review]
[gaia] lissyx:bug1160123 > mozilla-b2g:master
I am going to obsolete this for the time being to keep checkin-needed for the gecko patch. (We can un-obsolete it afterwards most likely)
Attachment #8604123 -
Attachment is obsolete: true
Comment 25•10 years ago
|
||
Keywords: checkin-needed
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S12 (15may)
Updated•10 years ago
|
Whiteboard: [systemsfe]
You need to log in
before you can comment on or make changes to this bug.
Description
•