diff options
author | Alexander Bersenev <bay@hackerdom.ru> | 2020-03-05 23:33:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-12 08:59:31 +0300 |
commit | 0fa81b304a7973a499f844176ca031109487dd31 (patch) | |
tree | fc70d769637f9eb97c1fa980edc616432431558d /drivers/net/can/slcan.c | |
parent | 81f954a44567567c7d74a97b1db78fb43afc253d (diff) | |
download | linux-0fa81b304a7973a499f844176ca031109487dd31.tar.xz |
cdc_ncm: Implement the 32-bit version of NCM Transfer Block
The NCM specification defines two formats of transfer blocks: with 16-bit
fields (NTB-16) and with 32-bit fields (NTB-32). Currently only NTB-16 is
implemented.
This patch adds the support of NTB-32. The motivation behind this is that
some devices such as E5785 or E5885 from the current generation of Huawei
LTE routers do not support NTB-16. The previous generations of Huawei
devices are also use NTB-32 by default.
Also this patch enables NTB-32 by default for Huawei devices.
During the 2019 ValdikSS made five attempts to contact Huawei to add the
NTB-16 support to their router firmware, but they were unsuccessful.
Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/slcan.c')
0 files changed, 0 insertions, 0 deletions