Add IMS/VoLTE/VoWiFi stack and fix Dual-SIM cellular mobile data
- Add Qualcomm MCFG .mbn parser and profile store (bananarchy-imsctl), QMI_PDC/QMI_IMSDCM VoLTE daemon (bananarchy-imsd), and SWu IKEv2/EAP-AKA/ESP/SIP/AMR VoWiFi engine (bananarchy-vowifi) with disabled-by-default (auto) 4G-only activation and xmodem/xfiles/xcallscreen UI support. - Add libmm-wds-bind.so QMI_SERVICE_WDS PRIMARY subscription binding (including serialized post-mux/data-port binding), msm-modem-uim-selection DSDS PS-domain handoff, cs-only dial pause/restore (10-bananarchy-dpm.sh), cold-boot mmcli -K recovery, and networks.so connection.autoconnect no race fix. - Add offline test suites (test-ims-mbn.py, test-imsd-volte.py, test-vowifi-swu-ims.py, test-lte-mobile-data.py), update docs (CHANGELOG.md Unreleased, README.md, MANUAL.md, AGENTS.md), and pin rebuilt 4-target image SHA-256 hashes in scripts/check-rebuild.sh.
This commit is contained in:
1 parent
03bc80f267
commit
c40ec932de
65 files changed
+11916
-129
No files matched your search
@@ -10,8 +10,14 @@ if [ "$1" = "wlan0" ]; then
|
||||
esac
|
||||
exit 0
|
||||
fi
|
||||
[ "$1" = "qrtr0" ] || [ "$1" = "wwan0" ] || exit 0
|
||||
[ "$1" = "qrtr0" ] || [ "$1" = "wwan0" ] || [ "$1" = "rmnet_data0" ] || exit 0
|
||||
case "$2" in
|
||||
up|vpn-up) /usr/bin/bananarchy-dpm.sh open ;;
|
||||
pre-up|up|vpn-up) /usr/bin/bananarchy-dpm.sh open ;;
|
||||
down|post-down)
|
||||
_pause_file="${BANANARCHY_RUNDIR:-/run/bananarchy}/dsds_paused_for_data"
|
||||
if [ -f "$_pause_file" ]; then
|
||||
"${BANANARCHY_UIM_SEL:-/usr/libexec/msm-modem-uim-selection}" restore-dsds >/dev/null 2>&1 || true
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# Notify bananarchy-imsd on interface up/down/connectivity changes without blocking NM.
|
||||
IFACE="${1:-any}"
|
||||
EVENT="${2:-change}"
|
||||
|
||||
case "$EVENT" in
|
||||
up|down|connectivity-change|dhcp4-change|dhcp6-change)
|
||||
case "$IFACE" in
|
||||
wlan*|wwan*|rmnet*|tun_ims)
|
||||
/usr/bin/bananarchy-imsctl notify "$IFACE" "$EVENT" >/dev/null 2>&1 &
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Ensure BAM-DMUX wwan0 and PS/APN prerequisites are ready before cellular connect.
|
||||
[ "${1:-}" = "qrtr0" ] || [ "${1:-}" = "wwan0" ] || exit 0
|
||||
case "${2:-}" in
|
||||
pre-up)
|
||||
/usr/bin/bananarchy-dpm.sh open
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
@@ -0,0 +1,16 @@
|
||||
# Bananarchy IMS / VoLTE / VoWiFi configuration
|
||||
# Default: disabled (idle) unless connected network is 4G-only (auto mode).
|
||||
volte_mode=auto
|
||||
vowifi_mode=auto
|
||||
volte_backend=auto
|
||||
epdg_server=
|
||||
ims_apn=ims
|
||||
ims_sim_slot=1
|
||||
active_mbn=
|
||||
auto_install_mbn=1
|
||||
vowifi_roaming=0
|
||||
wfc_preference=cellular_preferred
|
||||
vowifi_codec=amr-wb
|
||||
sip_realm=
|
||||
pcscf_override=
|
||||
keep_lte_on_screen_off=1
|
||||
@@ -56,6 +56,9 @@ permit nopass :wheel as root cmd bananarchy-privacy-ctl
|
||||
permit nopass :wheel as root cmd /usr/bin/bananarchy-display-power-sync
|
||||
permit nopass :wheel as root cmd /usr/bin/bananarchy-power-policy.sh
|
||||
permit nopass :wheel as root cmd bananarchy-power-policy.sh
|
||||
permit nopass :wheel as root cmd /usr/bin/bananarchy-imsctl
|
||||
permit nopass :wheel as root cmd bananarchy-imsctl
|
||||
permit nopass :wheel as root cmd /usr/bin/bananarchy-ims-bearer.sh
|
||||
permit nopass :wheel as root cmd /usr/bin/bananarchy-time-sync.sh
|
||||
permit nopass :wheel as root cmd bananarchy-time-sync.sh
|
||||
permit nopass :wheel as root cmd bananarchy-display-power-sync
|
||||
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/sbin/openrc-run
|
||||
description="Bananarchy event-driven IMS / VoLTE / VoWiFi / MBN daemon"
|
||||
supervisor=supervise-daemon
|
||||
command="/usr/bin/bananarchy-imsd"
|
||||
respawn_delay=3
|
||||
respawn_max=5
|
||||
retry="TERM/3/KILL/1"
|
||||
|
||||
depend() {
|
||||
after rmtfs msm-modem-uim-selection modemmanager networkmanager
|
||||
}
|
||||
@@ -15,6 +15,9 @@ depend() {
|
||||
|
||||
start_pre() {
|
||||
killall -q ModemManager 2>/dev/null || true
|
||||
if [ -r /usr/lib/libmm-wds-bind.so ]; then
|
||||
export LD_PRELOAD="/usr/lib/libmm-wds-bind.so${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||
fi
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/etc/init.d/bananarchy-imsd
|
||||
Reference in new issue
Block a user