* MBIM IP configuration
@ 2018-09-24 5:45 Giacinto Cifelli
2018-09-24 21:17 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Giacinto Cifelli @ 2018-09-24 5:45 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
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?
Best regards,
Giacinto
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 643 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MBIM IP configuration
2018-09-24 5:45 MBIM IP configuration Giacinto Cifelli
@ 2018-09-24 21:17 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2018-09-24 21:17 UTC (permalink / raw)
To: ofono
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-24 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24 5:45 MBIM IP configuration Giacinto Cifelli
2018-09-24 21:17 ` Denis Kenzior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox