btfmcodec: Add btadv audio support
This change adds below support for BT advance audio * Add support for codec type mixer control * Update slim driver to read master id, channel number. * Update slim driver to support HW EP. * Add support for transport switch based on the request CRs-Fixed: 3298745 Change-Id: Ica349cb6f3615f4dc51bbc3070c90d43eeba1cdd
This commit is contained in:
21
btfmcodec/include/btfm_codec_btadv_interface.h
Normal file
21
btfmcodec/include/btfm_codec_btadv_interface.h
Normal file
@@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_BTFM_CODEC_BTADV_INTERFACE_H
|
||||
#define __LINUX_BTFM_CODEC_BTADV_INTERFACE_H
|
||||
|
||||
enum transport_type {
|
||||
BT = 1,
|
||||
BTADV,
|
||||
};
|
||||
|
||||
static char *transport_type_text[] = {"BT", "BTADV"};
|
||||
|
||||
void btfmcodec_set_current_state(struct btfmcodec_state_machine *, btfmcodec_state);
|
||||
void btfmcodec_wq_prepare_bearer(struct work_struct *);
|
||||
void btfmcodec_wq_hwep_shutdown(struct work_struct *);
|
||||
void btfmcodec_initiate_hwep_shutdown(struct btfmcodec_char_device *btfmcodec_dev);
|
||||
btfmcodec_state btfmcodec_get_current_transport(struct btfmcodec_state_machine *state);
|
||||
#endif /* __LINUX_BTFM_CODEC_BTADV_INTERFACE_H */
|
Reference in New Issue
Block a user