0001
0002
0003
0004
0005
0006 #if IS_ENABLED(CONFIG_BT_AOSPEXT)
0007
0008 void aosp_do_open(struct hci_dev *hdev);
0009 void aosp_do_close(struct hci_dev *hdev);
0010
0011 bool aosp_has_quality_report(struct hci_dev *hdev);
0012 int aosp_set_quality_report(struct hci_dev *hdev, bool enable);
0013
0014 #else
0015
0016 static inline void aosp_do_open(struct hci_dev *hdev) {}
0017 static inline void aosp_do_close(struct hci_dev *hdev) {}
0018
0019 static inline bool aosp_has_quality_report(struct hci_dev *hdev)
0020 {
0021 return false;
0022 }
0023
0024 static inline int aosp_set_quality_report(struct hci_dev *hdev, bool enable)
0025 {
0026 return -EOPNOTSUPP;
0027 }
0028
0029 #endif