DMR: Setup a KS start (offset) value to apply specifically for chained p_head where the second p_head is only partially encrypted;

This commit is contained in:
lwvmobile
2025-03-01 12:57:25 -05:00
parent f5fad8d5e0
commit df56d421f8
4 changed files with 28 additions and 3 deletions

View File

@@ -371,6 +371,8 @@ noCarrier (dsd_opts * opts, dsd_state * state)
state->data_block_poc[1] = 0;
state->data_byte_ctr[0] = 0;
state->data_byte_ctr[1] = 0;
state->data_ks_start[0] = 0;
state->data_ks_start[1] = 0;
state->dmr_encL = 0;
state->dmr_encR = 0;
@@ -1046,6 +1048,8 @@ initState (dsd_state * state)
state->data_block_poc[1] = 0;
state->data_byte_ctr[0] = 0;
state->data_byte_ctr[1] = 0;
state->data_ks_start[0] = 0;
state->data_ks_start[1] = 0;
state->menuopen = 0; //is the ncurses menu open, if so, don't process frame sync