DMR: Reconfigure dmr_le;

Reconfigure dmr_le so that it can be completely disabled for Hytera Enhanced, or Late Entry MI only for DMRA, or Late Entry MI and Key/Alg for DMRA;

Misc Hytera Enhanced Setup Tweaks;
This commit is contained in:
lwvmobile
2025-03-26 00:54:08 -04:00
parent 88c76c4a6c
commit 4b75211ad0
5 changed files with 28 additions and 14 deletions

View File

@@ -283,7 +283,8 @@ void dmrMS (dsd_opts * opts, dsd_state * state)
}
//collect the mi fragment
dmr_late_entry_mi_fragment (opts, state, vc, m1, m2, m3);
if (opts->dmr_le != 2) //if not Hytera Enhanced
dmr_late_entry_mi_fragment (opts, state, vc, m1, m2, m3);
//errors in ms/mono since we skip the other slot
// cach_err = dmr_cach (opts, state, cachdata);
@@ -556,7 +557,8 @@ void dmrMSBootstrap (dsd_opts * opts, dsd_state * state)
}
//collect the mi fragment
dmr_late_entry_mi_fragment (opts, state, 1, m1, m2, m3);
if (opts->dmr_le != 2) //if not Hytera Enhanced
dmr_late_entry_mi_fragment (opts, state, 1, m1, m2, m3);
//errors due to skipping other slot
// cach_err = dmr_cach (opts, state, cachdata);