[RFC] libmbim and libqmi mandatory for MM 1.6?
Aleksander Morgado
aleksander at aleksander.es
Sat Jan 17 10:57:31 PST 2015
On Sat, Jan 17, 2015 at 3:33 PM, Marius Kotsbak <marius at kotsbak.com> wrote:
>> Hey,
>>
>> I'd like to suggest removing the optional support for libqmi and
>> libmbim in the next MM release, so that both libraries end up being
>> mandatory. Most distributions already ship both libraries, and most
>> new modems come with MBIM support, so I think it truly makes sense.
>>
>> Any comment?
>
> What I could think of is space restricted embedded devices/containers where
> you want to strip down the pieces that you know are not in use.
>
That's a fair point.
> What are the benefits of making it required?
Less ifdefs everywhere mainly, cleaner code... I still would like to
see if anyone builds MM without libmbim or libqmi lately.
Anyway, again, that is a fair point. Actually, one option we could
even take if we want that as a supported usecase is to allow choosing
the plugins being built; see e.g.:
https://bitbucket.org/mitchfoo/modemmanager/commits/6e11b5b9bd49e8b1ca9a2cf337028765764e0bc0
Or even independent interfaces, e.g.:
https://bitbucket.org/mitchfoo/modemmanager/commits/7e484dd31721482308a6c9215fd0afbc50ccfa91
Now, that is a #ifdef nightmare...
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list