Lines Matching refs:hci_dev_test_flag
62 #define AUTH_REQ_MASK(dev) (hci_dev_test_flag(dev, HCI_SC_ENABLED) ? \
559 if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) { in smp_generate_oob()
667 if (hci_dev_test_flag(hdev, HCI_BONDABLE)) { in build_pairing_cmd()
675 if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING)) in build_pairing_cmd()
678 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) in build_pairing_cmd()
681 if (hci_dev_test_flag(hdev, HCI_SC_ENABLED) && in build_pairing_cmd()
686 if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) { in build_pairing_cmd()
773 !hci_dev_test_flag(hcon->hdev, HCI_KEEP_DEBUG_KEYS)) { in smp_chan_destroy()
1115 if (!hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS) && in smp_notify_keys()
1693 if (hci_dev_test_flag(hdev, HCI_BONDABLE)) { in build_bredr_pairing_cmd()
1698 if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING)) in build_bredr_pairing_cmd()
1701 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) in build_bredr_pairing_cmd()
1755 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in smp_cmd_pairing_req()
1759 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_pairing_req()
1777 !hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in smp_cmd_pairing_req()
1889 if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) { in sc_send_public_key()
1945 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_pairing_rsp()
2052 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in fixup_sc_false_positive()
2273 if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC)) in smp_cmd_security_req()
2300 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in smp_cmd_security_req()
2332 if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) in smp_conn_security()
2367 if (hci_dev_test_flag(hcon->hdev, HCI_SC_ENABLED)) { in smp_conn_security()
2369 if (hci_dev_test_flag(hcon->hdev, HCI_SSP_ENABLED)) in smp_conn_security()
2889 if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) { in smp_sig_channel()
3027 if (!hci_dev_test_flag(hdev, HCI_SC_ENABLED)) in bredr_pairing()
3032 !hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in bredr_pairing()
3036 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in bredr_pairing()
3315 buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP) ? 'Y': 'N'; in force_bredr_smp_read()
3333 if (enable == hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in force_bredr_smp_write()
3493 if (!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP)) in smp_register()