hr test 2

Change-Id: I1ae2dc48c42fda62ab875242b31ed2ea9e3cea53
This commit is contained in:
Neels Hofmeyr 2024-02-07 03:08:30 +01:00
parent b3d0d4eb28
commit d94fe1cd37
1 changed files with 31 additions and 0 deletions

View File

@ -1235,6 +1235,37 @@ static const struct codec_test codec_tests[] = {
.mt_tx_sdp_mncc_setup_cnf = SDP_CODECS_ALL_GSM_AMR_HR_FIRST,
.mo_tx_sdp_mncc_setup_compl_ind = {},
},
{
.desc = "MO on AMR-FR, MT on AMR-HR. See that the AMR modes are selected to match AMR-HR",
.mo_rx_compl_l3_codec_list_bss_supported = CODEC_LIST_ALL_GSM,
.mo_rx_ms_bcap = BCAP_ALL_GSM,
.mo_tx_sdp_mncc_setup_ind = SDP_CODECS_ALL_GSM,
.mo_rx_sdp_mncc_rtp_create = {},
.mo_tx_assignment_perm_speech = PERM_SPEECH_ALL_GSM,
.mo_rx_assigned_codec_fr = true,
.mo_rx_assigned_codec = "AMR:octet-align=1;mode-set=0,2,4,7",
.mo_tx_sdp_mncc_rtp_create = SDP_CODECS_ALL_GSM,
/* mt_rx_sdp_mncc_setup_req == mo_tx_sdp_mncc_rtp_create */
.mt_rx_compl_l3_codec_list_bss_supported = CODEC_LIST_ALL_GSM,
.mt_tx_cc_setup_bcap = BCAP_ALL_GSM,
.mt_rx_ms_bcap = BCAP_ALL_GSM,
.mt_tx_sdp_mncc_call_conf_ind = {},
.mt_rx_sdp_mncc_rtp_create = {},
.mt_tx_assignment_perm_speech = PERM_SPEECH_ALL_GSM,
.mt_rx_assigned_codec_fr = false,
.mt_rx_assigned_codec = "AMR:octet-align=1;mode-set=0,2,4",
.mt_tx_sdp_mncc_rtp_create = SDP_CODECS_ALL_GSM_AMR_HR_FIRST,
.mt_tx_sdp_mncc_alert_ind = SDP_CODECS_ALL_GSM_AMR_HR_FIRST,
/* mo_rx_sdp_mncc_alert_req == mt_tx_sdp_mncc_alert_ind */
.mo_expect_reassignment = true,
.mo_tx_reassignment_perm_speech = PERM_SPEECH_ALL_GSM_HR3_FIRST,
.mo_rx_reassigned_codec_fr = false,
.mo_rx_reassigned_codec = "AMR:octet-align=1;mode-set=0,2,4",
.mt_tx_sdp_mncc_setup_cnf = SDP_CODECS_ALL_GSM_AMR_HR_FIRST,
.mo_tx_sdp_mncc_setup_compl_ind = {},
},
};
static char namebuf[4][1024];