Support for IPA v3.1 (MSM8998) via QRTR
Hey!
Recently SDM845 devices have been enjoying cellular data support via ModemManager thanks to merging of !470 (merged) and libqmi!235 (merged); now I'd like to create a progress tracker of sorts for MSM8998 SoCs which have upcoming IPA patches in the works by Alex Elder.
With my testing tree I was able to get a seemingly working connection using the following commands (libqmi
& ModemManager
components built from git master):
AID=$(qmicli -d qrtr://0 -p --uim-get-card-status | grep -E "([A-Z0-9]{2}:){15}[A-Z0-9]{2}" | xargs)
qmicli -d qrtr://0 -p --uim-change-provisioning-session="slot=1,activate=yes,session-type=primary-gw-provisioning,aid=$AID"
qmicli -d qrtr://0 -p --dpm-open-port="hw-data-ep-type=embedded,hw-data-ep-iface-number=1,hw-data-rx-id=3,hw-data-tx-id=16"
ModemManager --debug &> mm-debug.log &
mmcli -m 0 --sim=0 --pin=XXXX
mmcli -m 0 --enable
mmcli -m 0 --simple-connect="apn=internet,ip-type=ipv4"
ip link set qmapmux0.0 up
nmcli connection add type gsm ifname qrtr0 con-name LTE apn internet
nmcli radio wwan on
However I can't seem to actually be able to establish a connection with anything even though e.g. mmcli -m 0
, mmcli -m 0 --bearer=1
, ip address show qmapmux0.0
and ip route
shows signs of everything being fine.
If @aleksm in particular would like to help out I'd greatly appreciate it; here's a tail -f mm-debug.log
from right before running simple-connect
(I can upload the entire debug log if needed): mm-debug-tail.log