Denis Kenzior
44acd97dd9
mbim: Keep track of max_sessions
...
Also set the CID range 0..max sessions. This forces the default context
into cid 0
2017-11-13 21:24:37 -06:00
Denis Kenzior
a4a7e19379
mbim: Instantiate gprs-context atom
2017-11-13 21:24:37 -06:00
Denis Kenzior
fcd419e2ea
mbim: Add gprs atom
2017-11-13 21:24:37 -06:00
Denis Kenzior
8b98126da5
mbim: Set the subscribe list
...
Some devices don't seem to enable incoming SMS notifications. So set
the notifications we're interested in at modem startup.
2017-11-08 21:41:34 -06:00
Denis Kenzior
2bb8feab07
mbim: Add sms atom
2017-11-08 21:41:34 -06:00
Denis Kenzior
79f5fc6207
mbim: Turn radio off before disabling
2017-11-08 21:02:22 -06:00
Denis Kenzior
b9355ca392
mbim: Add netreg atom
2017-11-08 21:02:22 -06:00
Denis Kenzior
b7c768c74a
mbim: Set device online and offline properly
...
At initialization time set the radio off and implement .set_online
to toggle the radio state.
2017-10-09 20:35:51 -05:00
Denis Kenzior
187b0840d6
mbim: Add sim atom to mbim modem driver
2017-10-09 16:37:57 -05:00
Denis Kenzior
ab17a278c6
mbim: Instantiate devinfo atom
2017-10-05 11:08:38 -05:00
Denis Kenzior
09eed88553
mbim: Add basic enable/disable
2017-10-05 11:08:38 -05:00
Denis Kenzior
e7597bcae2
mbim: Parse MBIM descriptors
...
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.
2017-10-05 11:08:38 -05:00
Denis Kenzior
649d204158
mbim: Add skeleton mbim modem driver
2017-10-05 11:08:38 -05:00