btfm_codec_btadv_interface.h 732 B

123456789101112131415161718192021
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef __LINUX_BTFM_CODEC_BTADV_INTERFACE_H
  6. #define __LINUX_BTFM_CODEC_BTADV_INTERFACE_H
  7. enum transport_type {
  8. BT = 1,
  9. BTADV,
  10. };
  11. static char *transport_type_text[] = {"BT", "BTADV"};
  12. void btfmcodec_set_current_state(struct btfmcodec_state_machine *, btfmcodec_state);
  13. void btfmcodec_wq_prepare_bearer(struct work_struct *);
  14. void btfmcodec_wq_hwep_shutdown(struct work_struct *);
  15. void btfmcodec_initiate_hwep_shutdown(struct btfmcodec_char_device *btfmcodec_dev);
  16. btfmcodec_state btfmcodec_get_current_transport(struct btfmcodec_state_machine *state);
  17. #endif /* __LINUX_BTFM_CODEC_BTADV_INTERFACE_H */