[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819

Jan Luebbe jluebbe at debian.org
Sat Aug 6 08:17:16 UTC 2011


The following commit has been merged in the debian branch:
commit 8cc88c9c02886abd2b78dd70768377141a1edfed
Author: Jan Luebbe <jluebbe at debian.org>
Date:   Thu Jul 9 14:20:04 2009 +0200

    celldb: update from cellhunter

diff --git a/etc/freesmartphone/ogsmd/cell.db b/etc/freesmartphone/ogsmd/cell.db
index ec91b84..21a1ebc 100644
Binary files a/etc/freesmartphone/ogsmd/cell.db and b/etc/freesmartphone/ogsmd/cell.db differ
diff --git a/etc/freesmartphone/ogsmd/la.db b/etc/freesmartphone/ogsmd/la.db
index f0effb2..1cc8935 100644
Binary files a/etc/freesmartphone/ogsmd/la.db and b/etc/freesmartphone/ogsmd/la.db differ
diff --git a/tools/make_cell_db.py b/tools/make_cell_db.py
index 9267786..41ccc78 100644
--- a/tools/make_cell_db.py
+++ b/tools/make_cell_db.py
@@ -4,17 +4,24 @@ from math import sqrt
 from struct import pack
 
 NETWORKS = {
+    '20205': (202, 5),
     '20408': (204, 8),
+    '20601': (206, 1),
     '20620': (206, 20),
     '20801': (208, 1),
     '21403': (214, 3),
+    '22288': (222, 8),
+    '23102': (231, 2),
     '22801': (228, 1),
+    '22802': (228, 2),
     '22803': (228, 3),
+    '23002': (230, 2),
     '23106': (231, 6),
     '23201': (232, 1),
     '23203': (232, 3),
     '23205': (232, 5),
     '23430': (234, 30),
+    '23820': (238, 20),
     '24201': (242, 1),
     '24405': (244, 5),
     '26001': (260, 1),
@@ -77,7 +84,7 @@ for line in stdin.readlines():
         data[key] = float(data[key])
     if not data['cell_mcc']<999 or not data['cell_mnc']<999:
         data['cell_mcc'], data['cell_mnc'] = (0, 0)
-    if data['cell_mcc']==0 or data['cell_mnc']==0:
+    if data['cell_mcc']==0 or (data['cell_mcc']==0 and data['cell_mnc']==0):
         if len(data['provider']) == 4: 
             continue
         elif data['provider'] == '99999':

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list