diff --git a/libvoice-airoha/files/etc/uci-defaults/991-libvoice-airoha b/libvoice-airoha/files/etc/uci-defaults/991-libvoice-airoha index d09f7824c..2d7b91a07 100644 --- a/libvoice-airoha/files/etc/uci-defaults/991-libvoice-airoha +++ b/libvoice-airoha/files/etc/uci-defaults/991-libvoice-airoha @@ -17,6 +17,11 @@ SLIC=$(cat /proc/device-tree/airoha-voice/slic-type) hasDect=$(db -q get hw.board.hasDect) [ "$hasDect" = "1" ] || exit 0 +# Set the DECT RFPI +. /lib/functions/iopsys-environment.sh +db set hw.board.dect_rfpi=$(get_dect_rfpi) +db commit + # configure the PCM for DECT/DCX81 [ -f "/proc/device-tree/aliases/dcx81-uart" ] && { uci set dect.global.pcm_fsync='SHORT_LF'