Closed
Bug 965620
Opened 11 years ago
Closed 10 years ago
Need an interface to abstract which radio interface is being used to bring up a DataCall
Categories
(Firefox OS Graveyard :: RIL, defect)
Firefox OS Graveyard
RIL
Tracking
(tracking-b2g:backlog)
RESOLVED
DUPLICATE
of bug 904514
tracking-b2g | backlog |
People
(Reporter: sbhavna, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36
Steps to reproduce:
setup a data by type i.e. nsIRadioInterface->setupdatacallbytype
Actual results:
The interface to setup the data call is very much tied to a radio interface.
Why should the upper layers be aware oh which sim (i.e. which radio interface) is being used to bring up a DataCall.
Requires a number of steps to be able to bring up the dataCall
// Find the DD sim first using ‘ril.data.defaultServiceId’
// Query on nsISettingsService
// Query for ril service
nsCOMPtr<nsIRadioInterfaceLayer> ril;
ril = do_GetService("@mozilla.org/ril;1");
// Query for radio interface
nsCOMPtr<nsIRadioInterface> radioInterface;
nsRes = ril->GetRadioInterface(mDedicatedDataSIM, getter_AddRefs(radioInterface));
// RegisterDatacallcallback
nsRes = mRadioInterface->RegisterDataCallCallback(this);
// bring up data call
mRadioInterface->SetupDataCallByType(NS_LITERAL_STRING("supl"));
In multisim scenario there should be a DataConnection manager which should abstract the radio interface details from the upper layers.
Expected results:
There should have been a DataConnectionManager that can abstract the radiointerface details from upper layers.
Blocks: b2g--telephony-1.4
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
No longer blocks: b2g--telephony-1.4
Comment 1•11 years ago
|
||
(In reply to Bhavna Sharma from comment #0)
> User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
> like Gecko) Chrome/32.0.1700.76 Safari/537.36
>
> Steps to reproduce:
>
> setup a data by type i.e. nsIRadioInterface->setupdatacallbytype
>
>
> Actual results:
>
> The interface to setup the data call is very much tied to a radio interface.
> Why should the upper layers be aware oh which sim (i.e. which radio
> interface) is being used to bring up a DataCall.
>
> Requires a number of steps to be able to bring up the dataCall
>
> // Find the DD sim first using ‘ril.data.defaultServiceId’
> // Query on nsISettingsService
>
> // Query for ril service
> nsCOMPtr<nsIRadioInterfaceLayer> ril;
> ril = do_GetService("@mozilla.org/ril;1");
>
> // Query for radio interface
> nsCOMPtr<nsIRadioInterface> radioInterface;
> nsRes = ril->GetRadioInterface(mDedicatedDataSIM,
> getter_AddRefs(radioInterface));
>
> // RegisterDatacallcallback
> nsRes = mRadioInterface->RegisterDataCallCallback(this);
>
> // bring up data call
> mRadioInterface->SetupDataCallByType(NS_LITERAL_STRING("supl"));
>
> In multisim scenario there should be a DataConnection manager which should
> abstract the radio interface details from the upper layers.
>
>
> Expected results:
>
> There should have been a DataConnectionManager that can abstract the
> radiointerface details from upper layers.
We've been planning this, see the meta bug 904514.
Comment 2•11 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #1)
> We've been planning this, see the meta bug 904514.
It's a big change. we don't need to be rush to finish it in 1.4.
Comment 3•11 years ago
|
||
Hi Ken
This blocks QC CS in release 1.4. We need to fix it in 1.4 unless we believe its a heavy load to carry.
Flags: needinfo?(kchang)
Comment 4•11 years ago
|
||
Why is it a blocker exactly?
Reporter | ||
Comment 5•11 years ago
|
||
hi Julien,
As of now we only support DSDS configurations, hence we can go without fixing this issue.
Once we have DSDA support it will become difficult for the clients to know which radio interface to use to bring up the DataCall.
I leave it you to decide on its priority, for v1.4 it is not a blocker.
- Bhavna
Comment 7•11 years ago
|
||
Bhavna: thanks for your detailed answer, be sure to bring this up again (and early enough ;) ) once we start working on DSDA !
Comment 9•10 years ago
|
||
bug 904514 covers this. Close it as duplicate.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•