From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: MBIM IP configuration
Date: Mon, 24 Sep 2018 16:17:41 -0500 [thread overview]
Message-ID: <d773975b-e323-19d8-083e-857b652db65a@gmail.com> (raw)
In-Reply-To: <CAKSBH7EYgTj-r2WLSZikV2Ez4uzkQn-Ew9N4Bvab2fuB1YzrzA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]
Hi Giacinto,
On 09/24/2018 12:45 AM, Giacinto Cifelli wrote:
> Dear all,
>
> I have stepped into a very slow networks, that takes almost 1 minute to
> assign an IP address once the MBIM CONNECT DONE is returned.
> Under these conditions, the call to IP_CONFIGURATION returns all empty
> values, and the driver sets the connection method to 'dhcp'.
> But this modem does not support DHCP, so is there a way out of this?
> Can the driver set the method to kind of 'waiting', and query
> periodically, let's say every 500ms or every second?
You can try and have mbim_ip_configuration_cb retry the IP_CONFIGURATION
command in this case after a timeout. However, this seems to also be
completely against the MBIM specification. If the device signals that
no IP configuration details are available, then DHCP is implied.
However, most MBIM devices do not support DHCP anyway. So this is bizarre.
The fact that you get IP details after a minute also implies that this
has nothing to do with the network wanting DHCP done by the host (like
you posit in your other email on the subject).
Regards,
-Denis
prev parent reply other threads:[~2018-09-24 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-24 5:45 MBIM IP configuration Giacinto Cifelli
2018-09-24 21:17 ` Denis Kenzior [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d773975b-e323-19d8-083e-857b652db65a@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox