]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
usb: add support for Huawei E5573Cs322
authorMichael Paepcke <fbsd@paepcke.de>
Thu, 16 Feb 2023 16:58:31 +0000 (09:58 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 19 Feb 2023 03:13:18 +0000 (20:13 -0700)
commita9c1274c4202aaf89991e8607577879de8d6521a
tree1e7d05c9136e87c2357df56b1dd9f78b7d5cd857
parent97e58ca95015fa4c3a73e335fe4dcf2390c2da69
usb: add support for Huawei E5573Cs322

Switch the now added E5573Cs322_ECM (0x14db) as well per default to NCM.
With this patch we default all devices to simple NCM mode to avoid the
problem and get a consistent reliable behavior. No matter what firmware
version and provider mix are involved.

Rationale:
Even the bigger SOC shows under complex load in ECM (double-nat) mode
the same performance drop from 25Mbit to 2Mbit Line Speed, similar to E3372h.
Reason: Thermal problems (reported via serial debug interface in ACM Mode)
after 2-3 minutes load.

Fix the root cause and bundle a working firmware is out of reach because
Huawei sells the same hardware, different (crippled) firmware versions
at different price points in different markets as strategy.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/633
Approved by: re (cperciva)

(cherry picked from commit e66352013a67183dfeec14b2a22913305c26e838)
(cherry picked from commit 623346ecb9b3f4390e9f13df4b19e6e41c4e53ee)
sys/dev/usb/net/if_cdce.c