shared-qmi: implement LOC-based GPS/A-GPS support

This commit is contained in:
Aleksander Morgado
2018-06-30 17:26:41 +02:00
committed by Dan Williams
parent 8bc51d3ed1
commit 0798f32362
3 changed files with 864 additions and 70 deletions

View File

@@ -1884,7 +1884,8 @@ initialization_started (MMBroadbandModem *self,
/* Setup services to open */
ctx->qmi_services[0] = QMI_SERVICE_DMS;
ctx->qmi_services[1] = QMI_SERVICE_PDS;
ctx->qmi_services[2] = QMI_SERVICE_UNKNOWN;
ctx->qmi_services[2] = QMI_SERVICE_LOC;
ctx->qmi_services[3] = QMI_SERVICE_UNKNOWN;
#endif
/* Now open our MBIM port */

View File

@@ -10295,7 +10295,8 @@ initialization_started (MMBroadbandModem *self,
ctx->services[3] = QMI_SERVICE_PDS;
ctx->services[4] = QMI_SERVICE_OMA;
ctx->services[5] = QMI_SERVICE_UIM;
ctx->services[6] = QMI_SERVICE_UNKNOWN;
ctx->services[6] = QMI_SERVICE_LOC;
ctx->services[7] = QMI_SERVICE_UNKNOWN;
/* Now open our QMI port */
mm_port_qmi_open (ctx->qmi,

File diff suppressed because it is too large Load Diff