Skip to contentSkip to conversation

hfp: Add Voice Recognition flag to BRSF for HF role

PATCH New Andrew Earl 2 participants 3 messages Dec 4, 2013 – Dec 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hfp: Add Voice Recognition flag to BRSF for HF role

Fix for PTS testing of BVRA command in Handsfree Role.

Andrew Earl (1):
hfp: Add Voice Recognition flag to BRSF for HF role

 drivers/hfpmodem/slc.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 10 lines
1.7.11.7

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
#1 lore raw

PATCH 1/1 hfp: Add Voice Recognition flag to BRSF for HF role

---
 drivers/hfpmodem/slc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/hfpmodem/slc.c +1 -0
index 38a9b2e..3a28a26 100644
@@ -63,6 +63,7 @@ void hfp_slc_info_init(struct hfp_slc_info *info, guint16 version)
 	info->hf_features |= HFP_HF_FEATURE_3WAY;
 	info->hf_features |= HFP_HF_FEATURE_CLIP;
 	info->hf_features |= HFP_HF_FEATURE_REMOTE_VOLUME_CONTROL;
+        info->hf_features |= HFP_HF_FEATURE_VOICE_RECOGNITION;
 
 	if (version < HFP_VERSION_1_5)
 		goto done;
Signature · 10 lines
1.7.11.7

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
#2 lore raw

Hi Andrew,

drivers/hfpmodem/slc.c void hfp_slc_info_init(struct hfp_slc_info *info, guint16 version) · line 66

Quoted 13 lines · Andrew Earl
---
  drivers/hfpmodem/slc.c | 1 +
  1 file changed, 1 insertion(+)
drivers/hfpmodem/slc.c +1 -0
index 38a9b2e..3a28a26 100644
@@ -63,6 +63,7 @@ void hfp_slc_info_init(struct hfp_slc_info *info, guint16 version)
  	info->hf_features |= HFP_HF_FEATURE_3WAY;
  	info->hf_features |= HFP_HF_FEATURE_CLIP;
  	info->hf_features |= HFP_HF_FEATURE_REMOTE_VOLUME_CONTROL;
+        info->hf_features |= HFP_HF_FEATURE_VOICE_RECOGNITION;

Please note that we do not use spaces for indentation, only tabs. I had to fix this up for you manually. Please keep this in mind for future submissions.

drivers/hfpmodem/slc.c void hfp_slc_info_init(struct hfp_slc_info *info, guint16 version)

Quoted 4 lines
drivers/hfpmodem/slc.c +0 -0
  	if (version < HFP_VERSION_1_5)
  		goto done;
 

Patch has been applied, thanks.

Regards,
-Denis