btfm_codec_btadv_interface.h 747 B

12345678910111213141516171819202122
  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. NONE,
  11. };
  12. static char *transport_type_text[] = {"BT", "BTADV", "NONE"};
  13. void btfmcodec_set_current_state(struct btfmcodec_state_machine *, btfmcodec_state);
  14. void btfmcodec_wq_prepare_bearer(struct work_struct *);
  15. void btfmcodec_wq_hwep_shutdown(struct work_struct *);
  16. void btfmcodec_initiate_hwep_shutdown(struct btfmcodec_char_device *btfmcodec_dev);
  17. btfmcodec_state btfmcodec_get_current_transport(struct btfmcodec_state_machine *state);
  18. #endif /* __LINUX_BTFM_CODEC_BTADV_INTERFACE_H */