Re: [PATCH net-next v4] cdc_ether: Improve ZTE MF823/831/910 handling
From: David Miller
Date: Mon Jul 25 2016 - 01:16:49 EST
From: Kristian Evensen <kristian.evensen@xxxxxxxxx>
Date: Thu, 21 Jul 2016 11:10:06 +0200
> The firmware in several ZTE devices (at least the MF823/831/910
> modems/mifis) use OS fingerprinting to determine which type of device to
> export. In addition, these devices export a REST API which can be used to
> control the type of device. So far, on Linux, the devices have been seen as
> RNDIS or CDC Ether.
>
> When CDC Ether is used, devices of the same type are, as with RNDIS,
> exported with the same, bogus random MAC address. In addition, the devices
> (at least on all firmware revisions I have found) use the bogus MAC when
> sending traffic routed from external networks. And as a final feature, the
> devices sometimes export the link state incorrectly. There are also
> references online to several other ZTE devices displaying this behavior,
> with several different PIDs and MAC addresses.
>
> This patch tries to improve the handling of ZTE devices by doing the
> following:
...
> v3->v4:
> * Forgot to remove unused variables, sorry about that (thanks David
> Miller).
Applied, thanks.