android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Bersenev a270ca35a9 cdc_ncm: Implement the 32-bit version of NCM Transfer Block
[ Upstream commit 0fa81b304a7973a499f844176ca031109487dd31 ]

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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Stable-dep-of: 7e01c7f7046e ("net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize")
Signed-off-by: Sasha Levin <[email protected]>
2023-06-05 08:17:31 +02:00
..
appletalk
arcnet
bonding net: fix stack overflow when LRO is disabled for virtual interfaces 2023-05-30 12:44:09 +01:00
caif
can can: kvaser_pciefd: Disable interrupts in probe error path 2023-05-30 12:44:07 +01:00
dsa net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621 2023-05-17 11:35:59 +02:00
ethernet 3c589_cs: Fix an error handling path in tc589_probe() 2023-05-30 12:44:11 +01:00
fddi net: defxx: Fix missing err handling in dfx_init() 2023-01-18 11:41:13 +01:00
fjes
hamradio hamradio: baycom_epp: Fix return type of baycom_send_packet() 2023-01-18 11:41:35 +01:00
hippi
hyperv
ieee802154 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx() 2023-04-05 11:16:43 +02:00
ipvlan ipvlan:Fix out-of-bounds caused by unclear skb->cb 2023-05-30 12:44:01 +01:00
netdevsim
phy net: mdio: thunder: Add missing fwnode_handle_put() 2023-04-05 11:16:38 +02:00
plip net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq() 2022-12-14 11:30:48 +01:00
ppp ppp: associate skb with a device at tx 2023-01-18 11:41:37 +01:00
slip
team net: fix stack overflow when LRO is disabled for virtual interfaces 2023-05-30 12:44:09 +01:00
usb cdc_ncm: Implement the 32-bit version of NCM Transfer Block 2023-06-05 08:17:31 +02:00
vmxnet3
wan treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2023-04-20 12:07:32 +02:00
wimax
wireless mt76: mt7615: Fix build with older compilers 2023-05-30 12:44:09 +01:00
xen-netback xen/netback: use same error messages for same errors 2023-04-26 11:24:04 +02:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c net: loopback: use NET_NAME_PREDICTABLE for name_assign_type 2023-01-18 11:40:49 +01:00
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c net/net_failover: fix txq exceeding warning 2023-04-05 11:16:44 +02:00
netconsole.c
nlmon.c
ntb_netdev.c ntb_netdev: Use dev_kfree_skb_any() in interrupt context 2023-01-18 11:41:16 +01:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: add vlan_get_protocol_and_depth() helper 2023-05-30 12:44:01 +01:00
thunderbolt.c
tun.c tun: avoid double free in tun_free_netdev 2023-04-05 11:16:41 +02:00
veth.c
virtio_net.c virtio_net: suppress cpu stall when free_unused_bufs 2023-05-17 11:36:00 +02:00
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c xen-netfront: Fix NULL sring after live migration 2022-12-14 11:30:45 +01:00