opnsense-src/sys/dev/usb
Kornel Duleba 28df957acb 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 f0c393f781)
2021-09-28 09:03:48 +02:00
..
controller Fix a common typo in source code comments 2021-08-19 09:18:35 +02:00
gadget usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
input wmt(4): Adapt to recent KPI changes 2021-09-22 02:36:18 +03:00
misc hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00
net if_cdce: Add support for setting RX filtering 2021-09-28 09:03:48 +02:00
quirk Add more USB quirks for Garmin devices. 2021-05-10 16:11:19 +02:00
serial umodem: Add Huawei E3372h-320 device id 2021-09-28 09:03:48 +02:00
storage Refactor CTL datamove KPI. 2021-03-14 22:34:08 -04:00
template usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
video usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
wlan run(4): add support for DLINK DWA-130 rev F1 wireless adaptor. 2021-06-06 14:23:43 +03:00
ufm_ioctl.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
uftdiio.h
uled_ioctl.h
usb.h Narrow down the probe range for if_ure(4) compatible devices 2021-07-10 21:17:29 +02:00
usb_bus.h Make USB statistics per device instead of per bus. 2019-12-27 20:29:13 +00:00
usb_busdma.c Fix a common typo in source code comments 2021-08-19 09:18:35 +02:00
usb_busdma.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_cdc.h
usb_controller.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_core.c
usb_core.h Use more standard types for manipulating pointers. 2020-12-16 00:27:28 +00:00
usb_debug.c Update usb_timings_sysctl_handler() to accept any value for timings between 2021-06-02 13:25:20 +02:00
usb_debug.h
usb_dev.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_dev.h
usb_device.c Improve handling of alternate settings in the USB stack. 2020-12-15 15:36:41 +00:00
usb_device.h Refresh the USB device strings when a USB device is re-enumerated. 2020-05-11 20:55:04 +00:00
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c
usb_fdt_support.h
usb_freebsd.h usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_freebsd_loader.h usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_generic.c Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). 2020-10-31 21:53:23 +00:00
usb_generic.h Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). 2020-10-31 21:53:23 +00:00
usb_handle_request.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_hid.c Factor-out hardware-independent part of USB HID support to new module 2021-01-08 02:18:42 +03:00
usb_hub.c Propagate down USB explore error codes, so that failures to enumerate USB HUBs 2021-06-02 13:25:20 +02:00
usb_hub.h
usb_hub_acpi.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_hub_private.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_if.m
usb_ioctl.h hid: Import hidraw(4) - driver for access to raw HID device data 2021-01-08 02:18:43 +03:00
usb_lookup.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_mbuf.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_mbuf.h
usb_msctest.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_msctest.h
usb_parse.c Improve handling of alternate settings in the USB stack. 2020-12-15 11:51:17 +00:00
usb_pci.h
usb_pf.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_pf.h Fix build of USB bootloader code by adding checks for _STANDALONE being defined. 2020-11-18 13:22:22 +00:00
usb_process.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_process.h
usb_request.c Improve handling of alternate settings in the USB stack. 2020-12-15 12:05:07 +00:00
usb_request.h
usb_transfer.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_transfer.h Cleanup unused USB enums. 2021-09-22 14:59:31 +02:00
usb_util.c
usb_util.h
usbdevs rtwn_usb(4): Add a USB ID for the TP-Link Archer T2U v3. 2021-06-10 09:14:22 +03:00
usbdi.h Improve handling of alternate settings in the USB stack. 2020-12-15 12:05:07 +00:00
usbdi_util.h
usbhid.h hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00