summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/hfpmodem.h
diff options
context:
space:
mode:
authorZhenhua Zhang <zhenhua.zhang@intel.com>2009-11-25 13:48:43 +0800
committerDenis Kenzior <denkenz@gmail.com>2009-11-24 20:43:41 -0600
commit64015ff4b80a6d0b07b229b1f5577dcb995fb3c1 (patch)
tree64f9984fd8f11e83914ff616517ce04839b2d8ca /drivers/hfpmodem/hfpmodem.h
parenta4a4bddbe940c565bac545124afdd5bd5ff16881 (diff)
downloadofono-64015ff4b80a6d0b07b229b1f5577dcb995fb3c1.tar.bz2
Fix: Move CHLD from voicecall driver to plugin
According HFP v1.5 spec, AT+CHLD=? should be a part of SLC connection. So we should not do it after SLC connection is created.
Diffstat (limited to 'drivers/hfpmodem/hfpmodem.h')
-rw-r--r--drivers/hfpmodem/hfpmodem.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hfpmodem/hfpmodem.h b/drivers/hfpmodem/hfpmodem.h
index c0e4c7ec..1935cb2e 100644
--- a/drivers/hfpmodem/hfpmodem.h
+++ b/drivers/hfpmodem/hfpmodem.h
@@ -42,6 +42,14 @@
#define HF_FEATURE_ENHANCED_CALL_STATUS 0x20
#define HF_FEATURE_ENHANCED_CALL_CONTROL 0x40
+#define AG_CHLD_0 0x01
+#define AG_CHLD_1 0x02
+#define AG_CHLD_1x 0x04
+#define AG_CHLD_2 0x08
+#define AG_CHLD_2x 0x10
+#define AG_CHLD_3 0x20
+#define AG_CHLD_4 0x40
+
enum hfp_indicator {
HFP_INDICATOR_SERVICE = 0,
HFP_INDICATOR_CALL,
@@ -56,6 +64,7 @@ enum hfp_indicator {
struct hfp_data {
GAtChat *chat;
unsigned int ag_features;
+ unsigned int ag_mpty_features;
unsigned int hf_features;
unsigned char cind_pos[HFP_INDICATOR_LAST];
unsigned int cind_val[HFP_INDICATOR_LAST];