mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1131590 - Support DualCarrier radio tech. r=echen
This commit is contained in:
parent
228da1bc1c
commit
f751a27d29
@ -465,6 +465,8 @@ this.NETWORK_CREG_TECH_EHRPD = 13;
|
||||
this.NETWORK_CREG_TECH_LTE = 14;
|
||||
this.NETWORK_CREG_TECH_HSPAP = 15;
|
||||
this.NETWORK_CREG_TECH_GSM = 16;
|
||||
this.NETWORK_CREG_TECH_DCHSPAP_1 = 18; // Some devices reports as 18
|
||||
this.NETWORK_CREG_TECH_DCHSPAP_2 = 19; // Some others report it as 19
|
||||
|
||||
this.CELL_INFO_TYPE_GSM = 1;
|
||||
this.CELL_INFO_TYPE_CDMA = 2;
|
||||
@ -2913,7 +2915,10 @@ this.GECKO_RADIO_TECH = [
|
||||
"ehrpd",
|
||||
"lte",
|
||||
"hspa+",
|
||||
"gsm"
|
||||
"gsm",
|
||||
null,
|
||||
"hspa+", // DC-HSPA+
|
||||
"hspa+"
|
||||
];
|
||||
|
||||
this.GECKO_VOICEMAIL_MESSAGE_COUNT_UNKNOWN = -1;
|
||||
|
@ -4226,6 +4226,8 @@ RilObject.prototype = {
|
||||
case NETWORK_CREG_TECH_LTE:
|
||||
case NETWORK_CREG_TECH_HSPAP:
|
||||
case NETWORK_CREG_TECH_GSM:
|
||||
case NETWORK_CREG_TECH_DCHSPAP_1:
|
||||
case NETWORK_CREG_TECH_DCHSPAP_2:
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -6194,6 +6196,8 @@ RilObject.prototype[REQUEST_GET_NEIGHBORING_CELL_IDS] = function REQUEST_GET_NEI
|
||||
case NETWORK_CREG_TECH_HSUPA:
|
||||
case NETWORK_CREG_TECH_HSPA:
|
||||
case NETWORK_CREG_TECH_HSPAP:
|
||||
case NETWORK_CREG_TECH_DCHSPAP_1:
|
||||
case NETWORK_CREG_TECH_DCHSPAP_2:
|
||||
cellId.wcdmaPsc = this.parseInt(cid, -1, 16);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user