From: Daniele Palmas <dnlplm@gmail.com> To: "Bjørn Mork" <bjorn@mork.no>, "Oliver Neukum" <oliver@neukum.org> Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, Daniele Palmas <dnlplm@gmail.com> Subject: [PATCH 1/1] net: usb: cdc_mbim: add flag FLAG_SEND_ZLP Date: Thu, 31 May 2018 11:18:29 +0200 [thread overview] Message-ID: <1527758309-9614-1-git-send-email-dnlplm@gmail.com> (raw) Testing Telit LM940 with ICMP packets > 14552 bytes revealed that the modem needs FLAG_SEND_ZLP to properly work, otherwise the cdc mbim data interface won't be anymore responsive. Signed-off-by: Daniele Palmas <dnlplm@gmail.com> --- drivers/net/usb/cdc_mbim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/cdc_mbim.c b/drivers/net/usb/cdc_mbim.c index 7220cd6..0362acd 100644 --- a/drivers/net/usb/cdc_mbim.c +++ b/drivers/net/usb/cdc_mbim.c @@ -609,7 +609,7 @@ static const struct driver_info cdc_mbim_info_ndp_to_end = { */ static const struct driver_info cdc_mbim_info_avoid_altsetting_toggle = { .description = "CDC MBIM", - .flags = FLAG_NO_SETINT | FLAG_MULTI_PACKET | FLAG_WWAN, + .flags = FLAG_NO_SETINT | FLAG_MULTI_PACKET | FLAG_WWAN | FLAG_SEND_ZLP, .bind = cdc_mbim_bind, .unbind = cdc_mbim_unbind, .manage_power = cdc_mbim_manage_power, -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Daniele Palmas <dnlplm@gmail.com> To: "Bjørn Mork" <bjorn@mork.no>, "Oliver Neukum" <oliver@neukum.org> Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, Daniele Palmas <dnlplm@gmail.com> Subject: [1/1] net: usb: cdc_mbim: add flag FLAG_SEND_ZLP Date: Thu, 31 May 2018 11:18:29 +0200 [thread overview] Message-ID: <1527758309-9614-1-git-send-email-dnlplm@gmail.com> (raw) Testing Telit LM940 with ICMP packets > 14552 bytes revealed that the modem needs FLAG_SEND_ZLP to properly work, otherwise the cdc mbim data interface won't be anymore responsive. Signed-off-by: Daniele Palmas <dnlplm@gmail.com> --- drivers/net/usb/cdc_mbim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/cdc_mbim.c b/drivers/net/usb/cdc_mbim.c index 7220cd6..0362acd 100644 --- a/drivers/net/usb/cdc_mbim.c +++ b/drivers/net/usb/cdc_mbim.c @@ -609,7 +609,7 @@ static const struct driver_info cdc_mbim_info_ndp_to_end = { */ static const struct driver_info cdc_mbim_info_avoid_altsetting_toggle = { .description = "CDC MBIM", - .flags = FLAG_NO_SETINT | FLAG_MULTI_PACKET | FLAG_WWAN, + .flags = FLAG_NO_SETINT | FLAG_MULTI_PACKET | FLAG_WWAN | FLAG_SEND_ZLP, .bind = cdc_mbim_bind, .unbind = cdc_mbim_unbind, .manage_power = cdc_mbim_manage_power,
next reply other threads:[~2018-05-31 9:18 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-31 9:18 Daniele Palmas [this message] 2018-05-31 9:18 ` [1/1] net: usb: cdc_mbim: add flag FLAG_SEND_ZLP Daniele Palmas 2018-05-31 9:56 ` [PATCH 1/1] " Bjørn Mork 2018-05-31 9:56 ` [1/1] " Bjørn Mork 2018-05-31 11:52 ` [PATCH 1/1] " Daniele Palmas 2018-05-31 11:52 ` [1/1] " Daniele Palmas 2018-06-01 18:02 ` [PATCH 1/1] " David Miller 2018-06-01 18:02 ` [1/1] " David Miller
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=1527758309-9614-1-git-send-email-dnlplm@gmail.com \ --to=dnlplm@gmail.com \ --cc=bjorn@mork.no \ --cc=linux-usb@vger.kernel.org \ --cc=netdev@vger.kernel.org \ --cc=oliver@neukum.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.