18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2020 Google Corporation 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#define MSFT_FEATURE_MASK_BREDR_RSSI_MONITOR BIT(0) 78c2ecf20Sopenharmony_ci#define MSFT_FEATURE_MASK_LE_CONN_RSSI_MONITOR BIT(1) 88c2ecf20Sopenharmony_ci#define MSFT_FEATURE_MASK_LE_ADV_RSSI_MONITOR BIT(2) 98c2ecf20Sopenharmony_ci#define MSFT_FEATURE_MASK_LE_ADV_MONITOR BIT(3) 108c2ecf20Sopenharmony_ci#define MSFT_FEATURE_MASK_CURVE_VALIDITY BIT(4) 118c2ecf20Sopenharmony_ci#define MSFT_FEATURE_MASK_CONCURRENT_ADV_MONITOR BIT(5) 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_BT_MSFTEXT) 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_civoid msft_do_open(struct hci_dev *hdev); 168c2ecf20Sopenharmony_civoid msft_do_close(struct hci_dev *hdev); 178c2ecf20Sopenharmony_civoid msft_vendor_evt(struct hci_dev *hdev, struct sk_buff *skb); 188c2ecf20Sopenharmony_ci__u64 msft_get_features(struct hci_dev *hdev); 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#else 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_cistatic inline void msft_do_open(struct hci_dev *hdev) {} 238c2ecf20Sopenharmony_cistatic inline void msft_do_close(struct hci_dev *hdev) {} 248c2ecf20Sopenharmony_cistatic inline void msft_vendor_evt(struct hci_dev *hdev, struct sk_buff *skb) {} 258c2ecf20Sopenharmony_cistatic inline __u64 msft_get_features(struct hci_dev *hdev) { return 0; } 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci#endif 28