aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorKornel Duleba <mindal@semihalf.com>2021-08-31 12:22:30 +0000
committerWojciech Macek <wma@FreeBSD.org>2021-09-28 07:03:48 +0000
commit28df957acb9342c52587774d3c4c530ea9980a85 (patch)
treee8fc6c579660923c630b200d8984a44ab73f8920 /stand
parent87e560496fc11391cd170c84b42f107f630653d5 (diff)
if_cdce: Add support for setting RX filtering
We can now set promisc and allmulti modes. Filtering of given multicast addresses is not supported. Changing the mode is done by sending a command described in: "USB CDC Subclass Specification for Ethernet Devices v1.2, section 6.2.4". This means that at least in theory this feature should work with all modems that are using this driver. This fixes Huawei E3372h-320 running new firmware in "HiLink" mode. Previously it would reset a few seconds after its mode was changed with "usb_modeswitch". Setting RX filter to default value at the end of attach function fixed that. Sponsored by: Stormshield Obtained from: Semihalf Differential revision: https://reviews.freebsd.org/D31766 MFC after: 2 weeks Reviewed by: hps (cherry picked from commit f0c393f781f01ffa727f90a8593e26a20869438b)
Diffstat (limited to 'stand')
0 files changed, 0 insertions, 0 deletions