# This file contains grep patterns that are used to remove unsupported
# entries from the list of MCCs. Most of these are removed because timed
# uses only MCC to identify the current location of the device. Some
# operators operate across multiple time zones/countries/administrative
# areas with the same MCC. Timed is unable to deal with these cases, it
# expects that a MCC indentifies a single location expressed as an ISO
# 3166-1 alpha-2 code. This could at least partly fixed by making timed
# identify locations based on both MCC and MNC.

# Networks operating in Guam (GU) uses the MCCs 310 & 311 of US.
# Remove such lines. Setting time based on the MCC 310/311 will not
# work in GU, unless timed is able to use the MNCs of the operators:
# 032, 033, 140, 370 for MCC 310, and 250 for MCC 311.
^31..*GU
^31..*MP

# Bermuda (BM) has some networks that use the MCC 310 of US, remove
# lines with US MCC and BM. Setting time based on MCC 310 only will
# not work in BM, timed needs support for MNCs to be able to separate
# the operator with MNC 59 and MCC 310 as operating in BM.
^310.*BM

# American Samoa (AS) has some networks that use the MCC 311 of US, remove
# lines with US MCC and AS. Setting time based on MCC 311 only will
# not work in AS, timed needs support for MNCs to be able to separate
# the operator with MNC 780 and MCC 311 as operating in AS.
^311.*AS

# Puerto Rico (PR) has some networks that use the MCC 310 & 313 of US, remove
# lines with US MCC and PR. Setting time based on MCC 310/313 only will
# not work in PR, timed needs support for MNCs to be able to separate
# the operator MCC 310 or 313 with as operating in BM.
^31..*PR

# United States Virgin Islands (VI) use the same MCC 310 & 311 as rest of US
# so the entries are useless for timed.
^31..*VI

# Kosovo is mentioned with the non-standard country code RKS,
# which does not exist in zone.tab, making it useless for timed
# Networks operating in XK use country codes from Slovenia (SI) 293,
# and Monaco (MC). XK, SI, and MC are on the same time zone
# CET (UTC+1)/CEST (UTC+2), so setting time based on SI or MC should
# work.
XK

# Remove networks Isle of Man (IM), Jersey (JE), Guernsey (GG) using
# the MCC 234 of Britain (GB). IM, JE, GG, and GB share the time zone
# GMT/UTC+1, so setting the time based on MCC 234 will work in IM, JE,
# and GG. Using MNCs will not make timed able to find out the location
# of the device as some operators operating in GB, JE, GG share both
# MCC and MNC.
^234.*IM
^234.*JE
^234.*Guernsey

# Some networks use Jamaican (JM) country code 338 but operate in Bermuda (BM) or
# Turks and Caicos (TC), which have different time zones. Setting time based on
# 338 will not work in TC or BM, unfortunately the MNC does not help as it is
# the same in all locations 050, making JM operator codes unusable for timed.
# Also some networks in Cayman Islands (KY), Montserrat (MS) and Saint Lucia (SL)
# use Jamaican (JM) country code 338 and also use same MNC 05 as a network in
# Jamaica.
^338.*BM
^338.*KY
^338.*MS
^338.*SL
^338.*TC

# Networks operating in Guadeloupe (GP) and Martinique (MQ) share the MCC 340,
# remove MQ from the MCC list. GP and MQ both use ECT (UTC-04), so setting time 
# based on GP should work when in MQ
MQ
# Update to the above ^: GP, MQ + a bunch of other islands are henceforth
# lumped together as the French Antilles (BL). Great. Except they now share the
# MCC 340 with French Guiana (GF) which uses (UTC-03). Not so great. Since GF
# only has a fraction of the inhabitants of the islands, they're out of luck.
^340.*GF

# Operators providing service in the State of Palestine (PS) shares the
# MCC with Israel 425 (IL). Remove PS, setting time based on MCC 425 will
# work, but getting the location right will need timed to be able to detect
#the MNCs 05 and 06.
^425.*PS

# The Australian (AU) MCC 505 is used by Operators operting in Norfolk Island (NF),
# and Australian main land, making it impossible for timed detect NF as a location
# regardless of MNC support. So setting time in NF will not work.
^505.*NF

# The Netherlands Antilles was an autonomous country that has been dissolved,
# The country code AN does not exist in zone.tab anymore, making the location
# unusable by timed. There's no easy mapping between the contry code 362 and
# the locations formerly included in Netherlands Antilles.
^362.*AN

# Belgium shares 2 networks with Luxembourg 270 77 and 270 99, even though most
# of Belgium uses MCC 206. (All of Luxembourg uses 270). Both are (UTC+01),
# so not a major issue.
^270.*77.*BE
^270.*99.*BE

# France shares a network with Luxembourg, 270 07, even though most
# of France uses MCC 208. (All of Luxembourg uses 270). Both are (UTC+01),
# so not a major issue.
^270.*07.*FR
