From nobody Thu May 05 07:00:25 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BA1DC1AB61FA for ; Thu, 5 May 2022 07:00:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kv4Ms3rhSz3CFW for ; Thu, 5 May 2022 07:00:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 616002286C for ; Thu, 5 May 2022 07:00:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24570PHS011479 for ; Thu, 5 May 2022 07:00:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24570PQ1011478 for bugs@FreeBSD.org; Thu, 5 May 2022 07:00:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263783] Support for LTE/4G USB modems (MBIM) Date: Thu, 05 May 2022 07:00:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pierre@defora.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651734025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JrRz8npP9G98sBbOuorjP91wGAFZXc9ytoYdrfV843Q=; b=FsmluKvRwRYdShF3rqyaDw2J1Au8Zzv9ooVd1L28+Z3Kg5sDiCuAwh4LgYhLINs3ziOHsc +CS2UpMnS0A26ReQsShiKOILYflL+tZheoACZJBqtqfCErNS6mzwOHUpq/VPX74vE53i0k 9/t3n0L0HqBfq8BgckJAGEDDnMGS4yyEgeqm9zbqOqBk/RWS7M7Zu1213sbcOvp4x7fd1p CIkyw9pdYwxb02/TtYUo1oUSOGTAjLObPaq8su9W6VCK7gc/tS7uvh60U565PeU/HsUGWf skmxbarcxpmjAfzzisxE3mqU5DnJzM2063u97PRqCKRssT2skjgxWz2UL1i9yQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651734025; a=rsa-sha256; cv=none; b=bFLffkNtYPqh0n3TYsZCVQLTOcWOpoZZYxPyBs4JSN7OCSIu5sKpJWFcvTpZJI6fBFmroY rV2PWokzqIPD/fEKUKs9NRtTv8kyjT3QLSmt/OZmAkboo6DFGeSJis9X6GgiFHFScLG7Rv HLExazsUwVeK+q+ykEgOmnK1Ptwxx01GahMsh9nEGBe8GmMQuTtOC81AWY6jTTy2FtO7zL FyO2HYGx8QOPQuyLfmJ79ecBaXO4OM/TKziJpIlOQZsxCkduOSzZJgMhEBoa/0fEQlBnZD fu3+MN+b+YmHvpzEDsUSJalSIahZiCHoHvYh5GhbQ0w11JfsrxRaiMts+eo3Fg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263783 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=3D233735&action= =3Dedit umb(4), umbctl(8), OPNsense plug-in Dear FreeBSD developers, I have just been authorised to publish the source code of the implementatio= n of a kernel driver, support binary, and OPNsense plug-in for USB MBIM interfac= es, 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 ver= sion for FreeBSD, suitable for deployment in OPNsense. While I originally based = this effort on the OpenBSD and NetBSD versions, this required heavy changes to t= he 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 beli= eve 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 late= st development branch and releases. Let me know if you would need any addition= al help from my side. HTH, -- Pierre Pronchery for ADISTA (aka khorben@NetBSD.org) --=20 You are receiving this mail because: You are the assignee for the bug.=