Closed Bug 952043 Opened 11 years ago Closed 11 years ago

[B2G] [Gecko] To provide the network types supported by platform for Gaia.

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, firefox27 wontfix, firefox28 fixed, firefox29 fixed, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)

RESOLVED FIXED
1.3 C2/1.4 S2(17jan)
blocking-b2g 1.3+
Tracking Status
firefox27 --- wontfix
firefox28 --- fixed
firefox29 --- fixed
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed

People

(Reporter: kchang, Assigned: edgar)

References

Details

Attachments

(4 files, 8 obsolete files)

(deleted), patch
edgar
: review+
Details | Diff | Splinter Review
(deleted), patch
edgar
: review+
Details | Diff | Splinter Review
(deleted), patch
edgar
: review+
Details | Diff | Splinter Review
(deleted), patch
edgar
: review+
Details | Diff | Splinter Review
Currently, Firefox has supported WCDMA and CDMA. However, we don't know which network capabilities HW platform supports. We need a method to tell Gaia which network capabilities current platform supports. Then Gaia can decide to show which network types for users.
Edgar, please take this bug. You can discuss with Marco to know from which ro. we can get the network capabilities. Thanks.
Assignee: nobody → echen
Blocks: 950185
Maybe |supportedTypes| or |availableTypes| as an array under |mozMobileConnection[n].{voice|data}|?
blocking-b2g: --- → 1.3?
Blocks: 951764
We also need to consider the LTE.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #2)
> Maybe |supportedTypes| or |availableTypes| as an array under
> |mozMobileConnection[n].{voice|data}|?

Array is a good idea. But currently we don't support set preferredType for data or voice individually [1], it seems we don't need to have separated |supportedNetworkTypes| for voice/data.

So my idea is having |mozMobileConnections[x].supportedNetworkTypes| as an array indicating the HW capabilities,
for example,
- Support gsm only = > ['gsm']
- Support gsm + wcdma => ['gsm', 'wcdma']
- Support 1xrtt + evdo => ['cdma', 'evdo']
- World phone => ['gsm', 'wcdma', 'cdma', 'evdo']
- Support 1xrtt + lte => ['cdma', 'lte'] 
- World phone + lte => ['gsm', 'wcdma', 'cdma', 'evdo', 'lte']

Tim, Hsinyi, how does this sound?

Thank you

[1] https://github.com/android/platform_hardware_ril/blob/master/include/telephony/ril.h#L2773
Flags: needinfo?(timdream)
Flags: needinfo?(htsai)
I proposed to put the |supportedTypes| under {voice|data} out of idea of symmetry, since |type| is under them; also, I am not sure if we will ever encounter a porting target where {voice|data} utilizes different support types. If that's not possible at all put it under |mozMobileConnection[n]| should be fine.
Flags: needinfo?(timdream)
(In reply to Edgar Chen [:edgar][:echen] from comment #4)
> - Support gsm only = > ['gsm']
> - Support gsm + wcdma => ['gsm', 'wcdma']
> - Support 1xrtt + evdo => ['cdma', 'evdo']
> - World phone => ['gsm', 'wcdma', 'cdma', 'evdo']
> - Support 1xrtt + lte => ['cdma', 'lte'] 
> - World phone + lte => ['gsm', 'wcdma', 'cdma', 'evdo', 'lte']

I also wonder if we want to expose the combination capabilities here too. For example, for a world phone, it's possible to switch to gsm+wcdma mode or cdma+evdo phone, but it's not possible to switch to gsm+cdma. We also need these strings for setting the mozSettings entry on user perfered network type. This is probably not something needed in this bug but it's something worthy to think about in the future.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #6)
> (In reply to Edgar Chen [:edgar][:echen] from comment #4)
> > - Support gsm only = > ['gsm']
> > - Support gsm + wcdma => ['gsm', 'wcdma']
> > - Support 1xrtt + evdo => ['cdma', 'evdo']
> > - World phone => ['gsm', 'wcdma', 'cdma', 'evdo']
> > - Support 1xrtt + lte => ['cdma', 'lte'] 
> > - World phone + lte => ['gsm', 'wcdma', 'cdma', 'evdo', 'lte']
> 
> I also wonder if we want to expose the combination capabilities here too.
> For example, for a world phone, it's possible to switch to gsm+wcdma mode or
> cdma+evdo phone, but it's not possible to switch to gsm+cdma. We also need
> these strings for setting the mozSettings entry on user perfered network
> type. This is probably not something needed in this bug but it's something
> worthy to think about in the future.

My two cents,
preferred network mode could be gsm+cdma by some partner's solution. EX: HTC has a auto mode for both GSM + CDMA. And
modem will trigger mode change event to let uppper layer know there is a switching between GSM and CDMA.

In short, it should be possible to switch to gsm+cdma.

thanks!!
sku
As I know that SVLTE (CDMA + LTE) and CSFB (WCDMA + LTE) are all possible.
I'd like to echo Tim's comment: wonder if we want to expose the combination capabilities here. It seems yes?
And I'm also wondering if gecko is able to get the combination capabilities from ro properties.
Flags: needinfo?(htsai)
((I guess exposing combination capabilities is for setPreferredNetworkType()))
IMHO, exposing combination capabilities doesn't make too much sense to me. The valid inputs of |setPreferredNetwork()| are well-defined (Please see [1][2]). We could have some logic to filter out invalid combination by checking |supportedNetworkTypes|.

For example, 
1). if |supportedNetworkTypes| => ['gsm'], the possible combination will be,
    - 'gsm'
2). if |supportedNetworkTypes| => ['gsm', 'wcdma'], the possible combination will be,
    - 'gsm'
    - 'wcdma'
    - 'wcdma/gsm'
    - 'wcdma/gsm-auto'
3). if |supportedNetworkTypes| => ['gsm', 'wcdma', 'cdma', 'evdo'], the possible combination will be,
    - 'gsm'
    - 'wcdma'
    - 'wcdma/gsm'
    - 'wcdma/gsm-auto'
    - 'cdma'
    - 'evdo'
    - 'cdma/evdo'
    - 'wcdma/gsm/cdma/evdo'
....


And to check a specific capability, it is much easier by using |supportedNetworkTypes|.
For example, we want to show LTE specific configuration only in the device that supports LTE, then we can have below check,

  if (mozMobileConnection.supportedNetworkType.indexOf('lte') != -1) {
    // Setup LTE specific configuration.
  }

thank you

[1] http://dxr.mozilla.org/mozilla-central/source/dom/network/interfaces/nsIDOMMobileConnection.idl?from=nsIDOMMobileConnection.idl#132
[2] https://github.com/mozilla-b2g/platform_hardware_ril/blob/master/include/telephony/ril.h#L110
Thank to Edgar's comment. After reading this and offline discussion with Edgar, I re-thought about the combination proposal and I agree with Edgar's comment 10 -- not exposing combination, given that this new attribute is used to provide 'supported' network types and 'combination' isn't an actual type. "Combination" string is instead a preference telling modem to try to camp on the network whose type fits the preference string well. 

Also, per my best knowledge, there's no HW having distinct supported types for voice and data, so |mozMobileConnections[n].supportedNetworkTypes| looks reasonable to me.
To achieve this, we also need gonk provide ro properties to indicate the HW capabilities.

My idea is having ro.moz.ril.[n].network_types, and the value is the network types (separated by comma) which are supported by specific radio. (The MAX length of property name is 32 [1].)

Take the possible setup for existing device as example,
(1) Fugu (Multi-SIM device),
    ro.moz.ril.0.network_types = gsm,wcdma
    ro.moz.ril.1.network_types = gsm

(2) Unagi (Single-sim device),
    ro.moz.ril.0.network_types = gsm,wcdma

Hsinyi, do you have any other suggestions for the format or naming?
Thank you.

[1] https://github.com/mozilla-b2g/platform_bionic/blob/master/libc/include/sys/system_properties.h#L38
Flags: needinfo?(htsai)
(In reply to Edgar Chen [:edgar][:echen] from comment #12)
> To achieve this, we also need gonk provide ro properties to indicate the HW
> capabilities.
> 
> My idea is having ro.moz.ril.[n].network_types, and the value is the network
> types (separated by comma) which are supported by specific radio. (The MAX
> length of property name is 32 [1].)
> 
> Take the possible setup for existing device as example,
> (1) Fugu (Multi-SIM device),
>     ro.moz.ril.0.network_types = gsm,wcdma
>     ro.moz.ril.1.network_types = gsm
> 
> (2) Unagi (Single-sim device),
>     ro.moz.ril.0.network_types = gsm,wcdma
> 
> Hsinyi, do you have any other suggestions for the format or naming?
> Thank you.
> 
> [1]
> https://github.com/mozilla-b2g/platform_bionic/blob/master/libc/include/sys/
> system_properties.h#L38

Sounds good, no better ideas than this. :)
Flags: needinfo?(htsai)
Any progress here? Please make sure people have time to write Gaia patch in bug 953439 before code freeze date.

If we could work on this in parallel that would be great too.
Flags: needinfo?(echen)
Sorry, wrong bug, I was meant to say bug 950185.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #14)
> Any progress here? Please make sure people have time to write Gaia patch in
> bug 953439 before code freeze date.
> 
> If we could work on this in parallel that would be great too.

I am working on this. Patches are almost ready, but still under testing, will upload later.
Basically, the new API and implementation is based on comment #4.
Flags: needinfo?(echen)
Thank you! I've ask George for help on the Gaia part.
Attached patch Part 1: IDL changes, v1 (obsolete) (deleted) — Splinter Review
Attached patch Part 1: IDL changes, v2 (obsolete) (deleted) — Splinter Review
nsIMobileConnectionListener is not changed, need not to modify its uuid.
Attachment #8357630 - Attachment is obsolete: true
Attached patch Part 2: DOM changes, v1 (obsolete) (deleted) — Splinter Review
Attached patch Part 3: RIL implementation, v1 (obsolete) (deleted) — Splinter Review
Attached patch Part 4: Test cases, v1 (obsolete) (deleted) — Splinter Review
Comment on attachment 8357634 [details] [diff] [review]
Part 1: IDL changes, v2

Please see comment #4 and comment #10 for the details of new attribute, |supportedNetworkTypes|, in mozMobileConnection.
Thank you.
Attachment #8357634 - Flags: review?(vyang)
Attachment #8357634 - Flags: review?(htsai)
Attachment #8357635 - Flags: review?(bugs)
Attachment #8357636 - Flags: review?(htsai)
Attachment #8357638 - Flags: review?(htsai)
Comment on attachment 8357634 [details] [diff] [review]
Part 1: IDL changes, v2

Review of attachment 8357634 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/network/interfaces/nsIDOMMobileConnection.idl
@@ +94,5 @@
> +   * Array of network types that are supported by this radio.
> +   *
> +   * Possible values: 'gsm', 'wcdma', 'cdma', 'evdo', 'lte'
> +   */
> +  readonly attribute jsval supportedNetworkTypes;   // DOMString[]

Please use 'nsIDOMDOMStringList' instead.

::: dom/network/interfaces/nsIMobileConnectionProvider.idl
@@ +61,5 @@
>    nsIDOMMozMobileConnectionInfo getDataConnectionInfo(in unsigned long clientId);
>    DOMString getIccId(in unsigned long clientId);
>    DOMString getNetworkSelectionMode(in unsigned long clientId);
>    DOMString getRadioState(in unsigned long clientId);
> +  jsval getSupportedNetworkTypes(in unsigned long clientId);

ditto.
Attachment #8357634 - Flags: review?(vyang)
Comment on attachment 8357634 [details] [diff] [review]
Part 1: IDL changes, v2

Should address comment #24 first. Cancel the review request.
Thank you
Attachment #8357634 - Flags: review?(htsai)
Comment on attachment 8357635 [details] [diff] [review]
Part 2: DOM changes, v1

Should address comment #24 first. Cancel the review request.
Thank you
Attachment #8357635 - Flags: review?(bugs)
Comment on attachment 8357636 [details] [diff] [review]
Part 3: RIL implementation, v1

Should address comment #24 first. Cancel the review request.
Thank you
Attachment #8357636 - Flags: review?(htsai)
Comment on attachment 8357638 [details] [diff] [review]
Part 4: Test cases, v1

Should address comment #24 first. Cancel the review request.
Thank you
Attachment #8357638 - Flags: review?(htsai)
Blocks a blocker (bug 950185)
blocking-b2g: 1.3? → 1.3+
Hi all, apologize for stupid questions from a non-engineers. So what is our capability with 1.3 now?
WCDMA + GSM (GPRS)? 
Was told that the SIM2 slot only supports GSM. Will we prompt users with such info so they don't put in the wrong slot? 

Will be enable WCDMA + WCDMA and CDMA+CDMA?
(In reply to jhsu from comment #30)
> Hi all, apologize for stupid questions from a non-engineers. So what is our
> capability with 1.3 now?
> WCDMA + GSM (GPRS)? 

As I know, the capability of fugu is 
slot 0 -> WCDMA + GSM
slot 1 -> GSM

> Was told that the SIM2 slot only supports GSM. Will we prompt users with
> such info so they don't put in the wrong slot? 
> 
> Will be enable WCDMA + WCDMA and CDMA+CDMA?

I guess you mean
slot 0: WCDMA
slot 1: WCDMA
or
slot 0: CDMA
slot 1: CDMA

If so, it is possible, it's depended on the capability of modem.
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #24)
> Comment on attachment 8357634 [details] [diff] [review]
> Part 1: IDL changes, v2
> 
> Review of attachment 8357634 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: dom/network/interfaces/nsIDOMMobileConnection.idl
> @@ +94,5 @@
> > +   * Array of network types that are supported by this radio.
> > +   *
> > +   * Possible values: 'gsm', 'wcdma', 'cdma', 'evdo', 'lte'
> > +   */
> > +  readonly attribute jsval supportedNetworkTypes;   // DOMString[]
> 
> Please use 'nsIDOMDOMStringList' instead.
> 
> ::: dom/network/interfaces/nsIMobileConnectionProvider.idl
> @@ +61,5 @@
> >    nsIDOMMozMobileConnectionInfo getDataConnectionInfo(in unsigned long clientId);
> >    DOMString getIccId(in unsigned long clientId);
> >    DOMString getNetworkSelectionMode(in unsigned long clientId);
> >    DOMString getRadioState(in unsigned long clientId);
> > +  jsval getSupportedNetworkTypes(in unsigned long clientId);
> 
> ditto.

Since we use javascript to implement nsIMobileConnectionProvider currently. If we want to return a nsIDOMDOMStringList in provider interface, we need to implement nsIDOMDOMStringList in javascript. But in this way we are unable to use array indexing, foo[i], to access it. (Array indexing is only available for nsDOMStringList which is implemented by C++) 

So my idea is keep provider interface returns jsval and convert it to nsDOMStringList in MobileConnection. Hi smaug, could you kindly share your opinion about this thought? Thank you in advance.
Flags: needinfo?(bugs)
DOMStringList is deprecated, please don't use it if possible.
The API exposed to web should probably use [Cached] attribute sequence<DOMString>?
if it was converted to webidl
(See for example 942631 and Bug 946294)

If one needs to return an array of something in .idl, using nsIVariant is one possibility.
Something like http://mxr.mozilla.org/comm-esr17/source/mozilla/content/base/src/nsDOMMutationObserver.cpp?mark=581-608#581 in C++ (that returns an array of objects, but strings should be supported too).
Flags: needinfo?(bugs)
(In reply to Olli Pettay [:smaug] from comment #33)
> DOMStringList is deprecated, please don't use it if possible.
> The API exposed to web should probably use [Cached] attribute
> sequence<DOMString>?
> if it was converted to webidl
> (See for example 942631 and Bug 946294)
> 
> If one needs to return an array of something in .idl, using nsIVariant is
> one possibility.
> Something like
> http://mxr.mozilla.org/comm-esr17/source/mozilla/content/base/src/
> nsDOMMutationObserver.cpp?mark=581-608#581 in C++ (that returns an array of
> objects, but strings should be supported too).

This information is really helpful. Thank you very much.
Attached patch Part 1: IDL changes, v3 (obsolete) (deleted) — Splinter Review
Use nsIVariant
Attachment #8357634 - Attachment is obsolete: true
Attached patch Part 2: DOM changes, v2 (obsolete) (deleted) — Splinter Review
Use nsIVariant
Attachment #8357635 - Attachment is obsolete: true
Attachment #8358427 - Flags: review?(bugs)
Attachment #8358428 - Flags: review?(bugs)
(In reply to Ken Chang[:ken] from comment #0)
> Currently, Firefox has supported WCDMA and CDMA. However, we don't know
> which network capabilities HW platform supports. We need a method to tell
> Gaia which network capabilities current platform supports. Then Gaia can
> decide to show which network types for users.

Ken, please CC us on such important bugs that would affect QCRIL as well, specifically so close to 1.3 commercialization. I just came to know about this bug accidentally.
Blocks: 952026
Attachment #8358427 - Flags: review?(bugs) → review+
Attachment #8358428 - Flags: review?(bugs) → review+
(In reply to Anshul from comment #37)
> Ken, please CC us on such important bugs that would affect QCRIL as well,
> specifically so close to 1.3 commercialization. I just came to know about
> this bug accidentally.
Sure, we will do it. For this bug, please let us know when you are ready.
Edgar, please wait for signal from Anshul to checkin this code. Thanks.
Flags: needinfo?(echen)
Flags: needinfo?(anshulj)
Attachment #8357636 - Flags: review?(htsai)
Flags: needinfo?(echen)
(In reply to Ken Chang[:ken] from comment #38)
> (In reply to Anshul from comment #37)
> > Ken, please CC us on such important bugs that would affect QCRIL as well,
> > specifically so close to 1.3 commercialization. I just came to know about
> > this bug accidentally.
> Sure, we will do it. For this bug, please let us know when you are ready.
> Edgar, please wait for signal from Anshul to checkin this code. Thanks.

Anshul, please let me know when commercial ril is ready. Thank you in advance.
Attachment #8357638 - Flags: review?(htsai)
Attachment #8358427 - Flags: review?(htsai)
Ken, QC RIL change would be ready soon. However doesn't seem like Gaia is using this new API so this Gecko bug can land without waiting for QC RIL. Please land this change.

Do you know how Gaia plans to use this API and could you please point me to the specific Gaia bug that will use this new API?
Flags: needinfo?(anshulj)
(In reply to Anshul from comment #40)
> Ken, QC RIL change would be ready soon. However doesn't seem like Gaia is
> using this new API so this Gecko bug can land without waiting for QC RIL.
> Please land this change.
> 
> Do you know how Gaia plans to use this API and could you please point me to
> the specific Gaia bug that will use this new API?

Please see bug 950185. Thank you.
Anshul, bug 949741 will use the new API, too. We will also use the new API to determine what to show in the preferred network type list.
Attachment #8358427 - Flags: review?(htsai) → review+
Comment on attachment 8357636 [details] [diff] [review]
Part 3: RIL implementation, v1

Review of attachment 8357636 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/system/gonk/RadioInterfaceLayer.js
@@ +1094,5 @@
>    };
>  
> +  // Get supported network types from system properties.
> +  let key = "ro.moz.ril." + this.clientId + ".network_types";
> +  this.supportedNetworkTypes = libcutils.property_get(key, "").split(",");

I'd like to have an internal function for line #1098 to line #1106 because I don't want to have a value which has not be processed/checked to be saved to 'this.supportedNetworkTypes.'

@@ +1098,5 @@
> +  this.supportedNetworkTypes = libcutils.property_get(key, "").split(",");
> +  for (let type of this.supportedNetworkTypes) {
> +    if (RIL.GECKO_SUPPORTED_NETWORK_TYPES.indexOf(type) < 0) {
> +      this.debug("Unknown network type: " + type);
> +      this.supportedNetworkTypes = RIL.GECKO_SUPPORTED_NETWORK_TYPES_DEFAULT.split(",");

nit: wrap the line at 80th character.

::: dom/system/gonk/ril_consts.js
@@ +423,5 @@
>    GECKO_PREFERRED_NETWORK_TYPE_EVDO_ONLY,
>    GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM_CDMA_EVDO
>  ];
>  
> +this.GECKO_SUPPORTED_NETWORK_TYPES_DEFAULT = "gsm,wcdma,cdma,evdo";

Could you explain how we come out the default types?
Attachment #8357636 - Flags: review?(htsai)
Comment on attachment 8357638 [details] [diff] [review]
Part 4: Test cases, v1

Review of attachment 8357638 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/network/tests/marionette/test_mobile_preferred_network_type.js
@@ +10,5 @@
>     "connection is instanceof " + connection.constructor);
>  
> +function testSupportedNetworkTypes() {
> +  let supportedNetworkTypes = connection.supportedNetworkTypes;
> +

Has the property "ro.moz.ril._id_.network_types" been added to emulator as well?
Thanks for your review. :)

(In reply to Hsin-Yi Tsai  [:hsinyi] from comment #43)
> Comment on attachment 8357636 [details] [diff] [review]
> Part 3: RIL implementation, v1
> 
> Review of attachment 8357636 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: dom/system/gonk/RadioInterfaceLayer.js
> @@ +1094,5 @@
> >    };
> >  
> > +  // Get supported network types from system properties.
> > +  let key = "ro.moz.ril." + this.clientId + ".network_types";
> > +  this.supportedNetworkTypes = libcutils.property_get(key, "").split(",");
> 
> I'd like to have an internal function for line #1098 to line #1106 because I
> don't want to have a value which has not be processed/checked to be saved to
> 'this.supportedNetworkTypes.'
Okay, I will add an internal function for this.

> 
> @@ +1098,5 @@
> > +  this.supportedNetworkTypes = libcutils.property_get(key, "").split(",");
> > +  for (let type of this.supportedNetworkTypes) {
> > +    if (RIL.GECKO_SUPPORTED_NETWORK_TYPES.indexOf(type) < 0) {
> > +      this.debug("Unknown network type: " + type);
> > +      this.supportedNetworkTypes = RIL.GECKO_SUPPORTED_NETWORK_TYPES_DEFAULT.split(",");
> 
> nit: wrap the line at 80th character.
Okay.

> 
> ::: dom/system/gonk/ril_consts.js
> @@ +423,5 @@
> >    GECKO_PREFERRED_NETWORK_TYPE_EVDO_ONLY,
> >    GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM_CDMA_EVDO
> >  ];
> >  
> > +this.GECKO_SUPPORTED_NETWORK_TYPES_DEFAULT = "gsm,wcdma,cdma,evdo";
> 
> Could you explain how we come out the default types?

Gaia will reference this value to show the preferred network type, and currently Gaia put all preferred network type by default. So I use world phone as default value to consist with current behavior.
(In reply to Hsin-Yi Tsai  [:hsinyi] from comment #44)
> Comment on attachment 8357638 [details] [diff] [review]
> Part 4: Test cases, v1
> 
> Review of attachment 8357638 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: dom/network/tests/marionette/test_mobile_preferred_network_type.js
> @@ +10,5 @@
> >     "connection is instanceof " + connection.constructor);
> >  
> > +function testSupportedNetworkTypes() {
> > +  let supportedNetworkTypes = connection.supportedNetworkTypes;
> > +
> 
> Has the property "ro.moz.ril._id_.network_types" been added to emulator as
> well?

Because the default value is "gsm,wcdma,cdma,evdo", so it is ok for emulator without property setup.
(If we change the default value, then yes, we need to set property first before we land the test cases)

Thank you
Attachment #8357638 - Flags: review?(htsai) → review+
Add r=smaug,hsinyi after r+.
Attachment #8358427 - Attachment is obsolete: true
Attachment #8359694 - Flags: review+
Add r=smaug after r+.
Attachment #8358428 - Attachment is obsolete: true
Attachment #8359695 - Flags: review+
Attached patch Part 3: RIL implementation, v2 (obsolete) (deleted) — Splinter Review
1). Rebase
2). Address review comment #43.
Attachment #8357636 - Attachment is obsolete: true
Attachment #8359697 - Flags: review?(htsai)
Add r=hsinyi after r+.
Attachment #8357638 - Attachment is obsolete: true
Attachment #8359698 - Flags: review+
Comment on attachment 8359697 [details] [diff] [review]
Part 3: RIL implementation, v2

Review of attachment 8359697 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you!!!!
Attachment #8359697 - Flags: review?(htsai) → review+
Try server: https://tbpl.mozilla.org/?tree=Try&rev=0d636c9a7830
Hi Shawn,

Could you please help to share the information about ro.moz.ril.[n].network_types to partners?
(Please see comment #12 for more details)
And we probably need to add proper config into all existing devices.

Thank you
Flags: needinfo?(sku)
Comment on attachment 8359697 [details] [diff] [review]
Part 3: RIL implementation, v2

Review of attachment 8359697 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/system/gonk/RadioInterfaceLayer.js
@@ +1112,5 @@
>      byType: {},
>      byApn: {}
>    };
>  
> +  this.supportedNetworkTypes = this.getSupportedNetworkTypes()

Oops, miss a semicolon here.
Address comment #54.
Attachment #8359697 - Attachment is obsolete: true
Attachment #8359795 - Flags: review+
Try server again: https://tbpl.mozilla.org/?tree=Try&rev=4852ef42b162
(In reply to Edgar Chen [:edgar][:echen] from comment #56)
> Try server again: https://tbpl.mozilla.org/?tree=Try&rev=4852ef42b162
Weird, this try doesn't start. :(

Try again: https://tbpl.mozilla.org/?tree=Try&rev=8cd0c7df8be5
Ken, is this change really needed for 1.3?
(In reply to Edgar Chen [:edgar][:echen] from comment #57)
> (In reply to Edgar Chen [:edgar][:echen] from comment #56)
> > Try server again: https://tbpl.mozilla.org/?tree=Try&rev=4852ef42b162
> Weird, this try doesn't start. :(
> 
> Try again: https://tbpl.mozilla.org/?tree=Try&rev=8cd0c7df8be5

Fail in mochitest-debug-1, but it was fixed in bug 883975. So it is safe to put into inbound.
Flags: needinfo?(kchang)
Hi Sam:
 Please help setup below properties for fugu/tarako. (see comment 12 for detail).
Thanks!!
Shawn


(1) Fugu (Multi-SIM device),
    ro.moz.ril.0.network_types = gsm,wcdma
    ro.moz.ril.1.network_types = gsm

(2) Unagi (Single-sim device),
    ro.moz.ril.0.network_types = gsm,wcdma
Flags: needinfo?(sku) → needinfo?(sam.hua)
in the base.mk?
Flags: needinfo?(sam.hua)
(In reply to sam.hua from comment #64)
> in the base.mk?

Sorry for missing this.

Yes, it could be in base.mk. Please add the quirk so that bug 953439 could move on.
Flags: needinfo?(sam.hua)
(In reply to Hsin-Yi Tsai  [:hsinyi] from comment #65)
> (In reply to sam.hua from comment #64)
> > in the base.mk?
> 
> Sorry for missing this.
> 
> Yes, it could be in base.mk. Please add the quirk so that bug 953439 could
> move on.

I filed bug 980831 for tracking this!
Flags: needinfo?(sam.hua)
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: