Lines Matching refs:hci_dev_test_flag

79 	if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||  in hci_cc_inquiry_cancel()
292 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_local_name()
309 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_name()
310 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_name()
336 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_auth_enable()
454 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_class_of_dev()
547 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_ssp_mode()
579 if (!hci_dev_test_flag(hdev, HCI_MGMT) && !status) { in hci_cc_write_sc_support()
598 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_version()
599 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_version()
618 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_commands()
619 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_commands()
786 if (hci_dev_test_flag(hdev, HCI_SETUP)) in hci_cc_read_bd_addr()
800 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_pairing_opts()
801 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_pairing_opts()
1003 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_reply()
1029 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_neg_reply()
1088 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_reply()
1104 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_neg_reply()
1119 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_reply()
1135 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_neg_reply()
1472 else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) && in le_set_scan_enable_complete()
2169 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cs_remote_name_req()
2386 hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION)) { in cs_le_create_conn()
2567 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_inquiry_complete_evt()
2583 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
2601 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
2621 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_evt()
2801 if (hci_dev_test_flag(hdev, HCI_MGMT) && in hci_conn_request_evt()
2802 !hci_dev_test_flag(hdev, HCI_CONNECTABLE) && in hci_conn_request_evt()
3058 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_name_evt()
3696 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_complete_evt()
3805 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_status_evt()
4032 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in hci_pin_code_request_evt()
4036 } else if (hci_dev_test_flag(hdev, HCI_MGMT)) { in hci_pin_code_request_evt()
4092 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_request_evt()
4166 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_notify_evt()
4188 !hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS)) { in hci_link_key_notify_evt()
4271 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_with_rssi_evt()
4521 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_extended_inquiry_result_evt()
4539 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_extended_inquiry_result_evt()
4642 if (!hci_dev_test_flag(hdev, HCI_SC_ONLY)) in bredr_oob_data_present()
4683 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_io_capa_request_evt()
4689 if (hci_dev_test_flag(hdev, HCI_BONDABLE) || in hci_io_capa_request_evt()
4715 if (!hci_dev_test_flag(hdev, HCI_BONDABLE)) in hci_io_capa_request_evt()
4768 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_confirm_request_evt()
4849 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_request_evt()
4868 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_notify_evt()
4906 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_keypress_notify_evt()
4975 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_oob_data_request_evt()
4992 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in hci_remote_oob_data_request_evt()
5177 } else if (hci_dev_test_flag(conn->hdev, HCI_PRIVACY)) { in le_conn_update_addr()
5255 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) { in le_conn_complete_evt()
5290 hci_dev_test_flag(hdev, HCI_ENABLE_LL_PRIVACY) && in le_conn_complete_evt()
5291 hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION)) { in le_conn_complete_evt()
5406 hci_dev_test_flag(hdev, HCI_ENABLE_LL_PRIVACY) && in hci_le_enh_conn_complete_evt()
5407 hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION)) in hci_le_enh_conn_complete_evt()
5631 if (!hci_dev_test_flag(hdev, HCI_PRIVACY)) in process_adv_report()