summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-03-09 12:15:54 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-09 15:40:30 +0100
commitb2b4b06983513b451a6b7e71a2a779954763b3e2 (patch)
tree53cfd5035df31d89edcbd0c6802dfcafd574bacf /docs/reference
parent00d0ae42fd12e00960801a1cb5367c4d8b84d96c (diff)
libmbim-glib,device: new link add/delete operations
The MBIM devices support multiplexing as part of the protocol itself, and in the cdc_mbim driver this feature has been supported from the very first version of the driver. In the cdc_mbim driver, MBIM IP sessions are mapped to VLAN IDs matching the MBIM session IDs, and so we can use netlink operations to request adding or removing links as appropriate. This operation is completely equivalent to the link management operations done in libqmi when using RMNET, so the new net port manager internal object running the netlink operations is highly based on the QmiNetPortManagerRmnet class defined in libqmi-glib. Unlike in the libqmi case, there are no other supported net link management backends, just one, so the MbimNetPortManager is not an abstract class, it is instead the class implementing support for the single cdc_mbim backend.
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/libmbim-glib/Makefile.am3
-rw-r--r--docs/reference/libmbim-glib/libmbim-glib-common.sections8
2 files changed, 10 insertions, 1 deletions
diff --git a/docs/reference/libmbim-glib/Makefile.am b/docs/reference/libmbim-glib/Makefile.am
index e2d4981..23a9100 100644
--- a/docs/reference/libmbim-glib/Makefile.am
+++ b/docs/reference/libmbim-glib/Makefile.am
@@ -52,7 +52,8 @@ CFILE_GLOB = \
# Headers to ignore
IGNORE_HFILES = \
mbim-message-private.h \
- mbim-helpers.h
+ mbim-helpers.h \
+ mbim-net-port-manager.h
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
diff --git a/docs/reference/libmbim-glib/libmbim-glib-common.sections b/docs/reference/libmbim-glib/libmbim-glib-common.sections
index 454665d..52d90bf 100644
--- a/docs/reference/libmbim-glib/libmbim-glib-common.sections
+++ b/docs/reference/libmbim-glib/libmbim-glib-common.sections
@@ -233,6 +233,14 @@ mbim_device_get_transaction_id
mbim_device_get_next_transaction_id
mbim_device_command
mbim_device_command_finish
+<SUBSECTION LinkSupport>
+MBIM_DEVICE_SESSION_ID_AUTOMATIC
+MBIM_DEVICE_SESSION_ID_MIN
+MBIM_DEVICE_SESSION_ID_MAX
+mbim_device_add_link
+mbim_device_add_link_finish
+mbim_device_delete_link
+mbim_device_delete_link_finish
<SUBSECTION Private>
MbimDeviceClass
<SUBSECTION Standard>