Lines Matching refs:hci_dev_test_flag
61 #define AUTH_REQ_MASK(dev) (hci_dev_test_flag(dev, HCI_SC_ENABLED) ? \
568 if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) { in smp_generate_oob()
676 if (hci_dev_test_flag(hdev, HCI_BONDABLE)) { in build_pairing_cmd()
684 if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING)) in build_pairing_cmd()
687 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) in build_pairing_cmd()
690 if (hci_dev_test_flag(hdev, HCI_SC_ENABLED) && in build_pairing_cmd()
695 if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) { in build_pairing_cmd()
783 !hci_dev_test_flag(hcon->hdev, HCI_KEEP_DEBUG_KEYS)) { in smp_chan_destroy()
1128 if (!hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS) && in smp_notify_keys()
1714 if (hci_dev_test_flag(hdev, HCI_BONDABLE)) { in build_bredr_pairing_cmd()
1719 if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING)) in build_bredr_pairing_cmd()
1722 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) in build_bredr_pairing_cmd()
1776 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in smp_cmd_pairing_req()
1780 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_pairing_req()
1798 !hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in smp_cmd_pairing_req()
1910 if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) { in sc_send_public_key()
1966 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_pairing_rsp()
2073 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in fixup_sc_false_positive()
2294 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_security_req()
2321 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in smp_cmd_security_req()
2353 if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) in smp_conn_security()
2388 if (hci_dev_test_flag(hcon->hdev, HCI_SC_ENABLED)) { in smp_conn_security()
2390 if (hci_dev_test_flag(hcon->hdev, HCI_SSP_ENABLED)) in smp_conn_security()
2897 if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) { in smp_sig_channel()
3035 if (!hci_dev_test_flag(hdev, HCI_SC_ENABLED)) in bredr_pairing()
3040 !hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in bredr_pairing()
3044 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in bredr_pairing()
3338 buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP) ? 'Y': 'N'; in force_bredr_smp_read()
3356 if (enable == hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in force_bredr_smp_write()
3516 if (!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in smp_register()