comparison mgw/mdcx.c @ 174:c985c33baeac

mgw: support EFR by way of libgsmefr
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 10 Jan 2023 17:56:22 -0800
parents a6eb2de277f6
children 0047c4c08d9e
comparison
equal deleted inserted replaced
173:36cce9b0bbe2 174:c985c33baeac
48 return TMGW_RESP_ERR_PARAM; 48 return TMGW_RESP_ERR_PARAM;
49 if (req->gsm_payload_type > 0x7F) 49 if (req->gsm_payload_type > 0x7F)
50 return TMGW_RESP_ERR_PARAM; 50 return TMGW_RESP_ERR_PARAM;
51 switch (req->gsm_payload_msg_type) { 51 switch (req->gsm_payload_msg_type) {
52 case GSM_TCHF_FRAME: 52 case GSM_TCHF_FRAME:
53 case GSM_TCHF_FRAME_EFR:
53 break; 54 break;
54 case GSM_TCHF_FRAME_EFR:
55 case GSM_TCHH_FRAME: 55 case GSM_TCHH_FRAME:
56 case GSM_TCH_FRAME_AMR: 56 case GSM_TCH_FRAME_AMR:
57 return TMGW_RESP_ERR_NOTSUP; 57 return TMGW_RESP_ERR_NOTSUP;
58 default: 58 default:
59 return TMGW_RESP_ERR_PARAM; 59 return TMGW_RESP_ERR_PARAM;