Lines Matching +full:vendor +full:- +full:extension
1 // SPDX-License-Identifier: GPL-2.0-only
49 if (!hdev->aosp_capable) in aosp_do_open()
52 bt_dev_dbg(hdev, "Initialize AOSP extension"); in aosp_do_open()
54 /* LE Get Vendor Capabilities Command */ in aosp_do_open()
59 skb = ERR_PTR(-EIO); in aosp_do_open()
61 bt_dev_err(hdev, "AOSP get vendor capabilities (%ld)", in aosp_do_open()
67 if (skb->len < VENDOR_CAPA_BASE_SIZE) in aosp_do_open()
70 rp = (struct aosp_rp_le_get_vendor_capa *)skb->data; in aosp_do_open()
72 version_supported = le16_to_cpu(rp->version_supported); in aosp_do_open()
89 if (skb->len < VENDOR_CAPA_0_98_SIZE) in aosp_do_open()
97 if (rp->bluetooth_quality_report_support) { in aosp_do_open()
98 hdev->aosp_quality_report = true; in aosp_do_open()
105 bt_dev_err(hdev, "AOSP capabilities length %d too short", skb->len); in aosp_do_open()
113 if (!hdev->aosp_capable) in aosp_do_close()
116 bt_dev_dbg(hdev, "Cleanup of AOSP extension"); in aosp_do_close()
160 skb = ERR_PTR(-EIO); in enable_quality_report()
182 skb = ERR_PTR(-EIO); in disable_quality_report()
195 return hdev->aosp_quality_report; in aosp_has_quality_report()
201 return -EOPNOTSUPP; in aosp_set_quality_report()