hfp: Add defines for HFP SDP feature bits

This commit is contained in:
Vinicius Costa Gomes 2013-04-23 18:21:51 -03:00 committed by Denis Kenzior
parent 48cb2e5249
commit c07a2fc24c
1 changed files with 18 additions and 0 deletions

View File

@ -45,6 +45,24 @@ enum hfp_hf_feature {
HFP_HF_FEATURE_CODEC_NEGOTIATION = 0x80,
};
enum hfp_sdp_hf_features {
HFP_SDP_HF_FEATURE_ECNR = 0x1,
HFP_SDP_HF_FEATURE_3WAY = 0x2,
HFP_SDP_HF_FEATURE_CLIP = 0x4,
HFP_SDP_HF_FEATURE_VOICE_RECOGNITION = 0x8,
HFP_SDP_HF_FEATURE_REMOTE_VOLUME_CONTROL = 0x10,
HFP_SDP_HF_FEATURE_WIDEBAND_SPEECH = 0x20,
};
enum hfp_sdp_ag_features {
HFP_SDP_AG_FEATURE_3WAY = 0x1,
HFP_SDP_AG_FEATURE_ECNR = 0x2,
HFP_SDP_AG_FEATURE_VOICE_RECOG = 0x4,
HFP_SDP_AG_FEATURE_IN_BAND_RING_TONE = 0x8,
HFP_SDP_AG_FEATURE_ATTACH_VOICE_TAG = 0x10,
HFP_SDP_AG_FEATURE_WIDEBAND_SPEECH = 0x20,
};
/* Supported agent codecs */
enum hfp_codec {
HFP_CODEC_CVSD = 0x01,