ofono mbpi plugin can create multiple "internet" data contexts

Bug #1204683 reported by Tony Espy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
touch-preview-images
Fix Released
High
Tony Espy

Bug Description

The current version of ofono included in our touch images ( 1.12phablet9 ) has been modified to allows the mbpi ( mobile-broadband-provider-info ) plugin to return multiple data contexts in response to a SPN ( service-provider-name ) query. This query also includes a MNC ( mobile-network-code ) and MCC ( mobile-country-code ). This is due to the fact that we wanted automatic provisioning of Internet contexts to occur, and thus the call to the mbpi plugin from the ofono core code was changed to allow multiple APNs ( also know as GPRS data contexts in ofono terms ) to be returned ( note, this change was a one-line, changing a parameter from 'false' to 'true' ).

As NM now reads ofono's gprs settings file to determine which contexts to use, it may end up with multiple connections, and if the first fails, it tries the the subsequent connections. We'd discussed NM just using the first data context in this situation, but after some thought this is too complicated.

My proposed fix is to patch onfono's mbpi plugin so that when a duplicate APN is found, the plugin returns a data context representing the first match, instead of returning an empty list.

My approach should give us a good middle ground that will allow auto-provisioning to work in most cases.

Note, there is more work to be done on the provisioning story for MMS, USSD, and potentially IMS contexts, however at this point Internet contexts for mobile data are my primary concern.

Related branches

Tony Espy (awe)
Changed in touch-preview-images:
importance: Undecided → High
status: New → Won't Fix
status: Won't Fix → Confirmed
assignee: nobody → Tony Espy (awe)
Tony Espy (awe)
Changed in touch-preview-images:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.