Age | Commit message (Collapse) | Author | Files | Lines |
|
The option receives a key-value pair string that can be used to define
zero or more filters.
E.g. if we want to add TCP and UDP packets to the filters, we could run:
$ PF_TCP="packet-filter=40000000000000000006,packet-mask=F00000000000000000FF"
$ PF_UDP="packet-filter=40000000000000000011,packet-mask=F00000000000000000FF"
$ sudo mbimcli -v -d /dev/wwan0mbim0 -p --set-ip-packet-filters="session-id=0,${PF_TCP},${PF_UDP}"
Or, if we want to remove all filters, we could run:
$ sudo mbimcli -v -d /dev/wwan0mbim0 -p --set-ip-packet-filters="session-id=0"
|
|
|
|
This CID is used by host to query the modem for its wake reason when
power up because of device wake. If the device supports this function,
but fails the query from host, it means the power up is not caused by
a wake from the device.
Includes updates by Aleksander Morgado to fix coding style issues,
message definitions add missing documentation items.
|
|
This CID is used to notify the host of the configuration progress and
parameters of the device. This CID is added as part of MBIM 3.0
extension.
Includes updates by Aleksander Morgado to fix coding style issues,
memory handling fixes add missing documentation items.
|
|
|
|
The type is introduced in MBIMEx v3.0, so just name it with the v3
suffix, not to confuse with the updated introduced in MBIMEx v2.0,
which is compatible with the original type in MBIM v1.0.
|
|
|
|
|
|
The supported way to use the connect operation is through key-value
pairs; the positional arguments method is fully deprecated and should
no longer be used or updated.
|
|
The logic is updated to avoid requiring intermediate structs in the
API; for the string TLVs that are included as named fields we'll use
the 'tlv-string' types.
We also add support for the unnamed IEs as 'tlv-list' fields at the
end of the messages.
|
|
The Microsoft Extensions define a new generic TLV type that allows
including any kind of data in it: from strings, to arrays of uints, to
more complex types.
We define support for the generic 'tlv' type and the generic
'tlv-list' type, which allow implementing the "unnamed IEs" that are
appended to some new messages in the MS extensions.
And we also define support for a more specific 'tlv-string', used
exclusively when the TLVs are part of the named fields, so that we can
provide strings in our libmbim-glib APIs, instead of requiring the
user to build MbimTlv instances.
|
|
This command is an extension for the existing MBIM_CID_CONNECT defined in
the MBIM specification revision 1.0. This extension adds 5G SA specific
parameters.
|
|
The PLMN field is not a single 32 bit value, it's really 2 separate
guint16 values. This is important because the endianness change in BE
systems would be different.
Also, the format of the MCC and MNC inside the PLMN fields is very
specific to the implementation (BCD encoded, MNC PCS digit indicated
in most significant bit of the MNC field...).
|
|
printed
No need to fully print the whole output in v3, just print the extra
new things.
|
|
This command is an extension for the existing MBIM_CID_PACKET_SERVICE
defined in the MBIM specification revision 2.0.
|
|
|
|
If a given command didn't change in the new version update of the
service, skip creating methods to handle it, just use the ones from
the original version.
|
|
If a given command didn't change in the new version update of the
service, skip creating methods to handle it, just use the ones from
the original version.
|
|
If a given command didn't change in the new version update of the
service, skip creating methods to handle it, just use the ones from
the original version.
|
|
|
|
|
|
It should be the 2nd element, not the last one.
Also, add it in the Notification, which was completely missing.
|
|
|
|
This CID is an extension for the MBIM_CID_MS_LTE_ATTACH_STATUS already
defined in the MBIM specification revision 1.0.
|
|
|
|
It should be defined as a flags bitmask, not as an enum.
Also, the value for MBIM_SUBSCRIBER_READY_STATUS_FLAG_SIM_REMOVABLE
was actually wrong.
|
|
|
|
This command is an extension for the existing MBIM_CID_SUBSCRIBER_READY_STATUS
defined in the MBIM specification revision 1.0. This version of MBIM CID
add a new field MBIM_SUBSCRIBER_READY_STATUS_FLAGS in the response.
|
|
--ms-set-registration-parameters
And also, avoid custom string to enum parsers.
|
|
|
|
Parameters'
In most cases we use full words, not abbreviations.
|
|
This CID is used by the host to set 5G-specific registration parameters
to an MBIM device. This CID is added as part of MBIMEx 3.0 for 5G SA support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use the new generic string to enum processor instead.
|
|
Use the new generic string to enum processor instead.
|
|
|
|
input format
This validation should not be applied when using key-value pairs,
we should instead just pass whatever we received to the device,
without any additional validation on top, as we do with other
commands.
|
|
Simplify the parser method to receive the ConnectActivateProperties to
be used as output.
|
|
Let's try to have a consolidated naming for keys in different
commands.
|
|
--ms-set-provisioned-contexts
|
|
Don't fail on some duplicated key-value pairs; just overwrite the old
ones in all possible keys. This gives us a consistent behavior in all
keys, instead of different behaviors depending on which is the key
being processed.
|
|
This may work for enums with just a couple of values, but there are
enums with ton of different possible values, and we cannot document
all those there.
|