
- add support to copy *.ko to out dir - enable conditional compilation with config flags - enable CONFIG_BT_HW_SECURE_DISABLE with dependency on securemsm-kernel - re-enable compilation of bt_fm_slim with new headers - add fallthrough attribute btfm_slim_hw_interface.c - move BTFMSLIM_DEV_NAME to btfm_slim.h - add target.bzl file to define specific targets Change-Id: I7f7920870d81125f95b020ef33df77df3f937682 Signed-off-by: Franklin Abreu Bueno <quic_fabreu@quicinc.com>
37 lines
928 B
C
37 lines
928 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __LINUX_BTFM_SLIM_HW_INTERFACE_H
|
|
#define __LINUX_BTFM_SLIM_HW_INTERFACE_H
|
|
|
|
// Todo protect with flags
|
|
int btfm_slim_register_hw_ep(struct btfmslim *btfm_slim);
|
|
void btfm_slim_unregister_hwep(void);
|
|
|
|
typedef enum Codec {
|
|
SBC = 0,
|
|
AAC,
|
|
LDAC,
|
|
APTX,
|
|
APTX_HD,
|
|
APTX_AD,
|
|
LC3,
|
|
APTX_AD_SPEECH,
|
|
LC3_VOICE,
|
|
APTX_AD_QLEA,
|
|
APTX_AD_R4,
|
|
NO_CODEC
|
|
} codectype;
|
|
|
|
static char const *codec_text[] = {"CODEC_TYPE_SBC", "CODEC_TYPE_AAC",
|
|
"CODEC_TYPE_LDAC", "CODEC_TYPE_APTX",
|
|
"CODEC_TYPE_APTX_HD", "CODEC_TYPE_APTX_AD",
|
|
"CODEC_TYPE_LC3", "CODEC_TYPE_APTX_AD_SPEECH",
|
|
"CODEC_TYPE_LC3_VOICE", "CODEC_TYPE_APTX_AD_QLEA",
|
|
"CODEC_TYPE_APTX_AD_R4","CODEC_TYPE_INVALID"};
|
|
|
|
static SOC_ENUM_SINGLE_EXT_DECL(codec_display, codec_text);
|
|
#endif /*__LINUX_BTFM_SLIM_HW_INTERFACE_H*/
|