diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-25 22:12:04 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-03-10 15:17:59 +0100 |
commit | 4f4ce02c434423afbea81679d62cf9ecc09b6599 (patch) | |
tree | b42098b7470d82baec57f03cd18c62587ac1cc3a /src/mm-port-qmi.h | |
parent | 499d954857fcfe7406aa7b1f724c8552e395391b (diff) |
port-qmi: compute max amount of multiplexed links supported
For the qmi_wwan driver, we have imposed a limitation of max 4 links
when using the add_mux/del_mux interface, because we're forced to
precreate links before multiplexing may be enabled.
When using rmnet over qmi_wwan, or rmnet over other drivers, we don't
have any limitation other than the one imposed by the WDA protocol
itself. The amount of links that may be created in this case is
1 + (QMI_DEVICE_MUX_ID_MAX - QMI_DEVICE_MUX_ID_MIN).
This information is loaded in the MMPortQmi, used to create the
MMBearerList in the QMI modem, and finally populated in the
'MaxActiveMultiplexedBearers' property of the modem interface.
Diffstat (limited to 'src/mm-port-qmi.h')
-rw-r--r-- | src/mm-port-qmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-qmi.h b/src/mm-port-qmi.h index e03c262f..61369a43 100644 --- a/src/mm-port-qmi.h +++ b/src/mm-port-qmi.h @@ -99,6 +99,7 @@ guint mm_port_qmi_get_endpoint_interface_number (MMPortQmi *self); QmiWdaLinkLayerProtocol mm_port_qmi_get_link_layer_protocol (MMPortQmi *self); QmiWdaDataAggregationProtocol mm_port_qmi_get_data_aggregation_protocol (MMPortQmi *self); +guint mm_port_qmi_get_max_multiplexed_links (MMPortQmi *self); typedef enum { MM_PORT_QMI_SETUP_DATA_FORMAT_ACTION_QUERY, |