Lines Matching refs:cfg_info

280   tL2CAP_CFG_INFO cfg_info;  in process_l2cap_cmd()  local
281 memset(&cfg_info, 0, sizeof(cfg_info)); in process_l2cap_cmd()
460 STREAM_TO_UINT16(cfg_info.flags, p); in process_l2cap_cmd()
464 cfg_info.flush_to_present = cfg_info.mtu_present = in process_l2cap_cmd()
465 cfg_info.qos_present = cfg_info.fcr_present = cfg_info.fcs_present = in process_l2cap_cmd()
476 cfg_info.mtu_present = true; in process_l2cap_cmd()
485 STREAM_TO_UINT16(cfg_info.mtu, p); in process_l2cap_cmd()
489 cfg_info.flush_to_present = true; in process_l2cap_cmd()
498 STREAM_TO_UINT16(cfg_info.flush_to, p); in process_l2cap_cmd()
502 cfg_info.qos_present = true; in process_l2cap_cmd()
511 STREAM_TO_UINT8(cfg_info.qos.qos_flags, p); in process_l2cap_cmd()
512 STREAM_TO_UINT8(cfg_info.qos.service_type, p); in process_l2cap_cmd()
513 STREAM_TO_UINT32(cfg_info.qos.token_rate, p); in process_l2cap_cmd()
514 STREAM_TO_UINT32(cfg_info.qos.token_bucket_size, p); in process_l2cap_cmd()
515 STREAM_TO_UINT32(cfg_info.qos.peak_bandwidth, p); in process_l2cap_cmd()
516 STREAM_TO_UINT32(cfg_info.qos.latency, p); in process_l2cap_cmd()
517 STREAM_TO_UINT32(cfg_info.qos.delay_variation, p); in process_l2cap_cmd()
521 cfg_info.fcr_present = true; in process_l2cap_cmd()
530 STREAM_TO_UINT8(cfg_info.fcr.mode, p); in process_l2cap_cmd()
531 STREAM_TO_UINT8(cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
532 STREAM_TO_UINT8(cfg_info.fcr.max_transmit, p); in process_l2cap_cmd()
533 STREAM_TO_UINT16(cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd()
534 STREAM_TO_UINT16(cfg_info.fcr.mon_tout, p); in process_l2cap_cmd()
535 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd()
539 cfg_info.fcs_present = true; in process_l2cap_cmd()
548 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
552 cfg_info.ext_flow_spec_present = true; in process_l2cap_cmd()
561 STREAM_TO_UINT8(cfg_info.ext_flow_spec.id, p); in process_l2cap_cmd()
562 STREAM_TO_UINT8(cfg_info.ext_flow_spec.stype, p); in process_l2cap_cmd()
563 STREAM_TO_UINT16(cfg_info.ext_flow_spec.max_sdu_size, p); in process_l2cap_cmd()
564 STREAM_TO_UINT32(cfg_info.ext_flow_spec.sdu_inter_time, p); in process_l2cap_cmd()
565 STREAM_TO_UINT32(cfg_info.ext_flow_spec.access_latency, p); in process_l2cap_cmd()
566 STREAM_TO_UINT32(cfg_info.ext_flow_spec.flush_timeout, p); in process_l2cap_cmd()
596 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_CONFIG_REQ, &cfg_info); in process_l2cap_cmd()
610 STREAM_TO_UINT16(cfg_info.flags, p); in process_l2cap_cmd()
611 STREAM_TO_UINT16(cfg_info.result, p); in process_l2cap_cmd()
613 cfg_info.flush_to_present = cfg_info.mtu_present = in process_l2cap_cmd()
614 cfg_info.qos_present = cfg_info.fcr_present = cfg_info.fcs_present = in process_l2cap_cmd()
625 cfg_info.mtu_present = true; in process_l2cap_cmd()
627 STREAM_TO_UINT16(cfg_info.mtu, p); in process_l2cap_cmd()
631 cfg_info.flush_to_present = true; in process_l2cap_cmd()
633 STREAM_TO_UINT16(cfg_info.flush_to, p); in process_l2cap_cmd()
637 cfg_info.qos_present = true; in process_l2cap_cmd()
639 STREAM_TO_UINT8(cfg_info.qos.qos_flags, p); in process_l2cap_cmd()
640 STREAM_TO_UINT8(cfg_info.qos.service_type, p); in process_l2cap_cmd()
641 STREAM_TO_UINT32(cfg_info.qos.token_rate, p); in process_l2cap_cmd()
642 STREAM_TO_UINT32(cfg_info.qos.token_bucket_size, p); in process_l2cap_cmd()
643 STREAM_TO_UINT32(cfg_info.qos.peak_bandwidth, p); in process_l2cap_cmd()
644 STREAM_TO_UINT32(cfg_info.qos.latency, p); in process_l2cap_cmd()
645 STREAM_TO_UINT32(cfg_info.qos.delay_variation, p); in process_l2cap_cmd()
649 cfg_info.fcr_present = true; in process_l2cap_cmd()
651 STREAM_TO_UINT8(cfg_info.fcr.mode, p); in process_l2cap_cmd()
652 STREAM_TO_UINT8(cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
653 STREAM_TO_UINT8(cfg_info.fcr.max_transmit, p); in process_l2cap_cmd()
654 STREAM_TO_UINT16(cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd()
655 STREAM_TO_UINT16(cfg_info.fcr.mon_tout, p); in process_l2cap_cmd()
656 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd()
660 cfg_info.fcs_present = true; in process_l2cap_cmd()
662 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
666 cfg_info.ext_flow_spec_present = true; in process_l2cap_cmd()
668 STREAM_TO_UINT8(cfg_info.ext_flow_spec.id, p); in process_l2cap_cmd()
669 STREAM_TO_UINT8(cfg_info.ext_flow_spec.stype, p); in process_l2cap_cmd()
670 STREAM_TO_UINT16(cfg_info.ext_flow_spec.max_sdu_size, p); in process_l2cap_cmd()
671 STREAM_TO_UINT32(cfg_info.ext_flow_spec.sdu_inter_time, p); in process_l2cap_cmd()
672 STREAM_TO_UINT32(cfg_info.ext_flow_spec.access_latency, p); in process_l2cap_cmd()
673 STREAM_TO_UINT32(cfg_info.ext_flow_spec.flush_timeout, p); in process_l2cap_cmd()
685 if ((cfg_info.result == L2CAP_CFG_OK) || in process_l2cap_cmd()
686 (cfg_info.result == L2CAP_CFG_PENDING)) in process_l2cap_cmd()
687 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_CONFIG_RSP, &cfg_info); in process_l2cap_cmd()
689 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_CONFIG_RSP_NEG, &cfg_info); in process_l2cap_cmd()