Searched refs:scan_state (Results 1 – 1 of 1) sorted by relevance
56 static struct scanner_state scan_state; variable112 memset(&scan_state, 0x0, sizeof(scan_state)); in bt_scan_reset()113 k_mutex_init(&scan_state.scan_update_mutex); in bt_scan_reset()114 k_mutex_init(&scan_state.scan_explicit_params_mutex); in bt_scan_reset()187 return cmd_le_set_scan_enable(enable, scan_state.used_scan_param.options & in bt_le_scan_set_enable()338 scan_state.used_scan_param.type == BT_LE_SCAN_TYPE_ACTIVE; in bt_le_scan_active_scanner_running()345 if (atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_EXPLICIT_SCAN)) { in select_scan_params()346 memcpy(scan_param, &scan_state.explicit_scan_param, sizeof(*scan_param)); in select_scan_params()377 if (atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_PER_SYNC) || in select_scan_params()378 atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_CONN)) { in select_scan_params()[all …]