Lines Matching refs:cfg_info

276     tL2CAP_CFG_INFO cfg_info;  in process_l2cap_cmd()  local
305 memset (&cfg_info, 0, sizeof(cfg_info)); in process_l2cap_cmd()
448 STREAM_TO_UINT16 (cfg_info.flags, p); in process_l2cap_cmd()
452 cfg_info.flush_to_present = cfg_info.mtu_present = cfg_info.qos_present = in process_l2cap_cmd()
453 cfg_info.fcr_present = cfg_info.fcs_present = FALSE; in process_l2cap_cmd()
463 cfg_info.mtu_present = TRUE; in process_l2cap_cmd()
464 STREAM_TO_UINT16 (cfg_info.mtu, p); in process_l2cap_cmd()
468 cfg_info.flush_to_present = TRUE; in process_l2cap_cmd()
469 STREAM_TO_UINT16 (cfg_info.flush_to, p); in process_l2cap_cmd()
473 cfg_info.qos_present = TRUE; in process_l2cap_cmd()
474 STREAM_TO_UINT8 (cfg_info.qos.qos_flags, p); in process_l2cap_cmd()
475 STREAM_TO_UINT8 (cfg_info.qos.service_type, p); in process_l2cap_cmd()
476 STREAM_TO_UINT32 (cfg_info.qos.token_rate, p); in process_l2cap_cmd()
477 STREAM_TO_UINT32 (cfg_info.qos.token_bucket_size, p); in process_l2cap_cmd()
478 STREAM_TO_UINT32 (cfg_info.qos.peak_bandwidth, p); in process_l2cap_cmd()
479 STREAM_TO_UINT32 (cfg_info.qos.latency, p); in process_l2cap_cmd()
480 STREAM_TO_UINT32 (cfg_info.qos.delay_variation, p); in process_l2cap_cmd()
484 cfg_info.fcr_present = TRUE; in process_l2cap_cmd()
485 STREAM_TO_UINT8 (cfg_info.fcr.mode, p); in process_l2cap_cmd()
486 STREAM_TO_UINT8 (cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
487 STREAM_TO_UINT8 (cfg_info.fcr.max_transmit, p); in process_l2cap_cmd()
488 STREAM_TO_UINT16 (cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd()
489 STREAM_TO_UINT16 (cfg_info.fcr.mon_tout, p); in process_l2cap_cmd()
490 STREAM_TO_UINT16 (cfg_info.fcr.mps, p); in process_l2cap_cmd()
494 cfg_info.fcs_present = TRUE; in process_l2cap_cmd()
495 STREAM_TO_UINT8 (cfg_info.fcs, p); in process_l2cap_cmd()
499 cfg_info.ext_flow_spec_present = TRUE; in process_l2cap_cmd()
500 STREAM_TO_UINT8 (cfg_info.ext_flow_spec.id, p); in process_l2cap_cmd()
501 STREAM_TO_UINT8 (cfg_info.ext_flow_spec.stype, p); in process_l2cap_cmd()
502 STREAM_TO_UINT16 (cfg_info.ext_flow_spec.max_sdu_size, p); in process_l2cap_cmd()
503 STREAM_TO_UINT32 (cfg_info.ext_flow_spec.sdu_inter_time, p); in process_l2cap_cmd()
504 STREAM_TO_UINT32 (cfg_info.ext_flow_spec.access_latency, p); in process_l2cap_cmd()
505 STREAM_TO_UINT32 (cfg_info.ext_flow_spec.flush_timeout, p); in process_l2cap_cmd()
538 l2c_csm_execute (p_ccb, L2CEVT_L2CAP_CONFIG_REQ, &cfg_info); in process_l2cap_cmd()
551 STREAM_TO_UINT16 (cfg_info.flags, p); in process_l2cap_cmd()
552 STREAM_TO_UINT16 (cfg_info.result, p); in process_l2cap_cmd()
554 cfg_info.flush_to_present = cfg_info.mtu_present = cfg_info.qos_present = in process_l2cap_cmd()
555 cfg_info.fcr_present = cfg_info.fcs_present = FALSE; in process_l2cap_cmd()
565 cfg_info.mtu_present = TRUE; in process_l2cap_cmd()
566 STREAM_TO_UINT16 (cfg_info.mtu, p); in process_l2cap_cmd()
570 cfg_info.flush_to_present = TRUE; in process_l2cap_cmd()
571 STREAM_TO_UINT16 (cfg_info.flush_to, p); in process_l2cap_cmd()
575 cfg_info.qos_present = TRUE; in process_l2cap_cmd()
576 STREAM_TO_UINT8 (cfg_info.qos.qos_flags, p); in process_l2cap_cmd()
577 STREAM_TO_UINT8 (cfg_info.qos.service_type, p); in process_l2cap_cmd()
578 STREAM_TO_UINT32 (cfg_info.qos.token_rate, p); in process_l2cap_cmd()
579 STREAM_TO_UINT32 (cfg_info.qos.token_bucket_size, p); in process_l2cap_cmd()
580 STREAM_TO_UINT32 (cfg_info.qos.peak_bandwidth, p); in process_l2cap_cmd()
581 STREAM_TO_UINT32 (cfg_info.qos.latency, p); in process_l2cap_cmd()
582 STREAM_TO_UINT32 (cfg_info.qos.delay_variation, p); in process_l2cap_cmd()
586 cfg_info.fcr_present = TRUE; in process_l2cap_cmd()
587 STREAM_TO_UINT8 (cfg_info.fcr.mode, p); in process_l2cap_cmd()
588 STREAM_TO_UINT8 (cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd()
589 STREAM_TO_UINT8 (cfg_info.fcr.max_transmit, p); in process_l2cap_cmd()
590 STREAM_TO_UINT16 (cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd()
591 STREAM_TO_UINT16 (cfg_info.fcr.mon_tout, p); in process_l2cap_cmd()
592 STREAM_TO_UINT16 (cfg_info.fcr.mps, p); in process_l2cap_cmd()
596 cfg_info.fcs_present = TRUE; in process_l2cap_cmd()
597 STREAM_TO_UINT8 (cfg_info.fcs, p); in process_l2cap_cmd()
601 cfg_info.ext_flow_spec_present = TRUE; in process_l2cap_cmd()
602 STREAM_TO_UINT8 (cfg_info.ext_flow_spec.id, p); in process_l2cap_cmd()
603 STREAM_TO_UINT8 (cfg_info.ext_flow_spec.stype, p); in process_l2cap_cmd()
604 STREAM_TO_UINT16 (cfg_info.ext_flow_spec.max_sdu_size, p); in process_l2cap_cmd()
605 STREAM_TO_UINT32 (cfg_info.ext_flow_spec.sdu_inter_time, p); in process_l2cap_cmd()
606 STREAM_TO_UINT32 (cfg_info.ext_flow_spec.access_latency, p); in process_l2cap_cmd()
607 STREAM_TO_UINT32 (cfg_info.ext_flow_spec.flush_timeout, p); in process_l2cap_cmd()
620 if ( (cfg_info.result == L2CAP_CFG_OK) || (cfg_info.result == L2CAP_CFG_PENDING) ) in process_l2cap_cmd()
621 l2c_csm_execute (p_ccb, L2CEVT_L2CAP_CONFIG_RSP, &cfg_info); in process_l2cap_cmd()
623 l2c_csm_execute (p_ccb, L2CEVT_L2CAP_CONFIG_RSP_NEG, &cfg_info); in process_l2cap_cmd()