Lines Matching full:inq_active
493 if (p_inq->inq_active || p_inq->inqfilt_active)
522 p_inq->inq_active = (UINT8)((p_inqparms->mode == BTM_LIMITED_INQUIRY) ?
583 if (btm_cb.btm_inq_vars.inq_active & BTM_PERIODIC_INQUIRY_ACTIVE)
585 btm_cb.btm_inq_vars.inq_active = BTM_INQUIRY_INACTIVE;
739 return(btm_cb.btm_inq_vars.inq_active);
760 UINT8 active_mode=p_inq->inq_active;
769 if ((p_inq->inq_active &BTM_INQUIRY_ACTIVE_MASK) != 0 &&
770 (!(p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE)))
772 p_inq->inq_active = BTM_INQUIRY_INACTIVE;
862 if (p_inq->inq_active || p_inq->inqfilt_active)
892 p_inq->inq_active = p_inqparms->mode;
894 BTM_TRACE_DEBUG1("BTM_StartInquiry: p_inq->inq_active = 0x%02x", p_inq->inq_active);
926 p_inq->inq_active = (p_inqparms->mode & BTM_BLE_INQUIRY_MASK);
979 p_inq->inq_active = (p_inqparms->mode & BTM_BR_INQUIRY_MASK);
1029 Reset the next_state parameter.. Do we need to reset the inq_active also?
1316 if (p_inq->inq_active != BTM_INQUIRY_INACTIVE ||
1469 if (p_inq->inq_active != BTM_INQUIRY_INACTIVE)
1471 temp_inq_active = p_inq->inq_active; /* Save so state can change BEFORE
1473 p_inq->inq_active = BTM_INQUIRY_INACTIVE;
1566 BTM_TRACE_DEBUG4 ("btm_inq_stop_on_ssp: no_inc_ssp=%d inq_active:0x%x state:%d inqfilt_active:%d",
1567 btm_cb.btm_inq_vars.no_inc_ssp, btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, btm_cb.btm_inq_vars.inqfilt_active);
1573 if (btm_cb.btm_inq_vars.inq_active & BTM_PERIODIC_INQUIRY_ACTIVE)
1577 else if (btm_cb.btm_inq_vars.inq_active & normal_active)
1584 btm_cb.btm_inq_vars.inq_active |= BTM_SSP_INQUIRY_ACTIVE;
1599 btm_cb.btm_inq_vars.inq_active &= ~BTM_SSP_INQUIRY_ACTIVE;
1622 BTM_TRACE_DEBUG2 ("btm_clr_inq_db: inq_active:0x%x state:%d",
1623 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state);
1644 BTM_TRACE_DEBUG2 ("inq_active:0x%x state:%d",
1645 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state);
1693 if ((p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) || !p_db)
1894 BTM_TRACE_DEBUG3 ("btm_event_filter_complete: inq_active:0x%x state:%d inqfilt_active:%d",
1895 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, btm_cb.btm_inq_vars.inqfilt_active);
1937 p_inq->inq_active = BTM_INQUIRY_INACTIVE;
1993 BTM_TRACE_DEBUG3 ("btm_initiate_inquiry: inq_active:0x%x state:%d inqfilt_active:%d",
1994 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, btm_cb.btm_inq_vars.inqfilt_active);
2000 if (p_inq->inq_active & BTM_SSP_INQUIRY_ACTIVE)
2009 lap = (p_inq->inq_active & BTM_LIMITED_INQUIRY_ACTIVE) ? &limited_inq_lap : &general_inq_lap;
2011 if (p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE)
2081 BTM_TRACE_DEBUG3 ("btm_process_inq_results inq_active:0x%x state:%d inqfilt_active:%d",
2082 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, btm_cb.btm_inq_vars.inqfilt_active);
2085 if (!(p_inq->inq_active & BTM_BR_INQ_ACTIVE_MASK))
2233 if (!(p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) &&
2391 if(status!=HCI_SUCCESS || p_inq->next_state==BTM_FINISH || !p_inq->inq_active)
2409 BTM_TRACE_DEBUG3 ("btm_process_inq_complete inq_active:0x%x state:%d inqfilt_active:%d",
2410 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, btm_cb.btm_inq_vars.inqfilt_active);
2416 if (p_inq->inq_active)
2442 if (!(p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) && p_inq->inqparms.mode == 0)
2459 p_inq->inq_active = BTM_INQUIRY_INACTIVE;
2470 if(p_inq->inqparms.mode != 0 && !(p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE))
2473 p_inq->inq_active = BTM_INQUIRY_INACTIVE;
2480 BTM_TRACE_DEBUG3 ("inq_active:0x%x state:%d inqfilt_active:%d",
2481 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, btm_cb.btm_inq_vars.inqfilt_active);
2757 if (p_inq->inq_active)
2789 p_inq->inq_active = BTM_INQUIRY_INACTIVE;