Home | History | Annotate | Download | only in src

Lines Matching refs:p_mdl

563     btif_hl_mdl_cfg_t    *p_mdl;
602 for (i=0, p_mdl=&p_acb->mdl_cfg[0] ; i< BTA_HL_NUM_MDL_CFGS; i++, p_mdl++ )
604 if (p_mdl->base.active &&
605 p_mdl->extra.data_type ==data_type &&
606 (p_mdl->extra.peer_mdep_id != BTA_HL_INVALID_MDEP_ID && p_mdl->extra.peer_mdep_id == peer_mdep_id) &&
607 memcpy(p_mdl->base.peer_bd_addr, p_mcb->bd_addr,sizeof(BD_ADDR) ) &&
608 p_mdl->base.mdl_id &&
609 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx))
612 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode);
615 if (p_mdl->base.dch_mode == dch_mode)
618 *p_mdl_id = p_mdl->base.mdl_id;
619 BTIF_TRACE_DEBUG("reconnect is possible dch_mode=%d mdl_id=%d", dch_mode, p_mdl->base.mdl_id );
649 dch_mode= p_mdl->base.dch_mode;
650 *p_mdl_id = p_mdl->base.mdl_id;
651 BTIF_TRACE_DEBUG("reconnect is ok index=%d dch_mode=%d mdl_id=%d", i, p_mdl->base.dch_mode, *p_mdl_id);
914 btif_hl_mdl_cfg_t *p_mdl;
926 p_mdl =BTIF_HL_GET_MDL_CFG_PTR(i,j);
929 p_mdl->base.active &&
1001 btif_hl_mdl_cfg_t *p_mdl;
1010 p_mdl =BTIF_HL_GET_MDL_CFG_PTR(app_idx,j);
1012 if ( p_mdl->base.active && (p_mdl->base.mdl_id == mdl_id))
3938 btif_hl_mdl_cfg_t *p_mdl;
3958 p_mdl =BTIF_HL_GET_MDL_CFG_PTR(app_idx, mdl_cfg_idx);
3960 p_acb->delete_mdl.mdl_id = p_mdl->base.mdl_id;
3962 p_acb->delete_mdl.mdep_cfg_idx = p_mdl->extra.mdep_cfg_idx;
3963 memcpy(p_acb->delete_mdl.bd_addr, p_mdl->base.peer_bd_addr,sizeof(BD_ADDR));
3965 if (btif_hl_find_mcl_idx(app_idx, p_mdl->base.peer_bd_addr, &mcl_idx))
3981 mdep_cfg_idx = p_mdl->extra.mdep_cfg_idx;
4190 btif_hl_mdl_cfg_t *p_mdl=NULL;
4206 p_mdl = BTIF_HL_GET_MDL_CFG_PTR(app_idx, item_idx);
4208 if (p_mdl)
4210 memcpy(&p_mdl->base, p_mdl_cfg, sizeof(tBTA_HL_MDL_CFG));
4211 if (btif_hl_find_mcl_idx(app_idx, p_mdl->base.peer_bd_addr , &mcl_idx))
4218 p_mdl->extra.mdep_cfg_idx = p_mcb->pcb.mdep_cfg_idx;
4219 p_mdl->extra.data_type = p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type;
4224 &p_mdl->extra.peer_mdep_id))
4226 p_mdl->extra.peer_mdep_id = BTA_HL_INVALID_MDEP_ID;
4229 __FUNCTION__, app_idx, item_idx, p_mdl->base.mdl_id);
4257 btif_hl_mdl_cfg_t *p_mdl=NULL;
4265 p_mdl = BTIF_HL_GET_MDL_CFG_PTR(app_idx, item_idx);
4266 if (p_mdl)
4268 memset(p_mdl, 0, sizeof(btif_hl_mdl_cfg_t));