Lines Matching refs:hci_dev_test_flag
63 #define AUTH_REQ_MASK(dev) (hci_dev_test_flag(dev, HCI_SC_ENABLED) ? \
550 if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) { in smp_generate_oob()
658 if (hci_dev_test_flag(hdev, HCI_BONDABLE)) { in build_pairing_cmd()
666 if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING)) in build_pairing_cmd()
669 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) in build_pairing_cmd()
672 if (hci_dev_test_flag(hdev, HCI_SC_ENABLED) && in build_pairing_cmd()
677 if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) { in build_pairing_cmd()
768 !hci_dev_test_flag(hcon->hdev, HCI_KEEP_DEBUG_KEYS)) { in smp_chan_destroy()
1124 if (!hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS) && in smp_notify_keys()
1704 if (hci_dev_test_flag(hdev, HCI_BONDABLE)) { in build_bredr_pairing_cmd()
1709 if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING)) in build_bredr_pairing_cmd()
1712 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) in build_bredr_pairing_cmd()
1766 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in smp_cmd_pairing_req()
1770 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_pairing_req()
1788 !hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in smp_cmd_pairing_req()
1900 if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) { in sc_send_public_key()
1956 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_pairing_rsp()
2063 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in fixup_sc_false_positive()
2311 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_security_req()
2338 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in smp_cmd_security_req()
2371 if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) in smp_conn_security()
2406 if (hci_dev_test_flag(hcon->hdev, HCI_SC_ENABLED)) { in smp_conn_security()
2408 if (hci_dev_test_flag(hcon->hdev, HCI_SSP_ENABLED)) in smp_conn_security()
2415 if (!hci_dev_test_flag(hcon->hdev, HCI_FORCE_NO_MITM)) { in smp_conn_security()
2960 if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) { in smp_sig_channel()
3098 if (!hci_dev_test_flag(hdev, HCI_SC_ENABLED)) in bredr_pairing()
3103 !hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in bredr_pairing()
3107 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in bredr_pairing()
3381 if (enable == hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in smp_force_bredr()
3431 if (!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in smp_register()