shill: cellular: add APN for Rakuten dual-IMSI SIM
Support the Rakuten USIM with two IMSIs:
- Home IMSI:44011xxxxxxzzzz
- International Roaming:20801yyyyyyzzzz
Ensure we select the right APN (and attach APN) for both IMSI by using
an ICCID filter for the roaming IMSI.
BUG=b:171933765
TEST=unit tests
TEST=manual, data connections on both the Rakuten JP network (MCC.MNC
440.11) and Orange FR network (MCC.MNC 208.01) using a Rakuten dual-IMSI
SIM.
Change-Id: I15b9b99ec0bf206dc3d56c38f379ff575982fe44
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2574980
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
diff --git a/shill/mobile_operator_db/serviceproviders.prototxt b/shill/mobile_operator_db/serviceproviders.prototxt
index 2515957..dded4a8 100644
--- a/shill/mobile_operator_db/serviceproviders.prototxt
+++ b/shill/mobile_operator_db/serviceproviders.prototxt
@@ -4511,6 +4511,26 @@
}
}
}
+ mvno {
+ mvno_filter {
+ type : ICCID
+ regex : "8981090[0-9]+"
+ }
+ mvno_filter {
+ type : MCCMNC
+ regex : "20801"
+ }
+ data {
+ uuid : "e2a459cb-1e35-4228-91aa-14561c855a1f"
+ localized_name {
+ name : "楽天(rakuten.jp)"
+ }
+ mobile_apn {
+ apn : "rakuten.jp"
+ is_attach_apn : true
+ }
+ }
+ }
}
mno {