From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from enterprise01.smtp.diehl.com ([193.201.238.219]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6Z5v-0006o1-1t for ptxdist@pengutronix.de; Fri, 14 Aug 2020 14:46:04 +0200 From: Denis Osterland-Heim Date: Fri, 14 Aug 2020 12:45:29 +0000 Message-ID: <20200814124459.21932-1-Denis.Osterland@diehl.com> Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2] fixup! libqmi: add option to enable mbim-qmux support List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" Some modems require support for this in auto mode. Default to y if ModemManager is there, beacuse it selects mbim anyway, so the feature comes nearly no cost. Explicit disable username option. Signed-off-by: Denis Osterland-Heim --- Hi, I try to understand what happens... Regards, Denis rules/libqmi.in | 13 +++++++++++-- rules/libqmi.make | 2 ++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/rules/libqmi.in b/rules/libqmi.in index ac65515d3..9fe39036a 100644 --- a/rules/libqmi.in +++ b/rules/libqmi.in @@ -1,9 +1,18 @@ ## SECTION=3Dnetworking -config LIBQMI +menuconfig LIBQMI tristate select HOST_SYSTEM_PYTHON3 select GLIB -prompt "libqmi" +select LIBMBIM if LIBQMI_MBIM_QMUX +prompt "libqmi " help Support library to use the Qualcomm MSM Interface (QMI) protocol + +if LIBQMI + +config LIBQMI_MBIM_QMUX +bool "enable mbim-qmux support" +default y if MODEMMANAGER + +endif diff --git a/rules/libqmi.make b/rules/libqmi.make index 00ec44f8e..9670236e2 100644 --- a/rules/libqmi.make +++ b/rules/libqmi.make @@ -39,6 +39,8 @@ LIBQMI_CONF_OPT:=3D \ --disable-gtk-doc \ --disable-gtk-doc-html \ --disable-gtk-doc-pdf \ +--disable-qmi-username \ +--$(call ptx/endis, PTXCONF_LIBQMI_MBIM_QMUX)-mbim-qmux \ --without-udev \ --with-udev-base-dir=3D/usr/lib/udev -- 2.28.0 Diehl Connectivity Solutions GmbH Gesch=E4ftsf=FChrung: Horst Leonberger Sitz der Gesellschaft: N=FCrnberg - Registergericht: Amtsgericht N=FCrnberg: HRB 32315 ________________________________ Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mai= l enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalte= n haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung u= nd/oder Publikation dieser E-Mail ist strengstens untersagt. - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Si= e unter: https://www.diehl.com/group/de/transparenz-und-informationspflichten/ The contents of the above mentioned e-mail is not legally binding. This e-m= ail contains confidential and/or legally protected information. Please info= rm us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, discl= osure, alteration, distribution and/or publication of this e-mail is strict= ly prohibited. - For general information on data protection and your respective rights ple= ase visit: https://www.diehl.com/group/en/transparency-and-information-obligations/ _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@p= engutronix.de