aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-04-13broadband-modem-qmi: implement Time interfaceDan Williams
Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-13Merge request !1337 from 'fibocom-handle-no-fw-parent'Dan Williams
shared-fibocom: don't assume parent implements the firmware interface https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1337 Closes #975
2025-04-13shared-fibocom: don't assume parent implements the firmware interfaceDan Williams
MMBroadbandModemMbimMtkFibocom doesn't, so don't assert it. Fixes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/975 Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-13Merge request !1325 from 'cbm/qmi'Dan Williams
broadband-modem-qmi: Add Cell Broadcast support https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1325 Closes #935
2025-04-13broadband-modem-qmi: Enable Cell BroadcastGuido Günther
For QMI we have an extra QMI request so use that to make sure receiving messages is actually enabled. Closes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1325 Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-04-13broadband-modem-qmi: Add support for loading channelsGuido Günther
This allows to retrive the list of configured Cell Broadcast channels. Closes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1325 Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-04-13broadband-modem-qmi: Add support for setting channelsGuido Günther
This allows to receive Cell Broadcast messages in the specified channel range on SDM670 based devices (X12 modem) and SDM845 (X20 modem) without any AT ports (like the OnePlus 6/6T and Google Pixel 3a). Helps: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1325 Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-04-13broadband-modem-qmi: Add initial interface bitsGuido Günther
This allows to receive Cell Broadcast messages. Tested with single part CBMs only as my setup currently only allows for these. Helps: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1325 Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-04-13ci: Build full libqmiGuido Günther
The basic collection is not enough for MM Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-04-13ci: Move variables to common-variablesGuido Günther
This makes it a bit more obvious where the vars are available. Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-04-13Merge request !1334 from 'modem-helpers-act-fix'Dan Williams
modem-helpers: fix checking of CDMA/EVDO access technology https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1334
2025-04-12modem-helpers: fix checking of CDMA/EVDO access technologyDan Williams
Missing ! for strncmp() meant the test was backwards and would erroneously report 1xRTT and EVDOr0 when those access technologies were not in use. Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-11Merge request !1333 from 'fix-gtk-doc'Dan Williams
Fix gtk-doc build https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1333
2025-04-11docs: Fix gtk-doc buildJan Alexander Steffens (heftig)
Fix a duplicate `id` and the inclusions of gdbus docs. Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2025-04-10Merge request !1331 from 'bump-1-25-0'Dan Williams
build: unstable release version bump to 1.25.0 https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1331
2025-04-09build: unstable release version bump to 1.25.0Dan Williams
Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-10Merge request !1330 from 'release-1-24-0'Dan Williams
release: bump version to 1.24.0 https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1330
2025-04-09release: bump version to 1.24.0Dan Williams
Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-09Merge request !1329 from '1-24-qmi-mbim-bump'Dan Williams
build: bump libmbim requirement to >= 1.32 and libqmi to >= 1.36 https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1329
2025-04-09build: bump libmbim requirement to >= 1.32 and libqmi to >= 1.36Dan Williams
ModemManager uses some of the new symbols in libqmi. Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-09Merge request !1322 from 'qmi-no-supported-modes'Dan Williams
modem-helpers-qmi: better handle no supported modes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1322
2025-04-09modem-helpers-qmi: better handle no supported modesDan Williams
Dell Snapdragon X62 before FCC Unlock reports no radio interfaces from QMI and no device capabilities from MBIM. Instead of asserting in mm_filter_supported_modes() when called from mm_supported_modes_from_qmi_supported_modes_context() gracefully handle the lack of supported modes. Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-09Merge request !1326 from 'fix-dco-again'Dan Williams
ci: fix DCO check yet again https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1326
2025-04-08ci: fix DCO check yet againDan Williams
The script was combining all commit messages into one due to the quoting of "${COMMIT}", rather than leaving unquoted and picking each individual commit from the space separated string. Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-09Merge request !1327 from 'nas-service-domain-deprecated'Dan Williams
modem-helpers-qmi: fix deprecated usage of QMI_NAS_NETWORK_SERVICE_DOMAIN_UNKNOWN https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1327
2025-04-08modem-helpers-qmi: fix deprecated usage of ↵Dan Williams
QMI_NAS_NETWORK_SERVICE_DOMAIN_UNKNOWN Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-03Merge request !1323 from 'mbim-data-class-unknown'Dan Williams
broadband-modem-mbim: consistently handle custom data classes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1323
2025-04-03cli: report 5GNR RSSI in extended signal infoDan Williams
MBIM modems report RSSI and sometimes don't report more detailed RSRP and SNR info their MBIMex v2 signal-state replies. RSSI gets reported for every other access technology, and while it's not as good a signal indicator as the others, we might as well show something. Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-03tests: add tests for mm_signal_from_mbim_signal_state()Dan Williams
Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-01broadband-modem-mbim: consolidate determination of data classDan Williams
Do it in a function instead of the same thing in a bunch of places. Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-04-01broadband-modem-mbim: consistently handle custom data classesDan Williams
Consistently interpret the modem's reported custom data class when loading current mode, supported mode, supported capabilities, setting current mode, and current access technology. Normalize the data class to include any custom data class immediately after reading it from any MBIM message. De-normalize it when sending back to the modem when setting current modes so the modem receives MBIM_DATA_CLASS_CUSTOM for the custom mode. Fixes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/937 Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-03-29Merge request !1321 from 'cbm/channels-mmcli'Dan Williams
CellBroadcast: Add libmm-glib and mmcli support for setting channels https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1321 Closes #934
2025-03-29man: Add cell broadcast optionsGuido Günther
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-29mmcli/cell-broadcast: Allow to set channel listGuido Günther
Allows to set the channel list like: mmcli -m any --cell-broadcast-set-channels=0-9999,4353 Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-29mmcli/cell-broadcast: Add status outputGuido Günther
This allows to get the current channel list: $ mmcli -m any --cell-broadcast-status -------------------------- Cell Broadcast | channels: 0-9999,4353
2025-03-29libmm-glib,cell-broadcast: Add setters for channel listGuido Günther
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-29libmm-glib,cell-broadcast: Support channels propertyGuido Günther
Support reading channels in the API too Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-29libmm-glib,helpers: Add helpers to parse CB channels in and out of stringsGuido Günther
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-29libmm-glib,test: Remove trailing whitespaceGuido Günther
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-29Merge request !1313 from 'fcc-unlock-14c3-sh'Dan Williams
fcc-unlock: Transition the 14c3 FCC unlock script to use sh https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1313
2025-03-29fcc-unlock: Disable execute bit from 14c3Jongmin Kim
Signed-off-by: Jongmin Kim <jmkim@debian.org>
2025-03-29fcc-unlock: Transition the 14c3 FCC unlock script to use shJongmin Kim
This enables the usage with busybox and strict environments. This is related to #483 and the previous commit 91ed72aa, 02baf283. Signed-off-by: Jongmin Kim <jmkim@debian.org>
2025-03-28Merge request !1294 from 'cbm/channels'Dan Williams
cellbroadcast: Allow to set channel list https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1294 Closes #934
2025-03-28modem: Load current channels on startupGuido Günther
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-28modem: Allow to set current channel listGuido Günther
This adds support for setting the channels to override the boot up modem defaults: ``` busctl --system call org.freedesktop.ModemManager1 /org/freedesktop/ModemManager1/Modem/0 org.freedesktop.ModemManager1.Modem.CellBroadcast SetChannels 'a(uu)' 1 0 9999 busctl --system get-property org.freedesktop.ModemManager1 /org/freedesktop/ModemManager1/Modem/0 org.freedesktop.ModemManager1.Modem.CellBroadcast Channels a(uu) 1 0 9999 ``` Closes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/934 Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-28modem-helpers: Add helpers to parse channel listsGuido Günther
`CSCB` has the form ``` CSCB: [0|1],"<channel-list>","<data-coding-scheme>" ``` If the first parameter is `0` this specifies the accepted types if `1` it specifies rejected. So far seen in the wild were CSCB strings with accepted types only and a coding scheme of "" so this is what we handle for the moment. Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-28libmm-glib,helpers: Add helpers for CellBroadcast channel listsGuido Günther
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-27Merge request !1301 from 'mode-detect-4g-5g'Dan Williams
broadband-modem: detect modem modes with +CEREG and +C5GREG https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1301 Closes #786
2025-03-27broadband-modem: detect modem modes with +CEREG and +C5GREGDan Williams
Some AT-based modems like the Quectel Unisoc-based RM500U don't support the older AT commands we used to detect modes like AT*CNTI=2 and AT+WS46. Add support for detecting 4G and 5G with generic commands too. Fixes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/786 Signed-off-by: Dan Williams <dan@ioncontrol.co>
2025-03-27Merge request !1240 from 'port-delay'Dan Williams
port-probe: allow per-port ID_MM_TTY_AT_PROBE_TRIES tag for custom number of AT probes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1240