@@ -1611,6 +1611,16 @@ struct qmi_qmux_device *qmi_qmux_device_new(const char *device,
qmux = l_new(struct qmi_qmux_device, 1);
+ if (options != NULL) {
+ if ((options->quirks & QMI_QMUX_DEVICE_QUIRK_REQ_RATE_LIMIT)
+ == QMI_QMUX_DEVICE_QUIRK_REQ_RATE_LIMIT) {
+ qmux->transport.min_req_period_us = options->min_req_period_us;
+
+ ofono_info("QMI minimum service request period %u us",
+ qmux->transport.min_req_period_us);
+ }
+ }
+
if (qmi_transport_open(&qmux->transport, fd, &qmux_ops) < 0) {
close(fd);
l_free(qmux);