bearer-cdma: when specific RM protocol given to be used, ensure it is supported

If the requested RM protocol is not supported, the CDMA Bearer creation will
fail.
This commit is contained in:
Aleksander Morgado
2012-01-09 13:30:00 +01:00
parent 070c277013
commit d1cfdd974c
3 changed files with 158 additions and 0 deletions

View File

@@ -77,6 +77,14 @@ gboolean mm_cdma_parse_eri (const char *reply,
guint32 *out_ind,
const char **out_desc);
MMModemCdmaRmProtocol mm_cdma_get_rm_protocol_from_index (guint index,
GError **error);
gboolean mm_cdma_parse_crm_range_response (const gchar *reply,
MMModemCdmaRmProtocol *min,
MMModemCdmaRmProtocol *max,
GError **error);
gboolean mm_gsm_parse_cscs_support_response (const char *reply,
MMModemCharset *out_charsets);