Searched refs:link_policy (Results 1 – 6 of 6) sorted by relevance
120 __u32 link_policy; member
448 __u16 link_policy; member684 __u16 link_policy; member
4108 u16 link_policy = 0; in hci_setup_link_policy_sync() local4116 link_policy |= HCI_LP_RSWITCH; in hci_setup_link_policy_sync()4118 link_policy |= HCI_LP_HOLD; in hci_setup_link_policy_sync()4120 link_policy |= HCI_LP_SNIFF; in hci_setup_link_policy_sync()4122 link_policy |= HCI_LP_PARK; in hci_setup_link_policy_sync()4124 cp.policy = cpu_to_le16(link_policy); in hci_setup_link_policy_sync()6782 conn->link_policy = hdev->link_policy; in hci_acl_create_conn_sync()
201 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy()228 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy()245 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy()265 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy()
878 di.link_policy = hdev->link_policy; in hci_get_dev_info()
595 if (conn->mode != HCI_CM_ACTIVE || !(conn->link_policy & HCI_LP_SNIFF)) in hci_conn_idle()