Re: [PATCH v5 05/10] mbimmodem: sim: add support for querying IMSI with MBIMEx 3 This commit adds the ability to query IMSI with newer modems that use the MBIMEx 3 protocol.
Andres Salomon <[email protected]> Fri, 28 Nov 2025 04:05:08 -0500
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
On 11/27/25 12:49, Muhammad Asif wrote:
> ---
> drivers/mbimmodem/sim.c | 30 ++++++++++++++++++++++++------
> 1 file changed, 24 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/mbimmodem/sim.c b/drivers/mbimmodem/sim.c
> index fb23609a..1046c535 100644
> --- a/drivers/mbimmodem/sim.c
> +++ b/drivers/mbimmodem/sim.c
> @@ -392,12 +392,22 @@ static void mbim_subscriber_ready_status_changed(struct mbim_message *message,
> char *imsi;
> char *iccid;
> uint32_t ready_info;
> + uint32_t ready_flags;
> + bool r;
>
> DBG("");
>
> - if (!mbim_message_get_arguments(message, "ussu",
> - &ready_state, &imsi,
> - &iccid, &ready_info))
> + if (mbim_device_check_mbimex_version(sd->device, 3, 0)) {
This is using the old function name from your V3(?) patches, I think.
Same issue throughout the patch.