Files
msm-5.15/include/linux
Ben Chan 259fef033f net: cdc_ncm: respect operator preferred MTU reported by MBIM
According to "Universal Serial Bus Communications Class Subclass
Specification for Mobile Broadband Interface Model, Revision 1.0,
Errata-1" published by USB-IF, the wMTU field of the MBIM extended
functional descriptor indicates the operator preferred MTU for IP data
streams.

This patch modifies cdc_ncm_setup to ensure that the MTU value set on
the usbnet device does not exceed the operator preferred MTU indicated
by wMTU if the MBIM device exposes a MBIM extended functional
descriptor.

Signed-off-by: Ben Chan <benchan@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-20 16:57:35 -04:00
..
2013-08-14 13:55:15 +05:30
2013-03-01 13:39:00 -08:00
2014-03-20 16:18:30 -04:00
2014-01-20 11:55:23 -08:00
2013-12-23 18:34:58 -08:00
2014-01-24 22:39:54 +01:00
2014-01-17 01:59:38 +01:00
2013-07-30 11:53:12 -04:00
2005-04-16 15:20:36 -07:00
2012-10-08 13:50:20 +10:30
2012-12-02 00:05:12 +00:00
2009-04-01 08:59:23 -07:00
2013-11-08 08:59:44 -07:00
2011-03-11 14:25:50 +00:00
2011-08-03 11:30:42 -04:00
2008-06-06 11:29:10 -07:00
2013-11-23 22:33:56 -08:00
2009-01-04 13:33:20 -08:00
2009-11-20 20:13:39 +01:00
2009-11-20 20:13:39 +01:00
2013-12-22 23:14:27 -08:00
2013-11-15 09:32:21 +09:00
2012-01-03 22:54:57 -05:00
2013-11-09 00:16:29 -05:00
2013-03-12 11:30:04 -07:00
2007-07-17 10:23:04 -07:00
2010-08-04 11:00:45 +02:00
2012-02-20 19:46:36 +11:00
2014-02-13 10:08:52 +05:30
2007-02-09 17:39:36 -05:00
2012-10-16 18:49:15 -07:00
2008-01-28 23:21:18 +01:00
2013-07-15 11:25:00 +09:30
2013-05-07 18:38:27 -07:00
2014-01-16 10:23:02 +10:30
2013-04-29 18:28:40 -07:00
2014-03-10 11:44:42 -04:00
2013-08-22 22:13:54 -07:00
2014-03-10 11:44:42 -04:00
2009-06-18 13:04:05 -07:00
2014-03-10 17:26:19 -07:00
2007-07-10 00:35:17 -04:00
2010-02-09 11:13:56 +01:00
2010-03-07 22:17:09 +01:00
2014-03-04 07:55:47 -08:00
2014-01-16 11:15:50 +01:00
2014-01-26 22:48:35 +01:00
2013-06-13 17:51:04 -07:00
2008-08-02 18:36:10 +01:00
2013-12-29 16:34:25 -05:00
2013-12-10 22:58:13 -08:00
2005-04-16 15:20:36 -07:00
2012-03-20 12:47:48 +01:00
2010-10-07 14:08:55 +01:00
2013-09-13 15:09:52 +02:00
2013-08-09 10:49:00 +02:00
2010-12-09 20:17:07 -08:00
2013-07-26 16:19:48 -07:00
2012-05-31 17:49:32 -07:00
2014-02-25 07:37:52 -08:00
2013-11-15 09:32:23 +09:00
2014-01-25 08:55:09 +01:00
2011-02-13 16:54:24 -08:00
2011-01-24 14:45:11 +10:30
2013-04-30 17:04:06 -07:00
2013-08-28 21:35:14 -07:00
2014-01-08 19:03:00 -02:00
2011-09-16 19:20:20 -04:00
2013-04-01 11:04:50 -07:00
2013-12-11 15:52:34 +01:00
2013-12-26 13:29:35 -05:00
2009-06-16 08:40:20 +02:00
2014-01-16 10:23:03 +10:30
2013-11-09 00:16:19 -05:00
2014-03-04 13:51:06 -05:00
2014-01-27 21:02:39 -08:00
2013-11-09 00:16:19 -05:00
2013-07-03 16:08:05 -07:00
2013-10-14 17:15:48 +02:00
2014-01-25 03:14:05 -05:00
2012-12-11 17:22:27 -08:00
2014-01-27 19:27:53 -05:00
2014-01-13 14:29:49 -08:00
2014-01-03 11:22:21 -08:00
2013-06-12 12:37:30 +01:00
2014-01-22 19:36:57 +01:00
2013-10-17 00:36:06 +02:00
2011-11-02 16:07:02 -07:00
2011-03-31 11:26:23 -03:00
2010-02-10 17:47:17 -08:00
2013-12-18 19:04:50 -08:00
2013-04-12 10:26:23 +02:00
2013-07-03 16:08:05 -07:00
2014-01-28 13:20:09 -08:00
2013-06-17 16:38:57 -07:00
2009-04-08 14:33:38 -07:00
2013-12-19 19:09:38 -05:00
2014-01-27 21:02:39 -08:00
2013-09-10 18:56:32 -04:00
2005-04-16 15:20:36 -07:00
2010-08-09 16:48:44 -04:00
2013-04-30 15:50:12 +05:30
2013-09-12 15:38:02 -07:00
2005-04-16 15:20:36 -07:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2010-11-29 08:55:25 +11:00
2012-07-22 23:57:55 +04:00
2013-12-08 16:56:05 -08:00
2014-02-14 13:39:29 -08:00
2013-03-20 12:10:38 -04:00
2005-04-16 15:20:36 -07:00
2013-08-05 10:52:36 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2011-01-13 08:03:24 -08:00
2013-10-17 15:53:09 -04:00
2013-07-10 18:11:34 -07:00
2014-01-30 16:56:55 -08:00