| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Bjørn Mork <bjorn@mork.no>
|
|
|
|
|
|
|
| |
Once a service has been registered, we should allow users of the library to
actually build Command messages with the new service.
https://bugs.freedesktop.org/show_bug.cgi?id=77225
|
|
|
|
| |
To be used by the proxy to mimic modem-generated commands.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MBIM "Command", "Open" and "Close" request messages can be replied using
either a type specific response (e.g. "Command Done", or "Open Done" or "Close
Done" or instead using a generic "Function Error" message.
In order to ease the users of the library to look for errors in the received
responses, the new mbim_message_response_get_result() method expects
any of those two previous messages.
We also bump version of the library to 1.11.1, to indicate when the new API
was introduced, but this is Not a real release.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements the mbim-proxy support to allow mulitple clients
to have concurrent access to the MBIM device through libmbim.
The implementation is heavily based on qmi-proxy.
The function mbim_device_open_full() is provided for clients to specify that
the device should be opened through the mbim-proxy via the flag
MBIM_DEVICE_OPEN_FLAGS_PROXY.
The function mbim_device_open() will behave as it has before and open the
device directly.
Proxy Control:
A new service UUID is created to allow for clients to control the proxy.
This service is currently only used to pass on the device path (/dev/cdc-wdm*)
the client is requesting to open. In the future CIDs will be added to allow
for setting the MaxControlMessage size and setting timeout for specific
messages.
Unknown UUIDs:
Currently the mbim-proxy will allow messages with unknown UUIDs to pass through.
The proxy will track unknown UUIDs sent by the client and device notifications
matching the tracked UUID will be sent to the client. Device notifications
of known UUIDs will be sent to all connected clients.
Signed-off-by: Greg Suarez <gsuarez@smithmicro.com>
|
| |
|
|
|
|
|
| |
* use mbim_register_custom_service API to register a new service.
* use mbim_unregister_custom_service API to unregister it.
|
| |
|
| |
|
| |
|
|
|