From 3c2ce0bb18828c04594f1074a1f5942b3a90f25c Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Fri, 6 Oct 2023 08:54:00 -0400 Subject: [PATCH] P25 -- Disable UU_V Grants when TG Hold; --- src/p25p1_mdpu.c | 4 ++-- src/p25p2_vpdu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/p25p1_mdpu.c b/src/p25p1_mdpu.c index 1ed1588..fa1f99b 100644 --- a/src/p25p1_mdpu.c +++ b/src/p25p1_mdpu.c @@ -424,8 +424,8 @@ void processMPDU(dsd_opts * opts, dsd_state * state) } } - //TG hold on P25p1 Ext UU -- may not be ideal/feasible to use these on private calls - // if (state->tg_hold != 0 && state->tg_hold != target) sprintf (mode, "%s", "B"); + //TG hold on P25p1 Ext UU -- will want to disable UU_V grants while TG Hold enabled + if (state->tg_hold != 0 && state->tg_hold != target) sprintf (mode, "%s", "B"); // if (state->tg_hold != 0 && state->tg_hold == target) sprintf (mode, "%s", "A"); //Skip tuning private calls if group calls are disabled diff --git a/src/p25p2_vpdu.c b/src/p25p2_vpdu.c index d42bcf0..f564390 100644 --- a/src/p25p2_vpdu.c +++ b/src/p25p2_vpdu.c @@ -525,8 +525,8 @@ void process_MAC_VPDU(dsd_opts * opts, dsd_state * state, int type, unsigned lon } } - //TG hold on UU_V -- may not want to allow these in case of TG and RID both are same - // if (state->tg_hold != 0 && state->tg_hold != target) sprintf (mode, "%s", "B"); + //TG hold on UU_V -- will want to disable UU_V grants while TG Hold enabled + if (state->tg_hold != 0 && state->tg_hold != target) sprintf (mode, "%s", "B"); // if (state->tg_hold != 0 && state->tg_hold == target) // { // sprintf (mode, "%s", "A");