mozilla / ichnaea

Mozilla Ichnaea
http://location.services.mozilla.com
Apache License 2.0
573 stars 139 forks source link

16-bit cellids with radio LTE #415

Closed Gitschubser closed 2 months ago

Gitschubser commented 9 years ago

The export file MLS-full-cell-export-2015-03-06T000000.csv contains 33833 false 16-bit cellids (<=65535) with radio LTE (MozStumbler collects 28-bit cellids with radio LTE). The file includes 4757716 cellids, 791843 cellids with radio LTE and 33833 16-bit cellids with radio LTE.

Gitschubser commented 9 years ago

A short example from the provider T-Mobile Germany (mcc: 262, mnc: 1) with false 16-bit cellids with radio LTE. All cellids with radio LTE (28-bit) from T-Mobile have 8 digits, UMTS has 6 or 7 digits (simple schema). You can see a wrong radio or lac with this cellid and in many case 1 sample and a range that is 0. This wrong 16-bit cellid with radio LTE is a duplicate from the correct cellid with the correct radio or lac.

lte_16-bit

I've made a mistake, 17511 is a GSM LAC.

Gitschubser commented 9 years ago

Here are examples where the radio is CDMA and LTE with the same lac and cellid (16-bit): LTE,311,40,6,428,,-122.119655899,37.3638478343,1381,70,1,1394756475,1425714268, CDMA,311,40,6,428,,-122.115971,37.3646588,4039,107,1,1394756475,1408453644,

CDMA,311,40,6,952,,-122.166697,37.3517147,9297,706,1,1394756945,1408453644, LTE,311,40,6,952,,-122.1712322,37.3547754,2983,395,1,1394756945,1408453644,

CDMA,311,40,6,443,,-122.2010037,37.3043336,1791,683,1,1394757932,1408453644, LTE,311,40,6,443,,-122.2030079,37.3013746,1188,95,1,1394757933,1408453644,

CDMA,311,40,6,678,,-122.1733847,37.3318323,19,3,1,1395159861,1408453644, LTE,311,40,6,678,,-122.156310802,37.3670908753,9748,93,1,1395159861,1426460625,

hannosch commented 9 years ago

The same comment as in #373 applies, the RNC-Id can be zero, which means these networks aren't necessarily invalid.

kolesar-andras commented 7 years ago

LTE uses different cell numbering than WCDMA. Full cell identifier is 28 bit for both but divided at different position:

For example if eNB=1 and cellid=2 then full cellid is 1*256 + 2 = 258. Vodafone in Hungary numbers LTE cells from 0 therefore even 256 is a valid full cell id. I have not seen eNB=0 but theoretically possible.

E3V3A commented 7 years ago

@kolesar-andras Nice catch. Not to be PITA, but can you provide any 3GPP (or so) links (or quotes) for reference? (That would probably help @hannosch to verify and implement.)

kolesar-andras commented 7 years ago

For example:

kolesar-andras commented 7 years ago

eNodeB identifier (eNB) identifies a base station. It is a short number between 1 and some thousands. Base stations usually have 3 sectors, these are numbered as 1-2-3.

In LTE operators combine base station identifiers with sector identifiers in a binary way (bit positions). The same method was used in 3G and 2G in a decimal way, using simple decimal digits. Highest cell identifier is 65535, decimal representation is 5 digits. In Hungary there are only few thousand base stations in a network therefore 4 digits are enough to identify them. The same 4 digits identify the base station in LTE (eNB) and upper digits in 3G/2G. Last digit is used as sector identifier. For example:

Many base stations have more bands at each sectors. The simple example above is usually extended in the following way:

Network operators use slightly different numberings.

WCDMA numbering is even more different:

You can check these rules on base station of Hungary: http://cellavadasz.openstreetmap.hu/

We use our measurements and OpenCellID raw data to identify base stations precisely. You can click on any symbols. Datasheet is stored in OpenStreetMap database as attribute of the base stations, usually towers, chimneys, water towers and roof antennas.