port-qmi: allow setting initial mux-id value when using rmnet multiplexing

Qualcomm suggests to use mux id values >= 0x81: though this does not
seem a strict mandatory rule, there are scenarios in which the usage of
a specifix mux id is required otherwise various kind of issues could
happen (e.g. call failure, limited throughput...).

A new ID_MM_INITIAL_QMAP_MUX_ID udev tag allows setting the first initial
mux id value to be used when creating the multiplexed data connection.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
This commit is contained in:
Daniele Palmas
2025-11-24 23:50:03 -06:00
committed by Dan Williams
parent 0f19f10958
commit d2de8ff226
3 changed files with 61 additions and 17 deletions
+14
View File
@@ -323,6 +323,20 @@
*/
#define ID_MM_TTY_AT_PROBE_TRIES "ID_MM_TTY_AT_PROBE_TRIES"
/**
* ID_MM_INITIAL_QMAP_MUX_ID:
*
* This is a device-specific tag that allows users to specify the initial value
* of the QMAP multiplexed id to be used.
*
* An integer value greater or equal than 1 and smaller than 255.
*
* This setting does nothing if the modem doesn't support multiplexing.
*
* Since: 1.26
*/
#define ID_MM_INITIAL_QMAP_MUX_ID "ID_MM_INITIAL_QMAP_MUX_ID"
/*
* The following symbols are deprecated. We don't add them to -compat
* because this -tags file is not really part of the installed API.