atmodem: Use Qualcomm Gobi quirks for SMS, CBS and USSD

This commit is contained in:
Marcel Holtmann 2011-01-22 11:32:50 +01:00
parent b7739919f8
commit 66032172ef
3 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,7 @@ static void at_cbs_set_topics(struct ofono_cbs *cbs, const char *topics,
* a topic range for clearing makes AT+CSBC=0,... fail.
*/
switch (data->vendor) {
case OFONO_VENDOR_GOBI:
case OFONO_VENDOR_QUALCOMM_MSM:
g_at_chat_send(data->chat, "AT+CSCB=1", none_prefix,
NULL, NULL, NULL);

View File

@ -799,6 +799,7 @@ static gboolean build_cnmi_string(char *buf, int *cnmi_opts,
DBG("");
switch (data->vendor) {
case OFONO_VENDOR_GOBI:
case OFONO_VENDOR_QUALCOMM_MSM:
case OFONO_VENDOR_NOVATEL:
case OFONO_VENDOR_HUAWEI:

View File

@ -252,6 +252,7 @@ static void cusd_cancel_cb(gboolean ok, GAtResult *result, gpointer user_data)
decode_at_error(&error, g_at_result_final_response(result));
switch (data->vendor) {
case OFONO_VENDOR_GOBI:
case OFONO_VENDOR_QUALCOMM_MSM:
/* All errors and notifications arrive unexpected and
* thus just reset the state here. This is safer than