summaryrefslogtreecommitdiff
path: root/plugins/mbim.c
Commit message (Collapse)AuthorAgeFilesLines
* treewide: Remove superfluous use of _GNU_SOURCEJonas Bonn2018-10-171-1/+0
| | | | | | There are a large number of files in the tree that define _GNU_SOURCE despite not actually using features hidden behind this flag. This patch removes all these definitions in one fell swoop...
* mbim: Remove useless debugDenis Kenzior2018-06-191-2/+0
|
* plugins: Add support for SIM7100E by SIMComBob Ham2018-04-301-0/+2
| | | | | | Add support for the SIM7100E modem. We add a new "sim7100" plugin because there's no other AT-based modem that has support for both GPRS and voice calls.
* mbim: Keep track of max_sessionsDenis Kenzior2017-11-131-0/+5
| | | | | Also set the CID range 0..max sessions. This forces the default context into cid 0
* mbim: Instantiate gprs-context atomDenis Kenzior2017-11-131-1/+11
|
* mbim: Add gprs atomDenis Kenzior2017-11-131-0/+2
|
* mbim: Set the subscribe listDenis Kenzior2017-11-081-5/+41
| | | | | Some devices don't seem to enable incoming SMS notifications. So set the notifications we're interested in at modem startup.
* mbim: Add sms atomDenis Kenzior2017-11-081-0/+5
|
* mbim: Turn radio off before disablingDenis Kenzior2017-11-081-2/+22
|
* mbim: Add netreg atomDenis Kenzior2017-11-081-0/+5
|
* mbim: Set device online and offline properlyDenis Kenzior2017-10-091-2/+55
| | | | | At initialization time set the radio off and implement .set_online to toggle the radio state.
* mbim: Add sim atom to mbim modem driverDenis Kenzior2017-10-091-0/+4
|
* mbim: Instantiate devinfo atomDenis Kenzior2017-10-051-0/+6
|
* mbim: Add basic enable/disableDenis Kenzior2017-10-051-2/+101
|
* mbim: Parse MBIM descriptorsDenis Kenzior2017-10-051-0/+51
| | | | | | | | | | | This is needed to find out the maximum fragment size that this device supports. The minimum length specified in the spec is 64, however 512 bytes is recommended. We also attempt to parse how many simultaneous commands can be outstanding at a given time. In theory MBIM supports multiple outstanding commands through the use of transaction-id matching, but it seems some devices only support a single outstanding command at a time.
* mbim: Add skeleton mbim modem driverDenis Kenzior2017-10-051-0/+138