diff options
author | John Crispin <john@openwrt.org> | 2015-07-24 09:10:47 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-24 09:10:47 +0000 |
commit | f1712c606cb2e41d5ef6a9e525fa7a58f789a7e5 (patch) | |
tree | bd44b8aa115c56ab3e954c8492c1a5474dca6c37 /.gitignore | |
parent | 23cb02286fecb646a939267dd2c2756fd85f3378 (diff) | |
download | upstream-f1712c606cb2e41d5ef6a9e525fa7a58f789a7e5.tar.gz upstream-f1712c606cb2e41d5ef6a9e525fa7a58f789a7e5.tar.bz2 upstream-f1712c606cb2e41d5ef6a9e525fa7a58f789a7e5.zip |
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
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions