Home
last modified time | relevance | path

Searched refs:le_features (Results 1 – 5 of 5) sorted by relevance

/linux/include/net/bluetooth/
H A Dhci_core.h378 __u8 le_features[248]; member
705 __u8 le_features[248]; member
2003 #define le_2m_capable(dev) (((dev)->le_features[1] & HCI_LE_PHY_2M))
2008 #define le_coded_capable(dev) (((dev)->le_features[1] & HCI_LE_PHY_CODED) && \
2015 #define ll_privacy_capable(dev) ((dev)->le_features[0] & HCI_LE_LL_PRIVACY)
2045 #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
2062 #define per_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_PERIODIC_ADV))
2071 ((dev)->le_features[3] & HCI_LE_CIS_CENTRAL)
2075 ((dev)->le_features[3] & HCI_LE_CIS_PERIPHERAL)
2078 #define bis_capable(dev) ((dev)->le_features[3] & HCI_LE_ISO_BROADCASTER)
[all …]
/linux/net/bluetooth/
H A Dhci_sync.c3233 (hdev->le_features[0] & HCI_LE_EXT_SCAN_POLICY)) in hci_passive_scan_sync()
4267 if (hdev->le_features[0] & HCI_LE_ENCRYPTION) { in hci_set_event_mask_sync()
4443 if (hdev->le_features[0] & HCI_LE_ENCRYPTION) in hci_le_set_event_mask_sync()
4449 if (hdev->le_features[0] & HCI_LE_CONN_PARAM_REQ_PROC) in hci_le_set_event_mask_sync()
4456 if (hdev->le_features[0] & HCI_LE_DATA_LEN_EXT) in hci_le_set_event_mask_sync()
4480 if (hdev->le_features[0] & HCI_LE_EXT_SCAN_POLICY) in hci_le_set_event_mask_sync()
4486 if (hdev->le_features[1] & HCI_LE_CHAN_SEL_ALG2) in hci_le_set_event_mask_sync()
4664 if (!(hdev->le_features[0] & HCI_LE_DATA_LEN_EXT)) in hci_le_read_max_data_len_sync()
4674 if (!(hdev->le_features[0] & HCI_LE_DATA_LEN_EXT)) in hci_le_read_def_data_len_sync()
4941 if (lmp_ping_capable(hdev) || hdev->le_features[0] & HCI_LE_PING) { in hci_set_event_mask_page_2_sync()
[all …]
H A Dhci_event.c1241 memcpy(hdev->le_features, rp->features, 8); in hci_cc_le_read_local_features()
3704 (conn->type == LE_LINK && (hdev->le_features[0] & HCI_LE_PING)))) { in hci_encrypt_change_evt()
3983 memcpy(hdev->le_features, rp->features, 248); in hci_cc_le_read_all_local_features()
6710 memcpy(conn->le_features, ev->features, 8); in hci_le_remote_feat_complete_evt()
6713 if (!(conn->le_features[1] & HCI_LE_PHY_2M)) { in hci_le_remote_feat_complete_evt()
6718 if (!(conn->le_features[1] & HCI_LE_PHY_CODED)) { in hci_le_remote_feat_complete_evt()
6737 (hdev->le_features[0] & HCI_LE_PERIPHERAL_FEATURES)) in hci_le_remote_feat_complete_evt()
7383 memcpy(conn->le_features, ev->features, 248); in hci_le_read_all_remote_features_evt()
7386 if (!(conn->le_features[1] & HCI_LE_PHY_2M)) { in hci_le_read_all_remote_features_evt()
7391 if (!(conn->le_features[1] & HCI_LE_PHY_CODED)) { in hci_le_read_all_remote_features_evt()
[all …]
H A Dhci_debugfs.c97 seq_printf(f, "LE: %8ph\n", hdev->le_features); in features_show()
H A Dmgmt.c722 if (hdev->le_features[1] & HCI_LE_PHY_2M) { in get_supported_phys()
727 if (hdev->le_features[1] & HCI_LE_PHY_CODED) { in get_supported_phys()