opnsense-src/sys/dev/usb
Kornel Duleba f0c393f781 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
2021-09-01 12:27:14 +02:00
..
controller Fix a common typo in source code comments 2021-08-14 14:17:48 +02:00
gadget usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
input Fix a common typo in man pages and src comments 2021-08-28 19:24:27 +02: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-01 12:27:14 +02:00
quirk Add more USB quirks for Kingston devices. 2021-04-22 12:40:29 +02:00
serial umodem: Add Huawei E3372h-320 device id 2021-08-31 08:44:36 +02:00
storage cam: fix xpt_bus_register and xpt_bus_deregister return errno 2021-06-28 16:13:03 -06: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-05-23 21:31:51 +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-06-04 15:51:01 +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-14 14:17:48 +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-05-18 15:52:41 +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 Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
usb_fdt_support.h Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
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 newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
usb_hub.h
usb_hub_acpi.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
usb_hub_private.h newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06: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 Send a zero-length-packet first when opening a BULK endpoint for USB serial 2021-07-15 12:11:53 +02:00
usb_transfer.h Cleanup unused USB enums. 2021-07-15 12:38:42 +02:00
usb_util.c
usb_util.h
usbdevs USB/U3G: Added Panasonic CF-F9 GOBI 3G modem to U3G module. 2021-06-13 10:23:01 -06:00
usbdi.h Send a zero-length-packet first when opening a BULK endpoint for USB serial 2021-07-15 12:11:53 +02: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