Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/bluetooth/
Dhci_sock.h120 __u32 link_policy; member
Dhci_core.h293 __u16 link_policy; member
475 __u16 link_policy; member
/Linux-v5.4/net/bluetooth/
Dhci_core.c503 u16 link_policy = 0; in hci_setup_link_policy() local
506 link_policy |= HCI_LP_RSWITCH; in hci_setup_link_policy()
508 link_policy |= HCI_LP_HOLD; in hci_setup_link_policy()
510 link_policy |= HCI_LP_SNIFF; in hci_setup_link_policy()
512 link_policy |= HCI_LP_PARK; in hci_setup_link_policy()
514 cp.policy = cpu_to_le16(link_policy); in hci_setup_link_policy()
2112 di.link_policy = hdev->link_policy; in hci_get_dev_info()
Dhci_conn.c202 conn->link_policy = hdev->link_policy; in hci_acl_create_connection()
438 if (conn->mode != HCI_CM_ACTIVE || !(conn->link_policy & HCI_LP_SNIFF)) in hci_conn_idle()
Dhci_event.c134 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy()
158 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy()
173 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy()
191 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy()