Skip to content

port-qmi: allow preallocated links when using rmnet multiplexing

A new ID_MM_QMI_PREALLOCATED_LINKS udev tag, set in the NET port of the device, allows configuring the amount of preallocated multiplexed links that need to be created upon the first connection attempt, regardless of the multiplexing setup method used.

If not specified by the user, 4 preallocated links are created when using the qmi_wwan multiplexing procedure, and none for rmnet.

Previously, using preallocated links was exclusive used with the qmi_wwan multiplexing procedure. Using preallocated links may be useful if you want to maintain the same links across multiple connection and disconnection loops, e.g. if running a tcpdump on a given link interface capturing all traffic (not using preallocated links in this case would be problematic as tcpdump cannot be requested to run on net interfaces that don't exist yet).

Merge request reports

Loading