Add a "primary" attribute to provider in the mobile broadband provider info database



I've noticed that some providers (e.g. AldiTalk/MedionMobile, blau.de, E-Plus, simyo Internet, NetCologne in Germany, or 3 in Sweden) all share the same set of PLMNs in the mobile broadband provider info (MBPI) database. This means that looking up a provider in the database based on the PLMN yields more than one provider.  After talking to some providers, it appears that in certain instances one can read the SPN file from the SIM card and use this to disambiguate between the different provider entries in the database.

Other carriers though have indicated that sometimes the SPN file on the SIM is empty (or non existent), and in that case one should select the 'primary' or default provider.

I propose that we add an attribute to the provider entity to indicate that it is the 'primary' provider for a given set of PLMNs.

Attached is a patch that defines the attribute and applies it to a few providers.

Thoughts?

-Jason























From 4289f1eecd302e2723d5a0de05ccfc310be66dd9 Mon Sep 17 00:00:00 2001
From: Jason Glasgow <jglasgow chromium org>
Date: Wed, 25 May 2011 17:19:12 -0400
Subject: [PATCH] Mark providers as primary to disambiguate providers with same MPLN

---
 serviceproviders.2.dtd |    1 +
 serviceproviders.xml   |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/serviceproviders.2.dtd b/serviceproviders.2.dtd
index 55cc0e5..f808364 100644
--- a/serviceproviders.2.dtd
+++ b/serviceproviders.2.dtd
@@ -5,6 +5,7 @@
 <!ATTLIST country code CDATA #REQUIRED>
 
 <!ELEMENT provider (name+, gsm?, cdma?)>
+<!ATTLIST provider primary (true|false) #IMPLIED>
 
 <!ELEMENT gsm (network-id*, voicemail*, balance-check*, balance-top-up*, apn*)>
 <!ELEMENT apn (name*,
diff --git a/serviceproviders.xml b/serviceproviders.xml
index e431696..d4d9eac 100644
--- a/serviceproviders.xml
+++ b/serviceproviders.xml
@@ -1467,7 +1467,7 @@ conceived.
 			</apn>
 		</gsm>
 	</provider>
-	<provider>
+	<provider primary="true">
 		<name>E-Plus</name>
 		<gsm>
 			<network-id mcc="262" mnc="03"/>
@@ -1793,7 +1793,7 @@ conceived.
 
 <!-- Denmark -->
 <country code="dk">
-	<provider>
+	<provider primary="true">
 		<name>3</name>
 		<gsm>
 			<network-id mcc="238" mnc="06"/>
@@ -3697,7 +3697,7 @@ conceived.
 			</apn>
 		</gsm>
 	</provider>
-	<provider>
+	<provider primary="true">
 		<name>3</name>
 		<gsm>
 			<network-id mcc="222" mnc="99"/>
@@ -5896,7 +5896,7 @@ conceived.
 
 <!-- Sweden -->
 <country code="se">
-	<provider>
+	<provider primary="true">
 		<name>3</name>
 		<gsm>
 			<network-id mcc="240" mnc="02"/>
-- 
1.7.3.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]