• Home
  • Raw
  • Download

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()
479 STREAM_TO_UINT16(cfg_info.flags, p); in process_l2cap_cmd()
483 cfg_info.flush_to_present = cfg_info.mtu_present = in process_l2cap_cmd()
484 cfg_info.qos_present = cfg_info.fcr_present = cfg_info.fcs_present = in process_l2cap_cmd()
498 cfg_info.mtu_present = true; in process_l2cap_cmd()
507 STREAM_TO_UINT16(cfg_info.mtu, p); in process_l2cap_cmd()
511 cfg_info.flush_to_present = true; in process_l2cap_cmd()
520 STREAM_TO_UINT16(cfg_info.flush_to, p); in process_l2cap_cmd()
524 cfg_info.qos_present = true; in process_l2cap_cmd()
533 STREAM_TO_UINT8(cfg_info.qos.qos_flags, p); in process_l2cap_cmd()
534 STREAM_TO_UINT8(cfg_info.qos.service_type, p); in process_l2cap_cmd()
535 STREAM_TO_UINT32(cfg_info.qos.token_rate, p); in process_l2cap_cmd()
536 STREAM_TO_UINT32(cfg_info.qos.token_bucket_size, p); in process_l2cap_cmd()
537 STREAM_TO_UINT32(cfg_info.qos.peak_bandwidth, p); in process_l2cap_cmd()
538 STREAM_TO_UINT32(cfg_info.qos.latency, p); in process_l2cap_cmd()
539 STREAM_TO_UINT32(cfg_info.qos.delay_variation, p); in process_l2cap_cmd()
543 cfg_info.fcr_present = true; in process_l2cap_cmd()
552 STREAM_TO_UINT8(cfg_info.fcr.mode, p); in process_l2cap_cmd()
553 STREAM_TO_UINT8(cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
554 STREAM_TO_UINT8(cfg_info.fcr.max_transmit, p); in process_l2cap_cmd()
555 STREAM_TO_UINT16(cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd()
556 STREAM_TO_UINT16(cfg_info.fcr.mon_tout, p); in process_l2cap_cmd()
557 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd()
561 cfg_info.fcs_present = true; in process_l2cap_cmd()
570 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
574 cfg_info.ext_flow_spec_present = true; in process_l2cap_cmd()
583 STREAM_TO_UINT8(cfg_info.ext_flow_spec.id, p); in process_l2cap_cmd()
584 STREAM_TO_UINT8(cfg_info.ext_flow_spec.stype, p); in process_l2cap_cmd()
585 STREAM_TO_UINT16(cfg_info.ext_flow_spec.max_sdu_size, p); in process_l2cap_cmd()
586 STREAM_TO_UINT32(cfg_info.ext_flow_spec.sdu_inter_time, p); in process_l2cap_cmd()
587 STREAM_TO_UINT32(cfg_info.ext_flow_spec.access_latency, p); in process_l2cap_cmd()
588 STREAM_TO_UINT32(cfg_info.ext_flow_spec.flush_timeout, p); in process_l2cap_cmd()
618 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_CONFIG_REQ, &cfg_info); in process_l2cap_cmd()
635 STREAM_TO_UINT16(cfg_info.flags, p); in process_l2cap_cmd()
636 STREAM_TO_UINT16(cfg_info.result, p); in process_l2cap_cmd()
638 cfg_info.flush_to_present = cfg_info.mtu_present = in process_l2cap_cmd()
639 cfg_info.qos_present = cfg_info.fcr_present = cfg_info.fcs_present = in process_l2cap_cmd()
653 cfg_info.mtu_present = true; in process_l2cap_cmd()
658 STREAM_TO_UINT16(cfg_info.mtu, p); in process_l2cap_cmd()
662 cfg_info.flush_to_present = true; in process_l2cap_cmd()
667 STREAM_TO_UINT16(cfg_info.flush_to, p); in process_l2cap_cmd()
671 cfg_info.qos_present = true; in process_l2cap_cmd()
676 STREAM_TO_UINT8(cfg_info.qos.qos_flags, p); in process_l2cap_cmd()
677 STREAM_TO_UINT8(cfg_info.qos.service_type, p); in process_l2cap_cmd()
678 STREAM_TO_UINT32(cfg_info.qos.token_rate, p); in process_l2cap_cmd()
679 STREAM_TO_UINT32(cfg_info.qos.token_bucket_size, p); in process_l2cap_cmd()
680 STREAM_TO_UINT32(cfg_info.qos.peak_bandwidth, p); in process_l2cap_cmd()
681 STREAM_TO_UINT32(cfg_info.qos.latency, p); in process_l2cap_cmd()
682 STREAM_TO_UINT32(cfg_info.qos.delay_variation, p); in process_l2cap_cmd()
686 cfg_info.fcr_present = true; in process_l2cap_cmd()
691 STREAM_TO_UINT8(cfg_info.fcr.mode, p); in process_l2cap_cmd()
692 STREAM_TO_UINT8(cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
693 STREAM_TO_UINT8(cfg_info.fcr.max_transmit, p); in process_l2cap_cmd()
694 STREAM_TO_UINT16(cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd()
695 STREAM_TO_UINT16(cfg_info.fcr.mon_tout, p); in process_l2cap_cmd()
696 STREAM_TO_UINT16(cfg_info.fcr.mps, p); in process_l2cap_cmd()
700 cfg_info.fcs_present = true; in process_l2cap_cmd()
705 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
709 cfg_info.ext_flow_spec_present = true; in process_l2cap_cmd()
714 STREAM_TO_UINT8(cfg_info.ext_flow_spec.id, p); in process_l2cap_cmd()
715 STREAM_TO_UINT8(cfg_info.ext_flow_spec.stype, p); in process_l2cap_cmd()
716 STREAM_TO_UINT16(cfg_info.ext_flow_spec.max_sdu_size, p); in process_l2cap_cmd()
717 STREAM_TO_UINT32(cfg_info.ext_flow_spec.sdu_inter_time, p); in process_l2cap_cmd()
718 STREAM_TO_UINT32(cfg_info.ext_flow_spec.access_latency, p); in process_l2cap_cmd()
719 STREAM_TO_UINT32(cfg_info.ext_flow_spec.flush_timeout, p); in process_l2cap_cmd()
730 if (cfg_info.result == L2CAP_CFG_OK) { in process_l2cap_cmd()
731 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_CONFIG_RSP, &cfg_info); in process_l2cap_cmd()
733 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_CONFIG_RSP_NEG, &cfg_info); in process_l2cap_cmd()