[Bug 263783] Support for LTE/4G USB modems (MBIM)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 May 2022 07:00:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783

            Bug ID: 263783
           Summary: Support for LTE/4G USB modems (MBIM)
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pierre@defora.net

Created attachment 233735
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233735&action=edit
umb(4), umbctl(8), OPNsense plug-in

Dear FreeBSD developers,

I have just been authorised to publish the source code of the implementation of
a kernel driver, support binary, and OPNsense plug-in for USB MBIM interfaces,
as offered by some LTE/4G USB modems.

The original code was taken from the OpenBSD project, where it is known as the
umb(4) driver. I had already ported this code pretty much as-is for NetBSD, as
umb(4) as well, and added the support binary umbctl(8) (instead of ifconfig)
when I was contracted by ADISTA SAS (https://www.adista.fr) to create a version
for FreeBSD, suitable for deployment in OPNsense. While I originally based this
effort on the OpenBSD and NetBSD versions, this required heavy changes to the
kernel driver; the name is still umb(4), completed with an extended version of
umbctl(8) (with JSON output).

I am therefore glad to upload this version here as an attachment, with the
additional copyright and license information as requested by ADISTA. I believe
these terms are fully compatible with the original license terms (3-clause BSD)
and with FreeBSD's own license terms, adding ADISTA's own copyright/credit
where applicable.

You are welcome to adapt, test, and integrate this code into FreeBSD's latest
development branch and releases. Let me know if you would need any additional
help from my side.

HTH,
-- Pierre Pronchery <pierre@defora.net> for ADISTA (aka khorben@NetBSD.org)

-- 
You are receiving this mail because:
You are the assignee for the bug.