openwrtv3/target/linux/generic
John Crispin f1712c606c generic: cdc_ncm: Add support for moving NDP to end of NCM frame
NCM specs are not actually mandating a specific position in the frame for
the NDP (Network Datagram Pointer). However, some Huawei devices will
ignore our aggregates if it is not placed after the datagrams it points
to. Add support for doing just this, in a per-device configurable way.
While at it, update NCM subdrivers, disabling this functionality in all of
them, except in huawei_cdc_ncm where it is enabled instead.
We aren't making any distinction between different Huawei NCM devices,
based on what the vendor driver does. Standard NCM devices are left
unaffected: if they are compliant, they should be always usable, still
stay on the safe side.

This change has been tested and working with a Huawei E3131 device (which
works regardless of NDP position) and an E3372 device (which mandates NDP
to be after indexed datagrams).

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 46464
2015-07-24 09:10:47 +00:00
..
base-files update the /init file to start /sbin/init 2013-03-13 18:11:13 +00:00
files ar8216: add swconfig attributes for ARL table flushing 2015-07-15 08:17:42 +00:00
image generic: relocate: make the cacheline size configurable 2015-03-30 20:20:10 +00:00
patches-3.18 generic: cdc_ncm: Add support for moving NDP to end of NCM frame 2015-07-24 09:10:47 +00:00
patches-4.0 kernel: update 4.0 to 4.0.9 2015-07-22 12:51:04 +00:00
patches-4.1 kernel: update to linux 4.1.3 2015-07-22 12:45:07 +00:00
config-3.18 generic: add missing symbol 2015-07-14 07:38:33 +00:00
config-4.0 generic: add missing symbol 2015-07-14 07:38:33 +00:00
config-4.1 generic: Add missing symbols when tracing is enabled 2015-07-24 09:10:41 +00:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00