aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/qmimodem/voice_generated.h
diff options
context:
space:
mode:
authorJoey Hewitt <joey@joeyhewitt.com>2017-09-14 19:19:43 -0700
committerJoey Hewitt <joey@joeyhewitt.com>2017-09-14 19:19:43 -0700
commit979fce83a1985b8a43f1b8f49ed746710792375f (patch)
tree0c5922c69a49c0b5935df21e39094a09f2a4bc91 /drivers/qmimodem/voice_generated.h
parentae8ea8cd07a09236c14232dfe3ed932277ce871e (diff)
downloadandroid_external_ofono-979fce83a1985b8a43f1b8f49ed746710792375f.tar.gz
android_external_ofono-979fce83a1985b8a43f1b8f49ed746710792375f.tar.bz2
android_external_ofono-979fce83a1985b8a43f1b8f49ed746710792375f.zip
qmimodem: reimplement release_specific()
Works better with inactive calls, I think. My testcase is rejecting an incoming call. Without this patch, caller gets abrupt call ended. With it, they get bounced to voicemail (or presumably whatever else the network/callee has configured)
Diffstat (limited to 'drivers/qmimodem/voice_generated.h')
-rw-r--r--drivers/qmimodem/voice_generated.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/qmimodem/voice_generated.h b/drivers/qmimodem/voice_generated.h
index 471b52ea..aa751b71 100644
--- a/drivers/qmimodem/voice_generated.h
+++ b/drivers/qmimodem/voice_generated.h
@@ -41,26 +41,27 @@ enum parse_error qmi_voice_dial_call_parse(
struct qmi_result *qmi_result,
struct qmi_voice_dial_call_result *result);
-struct qmi_voice_end_call_arg {
+struct qmi_voice_manage_call_arg {
+ uint8_t ss_call_type;
bool call_id_set;
uint8_t call_id;
};
-int qmi_voice_end_call(
- struct qmi_voice_end_call_arg *arg,
+int qmi_voice_manage_call(
+ struct qmi_voice_manage_call_arg *arg,
struct qmi_service *service,
qmi_result_func_t func,
void *user_data,
qmi_destroy_func_t destroy);
-struct qmi_voice_end_call_result {
- bool call_id_set;
- uint8_t call_id;
+struct qmi_voice_manage_call_result {
+ bool failcause_set;
+ uint16_t failcause;
};
-enum parse_error qmi_voice_end_call_parse(
+enum parse_error qmi_voice_manage_call_parse(
struct qmi_result *qmi_result,
- struct qmi_voice_end_call_result *result);
+ struct qmi_voice_manage_call_result *result);
struct qmi_voice_answer_call_arg {
bool call_id_set;