aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Lassalle <andrewlassalle@chromium.org>2020-10-27 16:59:41 -0700
committerAleksander Morgado <aleksander@aleksander.es>2020-12-30 14:24:33 +0100
commit4085a2d6b771a40fb637433ed6a05b9d5d4d94b9 (patch)
tree197b2cea0a0fd05d18746aafdf63cd4c6c8d659d /docs
parentf428e0b9f09a4b6aaa921ed84b787df8b7740216 (diff)
qmi-device: add net link management support
This allows us to create and delete net interfaces for qmi devices using netlink. If mux_id is set to QMI_DEVICE_MUX_ID_AUTOMATIC when creating a net interface for `base_ifname`, we search for the lowest N such that `base_ifname.N` is not an available interface, and assign mux_id N+1. If another mux_id is given, then we try to create a net interface using the provided mux_id. This mux ID should be used in the WDS Bind Mux Data Port message.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/libqmi-glib/Makefile.am1
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-common.sections6
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/reference/libqmi-glib/Makefile.am b/docs/reference/libqmi-glib/Makefile.am
index 1a27242..6bb0120 100644
--- a/docs/reference/libqmi-glib/Makefile.am
+++ b/docs/reference/libqmi-glib/Makefile.am
@@ -60,6 +60,7 @@ IGNORE_HFILES = \
qmi-endpoint-qmux.h \
qmi-endpoint-mbim.h \
qmi-endpoint-qrtr.h \
+ qmi-net-port-manager.h \
qmi-file.h \
qmi-ctl.h \
test-port-context.h \
diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections
index 4cccbfd..af1dafc 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-common.sections
+++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections
@@ -1750,10 +1750,16 @@ qmi_message_wds_set_default_profile_num_output_get_type
<SUBSECTION Private>
QMI_DEVICE_NODE
QMI_QRTR_SUPPORTED
+QMI_DEVICE_MUX_ID_AUTOMATIC
+QMI_DEVICE_MUX_ID_UNBOUND
qmi_device_new_from_node
qmi_device_new_from_node_finish
qmi_device_get_node
qmi_device_peek_node
+qmi_device_add_link
+qmi_device_add_link_finish
+qmi_device_del_link
+qmi_device_del_link_finish
HAVE_QMI_MESSAGE_NAS_ABORT
HAVE_QMI_MESSAGE_WDS_ABORT
HAVE_QMI_SERVICE_DMS