summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bajpai <sbajpai@codeaurora.org>2015-06-09 18:46:04 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:30:41 -0600
commit92659ec367f9b13ea13d3b9956df690a5e13a19d (patch)
tree40b1caaa1595fab624e6ddd95c69b208c63d6eae
parent1ec90ad14867768564a0441de9cf7cfa9e9783f6 (diff)
downloadhardware_libhardware-92659ec367f9b13ea13d3b9956df690a5e13a19d.zip
hardware_libhardware-92659ec367f9b13ea13d3b9956df690a5e13a19d.tar.gz
hardware_libhardware-92659ec367f9b13ea13d3b9956df690a5e13a19d.tar.bz2
BT:[2/3] Send VSC to SOC for VOIP connectivity network type.
- Add interface for passing voip network wifi type info to btif. CRs-Fixed: 821566 Change-Id: Ie790415f181184cc79cf700c2faceeb0a2981d7b
-rw-r--r--include/hardware/bt_hf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/hardware/bt_hf.h b/include/hardware/bt_hf.h
index 6a86f86..dbac061 100644
--- a/include/hardware/bt_hf.h
+++ b/include/hardware/bt_hf.h
@@ -244,6 +244,17 @@ typedef enum {
BTHF_CALL_ADDRTYPE_UNKNOWN = 0x81,
BTHF_CALL_ADDRTYPE_INTERNATIONAL = 0x91
} bthf_call_addrtype_t;
+
+typedef enum {
+ BTHF_VOIP_CALL_NETWORK_TYPE_MOBILE = 0,
+ BTHF_VOIP_CALL_NETWORK_TYPE_WIFI
+} bthf_voip_call_network_type_t;
+
+typedef enum {
+ BTHF_VOIP_STATE_STOPPED = 0,
+ BTHF_VOIP_STATE_STARTED
+} bthf_voip_state_t;
+
/** Represents the standard BT-HF interface. */
typedef struct {
@@ -326,6 +337,10 @@ typedef struct {
/** Response for BIND TEST command */
bt_status_t (*bind_string_response) (const char* result, bt_bdaddr_t *bd_addr);
+
+ /** Sends connectivity network type used by Voip currently to stack */
+ bt_status_t (*voip_network_type_wifi) (bthf_voip_state_t is_voip_started,
+ bthf_voip_call_network_type_t is_network_wifi);
} bthf_interface_t;
__END_DECLS