summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-04umbim: allow sessionid != 0HEADmasterBjørn Mork
MBIM supports multiplexed IP sessions for connecting to more than one APN. The connect, config and disconnect operations are session specific. Add support for operatin on non-default sessions. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2019-08-29umbim: add home provider query supportIngo Feinerer
This adds support to query the home provider, mainly for debugging and information purposes. Signed-off-by: Ingo Feinerer <feinerer@logic.at>
2019-04-10Iron out all extra compiler warningsPetr Štetiar
mbim-msg.c:83:17: error: comparison between signed and unsigned integer expressions cli.c:50:10: error: comparison between signed and unsigned integer expressions cli.c:81:10: error: comparison between signed and unsigned integer expressions cli.c:104:10: error: comparison between signed and unsigned integer expressions cli.c:140:10: error: comparison between signed and unsigned integer expressions cli.c:154:18: error: comparison between signed and unsigned integer expressions cli.c:171:10: error: comparison between signed and unsigned integer expressions cli.c:194:10: error: comparison between signed and unsigned integer expressions cli.c:223:10: error: comparison between signed and unsigned integer expressions cli.c:229:17: error: comparison between signed and unsigned integer expressions cli.c:241:17: error: comparison between signed and unsigned integer expressions cli.c:247:17: error: comparison between signed and unsigned integer expressions cli.c:259:17: error: comparison between signed and unsigned integer expressions cli.c:272:10: error: comparison between signed and unsigned integer expressions cli.c:549:16: error: comparison between signed and unsigned integer expressions mbim-dev.c:68:21: error: comparison between signed and unsigned integer expressions mbim-dev.c:97:10: error: comparison between signed and unsigned integer expressions Reviewed-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-04-10Enable extra compiler checksPetr Štetiar
Let's enforce additional automatic checks enforced by the compiler in order to catch possible errors during compilation. Reviewed-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-04-10mbim-proxy supportBjørn Mork
This adds support for the libmbim-glib "mbim-proxy", allowing umbim to access a device under ModemManager control. The feature is mostly useful for debugging and development purposes, and is therefore disabled by default. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2019-04-10umbim: add registration set supportIngo Feinerer
This implements the MBIM automatic registration mode to let the function select the best provider network. Signed-off-by: Ingo Feinerer <feinerer@logic.at> Reviewed-by: Bjørn Mork <bjorn@mork.no>
2016-05-11add radio_state set/query supportBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-05-11update usage()Bjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-05-11get buffer size from driverBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-05-11dynamically allocate bufferBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2015-04-03support non default ip-typesBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2015-04-03support IPv6 configurationBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2015-04-03fix IP configuration prefix outputBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2015-04-03add command_id to verbose outputBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2015-04-03avoid parsing InformationBuffer unless status is "success"Bjørn Mork
The MBIM specification requires that the InformationBuffer is empty unless the status field is MBIM_STATUS_SUCCESS, except for 4 explicit combinations of status code and command id. Avoid calling the reply handler if the status code is non-zero and the information buffer is empty. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2015-04-03add command done status to verbose outputBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2015-04-03fix subscriber response segfaultBjørn Mork
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2014-12-10fix build for 64 bit systemsJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-09-08cleanup authprotocol handlingJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-08-24add support for authproto/username/passwordJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-08-24sanitize pincode properlyJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-08-24add gpl licenseJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-08-21initial importJohn Crispin