hal: Add support for HFP feature

- add support for audio tuning of HFP
- add TX reference for TX Echo Cancellation

Change-Id: I5d7ffe1481a5093262b4b94ae0325fa81111feac
Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
diff --git a/hal/audio_extn/hfp.c b/hal/audio_extn/hfp.c
index bfeb6e7..66d1f9b 100644
--- a/hal/audio_extn/hfp.c
+++ b/hal/audio_extn/hfp.c
@@ -119,6 +119,7 @@
     int32_t pcm_dev_rx_id, pcm_dev_tx_id, pcm_dev_asm_rx_id, pcm_dev_asm_tx_id;
 
     ALOGD("%s: enter", __func__);
+    adev->enable_hfp = true;
 
     uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase));
     uc_info->id = hfpmod.ucid;
@@ -208,6 +209,7 @@
     struct audio_usecase *uc_info;
 
     ALOGD("%s: enter", __func__);
+    adev->enable_hfp = false;
     hfpmod.is_hfp_running = false;
 
     /* 1. Close the PCM devices */