@@ -74,6 +74,25 @@ enum qmi_qmux_device_quirk {
QMI_QMUX_DEVICE_QUIRK_REQ_RATE_LIMIT = 0x01
};
+/**
+ * Defines options that may alter the default behavior of the QMI
+ * driver for a specific, instantiated device.
+ */
+struct qmi_qmux_device_options {
+ /**
+ * Device-specific "quirk".
+ */
+ enum qmi_qmux_device_quirk quirks;
+
+ /**
+ * If quirks has #QMI_QMUX_DEVICE_QUIRK_REQ_RATE_LIMIT set, this
+ * is the minimum period, in microseconds, in which back-to-back
+ * QMI service requests may be sent to avoid triggering a
+ * firmware lock up and hang.
+ */
+ unsigned int min_req_period_us;
+};
+
typedef void (*qmi_destroy_func_t)(void *user_data);
struct qmi_service;